Took me a while to figure out how to simply show an image when locking with xlock:
$ xlock -mode image -bitmap image.xpm -count 1
-mode image: sets the mode to only display random sun images
-bitmap image.xpm: replace the random sun images with image.xpm (*)
-count 1: sets the amount of images that shall be shown at the screen at once to 1
* use ImageMagicks 'convert' method to convert to xpm: $ convert input.jpg output.xpm
Have fun!
Hi - can you elaborate on the location of image.xpm please :)
AntwortenLöschenIt's located where ever you place it. After converting your image with ImageMagick (convert or mogrify) you'll have an xpm-File that you can place wherever you want (/home/user/pictures/image.xpm). Then you'll just call xlock with:
AntwortenLöschen$ xlock -mode image -bitmap /home/user/picture/image.xpm -count 1
Were I able to help you?
Best
Marc