Gnome and Removable Media Preferences

Dear All,

I have a question about the behavior of the Gnome flavour of OpenSUSE 12.3. In the system settings, under details, you can set the behavior of the Desktop Environment when removable media are inserted. You can, for example, automatically open an application or have a dialog ask the user what to do. It seems to me that all these options are ignored in the GNOME flavour of OpenSUSE. Every time, for example, I insert a CD, it gets automatically mounted, and appears in the nautilus sidebar. However, the preference that I set before is never respected (For example, I set it to open the CD in rhythmbox).

I think either udev or udisks might be interfering. Does anyone have any idea?

Thank you

Valerio

On Tue 25 Jun 2013 12:36:01 AM CDT, valmar73 wrote:

Dear All,

I have a question about the behavior of the Gnome flavour of
OpenSUSE 12.3. In the system settings, under details, you can set the
behavior of the Desktop Environment when removable media are inserted.
You can, for example, automatically open an application or have a dialog
ask the user what to do. It seems to me that all these options are
ignored in the GNOME flavour of OpenSUSE. Every time, for example, I
insert a CD, it gets automatically mounted, and appears in the nautilus
sidebar. However, the preference that I set before is never respected
(For example, I set it to open the CD in rhythmbox).

I think either udev or udisks might be interfering. Does anyone have
any idea?

Thank you

Valerio

Hi
I would guess it’s the mime type, if I add Rhythmbox to removable media
I see the mime type x-content/audio-cdda appear.


gsettings get org.gnome.desktop.media-handling
autorun-x-content-start-app
'x-content/unix-software','x-content/audio-cdda']

If you edit the defaults in /etc/gnome_defaults.conf and add;


x-content/audio-cdda=rhythmbox.desktop

See how that goes…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.16-desktop
up 0:37, 4 users, load average: 0.01, 0.09, 0.11
CPU AMD Athlon™ II P360@2.30GHz | GPU Mobility Radeon HD 4200

On Tue 25 Jun 2013 01:28:27 AM CDT, malcolmlewis wrote:

[QUOTE]
On Tue 25 Jun 2013 12:36:01 AM CDT, valmar73 wrote:

Dear All,

I have a question about the behavior of the Gnome flavour of
OpenSUSE 12.3. In the system settings, under details, you can set the
behavior of the Desktop Environment when removable media are inserted.
You can, for example, automatically open an application or have a dialog
ask the user what to do. It seems to me that all these options are
ignored in the GNOME flavour of OpenSUSE. Every time, for example, I
insert a CD, it gets automatically mounted, and appears in the nautilus
sidebar. However, the preference that I set before is never respected
(For example, I set it to open the CD in rhythmbox).

I think either udev or udisks might be interfering. Does anyone have
any idea?

Thank you

Valerio

Hi
I would guess it’s the mime type, if I add Rhythmbox to removable media
I see the mime type x-content/audio-cdda appear.


gsettings get org.gnome.desktop.media-handling
autorun-x-content-start-app
'x-content/unix-software','x-content/audio-cdda']

If you edit the defaults in /etc/gnome_defaults.conf and add;


x-content/audio-cdda=rhythmbox.desktop

See how that goes…

[/QUOTE]
Hi
Hmmm it does show in ~/.local/share/applications/mimeapps.list can you
confirm it’s present for you?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.16-desktop
up 1:12, 4 users, load average: 0.06, 0.07, 0.11
CPU AMD Athlon™ II P360@2.30GHz | GPU Mobility Radeon HD 4200

Dear All, thanks for helping

We might have stepped onto a bug here. In the settings, I set rhythmbox as default application for audio cd. Then I checked:

~/.local/share/applications/mimeapps.list

Where I see:

[Default Applications]
x-content/audio-cdda=rhythmbox-device.desktop

[Added Associations]
x-content/audio-cdda=rhythmbox-device.desktop;

I also tried:

gsettings get org.gnome.desktop.media-handling autorun-x-content-start-app

and I see:

'x-content/unix-software', 'x-content/audio-cdda']

But Rhythmbox does not start. To be sure that other configurations were not interfering, I also tried this on a livecd with the same result…

Valerio

On 2013-06-25 02:36, valmar73 wrote:
>
> Dear All,
>
> I have a question about the behavior of the Gnome flavour of
> OpenSUSE 12.3. In the system settings, under details,

Which “system settings”? I ask because each desktop has its own system
settings, different from others. There is no global setting thing for
all desktops.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Sorry for not explaining clearly.

I am using the Gnome version of OpenSuse (12.3), so I mean the “system settings” application from Gnome.

Edit: To be precise, the “Details” subsection, and the “Removable Media” entry

Valerio

According to other information you showed you set audio CD to be opened in rhythmbox. But the very fact that it is mounted means it is not audio, but data …

Err … are there many different GNOME desktops in openSUSE 12.3? :stuck_out_tongue:

Valmar, are these MP3 CDs? If so, the system will detect them as data, not audio.

Hi
So I connected a USB cd/dvd caddy and it shows up in nautilus as cdda://sr0.

However it won’t auto start, if I open Nautilus I can manually start with the icon;

http://thumbnails104.imagebam.com/26222/3ffa85262213644.jpg](http://www.imagebam.com/image/3ffa85262213644)

On 2013-06-25 19:46, arvidjaar wrote:
>
> robin_listas;2567143 Wrote:
>>
>>> I have a question about the behavior of the Gnome flavour of
>>> OpenSUSE 12.3. In the system settings, under details,
>>
>> Which “system settings”? I ask because each desktop has its own system
>> settings, different from others.
>
> Err … are there many different GNOME desktops in openSUSE 12.3? :stuck_out_tongue:

You can access the KDE system settings from Gnome. I’m using XFCE, and I
see the KDE settings in my menu, easier to find than the XFCE settings.
On another entry I have the Gnome configuration editor, and several
others. It is very confusing, as none says to which desktop they apply.

I don’t understand your doubts.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Yes, indeed. But in my case when I insert audio CD nothing happens at all. I checked (udisksctl monitor) that CD is detected and it also appears in Nautilus if it is currently opened. But no actions are started at all, not do I get notification icon for presence removable media.

So the problem with audio CD is present indeed. For comparison I tried data CD and here it works correctly - I get popup asking me for action (default is set to ask).

I don’t have this problem in oS 12.2, GNOME 3.4. It launches the player as well as shows up in Nautilus.

Dear All, thanks for all the help

First of all, I tried with an audio cd, and I am sure it is an audio cd because it is original (I am one of the few people who still buy them :)). So, no cd with mp3s.

I did not experience this problem at all with 12.2. It came with 12.3, or with Gnome 3.6 maybe.

I tried on one 12.3 installation where I upgraded to Gnome 3.8 and the problem persists…

Is there anything I can do to help with debugging the problem?

Valerio

Report it on Bugzilla.

openSUSE:Submitting bug reports - openSUSE

Dear All,

I reported the bug. However, I tried the same thing on a Fedora LiveCD and on a Manjaro Gnome LiveCD, and the behavior is the same, so I am quite certain that it is a gnome bug. On Ubuntu 13.04, the user is asked as it is supposed to happen, but I think this is because Ubuntu uses some parts of Gnome 3.4, which works correctly…

Valerio

GNOME has it’s own bug tracker, you can report it there. You’ll have to create an account.

On Ubuntu 13.04, the user is asked as it is supposed to happen, but I think this is because Ubuntu uses some parts of Gnome 3.4, which works correctly…

I thought you wanted to launch it in the player? Does this work in Ubuntu?