More > JRiver Media Center 21 for Linux

Add Media Center to the sound menu in Ubuntu when installing

(1/2) > >>

Awesome Donkey:
NOTE: This will require renaming MC's .desktop file from media center 21.desktop to mediacenter21.desktop - the information about this can be found here.

If Media Center can run these commands when installing, it can be integrated into Ubuntu's sound menu for native control, which is outlined in this topic.

This command *should* add Media Center to interested-media-players;


--- Code: ---gsettings set com.canonical.indicator.sound interested-media-players "['mediacenter21']"
--- End code ---

This command *should* add Media Center to preferred-media-players;


--- Code: ---gsettings set com.canonical.indicator.sound preferred-media-players "['mediacenter21']"
--- End code ---

And finally this command will remove Media Center from the sound menu;


--- Code: ---gsettings set com.canonical.indicator.sound blacklisted-media-players "['mediacenter21']"
--- End code ---

Thoughts? Getting this working by default would be pretty nifty and would be one step closer to a more native support feel. :)

imugli:
+1

astromo:
Sensible suggestion. Is this philosophy applicable to the MC Linux default OS?

Or, is there a process whereby on install the OS is interrogated so that a conditional sub-process can be run?

bob:

--- Quote from: astromo on January 23, 2016, 05:13:30 am ---Sensible suggestion. Is this philosophy applicable to the MC Linux default OS?

Or, is there a process whereby on install the OS is interrogated so that a conditional sub-process can be run?

--- End quote ---
For now I just silently run those commands (if gsettings exist) on post-install
I didn't see an agnostic way of doing the equivalent.

Awesome Donkey:
Have you had any luck getting it working with spaces in the .desktop file?

Navigation

[0] Message Index

[#] Next page

Go to full version