Skip to content

Commit

Permalink
Fix unknown wmclass in linux (gear icon)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrom99 committed Sep 23, 2024
1 parent c53724f commit bcb3f39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/pmg_qt/pymol_qt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,10 @@ def execapp():
window = PyMOLQtGUI()
window.setWindowTitle("PyMOL")

# fix linux dash icon
QtCore.QCoreApplication.setApplicationName("PyMOL")
QtGui.QGuiApplication.setDesktopFileName("org.pymol.PyMOL")

@commandoverloaddecorator
def viewport(w=-1, h=-1, _self=None):
window.viewportsignal.emit(int(w), int(h))
Expand Down

0 comments on commit bcb3f39

Please sign in to comment.