Glad to hear.
It may not be for everyone but I found the Ranger file manager a big help when getting used to the terminal. It's nice out of the box but running:
ranger --copy-config=all
Creates files in ~/.config/ranger you can play around with in your favourite terminal text editor....the rifle launcher file might need a few changes.
Ranger + mpv + sxiv/feh + vim + youtube-dl/yt-dlp is what I've been using day to day since about 2014. It covers a lot of ground without needing to reach for mouse/touchpad. A big plus for me is that nothing has really changed since 2014, the setup works the same on almost any distro.
Ranger + mpv
Example: Adding these scripts to mpv means I can do basic cut, crop & encode of videos I'm watching without touching the mouse or having to google 'least shit linux video editor 2021'.
Ranger aside I use these regularly:
lsblk dfc ncdu htop | grep
tldr is cool, alternative to man pages
A nice shell helps. ZSH set up well is hard to beat. Fish is very friendly but has some weird quirks.
I googled 'man ranger' (on my phone). I got their GitHub page as the first result. From there, the macros section of the page seemed the most relevant.
this doesn't solve your issue, but I noticed no one mentioned [ranger](https://ranger.github.io); it's a command line app like MC with multiple pane options (and vim keybindings)
​
I actually don't mind that gnome is keeping the file manager features light; though I'd imagine one solution here is to a good alternative to download when you really want more features / customizability
​
tl;dr... gnome developers: keep doing watch'ya doing
It depends. The general idea is that you look at text in the terminal, so why not images too? It's a practical way to preview images on a remote host, or if you prefer working in a terminal over graphical file managers. Scripting can be very effective.
For someone making interactive programs for the terminal, for instance a file browser, it could be useful to have an image preview feature. Cf. Ranger. Chafa can be integrated via its C API or simply by calling the command-line tool.
It's definitely a niche thing, though, so don't feel bad if you don't see the utility :)
It's on the man page, but i like this cheat sheet to see what the keybindings do:
https://ranger.github.io/cheatsheet.png
The wiki also has some cool stuff, like the user guide and some other topics on the menu on the right:
To get SSH up on the server, just install it using apt
and then make sure it's up and running with systemctl
(in a root shell):
apt install openssh-server systemctl start sshd systemctl status sshd
That will automatically generate unique private keys for the machine and then you can just use it from any other SSH client, either with a password login, or by sending your own public key to the server with ssh-copy-id
(which is more secure than using a password).
When SSH-ing into the server you can pass the -X
option, like ssh -X username@hostname
, then any application that you run on the remote server that speaks the X11 protocol will use your own local client machine as it's X server, so the remote server can then display it's GUI windows on your local client.
The problem is installing a GUI file manager on the server, the dependencies of a GUI file manager is usually an X server, so even if you don't want to install an X server on the headless machine, apt
will install one to satisfy the dependencies of the GUI file manager.
I recommend a terminal-based file manager tool like Midnight Commander, Ranger, or Nnn. Install one of these on the headless server and use it to move files around when you login remotely.
It depends on the context:
%s
means "string"%s
means "seconds since 1970-01-01 00:00:00 UTC"%s
means highlighted file.I've been using autojump for a long time now and love it. I've also written my own (clumsy) integration to open directories directly in ranger.
However, I'm wondering if I should move to fasd, as the ranger integration (and others, too) is already there. On the other hand, it doesn't seem very maintained. Does anyone use it and can recommend one or the other?