Set midnight commander as default file manager.

How can i set mc as a default file manager to open files from chrome downloads in it?
I've put a .desktop file inside /ust/share/applications/
midnight-commander.desktop
[Desktop Entry]
Name=Midnight Commander
Type=Application
Terminal=true
Comment=A visual file manager
Exec=mc
TryExec=mc
Icon=MidnightCommander
Categories=System;FileTools;FileManager;
and run xdg-mime default midnight-commander.desktop inode/directory. But when i try to open something from chrome downloads nothing happens.

anonymous_user wrote:You set "Terminal=true", but what terminal is it trying to run? Do you have xterm installed?
I'm using zsh + urxvt. Xterm is also installed
Last edited by innocent_rifle (2013-01-10 12:26:54)

Similar Messages

  • How do you set the default file manager in kde?

    I'd like to set dolphin as the default file manager in KDE, how would I go about doing that?  I have an installed working copy of dolphin on my comp right now.

    pressh wrote:
    associate dolphin as default for directories in control center.
    kde components -> file associations -> inode -> directory
    Thanks, but for some reason when I go in there and change it as a user, it doesn't save the setting, and it doesn't work.  However, when I do the same thing as root it works, but of course, it only works for root then.
    pressh wrote:
    grizz wrote:but, it's several months waiting
    and dolphin is nice
    actually i think konqueror is more powerfull in kde3. However, the dolphin version in kde4 trunk is shaping up nice and looks promising.
    Dolphin is a little bit less cluttered, and seems to be faster too.  Most of the features in konquerer I never use.

  • Set nautilus as default file manager in kde?

    I would give kde a good chance, but I have several issues with konqueror. Is it possible to set nautilus as the default file manager in kde? I have started nautilus from kde before.
    Is this possible?

    OK then. Install nautilus.
    control center > file associations > inode > directory [ then add: "nautilus --no-desktop" ] (make sure it's primary in the list)
    You'll not be able to open KIO slaves such as media:// with nautilus though. Maybe you should create launchers on the desktop running "nautilus --no-desktop computer://" etc?
    There are some other cosmetic changes you can do as well, such as installing gnome-volume-manager, gnome-settings-dameon, gnome-control-center etc.
    Another way is just to add "nautilus --no-desktop" as default application for inode > directory, but don't add it as *primary*, but secondary application, so you can right click and choose "open with nautilus" on the desktop/konqueror.
    I've successfully run a complete nautilus desktop replacing konqueror as root window and file manager, and it works really good actually.
    I did uncheck "icons on desktop" and disabled wallpaper in kcontrol.
    Had to disable "hal backend" in kde to let gnome-volume-manager take care of hal mounts; "HalBackendEnabled=false" in .kde/share/config/mediamanagerrc
    Then i had to run "gnome-settings-daemon &" in .kde/Autostart/startup (this file should be executable, as usual) (nautilus itself is a GUI application and will survive  the next session on it's own, because of KDE session managment)
    I took the easy route and installed the whole "gnome" metapackage instead of selective packages though.
    The only problem was that kedit.desktop didn't want to start as default application for say, text files, but i had to enter kedit manually in that box you get during "open with dialog".
    I bastardized KDE, i know
    It was worth it! hehe
    BTW dolphin/d3lphin is really good too, as lucke pointed out.

  • How To Set Third Party Media App Is Default When Launched From Default File Manager

    I use rock media player, which can encode & decode The Video and audio files i use, unlike the phone i have, i don't receive the option to set the app as the default media player. I would really like to be able to use this app on the thrive as it is some much a better media player than the thrives defaulty app. Rock player is the name of the app, who do set it as the default player when launched from the default file manager.

    From my experience playing with the Thrive, when you attempt to watch a media file, it will open a menu asking you what application to use. From that popup, you can set a default.
    - Peter

  • Set default file manager to ranger on arch

    On ubuntu based distributions I would use exo-prefered-applications. In arch I created a desktop file containing "exec=terminator -n ranger", added it to mimeinfo.cache, and added the line inode/directory=ranger.desktop to mimeapps.list. However, when I run "xdg-open ." it opens the directory in firefox... So what is the process to use a terminal application like ranger as a default file manager in arch?

    cfr wrote:xdg-mime or one of the alternatives, I think.
    Yeah, that is basically what I did. I just realized the problem was that I mixed up "-n" with "-x." It is working now!

  • Changing the default file manager in XFCE

    How would I go about using Nautilus as the default file manager in XFCE instead of Thunar? I know it can be started up with 'nautilus --no-desktop', but how do I make this the default when opening folders from the desktop, menus, etc..?
    The main reason I want to do this is because Thunar doesn't seem to remember a folders last setting. For example, there are folders which I would like to permanently view as a list, sorted by date; but there are plenty of other folders where this is not suitable. Nautilus remembers settings for each folder, Thunar doesn't, and it gets annoying changing the view mode each time. Also network browsing is easier in Nautilus, and I also like the way it tells you how fast file transfers are going.
    Thanks very much,

    Well, it might be considered a dirty hack but it has worked for me in gnome before so it should also work in xfce.  Just edit the thunar.desktop file in /usr/share/applications and replace the Exec=thunar to Exec=nautilus --no-desktop and save the file.  Then any time thunar is launched, nautilus will be launched instead.
    Otherwise, you can edit the menu with the menu editor and change the File manager command and do the same in the panel icon properties.  Both methods will work.

  • Failed to execute default file manager (Input /Output Error) [SOLVED]

    I'm having an issue in XFCE where the default Terminal, Browser and File Manager launch correctly - but with this error:
    Failed to execute default [file manager] [terminal emulator] [browser]
    Input /Output Error
    I have the requisite  "Preferred Application" set as Chrome/Thunar/xfce4-terminal.
    If I run
    exo-open --launch FileManager
    From terminal, it says:
    [1]    4281 segmentation fault (core dumped)  exo-open --launch FileManager
    Remember, it launches the app successfully - and the apps themselves launch correctly, it's only exo-open that I have a problem with!  Everything else works great on this system.
    Last edited by yochaigal (2015-04-28 11:10:06)

    demolitions wrote:
    I got the same problem, I observed the problem appearing with those lines in "dmesg", the same library (libpthread-2.21.so) is also present in other software errors (critical and not) since my last update (friday 24th).
    I'll try downgrading glibc, see if that works around the problem.
    [ 587.042204] traps: xfce4-terminal[1022] general protection ip:7f6500100150 sp:7ffe14c978d8 error:0 in libpthread-2.21.so[7f65000ee000+18000]
    [ 592.113288] traps: xfce4-terminal[1026] general protection ip:7fbf1c97a150 sp:7ffe2f916188 error:0 in libpthread-2.21.so[7fbf1c968000+18000]
    [ 620.913826] traps: xfce4-notifyd[494] general protection ip:7fa4859a2150 sp:7fff84dd7708 error:0 in libpthread-2.21.so[7fa485990000+18000]
    [ 974.008983] traps: xfce4-terminal[1384] general protection ip:7f519df84150 sp:7ffe3573e4f8 error:0 in libpthread-2.21.so[7f519df72000+18000]
    [ 974.850083] traps: xfce4-terminal[1387] general protection ip:7f6ed57f8150 sp:7ffec58369c8 error:0 in libpthread-2.21.so[7f6ed57e6000+18000]
    [ 975.521687] traps: xfce4-terminal[1390] general protection ip:7f5e91d00150 sp:7ffd70179d18 error:0 in libpthread-2.21.so[7f5e91cee000+18000]
    [ 979.179030] traps: exo-open[1393] general protection ip:7fbdd2a24150 sp:7ffe9e0c5608 error:0 in libpthread-2.21.so[7fbdd2a12000+18000]
    [ 984.286944] traps: exo-helper-1[1395] general protection ip:7fd5d8473150 sp:7ffd53706a08 error:0 in libpthread-2.21.so[7fd5d8461000+18000]
    [ 1012.318773] traps: xfce4-terminal[1502] general protection ip:7ffb62b1b150 sp:7fffd5c986f8 error:0 in libpthread-2.21.so[7ffb62b09000+18000]
    [ 1101.456187] traps: xfce4-terminal[1521] general protection ip:7f3285cf2150 sp:7fff3c6df158 error:0 in libpthread-2.21.so[7f3285ce0000+18000]
    [ 1102.120447] traps: xfce4-terminal[1525] general protection ip:7fdd50c3a150 sp:7ffe96656ce8 error:0 in libpthread-2.21.so[7fdd50c28000+18000]
    [ 1103.246180] traps: xfce4-terminal[1529] general protection ip:7f93f2b49150 sp:7ffc539d34e8 error:0 in libpthread-2.21.so[7f93f2b37000+18000]
    [ 1103.976302] traps: xfce4-terminal[1532] general protection ip:7f6a55204150 sp:7ffd13eb77f8 error:0 in libpthread-2.21.so[7f6a551f2000+18000]
    [ 1118.718286] traps: xfce4-terminal[1953] general protection ip:7efc94fb9150 sp:7ffd6f5fbed8 error:0 in libpthread-2.21.so[7efc94fa7000+18000]
    [ 1160.851856] traps: xfce4-terminal[1992] general protection ip:7f39aaddb150 sp:7ffdb4478aa8 error:0 in libpthread-2.21.so[7f39aadc9000+18000]
    [ 1165.279367] traps: xfce4-terminal[2004] general protection ip:7f3a50756150 sp:7ffd743c07b8 error:0 in libpthread-2.21.so[7f3a50744000+18000]
    [ 1173.696850] traps: xfce4-terminal[2008] general protection ip:7f0930b98150 sp:7ffc5cd54e78 error:0 in libpthread-2.21.so[7f0930b86000+18000]
    [ 1177.567234] traps: xfce4-terminal[2011] general protection ip:7f5ea2222150 sp:7ffd81d4e898 error:0 in libpthread-2.21.so[7f5ea2210000+18000]
    Tried downgrading glibc from 2.21-3 to 2.21-2 as this is the package which contains libpthread.so, and on my other arch workstations I don't have the issue, but to no avail, same error box pops up when using exo-open, and my IDEs are not starting.
    I'll try comparing installed packages versions on both workstations.

  • Change default file manager in linux

    After upgrading to Firefox 10.0 for Linux "Open containing folder" in downloads opens in nautilus and not my default file manager.
    I'm not finding how to change this behavior.

    File associations are a mess right now. Many programs (Opera included) handle them their own way. There's a project underway to handle associations in a standard way (see MIME actions, shared MIME info, desktop entries, all at freedesktop.org), but not all software uses it; KDE is a notable holdout (3 at least, not sure about 4).
    Note that that first spec link, MIME actions, is currently "in the requirements-gathering / early-planning stages." That means there is no spec for that. As I said, a mess.
    Most likely, Opera and Thunderbird detected you were running KDE and special-cased their association-finder to ask KDE instead. Now that you aren't, they're falling back to their normal behavior: use the first .desktop file to claim the MIME type. As I recall, both applications offer ways to specify associations in their preferences; you might just want to stick to that for now. Or use a desktop environment.
    The kernel-level MIME support is designed to allow execution of strange files using interpreters. For example, you could directly execute Windows applications (as in "./notepad.exe") by setting the kernel to "interpret" application/exe files using wine. No applications use it for opening files.

  • Thunar as default file manager

    Hi, i've installed today kdemod and now the default file manager in gnome is konqueror. I used thunar and i want to put it back to default file manager. I've found this tuturial but i can't execute the command sudo. i've already add my user trought visudo but i doesn't apear on /etc/sudoers so when i try to run sudo when it asks me the password even if I put the root password it doesn't allow me to execute the command.. Any sugestion to solve the problems?? I really want to get back thunar to default manager.
    cumps

    What is your user name and the output of cat /etc/sudoers ?
    With sudo you should use your user password not your root password
    You can also use the "su" command built-in linux,
    typing "su" or "su root" prompt a root password query dialog and then gives you a root terminal
    sudo is a mean to gain root privilege that's all, you can follow the tuto without it.
    Edit : I haven't see that actually sudo is called in the scripts
    you can edit the script removing calls to sudo. and run them as root
    the part with aptitude is ubuntu specific, it's their package manager like pacman is ours
    so adapt the command accordingly
    Also maybe archlinux doesn't put gnome .desktop like ubuntu
    use the locate command to find it
    example "locate nautilus" or "locate nautilus |grep /usr/share" (to limit the result to /usr/share if you have too much result)
    if you had just installed something and want to look for it don't forget to run "updatedb" beforehand
    Last edited by ChoK (2008-10-24 21:24:29)

  • [transmission]default file manager.

    Hello!
    I've installed transmission-gtk,downloaded some stuff,and when I clicked "Open Folder", showed a window with "Failed to execute default File Manager.".I tried to run update-alternatives, but found out that it never had been in arch=)
    How to change file manager to normal?thunar in my case. I use openbox.

    stqn wrote:Maybe "exo-preferred-applications -c"?
    Thanks!

  • Chromium default file manager

    Some time ago I was screwing around with the Chromium file associations, for reasons I do not recall. It must have been to do with implementing torrent file associations because since then every time I try to 'Open in Folder' or click an entry in the downloads bar at the bottom, a dialogue box appears: 'Failed to execute default File Manager / Failed to execute child process / "transmission" (No such file or directory).'
    It's recently started to quite bother me, so I've decided to get it resolved at last. There is no transmission entry in any of the xdg-related files as far as I can see, so I have no idea which backwater file I edited to cause this problem. Any ideas where to look, or what to reinstall?

    Nope, nothing in that thread worked. Thanks anyway.
    However, I did find this: https://bbs.archlinux.org/viewtopic.php?id=115647
    exo-preferred-applications -c
    Show in Folder now works. But other file associations are not working. On my other Arch installation, clicking on PDF and torrent files from within Chromium automatically sends them to the appropriate program. Instead, here I get a dialog, presumably spawned by Nautilus, telling me the destination is not a folder.
    At least it's now quicker to get to the directory and open the file manually.
    Last edited by Jimage (2011-04-27 12:13:17)

  • Failed to execute default file manager (input/output error) After Firefox Reset? [Any more help? you guys/gals rule!]

    after resetting firefox it seems I cant open anything from the menu as i get the above error msg.

    Are you using ubuntu? [http://askubuntu.com/questions/42682/failed-to-execute-default-file-manager-input-output-error]

  • Changing Default file manager Nautilus to Thunar

    I am running Gnome, but want Thunar as my default file manager. Last time I did this my desktop froze. I did it with some Ubuntu script https://help.ubuntu.com/community/DefaultFileManager. Is there someway I can do this without my desktop freezing?

    Maybe these methods:
    http://www.ubuntugeek.com/switch-to-a-l … nager.html
    http://ubuntuforums.org/showthread.php?t=692238 (just replace pcmanfm with thunar)

  • Set Star Downloader as default download manager

    I would like to use Star Download as my default download manager.
    I have it installed and I have checked that FF is integrated, but when I download a file/program, it is not activated.
    Do I need to deactivate some other DL manager?

    To set it as the default, please disable the others that are not in use.

  • How to set a root directory for file management in web application

    Is it possible to set a default root directory for file management for a web application ?
    We would upload some files and store them in the web server.
    When we write the uploaded files without any path, the files are written in the config directory into the jdeveloper embedded oc4j directory.
    When we write the uploaded with a relative path ("/somedir/filename"), the files are written in C:/somedir/filename.
    We would like that all file management with relative path into the web application refer automatically to a given root directory (for example defined in web.xml).
    Is it possible ?

    I'm using the standard upload in adf faces.
    The problem is not during upload. This is managed in a temporay directory defined in web.xml. The problem is for writing the file that was uploaded (upload give us an inputStream we have to write somewhere, eventually after unzipping).
    Here is an example of our current code.
    if (mimeType.equals("application/x-zip-compressed") |
    mimeType.equals("application/zip")) {
    File destZipFile =
    new File(rootDirectory + "/" + parametersDirectory +
    "/" + uploadedFile.getFilename());
    BufferedInputStream isZipFile =
    new BufferedInputStream(uploadedFile.getInputStream());
    FileOutputStream fosZipFile =
    new FileOutputStream(destZipFile);
    BufferedOutputStream bosZipFile =
    new BufferedOutputStream(fosZipFile, BUFFER);
    // read and write until last byte is encountered
    while ((currentByte = isZipFile.read(data, 0, BUFFER)) !=
    -1) {
    bosZipFile.write(data, 0, currentByte);
    }

Maybe you are looking for