![install xscreensaver install xscreensaver](https://www.elarraydejota.com/wp-content/uploads/2014/12/gnome_screensaver.jpg)
The above function, if I run it as Test, returns long file names, but if I run it as Installed, it returns short file names.
#INSTALL XSCREENSAVER INSTALL#
This should be a clue as to what is going on, I think. Step 4: When gnome screensaver gets uninstalled then type: sudo apt get install xscreensaver xscreensaver data extra xscreensaver gl extra. xscreensaver is: XScreenSaver is a modular screen saver and locker for X11, containing more than 200 screen savers. When I run sudo apt-get install xscreensaver it results in Reading package lists. If I run it as Test, I can simply use filenames only.
#INSTALL XSCREENSAVER FULL#
However, after installing it, the only way I can reach files in the same folder from the executable is if I use full paths. It appears that the screensaver is running from the directory where I put it, from the original file. So, I added the following bit of code to determine the executable's location. To add this bundle, enter: sudo swupd bundle-add xscreensaver. NOTE: If this package has multiple flavors (see below), then use one of them instead of the name. Upon first start, the program will ask you to start the XScreenSaver daemon. Now you can start XScreenSaver program from the Unity Dash or your preferred application launcher. So far I have searched in Windows folder, Program Files, Program Files (x86). pkg install x11/xscreensaver pkg install xscreensaver. To check your XScreenSaver version, execute the following command: xscreensaver -help. If I right-click on the screensaver and select ' Test', all is well, those extra files are found.īut if I right-click and click on ' Install' to install the screensaver, it seems to not be able to find those files anymore.ĭoes the installation process make another copy of screensaver, or maybe change the working directory? If so, what directory is it in? I have written my own screensaver, which makes use of additional files located at the same directory as the screensaver executable (.scr file).