Show last logins after logging in

Display current open connections, all of today and yesterday’s entries Did a Sunday project today: Print last logins after you connect to your remote machine. https://github.com/LC43/bash-last-logins Can also be used locally. Sorts the last logins, listing their connection times and duration. Also warns you of active connections. The default Message of the Day is hardly…… Continue reading Show last logins after logging in

how to open Visual paradigm projects directly from KDE

oddly enough my installation of Visual Paradigm set its type to application/zip. When i try to open it, it uses the same applications that other .zip files use. Sure i could right-click + open with + Visual paradigm , but …. So instead we’re going to create a new file type for that .vpp extension.…… Continue reading how to open Visual paradigm projects directly from KDE

Patch portage to be more quiet

Gentoo linux is alive and well and just released a new Gentoo Linux Live.  It features Linux Kernel 2.6.37 (with Gentoo patches). It comes will all desktop environments. Especially if you are looking for KDE 4.6 SC here’s the best way to start. It also includes OpenOffice.org (3.2.1), GIMP (2.6.11), Inkscape (0.48.1), Blender (2.49b), and…… Continue reading Patch portage to be more quiet

How to format a usb pen or mp3 player the right way

In a short line: # mkfs.vfat -vc -F 32 -n “zen stone” -S 2048 /dev/yourdevice The explanation: -v Verbose execution. -c Check the device for bad blocks before creating the file system. -F FAT-size Specifies the type of file allocation tables used (12, 16 or 32 bit). If nothing is specified, mkdosfs will automatically select…… Continue reading How to format a usb pen or mp3 player the right way

how to fix firefox hanging every few seconds

Every x seconds, my firefox (built from sources) hangs for a few seconds (but the other applications keep running smothly). Seems that my firefox (i didn’t tried using the binary) isn’t very keen on multithreading. By default it has: $ taskset -c -p firefoxpid pid 29964’s current affinity list: 0,1 To find firefox’s pid do:…… Continue reading how to fix firefox hanging every few seconds

Use custom font on konqueror

There’s this really beautiful font i just love! Its Linux Libertine and has more than thousands of characters! Since i’m studying japanese i’ve been visiting alot the wikipedia’s hiragana page ! and with their default font, for some particular characters, i was seeing alot of squares! So after a while i figured out that it…… Continue reading Use custom font on konqueror