Older blog entries for yeupou (starting at number 118)

26 Feb 2010 (updated 26 Feb 2010 at 10:35 UTC) »

Looking for a very fast utf8 xterminal?

Give a try to urxvt in daemon/client mode.

For instance, you can have the following in ~/.xsession :


#!/bin/dash
# mouse speed
sleep 5s && xset m 4 &
# terminal daemon
urxvtd -q -f -o
# desktop
export BROWSER=midori
export XDG_CONFIG_HOME=$HOME/.config
lxsession

and then call uxrvtc instead of urxvt as terminal.

You might also want to add in ~/Xdefaults something like:


Rxvt*background: gray23                                                         
Rxvt*foreground: white                                                          
Rxvt*troughColor: gray33                                                        
Rxvt*scrollColor: gray13                                                        
Rxvt*scrollstyle: plain                                                         
                                                                                
Rxvt*visualBell: true                                                           
Rxvt*saveLines: 2000                                                            
Rxvt*urlLauncher: midori                                                        
                                                                                
Rxvt*color12: SkyBlue2     

So far, I use it on a very old laptop. But I'm considering using it everywhere.

(side note : bash completion is getting bloated... it is best to use dash whenever sufficient - otherwise, on an old computer, you should at least make sure it only runs the default stuff, not every files in /etc/bash_completion.d/)

3 Feb 2010 (updated 3 Feb 2010 at 18:24 UTC) »

1° Getting http://myy.helia.fi/~karte/opml-export-feeds.html to work in order to import akgregator feeds into rawdog.

my $xmlUrl=0;
while (<FILE>) {
    $xmlUrl = $1 if /xmlUrl=\"([^\"]+)\"/;
    if ($xmlUrl ne 0) {
	if ($rawdog_config) { print "feed 30m " }
	print "$xmlUrl\n" 
    }
    $xmlUrl=0;
}
close FILE;

2° trying hard to post this on advogato with konqueror - no luck, I had to do it with iceweasel to avoid getting part of the entry to go in limbo with no explanation.

Savane project need people interested in maintaining Savane for distributions like Debian, Fedora extras. If you think you have the profile, you appreciate Savane enough and want to be involved in Libre Software development and distribution in the long-run, please go ahead, start reading docs of the distributions you use and like and start the packaging work. :)
22 Mar 2006 (updated 22 Mar 2006 at 13:22 UTC) »

Looking for a nice shell prompt? Add the following in your .bashrc:

red='\[\033[0;31m\]'
RED='\[\033[1;31m\]'
green='\[\033[0;32m\]'
GREEN='\[\033[1;32m\]'
yellow='\[\033[0;33m\]'
YELLOW='\[\033[1;33m\]'
blue='\[\033[0;34m\]'
BLUE='\[\033[1;34m\]'
magenta='\[\033[0;35m\]'
MAGENTA='\[\033[1;35m\]'
cyan='\[\033[0;36m\]'
CYAN='\[\033[1;36m\]'
grey='\[\033[0;37m\]'
GREY='\[\033[1;30m\]'
NC='\[\033[0m\]'

showuser='' if [ "`id -u`" != 0 ]; then showuser="\u@"; fi

hostnamecontent=`cat /etc/hostname` showchroot='' if [ "$hostnamecontent" != $HOSTNAME ]; then showchroot="*$hostnamecontent"; fi

PS1="${yellow}\$(date +%H:%M),\! ${cyan}${showuser}\h${showchroot}:${green}\w${NC}\n ${grey}"'\$'"${NC} "

# Define a nice correct PROMPT_COMMAND, which will update to window title, # only if we have an X terminal case $TERM in aterm|eterm|*xterm|konsole|kterm|rxvt|wterm) PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}${showchroot}: ${PWD/$HOME/~}\007"' esac

Linux « stable » branch is definitely a meaningless concept. udev and all its ramifications happens on a branch. It already caused 2 of my 4 own computers to be down for a reason or another. Sure udev is great. But it is definitely not production ready.

Linux is now like MS Windows in matter of release policy. Branded stable but not really.

zanee, that's funny, I always thought the standard US assault rifle was the M16, not the M14. Apparently, I'm not the only one.

Hum, you might be interested to know there's a new Savane release.

Published integcheck 1.0.4 today (a bit late, this release was ready in September already). Rant about some guys that confused a bug report with a place to discuss about some software else latest changes.

109 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!