Difference between pages "Package:Feh" and "User:Gentoovortex"

(Difference between pages)
m (Added another useful switch)
 
(Created page with "{{Person |Bio= |Geoloc=-7.9022070895248, 112.53871160747 |Location name= |Blogs= }}")
 
Line 1: Line 1:
{{Ebuild
+
{{Person
|Summary=A fast, lightweight imageviewer using imlib2
+
|Bio=
|CatPkg=media-gfx/feh
+
|Geoloc=-7.9022070895248, 112.53871160747
|Maintainer=
+
|Location name=
|Homepage=http://feh.finalrewind.org/
+
|Blogs=
 
}}
 
}}
=== What is feh? ===
 
<blockquote>
 
feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simply displays images. It is controlled via commandline arguments and configurable key/mouse actions. [http://feh.finalrewind.org/ Feh homepage]
 
</blockquote>
 
 
== USE-Flags ==
 
;<code>curl</code>: Add support for the Client-Side URL transfer library.
 
;<code>debug</code>: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces, see http://www.gentoo.org/proj/en/qa/backtraces.xml.
 
;<code>exif</code>: Add support for reading EXIF headers from JPEG and TIFF images.
 
;<code>xinerama</code>: Add support for the xinerama X11 extension, which is mandator if you work in a multiple monitor setup.
 
 
== Installing feh ==
 
After adding your USE flags (or not) to <tt>/etc/portage/package.use/feh</tt>, you can emerge feh:
 
<console>
 
###i## emerge feh
 
</console>
 
 
== Using feh ==
 
=== Set desktop background ===
 
<code>feh</code> has several options for setting your desktop background:
 
* <code>--bg-center</code>: Center the image file on the background. If the image file is smaller in resolution than the screen resolution, it will have black borders around it.
 
* <code>--bg-scale</code>: Fit the image to the background without repeating it, cutting parts of the image off, or using black borders. Because of these changes, the aspect ratio is not preserved.
 
* <code>--bg-fill</code>: Similar to <code>--bg-scale</code> except that it tries to fill the image to the screen while maintaining its aspect ratio. This may result in parts of the image being cut off.
 
* <code>--bg-max</code>: Similar to <code>--bg-fill</code>, except that scales the image to the maximum size that fits the screen. This leads to black borders on one side.
 
* <code>--bg-tile</code>: Tile the image across the screen.
 
* <code>--random <name of directory to choose random image from></code>: Allow feh to choose a random wallpaper from a directory of pictures.
 
#<code>--no-fehbg</code>: If you do not intend to use the <code>~/.fehbg</code> file, you can disable it using this switch.
 
 
Here is an example:
 
<console>
 
###i## feh --bg-scale ~/path/to/picture.jpg
 
</console>
 
 
=== Source fehbg to set your wallpaper in Openbox ===
 
After you have run <code>feh</code> one time, the directory of the image file is stored in <code>~/.fehbg</code>. This file can be sourced in your <code>.config/openbox/autostart</code> to load the picture instead of typing out <code>feh --bg-scale /picture/location.jpg</code>:
 
 
{{file|name=~/.config/openbox/autostart|desc= |body=
 
...
 
~/.fehbg &
 
...
 
}}
 
{{EbuildFooter}}
 

Revision as of 09:47, November 22, 2014


Contact

Location

Loading map...
(-7° 54' 7.9455", 112° 32' 19.3618")