LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2021, 02:15 PM   #1
andigena
Member
 
Registered: Sep 2019
Location: USA
Distribution: nixos, but i prefer plan 9
Posts: 141

Rep: Reputation: 66
GNOME + Dash to Dock - getting Zoom and OpenShot to group under their associated favorited launcher


I have GNOME set up with a custom icon theme and Dash to Dock. Most programs work exactly as I want them to, but OpenShot and Zoom don't want to play by the rules:

As you can see, OpenShot and Zoom, when opened, use their default icons which clash badly with my icon theme, and they get added to the end of the taskbar instead of grouping with their icon in the favorites section. I made sure their .desktop entries are referencing the right icons and I tried reinstalling both of them after setting the icon theme; both solutions did not help. This is on Gentoo, if that matters, and I set the icon theme using GNOME Tweaks. Any ideas?
 
Old 02-21-2021, 03:23 PM   #2
andigena
Member
 
Registered: Sep 2019
Location: USA
Distribution: nixos, but i prefer plan 9
Posts: 141

Original Poster
Rep: Reputation: 66
I figured out the issue after some digging. Apparently certain programs treat the desktop launcher as a wrapper and the created window has a different class from the one the launcher causes GNOME's dash to expect. I moved /usr/share/applications/org.openshot.OpenShot.desktop and /usr/share/applications/zoom-zoom.desktop to openshot.desktop and zoom.desktop respectively and added the line StartupWMClass=openshot/zoom to the respective entry and that fixed it. I imagine this solution will apply for any similar grouping issue with the GNOME dash.

Edit to add a small clarification: I don't think moving the launcher locations was actually the meaningful part of the solution. I had to symlink a new zoom-zoom.desktop back to zoom.desktop because it doesn't like it being located at the new filename when launching a meeting from the web browser, but using zoom-zoom.desktop as the launcher still worked, so I think you only actually need to change the StartupWMClass line and there's no need to move the .desktop entries.

Last edited by andigena; 02-23-2021 at 12:36 PM. Reason: clarification
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Add A Show Desktop Icon To Ubuntu Dock / Dash To Dock LXer Syndicated Linux News 0 05-29-2018 02:32 PM
LXer: OpenShot Video Editor Basic Openshot Video Editing Skills LXer Syndicated Linux News 0 04-12-2017 10:38 PM
why would my columns in LibreOffice separate as zoom out and overlap as zoom in 1sweetwater! Linux - Software 18 02-10-2015 08:50 AM
Query regarding "Zoom in" and "Zoom Out" on Fedora-17 ajaygarg Linux - Desktop 2 12-03-2012 11:59 PM
cairo-dock, gnome-dock, kiba-dock?? LinuxNewbie999 *BSD 0 04-03-2008 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration