LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-04-2019, 04:43 AM   #1
whois1230
Member
 
Registered: Sep 2018
Posts: 72

Rep: Reputation: Disabled
Adding apps and to desktop


Hello, using Tweak Tool, I enabled "Icons on Desktop" and now I can add or create new folders on the desktop, but I can not add programs. Is there a way to do this? I'm using Debian 9.8 stretch amd64 full edition.
 
Old 03-04-2019, 06:02 AM   #2
dc.901
Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS 6-7; SuSE 8-12
Posts: 318

Rep: Reputation: 73
If you use links, does that work? For example:

Code:
ln -s /usr/bin/google-chrome ~/Desktop/
Does that create a shortcut for the application on your desktop? I am guessing this is what you are asking?
 
Old 03-04-2019, 06:25 AM   #3
whois1230
Member
 
Registered: Sep 2018
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
If you use links, does that work? For example:

Code:
ln -s /usr/bin/google-chrome ~/Desktop/
Does that create a shortcut for the application on your desktop? I am guessing this is what you are asking?
I tried to use a link, but it didn't work:
Code:
user@debian:~$ ln -s /usr/bin/firefox-esr ~/Desktop/
I uploaded some images with the result of that link https://imgur.com/a/5AcIdiw here. It created a file on my desktop, but it doesn't work. Isn't there a simpler way to do this?

Last edited by whois1230; 03-04-2019 at 06:28 AM.
 
Old 03-04-2019, 10:50 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,319

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
try opening one that is already in there (desktop directory) then mimic it adding your apps name to it, or try copying the desktop file of the app out of applications into your desktop directory, try linking the desktop file out of applications into your desktop directory.

/usr/share/applications

Last edited by BW-userx; 03-04-2019 at 10:52 AM.
 
2 members found this post helpful.
Old 03-04-2019, 05:52 PM   #5
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: 3 Bodhi 5's & 1 debian 9.8 LXDE
Posts: 556

Rep: Reputation: 247Reputation: 247Reputation: 247
don't know muc re: commad stuff but that sounds like a good idea! nice BW!
 
Old 03-05-2019, 09:23 AM   #6
whois1230
Member
 
Registered: Sep 2018
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
try opening one that is already in there (desktop directory) then mimic it adding your apps name to it, or try copying the desktop file of the app out of applications into your desktop directory, try linking the desktop file out of applications into your desktop directory.

/usr/share/applications
https://imgur.com/a/5S5mUpt I tried creating a text file, so that I could mimic the app name, but it only allows me to create folders. I tried copying the desktop file of different apps out of applications into my desktop directory and it did not work. What is
Code:
/usr/share/applications
?
 
Old 03-05-2019, 09:38 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,319

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
Quote:
Originally Posted by whois1230 View Post
https://imgur.com/a/5S5mUpt I tried creating a text file, so that I could mimic the app name, but it only allows me to create folders. I tried copying the desktop file of different apps out of applications into my desktop directory and it did not work. What is
Code:
/usr/share/applications
?
ok try this to find out

Code:
ls /usr/share/applications
then look at the extensions, when I said mimic I meant everything about that file that is in your desktop folder already and only changing the pertinent information so it will use a different app. 'appname.desktop' is the file name and the information inside of it. I am also not saying this will work. It is merely a suggestion. I know In Enlightenment I do this for my mounts to usb externals and such to get desktop icons for them.
 
1 members found this post helpful.
Old 03-05-2019, 10:49 AM   #8
whois1230
Member
 
Registered: Sep 2018
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
ok try this to find out

Code:
ls /usr/share/applications
then look at the extensions, when I said mimic I meant everything about that file that is in your desktop folder already and only changing the pertinent information so it will use a different app. 'appname.desktop' is the file name and the information inside of it. I am also not saying this will work. It is merely a suggestion. I know In Enlightenment I do this for my mounts to usb externals and such to get desktop icons for them.
Code:
user@debian:~$ ls /usr/share/applications
bluetooth-sendto.desktop              libreoffice-writer.desktop
brasero.desktop                       libreoffice-xsltfilter.desktop
brasero-nautilus.desktop              lightsoff.desktop
debian-uxterm.desktop                 mimeinfo.cache
debian-xterm.desktop                  monodevelop.desktop
display-im6.q16.desktop               monodoc.desktop
eog.desktop                           mono-runtime-common.desktop
evince.desktop                        mono-runtime-terminal.desktop
evince-previewer.desktop              mutter.desktop
evolution-calendar.desktop            nautilus-autorun-software.desktop
evolution.desktop                     nautilus-classic.desktop
firefox-esr.desktop                   nm-applet.desktop
five-or-more.desktop                  nm-connection-editor.desktop
four-in-a-row.desktop                 notification-daemon.desktop
gcm-calibrate.desktop                 openjdk-8-policytool.desktop
gcm-import.desktop                    org.gnome.baobab.desktop
gcm-picker.desktop                    org.gnome.Books.desktop
gcr-prompter.desktop                  org.gnome.Calendar.desktop
gcr-viewer.desktop                    org.gnome.Characters.desktop
geoclue-where-am-i.desktop            org.gnome.Cheese.desktop
gimp.desktop                          org.gnome.ChromeGnomeShell.desktop
gkbd-keyboard-display.desktop         org.gnome.clocks.desktop
gnome-background-panel.desktop        org.gnome.ColorProfileViewer.desktop
gnome-bluetooth-panel.desktop         org.gnome.Contacts.desktop
gnome-calculator.desktop              org.gnome.Dictionary.desktop
gnome-chess.desktop                   org.gnome.DiskUtility.desktop
gnome-color-panel.desktop             org.gnome.Documents.desktop
gnome-control-center.desktop          org.gnome.FileRoller.desktop
gnome-datetime-panel.desktop          org.gnome.font-viewer.desktop
gnome-disk-image-mounter.desktop      org.gnome.gedit.desktop
gnome-disk-image-writer.desktop       org.gnome.Hitori.desktop
gnome-display-panel.desktop           org.gnome.Logs.desktop
gnome-info-panel.desktop              org.gnome.Maps.desktop
gnome-keyboard-panel.desktop          org.gnome.Nautilus.desktop
gnome-klotski.desktop                 org.gnome.Nibbles.desktop
gnome-mahjongg.desktop                org.gnome.Polari.desktop
gnome-mimeapps.list                   org.gnome.Screenshot.desktop
gnome-mines.desktop                   org.gnome.Shell.desktop
gnome-mouse-panel.desktop             org.gnome.Shell.PortalHelper.desktop
gnome-music.desktop                   org.gnome.Software.desktop
gnome-network-panel.desktop           org.gnome.SoundRecorder.desktop
gnome-notifications-panel.desktop     org.gnome.taquin.desktop
gnome-online-accounts-panel.desktop   org.gnome.Terminal.desktop
gnome-power-panel.desktop             org.gnome.Totem.desktop
gnome-printers-panel.desktop          org.gnome.Weather.Application.desktop
gnome-privacy-panel.desktop           pinta.desktop
gnome-region-panel.desktop            python2.7.desktop
gnome-robots.desktop                  python3.5.desktop
gnome-search-panel.desktop            quadrapassel.desktop
gnome-sharing-panel.desktop           redshift.desktop
gnome-shell-extension-prefs.desktop   redshift-gtk.desktop
gnome-software-local-file.desktop     reportbug.desktop
gnome-sound-panel.desktop             rhythmbox.desktop
gnome-sudoku.desktop                  rhythmbox-device.desktop
gnome-system-monitor.desktop          rygel.desktop
gnome-system-monitor-kde.desktop      seahorse.desktop
gnome-tetravex.desktop                shotwell.desktop
gnome-tweak-tool.desktop              shotwell-viewer.desktop
gnome-universal-access-panel.desktop  simple-scan.desktop
gnome-user-accounts-panel.desktop     software-properties-drivers.desktop
gnome-user-share-webdav.desktop       software-properties-gnome.desktop
gnome-wacom-panel.desktop             software-properties-gtk.desktop
hplj1020.desktop                      swell-foop.desktop
iagno.desktop                         synaptic.desktop
icedtea-netx-javaws.desktop           tali.desktop
inkscape.desktop                      tracker-needle.desktop
itweb-settings.desktop                tracker-preferences.desktop
libreoffice-base.desktop              transmission-gtk.desktop
libreoffice-calc.desktop              vim.desktop
libreoffice-draw.desktop              vinagre.desktop
libreoffice-impress.desktop           vinagre-file.desktop
libreoffice-math.desktop              vino-server.desktop
libreoffice-startcenter.desktop       yelp.desktop
user@debian:~$
 
Old 03-05-2019, 11:25 AM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,319

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
yes, I know what is in that dir already, you did not have to show me, it was for your benefit not mine. They are your desktop files, it is what the menu system uses to put them in the menus, and autostart directories to start apps when signed in.

take the one you want then either link it to your ~/Desktop or copy one in and see if that works.
 
1 members found this post helpful.
Old 03-05-2019, 03:43 PM   #10
whois1230
Member
 
Registered: Sep 2018
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
yes, I know what is in that dir already, you did not have to show me, it was for your benefit not mine. They are your desktop files, it is what the menu system uses to put them in the menus, and autostart directories to start apps when signed in.

take the one you want then either link it to your ~/Desktop or copy one in and see if that works.
Hello, I ran
Code:
user@debian:~$ ln -s /usr/bin/brasero.desktop ~/Desktop/
and also tried to copy another app name in the file's properties, nothing works.

p.s. I am using GNOME
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-03-05 22-37-12.jpg
Views:	5
Size:	227.9 KB
ID:	30023   Click image for larger version

Name:	Screenshot from 2019-03-05 22-37-19.jpg
Views:	4
Size:	230.3 KB
ID:	30024  

Last edited by whois1230; 03-05-2019 at 04:01 PM.
 
Old 03-05-2019, 05:10 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,319

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
what Linux distro is that and does it come with GNOME installed as a live os?

blah I googled it
read

https://developer.gnome.org/integrat...-files.html.en

Code:
Create Desktop Launcher

    Create Desktop Launcher Dialog.
    Enter name, path to the application binary executable and optional comment. ...
    New desktop shortcut has now been created.
    Double-click on the the new shortcut and select Trust and Launch.
    Start application via desktop launcher shortcut.
try that...

Last edited by BW-userx; 03-05-2019 at 05:25 PM.
 
1 members found this post helpful.
Old 03-05-2019, 07:57 PM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,319

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
DO THIS

I burned a copy of Ubuntututututu to usb stick, launched it, then copied a desktop file out of /usr/share/applications then in a terminal issue...
Code:
chmod +x ~/Desktop/appname.desktop
double clicked on the desktop icon whatever it looks like just double click on it, then select execute and trust. done...

Last edited by BW-userx; 03-05-2019 at 07:58 PM.
 
1 members found this post helpful.
Old 03-06-2019, 04:03 AM   #13
whois1230
Member
 
Registered: Sep 2018
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
I burned a copy of Ubuntututututu to usb stick, launched it, then copied a desktop file out of /usr/share/applications then in a terminal issue...
Code:
chmod +x ~/Desktop/appname.desktop
double clicked on the desktop icon whatever it looks like just double click on it, then select execute and trust. done...
This worked, thanks a lot.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2019-03-06 10-48-19.jpg
Views:	4
Size:	227.4 KB
ID:	30030   Click image for larger version

Name:	Screenshot from 2019-03-06 11-00-55.jpg
Views:	5
Size:	227.7 KB
ID:	30031  
 
Old 03-06-2019, 07:05 AM   #14
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 current / Linux Mint / Debian / Void Linux
Posts: 8,319

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
yes... glad it worked out for you...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu Web Apps aim to blur lines between desktop, and web apps LXer Syndicated Linux News 0 07-22-2012 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration