The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Is there a better way than nautilus?

asked Oct 29 '14

anonymous user

Anonymous

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.

5 answers

Sort by » oldest newest most voted
1

answered Oct 29 '14

Michael Rose gravatar image

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.

Comments

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

Sphost gravatar imageSphost (Oct 29 '14)edit
1

answered Oct 29 '14

ANOKNUSA gravatar image

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). ;)

0

answered Oct 29 '14

cee gravatar image

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.

0

answered Nov 9 '14

Filier gravatar image

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

0

answered Oct 30 '14

smlb gravatar image

updated Oct 30 '14

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.

Question Tools

Stats

Asked: Oct 29 '14

Seen: 738 times

Last updated: Nov 09 '14