You are not logged in.
I'm trying to create .desktop files for things I want in the XFCE menu, but I can't seem to get anything to work. I've tried to replicate the files in ~/.local/share/applications and modify them to my needs, but it doesn't do anything. Any good way to do this?
Why is it so hard to edit the menu in XFCE?
Offline
echo $XDG_DATA_DIRS
If that does not have /home/(user)/.local/share in it then putting files there won't work.
In /etc/profile I have
export XDG_DATA_DIRS=$HOME/.local/share
Offline
I tried putting that into my /etc/profile, but when I logged out/in and started X w/ XFCE, there were several icons missing or wrong scattered all over the UI (panel, menu, desktop, etc.).
Offline
That's to be expected. Use
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/.local/share
instead.
1000
Offline
Looking good!
However, I can't get my file to make an entry in the menu. Here's what I put:
[Desktop Entry]
Encoding=UTF-8
Type=Application
NoDisplay=true
Name=xmahjongg
Exec=xmahjongg
I saved it as xmahjongg.xml. I don't know what to use for the MimeType field, it's a video game. Is it even necessary?
Offline
http://standards.freedesktop.org/deskto … atest.html and 'desktop-file-validate your.desktop' help with that.
1000
Offline
Niiiiice, I'm going to read that when my own battery isn't at 5%. Time for bed Thank you very much for all your support tonight. I'll make sure to pass this knowledge on
Offline