Jestli se vam rozsypou X po spusteni do neceho takoveho
tak si stahnete muj bugfix.gz . Musi se spustit z X po kazde zmene rozliseni a potom jeste musite refreshovat obrazovku.
Takhle ma vypadat ta aplikace:
Instalacni pokyny:
Tento bugfix musi byt SETUID root, aby mohl pristoupit k registru videokarty a zmenit v nem jeden bit ktery by mel ovladat
casovani DRAM. Pokud se chcete kouknout jak se pise program ovladajici primo hardware, stahnete si zdrojak k fixw32p.c , kompiluje se
gcc fixw32p.c -o fixw32p
vysledny exac si dejte do /usr/X11R6/bin/
Pro automaticke spusteni tohoto bugfixu po startu X-windows si pridejte jeden radek do souboru /var/X11R6/lib/xinit/xinitrc.fvwm
#!/bin/sh # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs fixw32p xsetroot -solid SteelBlue #xsetroot -bg LightSkyBlue -fg Black -bitmap /usr/include/X11/bitmaps/escherknot xload -hl red -nolabel -jumpscroll 1 -update 2 & xsysinfo & oclock & fvwmJa jsem si dal spousteni do systemoveho menu na prvni misto, dela se to v /var/X11R6/lib/fvwm/system.fvwmrc pokud pouzivate fvwm (Fantastic Virtual Window Manager nebo tak nejak).
Vynatek z system.fvwmrc:
# This menu will fire up some very common utilities Popup "Utilities" Title "Utilities" Exec "Fix the W32 timing" exec fixw32p Exec "Top" exec rxvt -geometry 120x85 -font 7x14 -T Top -n Top -e top & Exec "Midnight Commander" exec /usr/bin/X11/color_xterm -sb -sl 500 -j -ls -fn 7x14 -T "Midnight commander" -e xmc & Exec "Color Midnight (usporny)" exec rxvt -geometry 80x25 -fg white -bg Black -font 10x20 -e bash xmc & Exec "Large Midnight Commander" exec /usr/bin/X11/color_xterm -geometry 100x40 -sb -sl 500 -j -ls -fn 10x20 -e bash xmc & Exec "Xman" exec xman -notopbox -pagesize 800x900 & Exec "Xmag" exec xmag & Exec "Calculator" exec xcalc & Exec "Oclock" exec oclock & Exec "Calendar" exec ical & Exec "Clipboard" exec xclipboard & Nop "" Popup "Performance info" Performance-info Nop "" Popup "Shells" Shells Nop "" Popup "Backgrounds" Pixmaps Nop "" Popup "Applications" Applications Nop "" Popup "Games" Games Nop "" Popup "Sound" Sound Nop "" Popup "Emulators" Emulators Nop "" Popup "Screensaver" Screensaver Nop "" Popup "Lock Screen" Screenlock Nop "" Popup "Modules" Module-Popup Nop "" Popup "Exit Fvwm" Quit-Verify Nop "" Refresh "Refresh Screen" EndPopup
Tohle je ukazka meho menu: