The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.

Is there a better way than nautilus?

This post is called IS THERE A BETTER WAY THAN NAUTILUS, because I want to create a thread that is all about compatible software

So, is there a better way to open a random file, than starting nautilus, and browse it? Not talking about the dot-slash. The start, the exec, execlp(), etc.

For instance when I choose that I want to open a plain .png in i3. What would be the best way from the command prompt? I would like to ask.

Also, I wonder if there are any good i3 compatible media-format viewers (jpg, gif, png, etc.), could you suggest one, or some? Besides the regular GNOME image reader.

edit retag close merge delete

Sort by » oldest newest most voted

sxiv is a fantastic minimalistic image viewer. As far as opening a file running open foo.bar should open foo with the default program for bar files.

more

I get: i0@splinter:~/Code/html\$ open 2014-10-29-011230_1280x800_scrot.png Couldn't get a file descriptor referring to the console.

( 2014-10-29 01:03:44 +0000 )edit

There is no such thing as an "i3-compatible" whatever. If it works in one graphical environment, it'll almost certainly work in another.

Read this page from the Arch wiki and this page from the Gentoo wiki. Install and play around with a few things to figure out what you like. You can also take a look at the suckless wiki for a list of programs considered to work either well or poorly in a tiling and/or minimal environment (it says they "work well with dwm," but their criteria apply equally well to other tiling WMs). Those pages will also give you some ideas on how to better articulate future questions by directing you toward specific categories of software. As it is, this thread is so open-ended that it's bound to turn into an endless, hideous mess with everyone chiming in with "I like Program X!"

And the "best way" to do anything from the command line is with the Unix utilities (*BSD) or GNU coreutils (GNU/Linux). ;)

more

For image files of any kind I am using feh and am really happy with it. I also use it to set the dektop background on my Arch install and it's as lightweight as it gets.

From the CLI I can use:

feh my-image.png

or

xdg-open my-image.png

The second line of course needs to have xdg-open installed and the correct mime-types set. See here for detailed instructions on how to do that.

more

I'm using sunflower-fm a nice GUI File manager with image viewer

more

If you want a GUI file manager I can advice PCManFM (with gvfs for automounting) for images as suggested before try feh or gpicview, I still prefer coreutils.

more