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!

Similar Messages

  • 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

  • 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 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)

  • 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.

  • 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.

  • 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.

  • [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)

  • 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.

  • How to set default file path while downloading alv output

    Hi,
    Can anyone tell me that how to set default file path while downloading the ALV output to system using Local file button on tool bar.
    Please look below screenshots:
    Kindly help me resolve it.
    Thanks in advance.
    Regards,
    Ashutosh Katara

    This information initial value is (maybe) stored in Windows Register (register.exe) at Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer -> PathDownload, you can read it thru class CL_GUI_FRONTEND_SERVICES method GET_UPLOAD_DOWNLOAD_PATH and update it thru method REGISTRY_SET_VALUE. (Else there may be some parameter ID to force data, but I'm no longer sure)
    Regards,
    Raymond

  • 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)

  • 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)

  • How to set default file type for Open dialog

    Dear my friends,
    I am using "At selection-screen ON VALUE-REQUEST FOR filepath" to display open dialog and i want to set default file type for open dialog = *.txt.
    Thank your times !

    Hello,
    U can make use of this code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR SP_FILE.
      PERFORM SAVE_DIALOG CHANGING SP_FILE G_F_RC.
    FORM SAVE_DIALOG CHANGING PO_FILE PO_RC.
      DATA: L_VA_BOXTITLE     TYPE STRING,
            L_VA_DEFAULTFILE  TYPE STRING,
            L_VA_DEFAULTNAME  TYPE STRING,
            L_VA_DEFAULTPATH  TYPE STRING,
            L_VA_DEFAULTFULL  TYPE STRING,
            L_VA_FILTERTEXT   TYPE STRING,
            L_VA_CODE         TYPE I.
      CLEAR: PO_RC, G_F_CONF.
      L_VA_BOXTITLE   = TEXT-B01.
      L_VA_FILTERTEXT = TEXT-B02.
      IF PO_FILE IS INITIAL.
        CLEAR L_VA_DEFAULTFILE.
      ELSE.
        L_VA_DEFAULTFILE = PO_FILE.
      ENDIF.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
        EXPORTING
          WINDOW_TITLE            = L_VA_BOXTITLE
          DEFAULT_EXTENSION       = 'TXT'
          DEFAULT_FILE_NAME       = L_VA_DEFAULTFILE
          FILE_FILTER             = L_VA_FILTERTEXT
          INITIAL_DIRECTORY       = 'C:SAPWorkdir'
        CHANGING
          FILENAME                = L_VA_DEFAULTNAME
          PATH                    = L_VA_DEFAULTPATH
          FULLPATH                = L_VA_DEFAULTFULL
          USER_ACTION             = L_VA_CODE
        EXCEPTIONS
          CNTL_ERROR              = 1
          ERROR_NO_GUI            = 2
          OTHERS                  = 3.
      IF SY-SUBRC <> 0.
        PERFORM CHECK_ERRORTYPE(Z48M_MATDATA_UP) CHANGING SY-MSGTY.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        CLEAR PO_FILE.
        EXIT.
      ENDIF.
      IF L_VA_CODE NE 0.
        MESSAGE S818(3F) WITH TEXT-011.
        CLEAR: PO_FILE, PO_RC.
        EXIT.
      ELSE.
        WRITE L_VA_DEFAULTFULL TO PO_FILE.
        G_F_CONF = G_C_XFELD.
      ENDIF.
    ENDFORM.                    " save_dialog
    If useful reward.
    Vasanth

Maybe you are looking for

  • Function Module to get ABAP source code for a specific version

    Hi all Is there a function module that I can use to get the source code of another function module at a specific version? For example, can I call a function module passing in "FM_NAME" and "FM_VERSION" and have it return the lines of code associated

  • Crm survey suite extractors into BW

    Does anyone know whether there are some Business Content extractors for the survey data in CRM. My CRM colleagues have setup surveys using the CRM_SURVEY_SUITE transaction and it would seem to store at least some of this data in the table CRM_SVY_DB_

  • Sony Bravia KDL-46W5100 power on then off.

    Hello, I have a Sony Bravia KDL-46W5100 TV. It powers on, the backlight shows activity as in you can see that it wants to do something, then powers itself back off then back on in a cycle.. What could the issue be? If you tell me a board please be sp

  • Can I get my Laserwriter Select 360 to work on my intel iMac?

    I have a new Intel iMac running 10.4.8. I want to use my Apple Laserwriter Select 360 with the iMac connecting via an Ethernet to Local Talk bridge (Assantetalk) via my net gear router. The driver comes up in the printer list, but it comes up with an

  • 601 errors when working with DLU

    Hey all, I've been running into issues at a single site in a WAN-connected school district. We have 1 tree with eDirectory 8.7.3.7 on all servers and no errors via the health checks, DSREPAIR, etc. The bottom line is this: If I make a new administrat