Skip to content

Conversation

@gonX
Copy link
Member

@gonX gonX commented Dec 2, 2024

Nothing important, just went over it as I was updating the Arch PKGBUILD to use our own one, and checked out the differences.


.desktop categories are documented here
I added the following ones:

  • HardwareSettings

    A tool to manage hardware components, like sound cards, video cards or printers

  • GTK

    Application based on GTK+ libraries


Valid Icon= values are documented in Freedesktop's icon theme spec here

Icons and themes are looked for in a set of directories. By default, apps should look in $HOME/.icons (for backwards compatibility), in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order).


The rest of the changes should be obvious enough

gonX added 6 commits December 2, 2024 00:23
According to freedesktop's icon theme spec:

> Icons and themes are looked for in a set of directories. By default, apps should look in $HOME/.icons (for backwards compatibility), in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order).
The GUI does not support running 2 instances, so declare it as such
A quick test with 'swaymsg -t get_tree' tells me that this is the value. May need to be tested on X11
@gonX gonX added enhancement New feature or request linux/gtk Affects the Linux platform meta Dotfiles, scripts or Github files labels Dec 2, 2024
@gonX gonX added this to the v0.6.5 milestone Dec 15, 2024
@gonX
Copy link
Member Author

gonX commented Dec 15, 2024

desktop-file-validate thinks the file looks good. Final output looks like this:

[Desktop Entry]
Version=1.5
Name=OpenTabletDriver
GenericName=Tablet driver settings
Comment=A cross-platform open-source tablet driver
Exec=otd-gui
Icon=otd
Terminal=false
Type=Application
Categories=HardwareSettings;Settings;GTK
StartupNotify=true
StartupWMClass=OpenTabletDriver.UX
SingleMainWindow=true

@gonX
Copy link
Member Author

gonX commented Dec 15, 2024

Tested working with rofi -show dmenu

@gonX gonX merged commit 66c23e5 into OpenTabletDriver:0.6.x Dec 15, 2024
8 checks passed
@gonX gonX deleted the 06x-better-packaging-v1 branch December 15, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request linux/gtk Affects the Linux platform meta Dotfiles, scripts or Github files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants