LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2009, 10:20 PM   #1
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Rep: Reputation: 45
xfce 4.6 -current menu editor


I upgraded to -current today. Thanks to everyone involved for the hard work.

When I started xfce back up after upgrading I noticed all my custom items from my right click menu where gone(the default ones were gone too). There were only a small amount of items listed. I then looked in the settings area for the menu editor that I am used to using. It wasn't there. I then tried to execute xfce4-menueditor from the commandline and there is no longer any such command. I had already backed up my ~/.config directory, so I decided to log out and delete that file then re-log in, hoping things would be in a default state that I could easily edit my menu. I still see the same menu that was there. I see no way to edit the menu. I can't imagine that you can no longer edit your right-click menu in the new version of xfce.

Does anyone else have the same issue?
 
Old 03-11-2009, 12:48 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
The menu editor is gone from 4.6 - instead items have .desktop files in /usr/share/applications
 
Old 03-13-2009, 05:22 PM   #3
Mig21
Member
 
Registered: Jan 2005
Posts: 193

Rep: Reputation: 33
Well, Xfce 4.6 definitely doesn't have a menu editor. Does anyone have suggestiosn for replacement?

I've read somewhere 'use Alacarte', but I think that requires gnome and I can't find the source code for it regardless.

Somehow fiddling with files in /usr/share/applications doesn't seem like a very good idea. I guess I could make that a symlink to somewhere in my home directory, at least I won't need to be root to edit them.

Any other suggestions?
 
Old 03-13-2009, 08:27 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Well, xfce is now following freedesktop standards. It's the same way it's been with kde... well.. Gnome anyway... ;-) KDE has gotten better over the years. So anyway. It's a good thing. You'll get used to it.

Alacarte is in gnome ftp
http://ftp.gnome.org/pub/gnome/sources/alacarte/

It does work seamless with XFCE if you do want to give it a try. Not sure of the deps but it'll probably be an issue. You can do a test run anyway and see what it wants.
 
Old 03-13-2009, 09:01 PM   #5
Mig21
Member
 
Registered: Jan 2005
Posts: 193

Rep: Reputation: 33
I have no problem building it myself. But it turns out it requires libgnome-menu, which I'm assuming requires the rest of gnome
 
Old 03-14-2009, 01:55 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
It would be an idea if there was some ~/.applications or other for making user based desktop files. Perhaps if we mail the devs it might become reality.
 
Old 03-14-2009, 02:29 AM   #7
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,944

Rep: Reputation: Disabled
$HOME/.local/share/applications/ is the place to put them.
However, that doesn't override the system menu - it just adds to it.
 
Old 03-15-2009, 06:45 AM   #8
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 206

Rep: Reputation: 32
Quote:
Well, xfce is now following freedesktop standards. It's the same way it's been with kde... well.. Gnome anyway... ;-) KDE has gotten better over the years. So anyway. It's a good thing. You'll get used to it.
er.. somehow, I don't think so...
While I can see the obvious dangers in offering a menu that a user can inadvertently modify to the point of losing their grip on everything, including the ability to recover, there are other ways to approach this. To some extent, Gnome users already have this, by separate iconbar tabs for "Applications" and "Places" etc.

In general, if users want some functionality that does not come as "standard", they will modify, add-on, share cheatsheet fixes, or otherwise contrive until they get it. If they get frustrated enough, they will abandon the thing, and either go with something different, or support a forked variant that evolves, or maybe even alter it their copy.

I surprise myself at how easily (fickle?!) I could be in trying Xfce4 just because KDE 3.5 will become unsupported and KDE4 had features I would choose not to get used to - ever!
 
Old 03-15-2009, 12:43 PM   #9
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Uhm, let me see if I understand this...

XFCE has sub-menus (Accessories, Development, Office, etc.). Does it separate the various *.desktop items by it "Categories=" line?

I have a silly problem in that I have some .desktop files in ~/.local/share/applications that do not show up in my menu - anywhere... And I'm trying to figure out how to correct this.
 
Old 03-15-2009, 02:02 PM   #10
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Quote:
Originally Posted by niels.horn View Post
Uhm, let me see if I understand this...

XFCE has sub-menus (Accessories, Development, Office, etc.). Does it separate the various *.desktop items by it "Categories=" line?

I have a silly problem in that I have some .desktop files in ~/.local/share/applications that do not show up in my menu - anywhere... And I'm trying to figure out how to correct this.
Basically yes. But : A few days I installed a Windows app with crossover office. Crossover created a desktop file in that directory that contains no "Categories=" line at all. The app is shown in "Andere" (German) which should be "Accessories" or "Others" in English. So it seems the line is not mandatory.

See for available categories: http://standards.freedesktop.org/menu-spec/1.0/apa.html

And make sure the line ends with a ";"
 
Old 03-15-2009, 06:34 PM   #11
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
ok, found the problem... There was actually a strange character in the middle of the .desktop file and I guess XFCE simply skipped it for this. After removing it the menu item showed up
Thanks for the help!
 
  


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
Removing KDE menu items from XFCE menu kr4ey Slackware 8 03-14-2011 04:29 AM
[SOLVED] Slackware-current, Audacious missing from XFCE system tray Eternal_Newbie Slackware 0 02-08-2008 06:39 PM
KDE menu editor K menu Xirtrips Linux - Software 4 10-03-2006 03:27 PM
KDE menu disappeared after using Menu editor lizard99 Linux - Software 5 09-15-2006 11:36 PM
xfce 4.2.0 haywire in current Artanicus Slackware 13 01-24-2005 04:08 PM


All times are GMT -5. The time now is 05:54 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration