Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't pin to dock #247

Closed
7-- opened this issue Nov 21, 2023 · 4 comments
Closed

Can't pin to dock #247

7-- opened this issue Nov 21, 2023 · 4 comments

Comments

@7--
Copy link

7-- commented Nov 21, 2023

Is your feature request related to a problem? Please describe.
Can't pin to dock unless you add StartupWMClass=init.py to /usr/share/applications/brightness-controller.desktop

Describe the solution you'd like
somehow be able to pin to dock without having to edit .desktop file.

Describe alternatives you've considered
manually updating the .desktop file

Additional context
[Desktop Entry]
Name=Brightness Controller
Comment=Adjust your screen brightness easily
Icon=brightness-controller
Exec=/usr/share/brightness-controller/init.py
Terminal=false
Type=Application
Categories=Utility
StartupNotify=true
Name[en_US]=Brightness Controller
StartupWMClass=init.py

@archisman-panigrahi
Copy link
Contributor

I will push a minor update to the PPA with the modified desktop file. Which dock are you using, by the way?

@archisman-panigrahi
Copy link
Contributor

@7-- Can you test this deb package and let us know if it works as intended? If you confirm that it works, I will push it to the PPA. https://code.launchpad.net/~apandada1/+archive/ubuntu/brightness-testing/+build/27012648/+files/brightness-controller_2.3.4-4~ubuntu22.04.1_all.deb

@7--
Copy link
Author

7-- commented Nov 23, 2023

It works great. I can pin without making any changes to .desktop file.

I tried on my Debian 12 desktop and Ubuntu 22.04 laptop. Both had this issue before and are working now.

@archisman-panigrahi
Copy link
Contributor

I have updated the PPA package with this modified .desktop file. This issue can be closed now.

@7-- 7-- closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants