Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Nautilus>Edit Preferences>Media options issue

  1. #1
    Join Date
    Mar 2006
    Location
    North Carolina
    Beans
    657

    Exclamation Nautilus>Edit Preferences>Media options issue

    If I insert an Audio CD into my CD/DVD Writer, I cannot choose an application. So I launched Nautilus and chose Edit>Preferences>Media. Here's the problem. All options under Media Handling are grayed out and show "No application found" except for Software. Why can I not select any applications for CD Audio, DVD Video, Music Player, or Photos?

    I use Ubuntu 10.10 x64.

  2. #2
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Nautilus>Edit Preferences>Media options issue

    The only 'proper' reason they'd be greyed out would be if, in fact, there were no applications installed that registered for each particular type.

    In a default install -
    for Cd Audio - Rhythmbox, Brasero
    DVD Video - Movie Player (Totem), Brasero
    Music Player - Rhythmbox
    Photos - Shotwell

    Did you remove all of the above and install apps that fail to register?

  3. #3
    Join Date
    Mar 2006
    Location
    North Carolina
    Beans
    657

    Re: Nautilus>Edit Preferences>Media options issue

    No, all the original apps are there. I have installed quite a bit of the Ubuntu Studio apps, but I have not changed any settings.

  4. #4
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Nautilus>Edit Preferences>Media options issue

    You could try a couple of things.
    One would be to remove and then install the apps I mentioned relative to each, that may 'open' up the options (and or any app you think should be available.
    When re-installed then hopefully the menus will get active


    The other would be to open this file and look for these lines (cd, dvd, music player, photos
    Code:
    gedit ~/.local/share/applications/mimeapps.list
    x-content/audio-cdda=
    x-content/video-dvd=
    x-content/audio-player=
    x-content/image-dcf=

    If not there then add some or all with the above apps (if installed) - ex.

    x-content/audio-cdda=rhythmbox.desktop;
    x-content/video-dvd=totem.desktop;
    x-content/audio-player=rhythmbox.desktop;
    x-content/image-dcf=shotwell.desktop;

    Then do a restart and hopefully the menu's will open up

    (if still not then add any existing .desktop even if not suited and restart
    Ex.
    x-content/audio-cdda=rhythmbox.desktop;gedit.desktop;

  5. #5
    Join Date
    Mar 2006
    Location
    North Carolina
    Beans
    657

    Re: Nautilus>Edit Preferences>Media options issue

    Quote Originally Posted by mc4man View Post
    You could try a couple of things.
    One would be to remove and then install the apps I mentioned relative to each, that may 'open' up the options (and or any app you think should be available.
    When re-installed then hopefully the menus will get active


    The other would be to open this file and look for these lines (cd, dvd, music player, photos
    Code:
    gedit ~/.local/share/applications/mimeapps.list
    x-content/audio-cdda=
    x-content/video-dvd=
    x-content/audio-player=
    x-content/image-dcf=

    If not there then add some or all with the above apps (if installed) - ex.

    x-content/audio-cdda=rhythmbox.desktop;
    x-content/video-dvd=totem.desktop;
    x-content/audio-player=rhythmbox.desktop;
    x-content/image-dcf=shotwell.desktop;

    Then do a restart and hopefully the menu's will open up

    (if still not then add any existing .desktop even if not suited and restart
    Ex.
    x-content/audio-cdda=rhythmbox.desktop;gedit.desktop;
    Okay, I checked the mimeapps.list file and all the x-content lines are there.

    Code:
    x-content/video-dvd=vlc.desktop;totem.desktop;brasero-copy-medium.desktop;mplayer.desktop;
    x-content/audio-cdda=rhythmbox.desktop;userapp-quodlibet-GO5L4U.desktop;sound-juicer.desktop;brasero-copy-medium.desktop;vlc.desktop;
    x-content/audio-player=userapp-quodlibet-GO5L4U.desktop;rhythmbox.desktop;vlc.desktop;
    x-content/image-dcf=f-spot-import.desktop;
    x-content/audio-dvd=vlc.desktop;rhythmbox.desktop;
    Also there are desktop files for all the apps listed in the mimeapps.list file.

    However, I have several desktop files for many of the apps listed on the x-content lines. For example, I have the following desktop files listed for Rhythmbox: rhythmbox.desktop, Rhythmbox.desktop, Rhythmbox-1.desktop, and rhythmbox-device.desktop. I have moved some of my menu locations to other locations, and I understand that a new desktop file is created by alacarte. So I suppose that is why I have the multiple desktop files for the given applications.

    If I try to execute these desktop files, I get the following message:
    Untrusted application launcher
    Perhaps this is correct because in the Properties of these desktop files, the executable box is not checked, but I wonder if it has anything to do with not being able to assign applications to the Nautilus actions. Obviously, I am at a loss as to why nothing shows when I try to set the actions in Nautilus or when I insert an audio CD for example.

  6. #6
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Nautilus>Edit Preferences>Media options issue

    but I wonder if it has anything to do with not being able to assign applications to the Nautilus actions
    Most likely not, usually marking those .desktops as 'trusted' (executable) will just allow them to display with an icon and 'display' name

    I have moved some of my menu locations to other locations,
    Not sure what you mean there, have you moved them from their orig. install location, typically /usr/share/applications

    and I understand that a new desktop file is created by alacarte
    Those are always userapp .desktops which can be available by their 'display' name which by default is what comes after userapp- in lowercase

    Have you tried removing an app completely and re-installing (inc. any 'moved' ?? .desktop
    For instance vlc which should show up for both dvd and audio cd
    (won't hurt to also remove or edit out all the .desktops in those 2 lines in mimeapps.list

    Edit:
    you could also try, for the moment, creating another use. Logout and then login to the new user and ck. File Management . media there.
    If available then it's something you've borked locally, if not then system -wide.
    (users can set their own defaults
    Last edited by mc4man; January 13th, 2011 at 07:21 PM.

  7. #7
    Join Date
    Mar 2006
    Location
    North Carolina
    Beans
    657

    Re: Nautilus>Edit Preferences>Media options issue

    Quote Originally Posted by mc4man View Post
    Most likely not, usually marking those .desktops as 'trusted' (executable) will just allow them to display with an icon and 'display' name



    Not sure what you mean there, have you moved them from their orig. install location, typically /usr/share/applications


    Those are always userapp .desktops which can be available by their 'display' name which by default is what comes after userapp- in lowercase

    Have you tried removing an app completely and re-installing (inc. any 'moved' ?? .desktop
    For instance vlc which should show up for both dvd and audio cd
    (won't hurt to also remove or edit out all the .desktops in those 2 lines in mimeapps.list

    Edit:
    you could also try, for the moment, creating another use. Logout and then login to the new user and ck. File Management . media there.
    If available then it's something you've borked locally, if not then system -wide.
    (users can set their own defaults
    I used the System>Preferences>Main Menu to move where the application appeared in the Applications menu. For example, I created a new menu named Photography and moved Gimp, F-Spot, etc. to that menu from the Graphics menu. That is what I meant by "moving" applications. I should have been more clear on that point. I have not moved any app from it's install location.

    I have not tried removing and re-installing any apps as yet. I was hoping there might be an easier way to correct this. If that is what I must do, so be it.

    I do have a question about your statement concerning removing .desktops in the lines in mimeapps.list. Would I just edit (remove) everything after the =? I presume I would do this prior to re-installing the app? Also, should I also remove the app .desktop files from ~/.local/share/applications after removing an app and before I re-install it?

    As to your edit comment: could I just login as root to check that? If I login as a different user and the Nautilus File>Preferences>Media allows me to select actions, can I copy that mimeapps.list file to my user directory ~/.local/share/applications and fix the problem?

    Thanks for your help to this point.

  8. #8
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Nautilus>Edit Preferences>Media options issue

    The ~/.local/share/applications/mimeapps.list doesn't exist by default,
    you can freely remove any entry(s) from the = out or just delete the whole file itself
    It's initially created the first time you set a default in File management or associate a mimetype thru the r. click context menu, whether from 'other application' or 'use a custom command' or fom the properties of any file type.

    The only thing 'lost' if you delete the file is any associations you previously created, whether directly to the default app.desktop or thru a custom command (a userapp.desktop
    No big deal as you can simply 'reset' them thru the context menu and if you get working the FM > Media > ..

    could I just login as root to check that?
    No I wouldn't do that. Root actually has it's own nautilus preferences that for the most part should be left alone.

    An example of the one useful root pref. that I do edit is adding a delete command
    To see what I mean
    Alt+F2 - gksu nautilus > edit > preferences > behavior
    (the only other 'root' preference I'd touch is the 'show hidden files', would not change much of anything else, certainly nothing in Media
    Edit: though you could ck. and see if the Media options are open, though again may be more useful to ck. w/ a new user.

    Vlc would be an easy app to remove and re-install, maybe if trying also remove the 2 lines in mimeapps.list (cd and dvd ) or just delete or rename mimeapps.list (mimeapps.list.bak
    Last edited by mc4man; January 13th, 2011 at 08:36 PM.

  9. #9
    Join Date
    Mar 2006
    Location
    North Carolina
    Beans
    657

    Re: Nautilus>Edit Preferences>Media options issue

    Well, all I've done so far is add a new user and logged in as that user. All the options are there in Nautilus for the various types of media, none are grayed out, and I can select any that show or any other app I want. So I guess it is just hosed for me. I am still wondering what I did that could have caused this. I am supicious of the Menu restructuring I did because items got all moved around from where I had them, and I had to drag them back to the menus one at a time. I have a thread in this forum asking about alacarte. It is here: http://ubuntuforums.org/showthread.php?t=1650631

  10. #10
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Nautilus>Edit Preferences>Media options issue

    you could try opening ~/.local/share and deleting or renaming the applications folder. Then do a restart and see

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •