Li4na stranicata na Krum Lozev. Blog, snimki, misli
Kik's web blog
"It's not that we gotta do what we do
It's what we know, so to me it ain't nuttin but bein true..."
-- DMX "The Rain"
Statii za 2007-02

Sedq i si mislq ... kolko pyk seriozno mejelo da uvrejda zdraveto edna cigara i ... kolko lud i zloben trqbva da si za da sedish cql den v tymna stai4ka i da pishesh redove ot sorta na "Pusheneto ubiva" ili "Pusheneto vodi do bavna i my4itelna smyrt" ili "Ubivate svoeto bebe"? Pusha ot ... 8-mi klas, koeto shte da re4e skromnoto 4-5 godini i nai-golemi kef sutrin mi e da zapalq cigara s kafe. Ideqta mi e 4e ne se plasha ot kartinki disekcioniran bql drob, koito ne li4i da e bql, pod koqto da ima nadpis - "Vij kakvo ti dokarvat tezi tolkova loshti cigari" ...
Kakvo oba4e mi se slu4i ....
Predi nqkolko dni na priqtelkata mi i podariha kutiika s plastmasovi filtri za cigari. Neshtesh li tq mi dade edin da vidq za kakvo ide re4. Az razbira se vednaga zakliu4ih, 4e cigarata nqma sushtiq vkus i pribrah filtyra v kutiqta s cigari. Pribiram se ve4erta i reshavam da izpusha vtora cigara sys syshtiq filtyr. Sled kato zagasih cigarata na filtyra se beshe poqvil soliden (1mm) sloi ot nikotin ili katran, neznam, no beshe 4erno kryg4e s dosta nepriqtno sydyrjanie. Vednaga napravih prostata smetka, 4e ako ot 2 cigari se absorbira (proveruh: filtyra absorbiral 60% ot nikotina i katranite v tiutiuna (ili pone taka pishe(Smile))) 1mm katran a az na den pusha 10-15 cigari, to za edin den shte se sybere po4ti santimetyr gadna 4erna utaika! Dosta otvratitelno, ako si predstavq 4e 2 kutii s po 20 cigari pusha za 3 dni!
Ako tova ne me nakara da spra/namalq pusheneto, to pone me e nakaralo da se zamislq DOSTA seriozno. Stranno, 4e nito agitaciite "anti-smoUk", nito lipsata na sport ne me beshe navelo na takiva fatalisti4ni misli po toq vupros...

PP: tykmo si dopushih cigara .... (Smile)
[ Nagore ] [ 3 komentara ]
Unlike KDE and [GNOME], Xfce does not have a native session manager, so decided to try the native one for X server - XDM. It is no problem one uses KDM or GDM, bur they will be slower and uselessly RAM 'eating' (especially KDM which loads several QT libs on it`s start up). XDM is much more simple but still customizable that the two mentioned above. It appears as two inputs - one for user name and one for password and nothing more. Themeing is simple and here is what I did to my login screen:
Enable XDM
To enable the XDM (or other *DM in general) edit the following line in /etc/inittab. Set the runlevel to 4 (display manager)
# Default runlevel. (Do not set to 0 or 6) id:4:initdefault:
This will invoke a Display Manager. Unfortunately the XDM does not start Xfce as default, so you need to tell the X which session to load. Do the following:
echo "/etc/X11/xinit/xinitrc.xfce">~/.xsession
Now one final touch to the /etc/X11/xdm/Xsession file - uncomment the following lines to execute ~/.xsession before first. Note that there is a CASE "$1" which expects a xdm choice for the session to be given; it must not be executed. if [ -x $HOME/.xsession ]; then exec $HOME/.xsession $@ fi Now we have a XDM switched on and user with Xfce session loading. It is time for customization to begin.
XDM holds all its startup and session files under /etc/X11/xdm, so it is easyto find (Smile). Adding background image to the XDM + Shutdown button
Here is how my scripts look-like. /etc/X11/xdm/Xsetup_0
#!/bin/sh # Correct the path and/or use another command to display the # image as a stretched background if you want to. # /usr/X11R6/bin/xsetroot -background '#445E72' # For solid color /usr/local/sbin/xdmshutdown -geometry +1+1 & echo $! > /var/run/xdmshutdown.pid display -window root /usr/X11R6/lib/X11/xdm/pixmaps/xdm-bg.png
Where /usr/X11R6/lib/X11/xdm/pixmaps/xdm-bg.png is a picture taken from Xfce-Look.org for example.
/etc/X11/xdm/Xstartup
#Remove the shutdown button - BUGGY! pid=`cat /var/run/xdmshutdown.pid 2>/dev/null` test "$pid" && kill -9 $pid 2>/dev/null # Register session /usr/X11R6/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER Shutdown button scripts /usr/local/sbin/xdmshutdown
#!/usr/bin/wish # NT 20 October 2002 - adapted/copied from various similar # scripts dragged kicking and screaming from the bowels of the web(Smile) # proc shutdownf {} { exec /usr/local/sbin/xdmshutdown-dialog.sh } button .shutdown -text "Shutdown" -background gray -activebackground lightgray -command shutdownf pack .shutdown -side right /usr/local/sbin/xdmshutdown-dialog.sh
#!/bin/sh /usr/X11R6/bin/xmessage "Shutdown me?" -buttons "Close:0,Shutdown:1" CONTROL=$? [ $CONTROL = 0 ] && exit # Close [ $CONTROL = 1 ] && exec /sbin/shutdown -h now -h now 2>/dev/console >/dev/console # Shutdown confirmed exit

Links

I assume that said above is not enough, so here is a list of recommended links I used:
Final obligation I must mention is: Enjoy your Login Screen (Smile)
[ Nagore ] [ Nqma komentari ]
Ima 2 statii za tozi mesec
Get Firefox! X Multimedia System Pidgin Instant messanger Get Slackware Valid XHTML 1.0 Transitional [Valid RSS]

Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 Bulgaria License.
Това е лична страница. Писаното тук не е мнение на хора свързани по какъвто и да е начин с мен и не трябва да се цитира като такова!