LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2009, 11:22 PM   #1
satyabel
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Question how to create desktop shortcut for any exe file for all users exsting in the system


hai
hoe to create desk to shortcuts for important executables for all users in the system like windows on right click and send shortcut to desktop option is available on rhel ws or any linux operating system
 
Old 03-20-2009, 01:35 AM   #2
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
probably a shell script to scan the executables and user accounts will solve the problem
 
Old 03-20-2009, 01:39 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
EDIT : Deleted.

.....
 
Old 03-20-2009, 04:14 AM   #4
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
I'll take for example gnome desktop ..because I don't use kde..
..not very familiar with gnome either

a basic desktop shortcut looks like this:
file name : ekiga.desktop
file content:
[Desktop Entry]

Version=1.0
Encoding=UTF-8
Name=Ekiga Softphone
Name[en_CA]=Ekiga Softphone
Name[en_GB]=Ekiga Softphone
TryExec=ekiga
GenericName=IP Telephony, VoIP and Video Conferencing
GenericName[en_CA]=IP Telephony, VoIP and Video Conferencing
GenericName[en_GB]=IP Telephony, VoIP and Video Conferencing
Comment=Talk to people over the Internet
Comment[el]=Μιλήστε σε ανθρώπους μέσω του διαδικτύου
Comment[en_CA]=Talk to people over the Internet
Comment[en_GB]=Talk to people over the Internet
StartupNotify=true
Exec=ekiga
Icon=ekiga
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;Telephony;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=ekiga
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=2.0.12
Name[en_US]=ekiga







Creating links with ln doesn't look very pretty...
So I guess your script has to have a list for all the programs you want to make shortcuts...create the associate files for each program ..lets say firefox.desktop mplayer.desktop on users desktop (/home/$USER/Desktop/) ..fill the files with the content like the one I specified for ekiga above(adapt for each program)...

I think it might work....:P
When finished...post the script here :d
 
  


Reply



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
how to create a desktop url shortcut craftereric Linux - Newbie 5 11-16-2010 05:08 PM
How to create a desktop shortcut to a JAR file? jdruin Linux - Newbie 4 01-04-2009 03:55 PM
create a shortcut in /home/username/Desktop but not still not appear on desktop! swgiant Linux - Newbie 1 09-27-2008 11:51 AM
desktop shortcut for File System 5muggl3r Linux - Laptop and Netbook 8 12-26-2007 10:01 AM
How to create a desktop shortcut ? juanb Linux - General 1 07-01-2004 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 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
Open Source Consulting | Domain Registration