More > JRiver Media Center 21 for Linux
Add StartupNotify = true to .desktop file?
bob:
--- Quote from: Awesome Donkey on January 22, 2016, 09:03:17 am ---Yup, if this can be done (along with renaming media center 21.desktop back to mediacenter21.desktop and getting Media Center to only use running instances) this can open up some new options.
I'll be posting some requests today that go along with these. ;)
--- End quote ---
Playing with this now.
I don't see how renaming media center 21.desktop back to mediacenter21.desktop fixes anything. In fact I remember the opposite.
Awesome Donkey:
--- Quote from: bob on January 22, 2016, 02:50:23 pm ---Playing with this now.
I don't see how renaming media center 21.desktop back to mediacenter21.desktop fixes anything. In fact I remember the opposite.
--- End quote ---
It *should* work fine as long as StartupNotify is added, but like I said every 10 or so launches it'll still happen. Not sure if this is a MC bug or a Unity quirk - this could possibly happen in Debian too, but that'll need to be further tested. As-is right now, it'll create a duplicate icon in the Unity launcher every 3 or 4 launches. Whereas using StartupNotify seems to help greatly.
Hmmm, of course this would also require detecting and removing the old media center 20.desktop file to prevent duplicates. On the bright side, it should allow MC to be added to Ubuntu's sound menu pretty easily.
bob:
--- Quote from: Awesome Donkey on January 22, 2016, 03:19:35 pm ---It *should* work fine as long as StartupNotify is added, but like I said every 10 or so launches it'll still happen. Not sure if this is a MC bug or a Unity quirk - this could possibly happen in Debian too, but that'll need to be further tested. As-is right now, it'll create a duplicate icon in the Unity launcher every 3 or 4 launches. Whereas using StartupNotify seems to help greatly.
Hmmm, of course this would also require detecting and removing the old media center 20.desktop file to prevent duplicates. On the bright side, it should allow MC to be added to Ubuntu's sound menu pretty easily.
--- End quote ---
Uninstalling (purge?) MC20 should remove that file.
The MC21 desktop file will also get removed and the new one added when MC is updated.
I seem to recall that MC's X window class name "Media Center 21" is supposed to match the desktop filename to prevent multiple icons in the launcher.
Awesome Donkey:
Hmmm, then it's probably best to leave the .desktop file naming as-is then. I'll see if I can figure out how to get the sound menu working with the spaces in the name.
imugli:
That's where I was at yesterday as well.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version