LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-24-2011, 03:01 PM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 209

Rep: Reputation: 15
xfce menu desktop files, location?


I want to add an app to an xfce menu, but I cannot find the .destop files. I tried the how-to at he xfce site, but it refers to ~/.config/menus, but I do not have that and I can find none of the .desktop files anywhere in my home directory.

So, where the heck are the files I need to modify?

tj
 
Old 02-24-2011, 03:17 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
/usr/share/applications
 
Old 02-24-2011, 03:18 PM   #3
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 211

Rep: Reputation: 52
For a broader explanation and more scope beyond your query covering the background of what, why and how then look here:
http://standards.freedesktop.org/des...y-spec/latest/


If you want to add system-wide for all users then you must make a desktop entry file in:
Code:
/usr/share/applications/
Look at Thunar.desktop as an example:
Note, i have deleted other languages except for generic and en_GB (English, Great Britain)
Code:
david@slackware13:/usr/share/applications$ cat Thunar.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Thunar File Manager
Name[en_GB]=Thunar File Manager
Comment[en_GB]=Browse the filesystem with the file manager
GenericName=File Manager
GenericName[en_GB]=File Manager

Exec=Thunar %F
Icon=Thunar
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;System;Utility;Core;GTK;FileManager;
As an example, as root:
Code:
cd /usr/share/applications
cp Thunar.desktop my_app.desktop
and then edit the parameters/options/paths/executable command of (my_app.desktop) so it is matching/pointing/personalised to your executable program/script/binary etc

Last edited by dh2k; 02-24-2011 at 03:23 PM.
 
1 members found this post helpful.
Old 02-24-2011, 04:27 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
You may be able to store local .desktop files in $HOME/.local/share/applications/.
 
  


Reply

Tags
desktop, files, location, menu, xfce



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
remove xfce desktop menu? FreakboY Slackware 7 10-21-2009 07:29 PM
translate xfce desktop menu mjalalynia Linux - Desktop 0 08-24-2008 02:07 AM
how do you change the main menu (right click on desktop) for xfce? kryptobs2000 Linux - Software 2 11-09-2007 06:50 PM
xfce menu gone / desktop hidden? fault Linux - Newbie 2 04-29-2006 03:29 AM
XFCE Desktop Menu caps_phisto Fedora 7 03-25-2005 08:42 AM

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

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