FS#42874 - [playonlinux] Custom icon theme support

Attached to Project: Community Packages
Opened by Robert Orzanna (orschiro) - Saturday, 22 November 2014, 15:50 GMT
Last edited by Laurent Carlier (lordheavy) - Thursday, 05 July 2018, 11:52 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Please add/change the following lines to enable support for custom theme icons.

1. Removing hardcoded icon in playonlinux.desktop:

Icon=playonlinux

2. Adding StartupWMClass to playonlinux.desktop to prevent multiple icons in plank dock:

StartupWMClass=Python2.7

StartupWMClass=Python2.7 was found using xprop on the PlayOnLinux window
Source: http://kb.openstudioproject.com/content/fix-double-google-chrome-icon-docky-and-plank

Updated playonlinux.desktop is attached.

Thanks,

Robert
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Thursday, 05 July 2018, 11:52 GMT
Reason for closing:  None
Comment by Doug Newgard (Scimmia) - Saturday, 22 November 2014, 16:17 GMT
The file in question comes from upstream, not from Arch. You should really be talking to them if you want it changed.
Comment by Robert Orzanna (orschiro) - Sunday, 23 November 2014, 09:29 GMT
I talked to upstream and they are willing to update the desktop file. However, we are wondering whether adding StartupWMClass=python2.7 (returned from the playonlinux GUI window using xprop) will have any adverse effect on other open applicatios that use python2.7 as well.

What do you think?
Comment by Alexander F. Rødseth (xyproto) - Sunday, 02 August 2015, 18:34 GMT
Is the multiple window issue an issue with the plank dock (as opposed to an issue with the desktop file)?

One possibility is to add the following to the PKGBUILD (while continuing to investigate the WMClass issue):

makedepends=('setconf')

prepare() {
setconf playonlinux/etc/PlayOnLinux.desktop Icon playonlinux
}

This will change the Icon= line to just "playonlinux".
Comment by Robert Orzanna (orschiro) - Monday, 03 August 2015, 07:04 GMT
Hi Alexander,

I am currently no longer using Arch and thus cannot be of further help regarding this issue.

Apologies,

Robert

Loading...