Results 1 to 3 of 3

Thread: Custom application launcher in Gnome 3

  1. #1

    Question Custom application launcher in Gnome 3

    Hi all
    I want to have a custom application launcher for firefox and chromium by which I would run the applications using "optirun".

    I thought it was enough to hack the firefox.desktop file presents in

    /usr/share/applications/

    as I update the key

    Exec=/usr/bin/optirun firefox %u

    no icon of firefox appears in the Gnome 3
    Saluti
    R

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: Custom application launcher in Gnome 3

    Hi
    Copy the desktop file to ~/.local/share/applications and modify as required, then run;
    Code:
    update-desktop-database ~/.local/share/applications/
    I would call the file say firefox_optirun.desktop
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Custom application launcher in Gnome 3

    thank you it works, but only as su.
    I run

    Code:
    sudo update-desktop-database
    and put the desktop file in /usr/share/applications/

    because running the user version


    Code:
    update-desktop-database ~/.local/share/applications/
    didn't have any effect
    Saluti
    R

Posting Permissions

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