Yesterday night I decided that it was time to give my desktop a new design. In my case, usually everything begins with a new wallpaper, but this time I decided to also use a new icon set. So I asked yaourt what the AUR had to offer and stumbled upon some very nice themes called gnome-colors. They are beautiful, I am using GNOME-Carbonite, which is included in that package right now. The next step was to find a fitting background… in the end, I chose Kurt Russell who plays Stuntman Mike in Quentin Tarantino’s Death Proof (which is part of Grindhouse). Needless to say that I like the movie and recommend it, if you like QT’s other movies. Last but not least, one needs to set some matching gnome colors (I pick them with GIMP right off the wallpaper) and re-configure conky. I’m glad I did that, because my old desktop setup got kind of boring (as with all of them after a while).
Mit 'conky' verschlagwortete Einträge
Finally a new desktop
Veröffentlicht 4. November 2009 English Hinterlasse einen KommentarTags: archlinux, conky, desktop, gnome, setup, wallpaper
ultrasurf-tools
Veröffentlicht 4. Oktober 2009 English 2 KommentareTags: conky, linux, script, ultrasurf, ultrasurf-tools, vnc, wine
Update: Please use the newer and improved version of this script: ghostship.
In one of my earlier articles, I released a little script which keeps Ultrasurf connected by generating traffic every minute. Today I’ve gone one step further and made a script that does the following:
- Ultrasurf starts invisible in its very own (vnc)X-server, which makes it possible to start it before you even started your X session
- Generates traffic every 20 seconds and by doing that it checks at the same time whether Ultrasurf is still connected to the internet
- It writes a status-file which you can use with conky to display whether Ultrasurf is currently working or not
- When Ultrasurf is down, the script tries a few more times (with less waiting between the tries) and then it restarts the whole vncserver, thus killing everything inside it and starting clean (by doing normal restarts, sometimes Ultrasurf binds the wrong or simply no port)
Ready? Here’s my step by step tutorial:
- install Ultrasurf (in its own wineprefix)
- install tightvnc
- run vncserver && vncserver -kill :1 once to set a password for your vnc server
- open up ~/.vnc/xstartup and copy paste the following
#!/bin/shif [ $VNCDESKTOP = "ultrasurf-tools" ]; then
# you'll need to edit this line, so that it points
#
to yourUltrasurf installationWINEPREFIX=/home/you/.wine-ultrasurf wine c:/u.exe
else
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title \
"$VNCDESKTOP Desktop" &
twm &
fi
- paste the following to a file called ~/ultrasurf-tools or something and give it the executable flag
#!/bin/bash# configuration
# warning, statusfile will get removed!
statusfile=~/.ultrasurf
# internal variables
errors=0
# functions
function restart_ultrasurf {
vncserver -kill :96
vncserver :96 -name "ultrasurf-tools" -localhost
errors=0
# echo "sleeping for 20 seconds"
sleep 20
}
# the main loop
# echo "starting ultrasurf..."
rm "$statusfile"
restart_ultrasurf
while [ 1 ];do
# echo "performing connection check..."
dyndns=`http_proxy="127.0.0.1:9666"\
wget --no-cookies checkip.dyndns.org -O - -q -nv`
if [ -z "$dyndns" ]; then
let errors+=1
# echo "error ($errors): couldn't request\
data through ultrasurf."
if [ $errors = 2 ]; then
rm "$statusfile"
fi
if [ $errors = 4 ]; then
# echo "error limit reached! restarting ultrasurf..."
restart_ultrasurf
else
# echo "sleeping for 3 seconds"
sleep 3
fi
else
errors=0
# echo "success. sleeping for 20 seconds..."
touch "$statusfile"
sleep 20
fi
done
- to use the statusfile with conky, add a line similar to this one to the TEXT area (make sure you use your username):
ultrasurf: ${if_existing /home/you/.ultrasurf}${color}online$else${color red}offline$endif
- you can now add this to your /etc/rc.local in order to start ultrasurf before you start your X (the result will be that as soon as your X is started, you are ready to go and do not need to wait for Ultrasurf anymore):
su yourusername -c ~/ultrasurf-tools &
- if you would like to check what is going on, execute vncviewer :96 (but you usually don’t need that)
More Archlinux artwork!
Veröffentlicht 27. September 2009 English Hinterlasse einen KommentarTags: archlinux, artwork, conky, do it yourself, inkscape, jdownloader, linux, logo variation, tacos, wallpaper
Eleven days ago, I have posted my first piece of Archlinux related artwork, a wallpaper featuring the punk tux from this blogs header. Today I took a look at Ghost1227’s Arch logo variations thread (again) and decided that I should make one with the very same tux.
Later this day I was still experimenting with Inkscape and guess what just came out? Right, a wallpaper with an exploding taco. Ghost1227 says it looks great, and trusting his word I release it now. I hope you enjoy it
PS: This wallpaper also includes the JDownloader icon background fix I mentioned in the first wallpaper’s post.
License for the archlinux logo and text:
The Arch Linux name and logo are recognized trademarks. Some rights reserved. (taken from archlinux.org)
License for everything else in both pictures:
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Germany License.
New Installation (Update!)
Veröffentlicht 12. Juli 2009 English 3 KommentareTags: archlinux, conky, deathnote, gnome, inkscape, linux, screenshot, ultrasurf, win7, windows, wine
Last time I set up arch on my desktop pc (my laptop’s still broken :-\), I installed the i686 version in order to use it with colinux, too. I’ve figured out that colinux did not really work as good as expected – XServer crashed often (both XMing and Cygwin/X) as well as no Pulseaudio Server working with Windows Vista x86 (bad choice anyway) and it was too slow. The only good way to work with it was via Terminal. In the end I didn’t boot Win6 often and used arch all day. But what is Archlinux i686 on a x86_64 processor? Bullshit! So I did the reinstall.
On the Windows side btw, I decided to use Win7. Why? It is just up to date and not as fucked up as Vista. M$ made a step in the right direction here. I downloaded the build 7232 x86_64 somewhere and installed it. Oh and I haven’t booted it since then yet, because I use it just for games that don’t run with Linux (none installed yet) – and I don’t play these too often anyway.
Now to Archlinux. x86_64 here of course, with arch32 chroot. While the last one is making some trouble with wine and Alsa is not working as wanted yet (no mic), the rest of it runs pretty well. For the design I chose a less colorful one, so it is completely different compared to the Joker one (which I don’t really like anymore).
The conky configurations (click!) are inspired by Ghost1227’s Nice and Clean Theme, the wallpapers are from here (Windows) and here (Arch).
New wallpaper on my desktop…
Veröffentlicht 29. Mai 2009 English Hinterlasse einen KommentarTags: amarok, archlinux, batman, conky, dark knight, gnome, gnome-terminal, knetwalk, kolourpaint, linux, screenshot, speedcrunch
…and as usual I like to change the gtk theme and some other stuff (in this case especially conky!) to match it. So i choose green, because of joker’s hair.
| clean: |
stuffed: |
About the wallpaper itself (SPOILER!):
I like „The Dark Knight“ very much. Even if James Rolfe says it is not soo good, its still one of my favorite movies (propably because I have never heared of „Two-Face“ before and didn’t expect that guy with the coin to become him, so I was really like WTF
)











