Just a quick question for you all about Qtile. I added a few IDE's like Pycharm and assumed that jgmenu would update with a development category but this is not the case. Is there a way to update jgmenu so that it shows a development category? All the apps are being dumped in the Other category. There may be other categories it isn't showing for some odd reason and I want to see if there Is a way I can fix it. Thanks in advance guys.
Thanks for letting me know.
And I have installed several coding programs like pycharm, thonny and IDEA as well as the open version of vscode. In all Cases they end up in other for some reason. (nuke and pave did not fix the issue so idk)
ahh my bad. I see. Yes I will look for that app give me a minute
Code is installed and for some reason shows up in accessories. odd.
Well I think I've found the problem... For some reason jetbrains is in the panel without a .desktop file. I bet if I put a .desktop file there it will fix the problem.
OK Update on this. I completely forgot that there are some .desktop files in .local/share/applications as well. I was able to find the desktop files for pycharm and intellij. adding Text editor to the .desktop files moves them to the accessories menu, but that is not ideal as every time they are updated they go back to the way they were (classified as Development and IDE). Seems like something is going on with the normalization. I'm going to try and install the community edition of pycharm from the repos to see if that does anything but I'm not sure that will fix anything. I will update this comment with the results. Thanks for looking into this.
*Update: So installing pycharm community edition doesn't change anything. If the .desktop does not contain Text Editor it will get dumped in other and if it does have that It will be placed in Accessories. I think this is desired behavior so I was hoping someone could point me in the direction of the file i need to edit to fix this. Thanks.
Are they, even if you put the edited ones into ~/.local/share/applications? That should override the shipped .desktops. If that still doesnt work you could create a pacman hook which triggers on install/update of the desired application and either replaces the desktop with a premade one or uses sed to edit the .desktop file.
So the .desktop files Already list Development and IDE for category. For some reason JGmenu is ignoring both categories.
[Desktop Entry]
Name=PyCharm Professional
Icon=/home/wulfalpha/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/.icon.svg
StartupWMClass=jetbrains-pycharm
Comment=Python IDE for professional developers
Exec="/home/wulfalpha/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/211.7142.13/bin/pycharm.sh" %f
Version=1.0
Type=Application
Categories=Development;IDE;
Terminal=false
StartupNotify=true
here is the desktop from the pro version. Installing from the repos does the same thing. Still shows the Development category with no development or programming category in jgmenu
It seems qtile uses another path to build Apps menu.
By jGmenu:
jgmenu_run apps generates jgmenu flavoured CSV menu data for system applications using built-in schema data or a specified schema file to map categories to directories, rather than system .directory files.
A schema is searched for in the following locations and order:
$XDG_CONFIG_HOME/jgmenu/schema
$HOME/.config/jgmenu/schema
$XDG_CONFIG_DIRS/jgmenu/schema
/etc/xdg/jgmenu/schema
The root menu is appended and/or prepended by the contents of the files $HOME/.config/jgmenu/{append,prepend}.csv if they exist.
Applications which do not belong in any of the categories in the schema file, are placed in ‘Other’ (which is the one with no Categories= field)
I have not used qtile, so you have to look up yourself in this path