
With a name like that she's got to be cool.
So there’s been a lot of hubub going around about this 69 year old DJ who’s playing in some of Paris’ most prestigious clubs and I figured I’d put my 2 cents in:
I’m jealous.
To tell the truth, that’s about it. I have this perpetual fear of getting old and this lady shows us that at 69 years old she can have a great time and stay young. Check her out in this youtube video: http://www.youtube.com/watch?v=OC6q1-l4snw&feature=popt00us02
As a slackware addict and a picky computer user, I hate installing things that aren’t packaged. Luckily for me, there are slackbuilds which make packaging and installing applications for slackware much easier. The problem with this is you have to download all the needed files, run the script with the right permissions and install it, which although easy isn’t as easy as possible. Another break of luck came to me when I discovered sbopkg, a slackbuilds browser and installer. It allows you to download and install slackbuilds with a few key strokes. It’s incredibly useful so check it out at: http://www.sbopkg.org
So I used to use kde and that handled my background for me so I just select it and it would be there, but since I’m using dwm I have to set it manually. If you’re using dwm or some other minimal window manager that doesn’t set the background for you, this may help you out.
XV is included on most linux systems as an image viewer and can set your background like so:
1
| xv -max -root ~/.wallpaper.jpg -quit |
The following command has these parts:
- -max this tells it to be maximized to the whole screen.
- -root this tells it to be placed on the root x window.
- ~/.wallpaper.jpg this is the wallpaper image. I like to use a hidden file in my home directory.
- -quit this quits the application, if you dont, when you start your window manager an obnoxious xv dialog will be there
To use imagemagick you would use the “display” application, but you would have to supply it with the window size.
1
| display -size 2560x1024 -window root ~/.wallpaper.jpg |
- -size is the size you have to specify for the root window. There is no max option in imagemagick.
- -window root specifies that you want the image placed on the root window.
- And once again ~/.wallpaper.jpg is the path to your wallpaper image.
Personally I think using xv is better because it has that handy “-max” option, but it’s all up to you.
I wrote this small script for my laptop, but I figure someone might have a use for it so here it is:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| #!/bin/bash
design=`cat /proc/acpi/battery/BAT0/info | grep "design capacity:" | tr -d "[:alpha:]" | tr -d "[:blank:]" | tr -d :`
current=`cat /proc/acpi/battery/BAT0/state | grep "remaining capacity:" | tr -d "[:alpha:]" | tr -d "[:blank:]" | tr -d :`
rate=`cat /proc/acpi/battery/BAT0/state | grep "present rate:" | tr -d "[:alpha:]" | tr -d "[:blank:]" | tr -d :`
state=`cat /proc/acpi/battery/BAT0/state | grep "charging state:" | tr -s "[:blank:]"`
if [ "${state:16}" != "charged" ]
then
remaining=`echo "scale=2; $current/$rate" | bc -l`
fi
remainingPercent=`echo "scale=2; $current*100/$design " | bc -l`
#echo "Design: $design"
#echo "Current: $current"
#echo "Rate: $rate"
#echo "State: ${state:16}"
#echo "Remaining: $remaining"
if [ "${state:16}" == "charged" ] || [ "${state:16}" == "charging" ]
then
echo "${state:16}, $remainingPercent%"
else
echo "discharging, $remainingPercent%, $remaining hours left"
fi |
If you use dwm like I do, then you can use the following script to set the title to your battery capacity:
1
2
3
4
5
6
| while true
do
battery=`/usr/local/bin/battscript`
xsetroot -name "$battery"
sleep 1m
done & |
Just change the path to the script. Have fun.
Well, in case you didn’t know, google released a new “product” so to speak today called “Google Buzz” which is their attempt at social networking. It wouldn’t surprise me if it comes out ahead of Facebook in the near future for many reasons.
Let me divulge into the details:
- First and foremost, it’s google. Terrible reason but it’s very obvious that almost everything they do is a hit.
- Second, it integrates with what you already have (with exception to Facebook, I’m not sure about that), so there’s no point in not using it.
- Also, your google account that you probably already have (with gmail or some other google service) already makes it easy for you to use it.
Maybe saying that it will beat Facebook is pretty ambitious, but because of how easy it seems to use and how it’s basically integrated with gmail and everything, I get that idea. What do you think?