displaysetr.blogg.se

Xscreensaver theming
Xscreensaver theming






xscreensaver theming
  1. #Xscreensaver theming Patch#
  2. #Xscreensaver theming license#
  3. #Xscreensaver theming windows#

$ xscreensaver-command -lock Lock the screen now $ xscreensaver-command -cycle Choose random animation $ xscreensaver-command -prev Choose previous animation

xscreensaver theming

$ xscreensaver-command -next Choose next animation Then run xscreensaver-command to control the program’s behavior: $ xscreensaver-command -activate Blank now Run xscreensaver-demo to preview the many animations and set things up the way you like. Your display will remain locked until you enter your login password. At any time (in GNOME or KDE), open the main menu and choose Lock Screen. In GNOME, choose Preferences/Screensaver from the main menu.Īs a screen locker. Alternatively, right-click your mouse on the desktop, choose Configure Desktop, then choose Screen Saver. In KDE, run the Control Center application, then choose Appearance & Themes, then Screen Saver. You can configure this from the main menu. By default, Fedora’s graphical user interfaces (KDE or GNOME) run xscreensaver automatically after five minutes of inactivity. It runs in the background, and you can control it in various ways:Īfter a period of inactivity. The xscreensaver system is a versatile screen saver with hundreds of animations available.

xscreensaver theming

Get the openttd screensaver wrapper-script included in Gentoo openttd ebuild or openttd distribution itselfĬreate an screensaver.scr script to make openttd load games, pan the camera, and maybe even join network gamesĬreate a decent.

#Xscreensaver theming Patch#

Write openttd patch for screensaver/screenshot/demo mode In the config-file, if you did not use the same name. The config-file which follows needs to be called something like (user-specific), following the instructions in the You need to place the openttd screensaver wrapper-script, or a symbolic link to it, in

xscreensaver theming

If else echo error - copying openttd.cfg, or invoking xwininfo, failed >&2 Print window_id(screensaver_window(root_window, root_children))

#Xscreensaver theming windows#

If window.get_full_property(Xatom.SWM_VROOT, Xatom.WINDOW):ĭef screensaver_window(default, windows = ): Xatom.SWM_VROOT = xserver.intern_atom('_SWM_VROOT') # expect to find this property on virtual root window # hack: strip last character because as of Python 2.4.4 an 'L' (for 'long integer'!?) is appended to hexadecimal strings if a long integer is input Root_children = root_window.query_tree().children # this returns only immediate children, and is not recursive # (useful for making SDL progs into a screensaver set SDL_WINDOWID env. # licensed and distributed under terms of GPL v2 # copyright (C) 2006 Eugene St Leger (GrimRC) XSCREENSAVER_WINDOW else find ID of *virtual* root window If test $1 & test $1 = '-window-id' & test $2 & test -z $SDL_WINDOWID # check if xscreen-saver has passed a window ID to use # don't put -r or -c options (resolution and config options) in this variable as they're set later automagically # Openttd screensaver wrapper-script (complete) version 10

#Xscreensaver theming license#

# Distributed under the terms of the GNU General Public License v2 # copyright (C) 2006 - 2007 Eugene St Leger (GrimRC) You can add the -g option to make openttd immediately load a savegame (such as the intro 'savegame', in The music is muted by the script (by passing an option to openttd). This script needs to be called by a screensaver-manager for example, xscreensaver It passes the detected width and height of the window to openttd with The openttd screensaver wrapper-script follows.








Xscreensaver theming