More > JRiver Media Center 20 for Linux
Startup, Media Center Class and Unity
mcollier:
Ubuntu 14.10.1 64bit, Unity Desktop
Just installed this OS a few days ago and wanted to give my report.
First, the installation went perfectly, just as on Wheezy/Jessie
When alt-tabbing between applications, Media Center had a ? mark icon. I researched this a bit and found that renaming mediacenter20.desktop to media-center-20.desktop resolved this issue. Evidently, there is some relationship between the output of "xprop WM_CLASS" and the name of the desktop file.
In a related issue, when an application is running, the launcher provides some mechanism to stack the icons on the bar instead of creating a second one. I thought this might be resolved with the renaming of the desktop file, but it was not. This issue has been mentioned before.
EDIT:
I was able to resolve this issue by adding "StartupWMClass=Media Center 20" to the desktop file.
On two occasions I have encountered the following situation. Immediately after launching MediaCenter I click on "Artist" or "Playlist" or what have you in the side bar. And the gadget immediately below the one I'm clicking on responds instead of the one I'm clicking on. This seems to resolve itself somehow after maybe clicking elsewhere in the window.
bob:
--- Quote from: mcollier on January 13, 2015, 10:03:56 am ---Ubuntu 14.10.1 64bit, Unity Desktop
Just installed this OS a few days ago and wanted to give my report.
First, the installation went perfectly, just as on Wheezy/Jessie
When alt-tabbing between applications, Media Center had a ? mark icon. I researched this a bit and found that renaming mediacenter20.desktop to media-center-20.desktop resolved this issue. Evidently, there is some relationship between the output of "xprop WM_CLASS" and the name of the desktop file.
In a related issue, when an application is running, the launcher provides some mechanism to stack the icons on the bar instead of creating a second one. I thought this might be resolved with the renaming of the desktop file, but it was not. This issue has been mentioned before.
EDIT:
I was able to resolve this issue by adding "StartupWMClass=Media Center 20" to the desktop file.
On two occasions I have encountered the following situation. Immediately after launching MediaCenter I click on "Artist" or "Playlist" or what have you in the side bar. And the gadget immediately below the one I'm clicking on responds instead of the one I'm clicking on. This seems to resolve itself somehow after maybe clicking elsewhere in the window.
--- End quote ---
Media Center 20 is the class name. I don't particularly see why the desktop file should have the same name but with - in place of space.
The StartupWMClass makes sense to me and I have added that to the desktop file. Thanks.
mcollier:
--- Quote from: bob on January 13, 2015, 02:25:42 pm ---Media Center 20 is the class name. I don't particularly see why the desktop file should have the same name but with - in place of space.
The StartupWMClass makes sense to me and I have added that to the desktop file. Thanks.
--- End quote ---
Here's what I can find by way of recommendations for the naming of the desktop file. https://wiki.gnome.org/Projects/GnomeShell/ApplicationBased
bob:
--- Quote from: mcollier on January 13, 2015, 02:41:53 pm ---Here's what I can find by way of recommendations for the naming of the desktop file. https://wiki.gnome.org/Projects/GnomeShell/ApplicationBased
--- End quote ---
Going by that doc it looks like the desktop file should be
media center 20.desktop
mcollier:
--- Quote from: bob on January 13, 2015, 05:08:41 pm ---Going by that doc it looks like the desktop file should be
media center 20.desktop
--- End quote ---
I just tried renaming to "media center 20.desktop" and although the laucher still worked, it went back to creating a second icon on the favourites/launcher bar when MediaCenter is running. Also, you'll notice that none of the other *.desktop files in /usr/share/applications/ have spaces in them. So, replaced the spaces with hyphens again, and I'm back where I want to be.
Navigation
[0] Message Index
[#] Next page
Go to full version