You are not logged in.
I dislike using a mouse, but I absolutely hate using the touchpad on my laptop.
My desktop environment is awesomeWM, my browser is conkeror, my almost-everything-else is Emacs.
What I'm lacking is a file manager that fits my workflow.
Obviously, Emacs has dired, and there's the shell. Then there are things like mc or ranger. All these are fine for basic file management, but I miss some things that are pretty standard in GUI file managers:
- VFS support (e.g. smb:// ssh:// etc)
- easy visualization and mounting/ejecting of removable media
- shortcuts to common places
- Thumbnails/previews
- etc.
So, does anyone have suggestions for a keyboard-friendly (esp. for fingers warped by years of Emacs use) file manager with these features?
Offline
You may try Surnise Commander
Offline
Thanks; I've looked at it, but it really doesn't seem to be what I'm after. It's more like midnight commander inside of Emacs, which is fine and all, but doesn't cover all the features I'm after.
Here's a concrete scenario:
Visiting family member asks me if I have a picture of the kids from a visit last summer, and if I can copy it to a thumb drive for them. In something like Dolphin, Nautilus, or PCManFM I can just
- browse to my samba server, enable previews, and scroll through the thumbnails to find the photo
- either open a new window or split the file pane
- plug in the USB drive. It pops up automatically under "Places"
- Click to the USB drive to simultaneously mount it and browse to it.
- drag and drop the correct file(s) to the usb drive
- Unmount the USB drive in 1-2 clicks.
- Close the window and be completely done (no unmounting or removing mountpoints, etc)
I want that same kind of workflow and ease of use, but with keyboard-centric controls so I can do it without the mouse or without tabbing 8000 times. Does something like that exist, or do I need to get coding?
Offline
lykwydchykyn, look at Krusader and/or Double Commander.
They operate similar to MC, allowing almost any combo of mouse / keyboard control, but are gui-oriented.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
Regardless of whether or not a file manager that meets your requirements actually exists, I can't even imagine what the key bindings would be for all those tasks! Can you? For examle, how would you use the keyboard to "click to the USB drive to simultaneously mount it and browse to it"?
My best guess as to what you'd be happy with is to find the most configurable file manager possible (maybe SpaceFM) and to change the key bindings and write your own scripts for it until it is configured just the way you want it.
Offline
Regardless of whether or not a file manager that meets your requirements actually exists, I can't even imagine what the key bindings would be for all those tasks! Can you? For examle, how would you use the keyboard to "click to the USB drive to simultaneously mount it and browse to it"?
I don't know, maybe someone has solved that problem? The point is that it's easy to see and mount/unmount available removable drives. The current workflow for that from, say, the terminal is:
- peruse the tail of dmesg to figure out what device file the device was assigned
- create a mountpoint
- mount the device with something like pmount or fuse
Surely we can do it easier than that without resorting to the rodent?
My best guess as to what you'd be happy with is to find the most configurable file manager possible (maybe SpaceFM) and to change the key bindings and write your own scripts for it until it is configured just the way you want it.
I will try that, thanks.
I'll also check out the things Lone Wolf mentioned.
Offline
I can't even imagine what the key bindings would be for all those tasks! Can you? For examle, how would you use the keyboard to "click to the USB drive to simultaneously mount it and browse to it"?
Ctrl+M in Krusader.
Offline
The current workflow for that from, say, the terminal is:
- peruse the tail of dmesg to figure out what device file the device was assigned
- create a mountpoint
- mount the device with something like pmount or fuseSurely we can do it easier than that without resorting to the rodent?
Why should you have to do that? Check out udiskie and use some scripting e.g. described in that blog post and in a comment below that post...
Offline
@ball: that's a neat script, I'll have to use that in any case.
Offline
[...] I can't even imagine what the key bindings would be for all those tasks! Can you? For examle, how would you use the keyboard to "click to the USB drive to simultaneously mount it and browse to it"?
I really agree with you. This reminded me of Vimium, a Firefox / Chromium extension to essentially navigate through webpages with the keyboard then following some link. I think the approach it uses (ace-jump-mode like) could be applied to a file manager too. I don't remember any file manager with this approach, though. Maybe it would be a good idea to implement it.
Offline
Well, I've tried many of the suggestions here, so far Krusader comes the closest, but it's really busy and overkill and it'll take some time to adjust to the keyboard shortcuts. I'm not entirely convinced that it can be used end-to-end with just the keyboard anyway (seems like I kept getting into a state where no key commands responded, and all I could do was click around until the right thing was in focus again).
Vimium sounds like the vim equivalent of conkeror; and yeah, if we can browse the web with a keyboard (or do 9/10 of the things I do every day in emacs with just a keyboard), file management and drive mounting shouldn't be impossible.
Thanks for all the advice.
Offline
I personally love ranger, it's simple and it's fast. Automount w/ udiskie.
edit: sorry, didn't see the ranger reference.
Last edited by xtraroot (2013-12-29 22:08:11)
Offline
- VFS support (e.g. smb:// ssh:// etc)
Dired at least does ssh://. Not sure about the others.
- easy visualization and mounting/ejecting of removable media
I am no pro at elisp (only learned Emacs a week ago!), but you could always take this as an opportunity to write some functions! I whipped this one up in a jiffy:
(defun my-unmount (drive)
"Prompts the user for input and unmounts the given device."
(interactive "sunmount: ")
(shell-command
(concat "/usr/bin/gksu /usr/bin/umount " (shell-quote-argument drive))))
You can bind this to a key and it will prompt you for a device to unmount. If you don't need the root privileges (or don't use sudo/gksu?), then remove the "/usr/bin/gksu" part.
If you were to take this a couple steps further, you could get the output from "lsblk" and pump it into something like virtual dired, then use that as input to "my-unmount" or some yet-to-be-defined "my-mount" function.
- shortcuts to common places
For shortcuts, see blog post or do something similar.
- Thumbnails/previews
Well, there's stuff like image-dired out there. With some searching, you might be able to hack a full preview feature into dired.
[~/.]
Offline
You could check out sunflower: https://code.google.com/p/sunflower-fm/
Its alpha stage, but very usable
I also really like ranger, so +1 for that.
Homepage | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller
Offline
Why limit yourself to one File Manager? Why not have 2 or 3 and use the tool that's best for the job?
That said, I think all of the things you want can be done in ranger (yes I did read your remarks). Shortcuts are very easy, I use them all the time. Very fast previews of files. Opning, copying, manipulating, you name it. Can be used with the rodent as well
Offline