The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

How can I specify the image position in i3lock?

asked 2012-06-05 06:16:03 +0000

Michael gravatar image

updated 2012-07-02 20:05:23 +0000

joepd gravatar image

I'm wondering if there is a way to specify the position (or center) the image given by -i.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2012-06-05 06:16:58 +0000

Michael gravatar image

You can’t. If we were to implement all these little things, i3lock would explode with complexity. It is far easier (in the big picture) to use GIMP or any other image manipulation tool to create an image which suits your screen resolution and just use that.

edit flag offensive delete link more


Unfortunately this makes it impossible to provide a preconfigured i3lock with an image in a distribution where this needs to be usable on different hardware. At least the ability to center an image would be extremely helpful here.

oberon gravatar imageoberon ( 2015-09-26 21:02:02 +0000 )edit

answered 2013-05-31 08:23:10 +0000

ab5tract gravatar image

updated 2013-05-31 08:24:15 +0000

In fact Michael I don't believe that is enough to address image position. My dual monitor setup doesn't play well with images that match their native resolution.

edit flag offensive delete link more


Good comment. I guess it deserves a separate question.

joepd gravatar imagejoepd ( 2013-06-02 16:32:57 +0000 )edit

Question Tools


Asked: 2012-06-05 06:16:03 +0000

Seen: 1,254 times

Last updated: May 31 '13