Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Create XAMPP Control Panel launcher on the Desktop

  1. #11
    Join Date
    Jun 2019
    Beans
    1

    Thumbs up Re: Create XAMPP Control Panel launcher on the Desktop

    Quote Originally Posted by puyt View Post
    Hi,

    I don't know if you've found a fix yet but in case you didn't... I got it working by replacing `sudo -H` with `pkexec`

    Thanks @dnaldoog for your config!

    Btw my `XAMPP.desktop` looks like this:

    Code:
    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Version=1.0
    Type=Application
    StartupWMClass=osxmanager
    Terminal=false
    Icon[en_US]=/opt/lampp/htdocs/favicon.ico
    Name[en_US]=XAMPP
    Exec=pkexec /opt/lampp/manager-linux-x64.run
    Comment[en_US]=Start XAMPP Control Panel
    Name=XAMPP
    Comment=Start XAMPP Control Panel
    Icon=/opt/lampp/htdocs/favicon.ico
    I have got it working in my Ubuntu 18.04 LTS with unity desktop launcher. Please change Exec assignement with following:

    Code:
    Exec=sh -c "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY sudo /opt/lampp/manager-linux-x64.run"
    The solution i found is in the link here.

    Hope it helps

  2. #12
    Join Date
    Jun 2019
    Beans
    1

    Re: Create XAMPP Control Panel launcher on the Desktop

    I use Kubuntu 19.04 and I got it to work with following .desktop file

    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Version=1.0
    Type=Application
    StartupWMClass=package
    Terminal=false
    Icon[en_US]=/opt/lampp/htdocs/favicon.ico
    Name[en_US]=XAMPP
    Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /opt/lampp/manager-linux-x64.run
    Comment[en_US]=Start XAMPP Control Panel
    Name=XAMPP
    Comment=Start XAMPP Control Panel
    Icon=/opt/lampp/htdocs/favicon.ico

  3. #13
    Join Date
    Jun 2010
    Beans
    42

    Re: Create XAMPP Control Panel launcher on the Desktop

    hell , can anybody help me create the shutcute for Xampp ? i tried almost the hole google searched options ...

    i am using Ubuntu 20.04 last
    Is that different then the old versions od Ubuntu ? ...

    Please help

    Thank You

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •