INTERACT FORUM
More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: 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.
-
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.
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.
-
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.
Here's what I can find by way of recommendations for the naming of the desktop file. https://wiki.gnome.org/Projects/GnomeShell/ApplicationBased
-
Here's what I can find by way of recommendations for the naming of the desktop file. https://wiki.gnome.org/Projects/GnomeShell/ApplicationBased
Going by that doc it looks like the desktop file should be
media center 20.desktop
-
Going by that doc it looks like the desktop file should be
media center 20.desktop
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.
-
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.
Ah, so this is probably why in Ubuntu/Unity starting MC from the Unity dash causes a second instance to open and not open from the existing icon.
EDIT: Confirmed. Applying the StartupWMClass fix and renaming from mediacenter20.desktop to media-center-20.desktop fixes the second icon issue on Ubuntu/Unity. It's working as it should be now from the launcher! This should fix any GNOME-based icon issues.
Bob, are there mediacenter20 terminal commands for Play/Pause, Stop, Next, Previous? If so it should easily be possible to add shortcuts to the .desktop file for Ubuntu/Unity users! I might even be able to even get MC added to the sound menu like other media players like VLC, allowing the control of playback and volume.
EDIT 2: Okay, I've been successful at adding MC to the sound menu in Ubuntu, however it doesn't work. My guess is MC doesn't use the MPRIS2 spec (http://specifications.freedesktop.org/mpris-spec/latest/) which is required to remote control media players that way.
-
I'm changing the window class in the next build to replace the spaces with underscores.
Now I'd like to figure out what else needs to be done to to the .desktop file, etc to fix the Desktop's mishandling of spaces...
Suggestions?
-
Fixed in the next build I believe...
-
Can't wait to test!