Thursday, May 26

Livin in an ubuntu world

I don't have much choice at work and am using ubuntu. I know of bonsaikittens hate for it, and infact I happily share this sentiment... Maybe one day I'll switch.

But for now I've noticed that I'll come in, of a morning and either Xorg or Compiz or Xscreensaver has crashed leaving me without a working login. I'll have to switch to a tty and kill it to get back to normal - not much good if I left something open I was editing previously (like the list of task I've completed this week).

Really I should try and look into why its crashing and fix that, but in the mean time I decided I wanted the same screensaver I have at home. That is phosphor running the gentoo-blogs rss feed. Much better than the stupid ubuntu blog feed which never seems to be updated!

Here goes:

tim.bowers@timbowers ~ $find / -name xscreensaver-demo
find: ‘/etc/ssl/private’: Permission denied
find: ‘/etc/phpldapadmin/templates’: Permission denied
find: ‘/etc/cups/ssl’: Permission denied
find: ‘/var/log/samba/cores’: Permission denied
find: ‘/var/log/gdm’: Permission denied
find: ‘/var/run/gdm’: Permission denied

Doh! Oh, yes its ubuntu, we like sudo for everything so...

tim.bowers@timbowers ~ $sudo find / -name xscreensaver-demo
tim.bowers@timbowers ~ $

Hum..... well I know xscreensaver is installed.... I use it and have a jumping up and down cow on my screen....

tim.bowers@timbowers ~ $sudo find / -name xscreensaver

Next time I should just try:

tim.bowers@timbowers ~ $whereis xscreensaver
xscreensaver: /usr/lib/xscreensaver /usr/share/xscreensaver
tim.bowers@timbowers ~ $


tim.bowers@timbowers ~ $/usr/lib/xscreensaver/phosphor ## Runs screensaver in a window - looks kind of epic, but completely useless ;)
tim.bowers@timbowers ~ $/usr/lib/xscreensaver/phosphor --help
Phosphor: from the XScreenSaver 5.11 distribution (13-Apr-2010.)

Options include: -root, -window, -mono, -install, -noinstall,
-visual , -window-id , -fps, -no-fps, -pair,
-font , -scale , -ticks , -delay ,
-program , -pty, -pipe, -meta, -esc, -bs, -del.

Errrrrm.... so how do I pass a variable to be used?.... - says....
"Run the xscreensaver-demo program: when its window comes up, one of the elements in the list of display modes will be highlighted by default. That is the one that was most recently running.

People often suggest that I put the name of the current hack on the password dialog box. I'm not going to do that, because that would be a (non-security-related) feature that was only available if locking was turned on, and most people don't lock their screens. Just launch xscreensaver-demo to see which one it was. "

Oh ok, seems sensible enough:

tim.bowers@timbowers ~ $xscreensaver-demo
The program 'xscreensaver-demo' is currently not installed. You can install it by typing:
sudo apt-get install xscreensaver

Wait.... what? - Fine... I'll install whats already installed...

tim.bowers@timbowers ~ $sudo apt-get install xscreensaver
Setting up xscreensaver (5.11-1ubuntu2) ...
tim.bowers@timbowers ~ $

Right... lets try that again

Yey - we have xscreensaver-demo moaning that xscreensaver daemon isn't running.... because gnome-xscreensaver-daemon is instead. Gnome? Daemon? Xscreensaver? Meh. I dont know wtf they've done but they've broken it in ways it should never of been abused!.

No comments:

Search This Blog