You are not logged in.
Pages: 1
Is there a way to add more categories to the settings window, below "Other" or change the "Other" heading to something else?
I've figured out how to add to the categories. Just wondering if I can expand with more categories for some special applications.
Offline
Yes. There are 3 things you need to do to create new categories and assign items to them (will use Test Category as example) :
Create an ~/.local/share/desktop-directories/xfce-test.directory with the basic content of:
[Desktop Entry]
Version=1.0
Type=Directory
Icon=desktop-environment-xfce
Name=Test
Comment=Test Category
Copy the /etc/xdg/menus/xfce-settings-manger.menu file to ~/.config/menus and add make the following changes:
- In the layout section, add "<Menuname>Test</Menuname>"
- In the "<Category>Settings</Category>" section, add "<Category>X-XFCE-TestSettings</Category>"
- In with the other "<Menu>" entries, add:
<Menu>
<Name>Test</Name>
<Directory>xfce-test.directory</Directory>
<Include>
<And>
<Category>Settings</Category>
<Category>X-XFCE-SettingsDialog</Category>
<Category>X-XFCE-TestSettings</Category>
</And>
</Include>
</Menu>
Copy/Create a .desktop file to ~/.local/share/applications and make sure the "Categories" line includes:
X-XFCE-SettingsDialog;X-XFCE-TestSettings;
Last edited by ToZ (2024-01-24 19:08:00)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks ToZ.
One adjustment
~/.local/desktop-directories/xfce-test.directory
~/.local/share/desktop-directories/xfce-test.directory (Linuxmint)
But I got how it works, and have it working
Offline
Thanks for the catch. I've updated my post.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 533.63 KiB (Peak: 534.47 KiB) ]