keith-packard / kgames

Rustic X11 games
Other
11 stars 2 forks source link

Desktop integration fixes #46

Closed keith-packard closed 2 years ago

keith-packard commented 2 years ago

Rename directories to match application names. Create xreversi and kdominos icons Install icons to share/icons/hicolor/scalable/apps Add .desktop files, install to share/applications

BartMassey commented 2 years ago

Maybe include the debian/ directory in the repo so that I could try a test build + install?

keith-packard commented 2 years ago

You don't need to create a debian package, and it doesn't really help. Just do 'ninja install' and then run 'xdg-desktop-menu forceupdate' to get your menus reloaded.

BartMassey commented 2 years ago

Never mind, I was just screwing up.

Really blows out the Games menu. Maybe a submenu, at least for the solitaires?

keith-packard commented 2 years ago

Really blows out the Games menu. Maybe a submenu, at least for the solitaires?

That's entirely up to the desktop environment; I've set all of the categories that are defined by the .desktop file specification...

BartMassey commented 2 years ago

Looks like there's a way to specify submenus in XDG, but it's convoluted enough to do what I want that I'm not going to think about it anymore.