Open dcharles opened 7 years ago
Its already possible with -s
to set custom scale factor its just not exposed in xscreensaver menu
I got an error when I attempted to use the -s
flag:
Invalid option -- -s
When I use the --help
flag, there is no -s
option listed.
However, I do see there are -w
and -h
flags available for width and height. They don't seem to be working, though. Could you provide an example usage of these flags? I tried -w 0.5
(which would work if the expected value was a percent -- e.g., 0.5 = 50%), as well as -w 500
(which would work if the expected value was in pixels) and -w 500px
, but none of those worked.
./gluqlo -s 0.5
Works just fine for me with 50% scale, you sure you running master branch? Maybe you are running noflipqlo
? where no scale option exist and width and height option are broken
./gluqlo -w 100 -h 100
Will draw 100x100 pixel square
Usage: ./gluqlo [OPTION...]
Options:
-help Display this
-root, -f Fullscreen
-ampm Use 12-hour clock format (AM/PM)
-w Custom width
-h Custom height
-r Custom resolution in WxH format
-s Custom display scale factor
Maybe you are running noflipqlo
I don't believe so. The program is called "gluqlo." When I navigate to /usr/lib/xscreensaver, I can run the same command you do, but get an error:
./gluqlo -s 0.5
Invalid option -- -s
Try --help for more information.
When I use the "help" option, this is the output:
Usage: ./gluqlo [OPTION...]
Options:
-help Display this
-root, -f Fullscreen
-ampm Use 12-hour clock format (AM/PM)
-w Custom width
-h Custom height
-r Custom resolution in WxH format
you sure you running master branch?
I'm not sure how to check that. It's been a couple weeks, but as far as I remember, the way I installed gluqlo was with the commands under "Installing from PPA" on this page: https://github.com/alexanderk23/gluqlo (This is not correct; see next comment)
Given that the "help" printout is different, I suspect my version is different from yours. Is it easy to remove my copy and acquire yours?
I made a mistake in my previous comment. Following this page's suggestion, I can see from my browser history that I downloaded the following files files from this page:
gluqlo_1.1-1ubuntu2\~xenial1.debian.tar.gz gluqlo_1.1-1ubuntu2\~xenial1_amd64.deb
However, I forget the steps that I followed to set everything up.
I forgot to point out, I am using Debian 9.1 Cinnamon 64-bit.
Sorry for so many comments. One more thing:
When I attempt to follow the instructions for adding from the ppa, I get an error on the first command:
~ $ sudo apt-add-repository ppa:alexanderk23/ppa
Gluqlo: Fliqlo for Linux
More info: https://launchpad.net/~alexanderk23/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmpubbasiyt/pubring.gpg' created
gpg: /tmp/tmpubbasiyt/trustdb.gpg: trustdb created
gpg: key 09A81D61A4057D79: public key "Launchpad PPA for Alexander Kovalenko" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser'
This might be related to me running Debian rather than Ubuntu.
@alexanderk23 is maintainer of these PPA, but I suggest just build from source and problem will be solved. As scaling was available for while.
You are correct: I downloaded the source from Github and followed the instructions in README.md, and it installed flawlessly. And now resizing works. Thank you!
This screensaver looks great, but the numbers are so large that it's hard to read when close the screen. I'm used to Cinnamon and Windows lock screens, which have much smaller clocks (e.g., Cinnamon: https://antergos.com/wp-content/uploads/2013/02/cinnamon-screensaver.png, Windows 10: https://i.ytimg.com/vi/q-MmDEBB2fQ/maxresdefault.jpg).
Perhaps you could create a dropdown that provides a few different size options: Small, Medium, and Large.