LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-02-2010, 09:29 AM   #1
voip4africa
Member
 
Registered: Mar 2010
Posts: 37

Rep: Reputation: 1
PCLinuxOS - Adding Programs to Start Menu


I'm using PCLinuxOS (LXDE) and just installed adesklets, but thew shortcut does not appear in the start menu. I even tried restarting.

How do I go about adding shortcuts in there as well as in the default panel that's at the bottom of the screen.

Thanks.
 
Old 04-02-2010, 09:45 AM   #2
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
look for .desktop files, probably in your /usr directory. Each one determines an entry on your panel or menu. Find one that refers to an entry in the menu category you want, make a copy and edit it to reflect your new application. Save it in the same place and the menu should update straight away.
 
Old 04-03-2010, 08:05 AM   #3
voip4africa
Member
 
Registered: Mar 2010
Posts: 37

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by spoovy View Post
look for .desktop files, probably in your /usr directory. Each one determines an entry on your panel or menu. Find one that refers to an entry in the menu category you want, make a copy and edit it to reflect your new application. Save it in the same place and the menu should update straight away.
I can't see any .desktop files anywhere. I even did a "search for files and folders" and searched for hidden files through the filesystem folder (/) and it's sub-folders, but nothing.
 
Old 04-04-2010, 04:47 AM   #4
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
I wouldn't rely on GUI searching, it never works very well in my experience. Try the following command -

sudo find / | grep .desktop | less
 
Old 04-05-2010, 08:41 AM   #5
voip4africa
Member
 
Registered: Mar 2010
Posts: 37

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by spoovy View Post
I wouldn't rely on GUI searching, it never works very well in my experience. Try the following command -

sudo find / | grep .desktop | less
Thanks, but this doesn' t seem to bring up any results. here's what I get after a while of putting in the code
Code:
lines ?-?/? (END)
 
Old 04-05-2010, 09:09 AM   #6
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
V strange. Please copy /paste the whole thing (ie your input and the output) here.


Also, look in /usr/share/applications. They should be in there anyway so you won't need to search.

Last edited by spoovy; 04-05-2010 at 09:12 AM.
 
Old 04-07-2010, 07:49 AM   #7
voip4africa
Member
 
Registered: Mar 2010
Posts: 37

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by spoovy View Post
V strange. Please copy /paste the whole thing (ie your input and the output) here.

This is what I get when I input sudo find / | grep .desktop | less in the terminal
Code:
voip4africa is not in the sudoers file.  This incident will be reported.
lines ?-?/? (END)
Quote:
Originally Posted by spoovy View Post
Also, look in /usr/share/applications. They should be in there anyway so you won't need to search.
I don't see a single .desktop file in here (I used GUI filemanager, as I don't know how to get the listing of a directory's content's in Terminal.
 
Old 04-07-2010, 04:43 PM   #8
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
OK, here goes.

1) Add yourself to sudoers by becoming root -

Code:
su -
Then entering your root password.
Then type -

Code:
visudo
Then add the line showed below in bold -

Code:
root  ALL=(ALL)  ALL
<username>  ALL=(ALL)  ALL
You will need to know a tiny bit about how to use the vi text editor to do that bit. Google it, it's not hard to learn the little bit you need.

2) Change back to your normal user by entering -

Code:
su - <username>
Then list the .desktop files by using the following commands

Code:
cd /usr/share/applications
then

Code:
ls -lA
This should list all the .desktop files in /usr/share/applications.

Then refer back to my original post on what to do with the .desktop files.


Finally, I will quote you -

"I used GUI filemanager, as I don't know how to get the listing of a directory's content's in Terminal."

A single google search would have found this information for you. I'm willing to help, as are loads of other people, but no-one is going to be willing to spoon-feed you for long.

Regards

spoov

Last edited by spoovy; 04-07-2010 at 04:51 PM.
 
Old 04-17-2010, 03:55 AM   #9
Zieg30CT
LQ Newbie
 
Registered: Aug 2009
Distribution: Gentoo x86_64
Posts: 8

Rep: Reputation: 2
(hit quick reply by accident while sleeping sorry. just delete my post)

Last edited by Zieg30CT; 04-17-2010 at 03:57 AM. Reason: accident
 
  


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
Adding programs to the menu Mathius Linux - Newbie 2 01-21-2007 12:36 AM
adding programs to main menu. blastradius Ubuntu 6 09-03-2005 01:16 PM
Adding programs to the "start menu" LDJ Linux - Newbie 4 11-19-2004 01:09 PM
Adding programs to menu neilcpp Slackware 3 01-28-2004 01:12 PM
Adding programs to the K Menu??? rkid Linux - Software 3 10-06-2003 09:36 PM

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

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