LinuxQuestions.org
Review your favorite Linux distribution.
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 06-08-2014, 02:51 AM   #1
vvladimir
LQ Newbie
 
Registered: Feb 2014
Posts: 9

Rep: Reputation: Disabled
How to create desktop (or task bar) shortcut to some file on Debian LXDE, OpenBox?


Using Debian (Wheezy) with LXDE/OpenBox.

I would like to have shortcut to Eclipse IDE either on desktop or on the bottom panel.

I know how to add items(panel applets) to panel at the bottom - as shortcut to some application. But, with Eclipse IDE its different, because Eclipse comes as separate folder, inside which is executable "eclipse" file. Eclipse is not installed via repositories (using apt-get, or Synaptic manager) and therefore it is not integrated as other software under certain start menu application category.

So, simply put: "How can I add a shortcut (either on Desktop or bottom panel) that is shortcut to certain file"?

(There isn't any "Send to Desktop/Create a shortcut" option in LXDE)
 
Old 06-08-2014, 03:11 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I don't have LXDE installed (I use KDE) but when you right-click on the desktop doesn't a menu appear? If it does there may be an item "Create new" with an arrow pointing to a drop down menu. If so, then one of the items would be "Link to Application" which you could fill in to point to whatever you want.

Alternatively, you could look in your ~/Desktop folder and see if there are any .desktop files that you could model your new shortcut on. Here's one I created:
Code:
[Desktop Entry]
Comment[en_GB]=
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec=/opt/libreoffice4.2/program/swriter
GenericName[en_GB]=OpenOffice4.0
GenericName=OpenOffice4.0
GenericName[en_US]=OpenOffice3.2
Icon=/home/jdkaye/Desktop_stuff/1387920687_soffice.png
MimeType=application/vnd.wordperfect;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.presentation-template;application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.image;application/vnd.oasis.opendocument.graphics-template;application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.formula;application/vnd.oasis.opendocument.chart;application/vnd.ms-powerpoint;application/vnd.ms-excel;
Name[en_GB]=Libre4.2
Name=Libre4.2
Name[en_US]=OOo3.2
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false
X-KDE-Username=
jdk
 
Old 06-08-2014, 06:40 AM   #3
vvladimir
LQ Newbie
 
Registered: Feb 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
@jdkaye - Thanks for reply

Right click on desktop does bring a menu, that has "Create new" item, and then there are only options for new "Folder" and "Blank file". There isn't an item for "Link to application". Currently, there are only couple folders and files on my Desktop - there isn't any application link/shortcut.

---------- Post added 06-08-14 at 01:41 PM ----------

@jdkaye - Thanks for reply

Right click on desktop does bring a menu, that has "Create new" item, and then there are only options for new "Folder" and "Blank file". There isn't an item for "Link to application". Currently, there are only couple folders and files on my Desktop - there isn't any application link/shortcut.
 
  


Reply

Tags
customize, debian, desktop, lxde, openbox



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
cant find a minimized window on the task bar on mandriva KDE desktop salomeq Linux - Desktop 4 08-28-2010 10:16 AM
Do you think LXDE/OpenBox should replace ........ Wm/Desktop in Slackware? samac Slackware 7 03-14-2010 05:24 AM
no desktop icons, no task bar, but normal while login as root graphics mode pradeepkumarp Linux - Newbie 1 08-21-2009 11:09 AM
how to create desktop shortcut for any exe file for all users exsting in the system satyabel Linux - Newbie 3 03-20-2009 04:14 AM
How to create a desktop shortcut to a JAR file? jdruin Linux - Newbie 4 01-04-2009 03:55 PM

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

All times are GMT -5. The time now is 01:10 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