Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw

Sunday, March 15, 2009

HOWTO: Run Dialog Box in Fluxbox (Debian)

Here I have quickfix for this ;) First make sure you have a program called fbrun installed. Check by typing "exec fbrun" in a shell. If it's not there, find the app and install it (learn to use apt-get).

Next edit your ~/.fluxbox/keys file, and add the following line which will bind the Run dialogue to Alt+R:
Mod1 r :Exec fbrun -font Sans-16 -w 500 -h 50 -pos 250 350

save and exit, then rightclick on your desktop, select Reconfigure, and you are done :)

Tip: When the dialogue pops up, notice that you can use the up/down-arrows to browse your command history.

If it doesn't work, post a comment, if it works, please post a thank you :)

Wednesday, March 11, 2009

Setting up NTP client in Linux (Debian)

This is fast and easily done..

Get root privileges:
Then install ntp
apt-get install ntp
Then edit the config file
nano /etc/ntp.conf
Add the following:
driftfile /etc/ntp/drift
broadcastdelay 0.008
authenticate no

Replace the red text with a server from your area or you can use the NTP Pool Project servers which you can find here and can read more about here. The one above is for Norway.
Now restart the ntp client;
/etc/init.d/ntp stop
/etc/init.d/ntp start
And you are done :)

Monday, March 9, 2009

How to add calendar in conky (Linux)

Simply edit your .conkyrc file and add the following line:
${font DejaVu Sans Mono :size=8}${exec cal -m | cut -c23-44 --complement}

Some explanation:
The Font - Yep, you have to use that font, otherwise it wont come out right.
"cal -m" - If you want Sunday to be the first day of the week simply remove the -m.

If you are having any problems, please post in the comment field (no registration required and I will try to help you out).


UPDATE (Debian Users):
Unfortunately "cal" doesn't support weeks starting with monday anymore. The fix:
apt-get install gcal
New line for conkyrc;
${font DejaVu Sans Mono :size=8}${exec gcal --starting-day=monday | cut -c23-44 --complement}

Tuesday, March 3, 2009

Alternatives to Spotify

After crawling the web for some time I found you some replacements and alternatives for Spotify. None of them could really handle with the functionality and ease of Spotify, and I'm not quite sure about how legal these streamers are, even though many of them seem to stream the tracks off from i.e. youtube.

For my own well being I think I will stick to spotify.

But here are the 4 alternatives to spotify: