VectorLinux
November 27, 2014, 02:17:52 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: include an item in menu list  (Read 1991 times)
ramesh
Member
*
Posts: 67


« on: July 17, 2007, 05:32:29 am »

hello all,

I installed K3b using gslapt.  By typing K3b in a terminal it will launch.  But this item is noted in the main menu list.
How to include this in the main menu list  ?
Logged
newt
Vectorian
****
Posts: 1132



« Reply #1 on: July 17, 2007, 06:36:13 am »

do a search for 'k3b menu' and you should find a post by caitlyn that will help you.  I'm surprised you didn't already come across this post in your searches.
Logged
ramesh
Member
*
Posts: 67


« Reply #2 on: July 17, 2007, 07:06:03 am »

no useful hints yet
Logged
newt
Vectorian
****
Posts: 1132



« Reply #3 on: July 17, 2007, 07:58:18 am »

I assume you're using VL58STD: Could you please post the output from 'cat /usr/share/applications/k3b.desktop'?  If there is no output or the file cannot be found then please copy the desktop file there.  You can do this by issuing this command as root:
cp /opt/kde/share/applications/kde/k3b.desktop /usr/share/applications/

You _may_ need to restart X before it appears (maybe not).

HTH
Logged
ramesh
Member
*
Posts: 67


« Reply #4 on: July 17, 2007, 02:21:12 pm »

Newtor,

carried out all your suggestions The output is:

No such file or directory
Logged
lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #5 on: July 17, 2007, 02:25:32 pm »

Issue this command as root in a terminal:

updatedb

Then in a terminal, as either a user or root issue this command:

locate k3b.desktop

What does it tell you?
Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
ramesh
Member
*
Posts: 67


« Reply #6 on: July 17, 2007, 02:34:59 pm »

lagagnon,

issued the commands The output is :


/opt/kde/share/applications/kde/k3b.desktop
/opt/kde/share/mimelnk/application/x-k3b.desktop
/opt/kde/share/services/kfile_k3b.desktop
/usr/share/applications/k3b.desktop
Logged
lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #7 on: July 17, 2007, 02:41:54 pm »

Well Ramesh, you do have a k3b.desktop file in the proper location ( /usr/share/applications ) so appears as though the k3b.desktop file does not have "Categories" which match the xfce specification for desktop files.

You therefore need to edit (as root) usr/share/applications/k3b.desktop and find the line at the bottom starting "Categories" and add an appropriate menu heading as found in xfce (for example "Utilities" or "System" or "Multimedia" or whatever xfce menu category you want it to appear under).

Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
exeterdad
Packager
Vectorian
****
Posts: 2046



« Reply #8 on: July 17, 2007, 02:48:23 pm »

I can confirm the .desktop needs editing.

Change this line:
Quote
Categories=KDE;Application;AudioVideo;DiscBurning;
To this line:
Quote
Categories=KDE;Application;AudioVideo;DiscBurning;Multimedia;

Should be at or about line 115.

Make sure it's the: /usr/share/applications/k3b.desktop  Or it won't show up in Xfce no matter how much you edit it.
« Last Edit: July 17, 2007, 02:50:02 pm by exeterdad » Logged
ramesh
Member
*
Posts: 67


« Reply #9 on: July 17, 2007, 05:50:11 pm »

laganon,

Well done..  Thank you.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!