Good Day!
I have noticed, that only xlockmore package is available in repositories, which offers only blank screen mode. Also in package description is written, that to be able to use different modes, a package xlockmore-gl should be used. But I can not find it in repositories. How can I install it?
Also xlock uses very small font, because it can not find appropriate font (attachment). How to fix it?
topic title: [Solved] Installing xlockmore-gl, fixing xlock font
3 posts
• Page 1 of 1
-
Posts: 80
- Joined: 26 Dec 2016
#1
Last edited by Rademes on 10 Feb 2017, 09:31, edited 1 time in total.
-
Posts: 2,238
- Joined: 16 Dec 2007
#2
xlockmore is hosted in the antix forum, and there is not upstream package in debian for quite some time. xlockmore-gl was apparently never brought over. there might be good reasons for that.
however, you can set the font with this.
xlock --font fontname
where the fontname is taken from the list in xlsfonts command output.
i used a terminus font to test that was quite nice.
xlock -font terminus-iso8859-16-bold-24
you can also take advantage of the path system by doing something like this.
1. make a new text file /usr/local/bin/xlock
2. input the following code:
3. make it executable
Now any app that just calls"xlock", like the desktop-session-exit script (the logout/restart/shutdown buttons), will use the modified font parameter.
however, you can set the font with this.
xlock --font fontname
where the fontname is taken from the list in xlsfonts command output.
i used a terminus font to test that was quite nice.
xlock -font terminus-iso8859-16-bold-24
you can also take advantage of the path system by doing something like this.
1. make a new text file /usr/local/bin/xlock
2. input the following code:
Code: Select all
#!/bin/bash
/usr/bin/xlock -font terminus-iso8859-16-bold-24"$@" &
Code: Select all
chmod a+x /usr/local/bin/xlock
-
Posts: 80
- Joined: 26 Dec 2016
#3
Thank You!