Results 1 to 10 of 10

Thread: how to add shortcuts to desktop

  1. #1

    Default how to add shortcuts to desktop

    How do you add shortcuts to the desktop?

    I've already searched through the forums, and can't find anything that works.

    If it helps im running a Toshiba laptop, which has 3.8 GiB memory, an Intel Core i3-2350M CPU, and an Intel Sandybridge Mobile graphics card

  2. #2

    Default Re: how to add shortcuts to desktop

    As well, can someone tell me how to open terminal in administrator mode?

  3. #3
    Join Date
    Jan 2010
    Location
    Woerden, Nederland
    Posts
    7

    Default Re: how to add shortcuts to desktop

    Quote Originally Posted by PandaR View Post
    How do you add shortcuts to the desktop?

    I've already searched through the forums, and can't find anything that works.
    Assuming you use KDE (you did not mention which desktop you use): open the application menu/starter and drag an application icon onto your desktop. Done.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,130

    Default Re: how to add shortcuts to desktop

    Quote Originally Posted by PandaR View Post
    As well, can someone tell me how to open terminal in administrator mode?
    Again, it would help when you explain which desktop. Most of us do not have working glass balls.
    Henk van Velden

  5. #5
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: how to add shortcuts to desktop

    linux doesn't use shortcuts it uses desktop files
    desktop files are text files which identify the application to launch and are usually shown in the menu bar in plasma5 you can drag a launcher from the menubar to the desktop
    another way would be to create *.desktop files and put them in the Desktop directory ~/Desktop
    to see some examples of desktop files check out the content of
    Code:
    /usr/share/applications
    that's a system folder and only root can edit files there but you can copy desktop files from there to your desktop or to
    Code:
    ~/.local/share/applications
    where user defined launchers (shortcuts) go
    here's an example of a launcher I did for Basilisk (it came without one)
    I keep it as
    ~/.local/share/applications/Basilisk.desktop
    Code:
    [Desktop Entry]
    Categories=Network;WebBrowser;GTK;
    Encoding=UTF-8
    Name=Basilisk
    GenericName=Web Browser
    Comment=Web Browser
    TryExec=/home/me/opt/basilisk/basilisk
    Exec=/home/me/opt/basilisk/basilisk %u
    Icon=/home/me/opt/basilisk/browser/icons/mozicon128.png
    Terminal=false
    StartupNotify=true
    MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
    Type=Application
    
    Actions=PrivateBrowsing;
    
    [Desktop Action PrivateBrowsing]
    Name=New Private Browsing Window
    Exec=/home/me/opt/basilisk/basilisk --private-window %u
    you can use the above as an example on how to create your own launchers keep in mind enviroment variables don't seam to work in desktop files (for me anyway) I couildn't use ~ or $HOME I had to use the full path to the executable

  6. #6

    Default Re: how to add shortcuts to desktop

    Quote Originally Posted by mennoholscher View Post
    Assuming you use KDE (you did not mention which desktop you use): open the application menu/starter and drag an application icon onto your desktop. Done.
    I use a custom which is mostly GNOME
    Last edited by hcvv; 23-May-2018 at 01:09. Reason: Repaired QUOTE tag

  7. #7

    Default Re: how to add shortcuts to desktop

    Quote Originally Posted by I_A View Post
    linux doesn't use shortcuts it uses desktop files
    desktop files are text files which identify the application to launch and are usually shown in the menu bar in plasma5 you can drag a launcher from the menubar to the desktop
    another way would be to create *.desktop files and put them in the Desktop directory ~/Desktop
    to see some examples of desktop files check out the content of
    Code:
    /usr/share/applications
    that's a system folder and only root can edit files there but you can copy desktop files from there to your desktop or to
    Code:
    ~/.local/share/applications
    where user defined launchers (shortcuts) go
    here's an example of a launcher I did for Basilisk (it came without one)
    I keep it as
    ~/.local/share/applications/Basilisk.desktop
    Code:
    [Desktop Entry]
    Categories=Network;WebBrowser;GTK;
    Encoding=UTF-8
    Name=Basilisk
    GenericName=Web Browser
    Comment=Web Browser
    TryExec=/home/me/opt/basilisk/basilisk
    Exec=/home/me/opt/basilisk/basilisk %u
    Icon=/home/me/opt/basilisk/browser/icons/mozicon128.png
    Terminal=false
    StartupNotify=true
    MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
    Type=Application
    
    Actions=PrivateBrowsing;
    
    [Desktop Action PrivateBrowsing]
    Name=New Private Browsing Window
    Exec=/home/me/opt/basilisk/basilisk --private-window %u
    you can use the above as an example on how to create your own launchers keep in mind enviroment variables don't seam to work in desktop files (for me anyway) I couildn't use ~ or $HOME I had to use the full path to the executable
    Could you simplify that?

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,822
    Blog Entries
    15

    Default Re: how to add shortcuts to desktop

    On Tue 22 May 2018 11:06:02 PM CDT, PandaR wrote:

    mennoholscher;2866219 Wrote:
    > Assuming you use KDE (you did not mention which desktop you use): open
    > the application menu/starter and drag an application icon onto your
    > desktop. Done.[/QUOUTE]
    >
    > I use a custom which is mostly GNOME



    Hi
    There are no more desktop shortcuts in GNOME Tumbleweed, as in it's
    deprecated.

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 RC4 | GNOME Shell 3.26.2 | 4.12.14-18-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  9. #9
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: how to add shortcuts to desktop

    Quote Originally Posted by PandaR View Post
    Could you simplify that?
    I don't know how gnome does the desktop folder but just take a look at the files with the desktop extension in
    Code:
    /usr/share/applications
    those are launchers ie shortcuts you can make custom shortcuts and put them in
    Code:
    /home/<you>/.local/share/applications/
    and they will appear in the menu bar (start menu)
    the default plasma 5 desktop comes with 2 shortcuts (desktop files) and you can put as many desktop files on it as you want but as you use Gnome and I haven't in years I have no idea if Gnome displays launchers on the Desktop

  10. #10
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: how to add shortcuts to desktop

    here's another simple example
    you can copy the Firefox desktop file to your Desktop and you will get a Firefox shortcut on your desktop
    this works with plasma 5 and lxqt the desktops I've tried I'm not sure about Gnome maybe under classic mode
    Code:
    cp /usr/share/applications/firefox.desktop ~/Desktop
    you can do this with any launcher in /usr/share/applications/ or you can create your own custom shortcuts ie desktop files

Posting Permissions

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