Linux · Ferramentas do Sistema
feh
feh is a lightweight, command-line image viewer for Linux, often used to set wallpapers or browse images quickly.
- Licença
- MIT
- Versão mais recente
- 3.13.1
O que é o feh?
feh is a fast, minimal image viewer for X11 that runs from the terminal. Originally released in the early 2000s, it's mature, stable, and widely used in tiling window manager setups. It's actively maintained and favored for its speed and scripting capabilities.
It's best suited for users comfortable with the command line—especially those using minimal desktop environments or window managers like i3 or dwm. Not designed for casual browsing with mouse-heavy interaction, it excels in automation and low-resource environments.
Compared to Windows Spotlight, feh lacks slideshow polish and background service integration. But it’s faster and more predictable. Where Windows tools hide complexity, feh exposes control—ideal for users who prefer precision over hand-holding.
Ideal para: Users who want fast, scriptable image viewing and wallpaper management in minimal Linux environments.
Principais recursos do feh
- Set desktop wallpaper from command line
- Supports PNG, JPEG, BMP, and other common formats
- Image slideshow and randomization options
- Thumbnail scrolling with mouse navigation
- Basic image manipulation (zoom, pan, next/prev)
- Lightweight, no desktop environment dependencies
- Customizable keybindings and scripting support
Prós
- Extremely fast and low on memory
- Scriptable for automated wallpaper rotation
- Stable and reliable across distributions
- Integrates well with minimal window managers
- Highly configurable via command line or config file
Contras
- No native GUI—requires terminal use
- Steeper learning curve for beginners
- Limited image editing or metadata display
- Mouse controls less intuitive than Windows tools
Programas do Windows que o feh substitui
Como instalar o feh no Linux
sudo apt install fehsudo apt install fehsudo dnf install fehsudo pacman -S fehsudo zypper install fehDicas para quem vem do Windows
Instead of relying on background services like Windows Spotlight, feh requires manual commands or scripts. Use 'feh --bg-fill <image>' to set a wallpaper. Supported formats include JPG, PNG, and BMP. Navigation is keyboard-driven by default; 'q' quits, arrow keys move between images. To auto-start wallpapers, add feh to your .xinitrc or desktop autostart.
feh: perguntas frequentes
How do I set a wallpaper with feh?
Run 'feh --bg-fill /path/to/image'. This sets the background and scales the image. Add it to your startup script to persist across sessions.
Does feh support slideshow mode?
Yes. Use 'feh -z -D 5' to display a random slideshow with 5-second intervals. The -z flag enables random order.
Can I use feh with a GUI file manager?
Yes, but indirectly. Right-click 'Open With' can call feh, though it still opens in a terminal-less window. Best used from the command line or scripts.
Is feh safe to use on a daily basis?
Yes. It's stable, widely packaged, and used in production environments. No known security issues when used as intended.
Atualizado em