INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Getting Media Center to show in the Sound Menu - Ubuntu  (Read 3175 times)

neolith

  • Recent member
  • *
  • Posts: 14
Getting Media Center to show in the Sound Menu - Ubuntu
« on: December 31, 2015, 03:41:37 pm »

After a year of using JR MC, I finally got around to figuring out how to make MC the default music player. For those skilled in Ubuntu this will not come as any news but for those with limited knowledge of Ubuntu, like myself, it may be useful.
Step 1: Open the terminal and type "cd to /usr/share/applications"  and change  "media center 21.desktop" to mediacenter21.desktop (get rid of the spaces).  Then edit the file (sudo gedit mediacenter21.desktop) and add "%F" (no quotes) to the line Exec=/usr/bin/mediacenter21. Save and close. You will want to copy this file to the Desktop folder as well.
Step 2: Install (if you do not have it on your computer already) dconf from the Ubuntu Software Center. Open up the application after it is loaded.
Step 3. Go to com -- canonical --indicator--sound.
Step 4. Under "interested-media-players" enter mediacenter21 in the block parentheses - my entry reads ['mediacenter21', 'rhythmbox']
Step 5. Under "preferred-media-players" change the entry to ['mediacenter21']
Close the app and logout and then log back in.
Mediacenter is now the default player and shows up in the sound menu.
Logged

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1598
Re: Getting Media Center to show in the Sound Menu - Ubuntu
« Reply #1 on: January 01, 2016, 08:11:05 am »

The bit about the sound menu is great info. Thanks heaps :-)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Getting Media Center to show in the Sound Menu - Ubuntu
« Reply #2 on: January 22, 2016, 09:21:13 am »

How did I miss this topic?!? Anyways, this *can* potentially be done when installing Media Center and I've posted a request for this here.

Anyways, you should be able to accomplish most of this using the Terminal using these two commands;

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

Code: [Select]
gsettings set com.canonical.indicator.sound interested-media-players "['mediacenter21']"
This command *should* add Media Center to preferred-media-players;

Code: [Select]
gsettings set com.canonical.indicator.sound preferred-media-players "['mediacenter21']"
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones
Pages: [1]   Go Up