Wenn ich mich richtig erinnere, hat hier doch neulich jemand nach
einer 'leichtgewichtigeren' Alternative zu 'xv' gefragt, um ein
Hintergrundbild auf den X-Desktop zu bekommen. Per Zufall habe ich
so etwas auf meinem RedHat 6.0 Linux gefunden, vermutlich haben die
anderen Distributionen das auch. Das Programm heißt 'xsri', eine
Man-Page gibt's leider nicht
mike@nozomi ~$ man xsri
No manual entry for xsri
aber die Hilfe über die Commandline sollte ausreichen:
mike@nozomi ~$ xsri -help
Usage:
xsri [options] image_file
where options are any of:
-geometry [WIDTHxHEIGHT][+X+Y]
-root
-scale
-scale-width
-scale-height
-avoid [WIDTHxHEIGHT][+X+Y]
-center-horizontal
-center-vertical
-integer-scale
-keep-aspect
mike@nozomi ~$
Jedenfalls ist es erheblich schneller als xv für diesen Zweck:
mike@nozomi ~$ time xsri -root -scale mvalley.gif
xsri -root -scale mvalley.gif 0.25s user 0.01s system 47% cpu 0.552 total
mike@nozomi ~$ time xv -max -root -wait 1 mvalley.gif
xv -max -root -wait 1 mvalley.gif 2.50s user 0.12s system 54% cpu 4.841 total
--
Mike Fabian <mike.fabian@...>