BMX Bicycle freestyle
BMX Bicycle freestyle

Sunday, May 31, 2009

end program from terminal without loosing data

to end process softly run:

(ps ax | grep -v grep | grep transmission)
if [ "$?" -eq 0 ];
then
b=$(xwininfo -name Transmission | grep Window\ id:\ | awk '{print $4}')
xvkbd -xsendevent -window $b -text "\Cq"
fi


explanation and what to replace:

(ps ax | grep -v grep | grep transmission)
if [ "$?" -eq 0 ];

then
b=$(xwininfo -name Transmission | grep Window\ id:\ | awk '{print $4}') xvkbd -xsendevent -window $b -text "\Cq"
fi




legend:
will check if process is running (othwerwise virtual keyboard will hang)
will get programs window id and send keystroke \Cq = Ctrl + q stands for quit
Transmission to get window name do: 1. xwininfo in console 2. click on window 3.read window name in console (if ti names uses spaces use \ before each space )
transmission this can be found when running ps ax in terminal

special note: install xvkbd about 6Mb space lovely app

Thursday, May 28, 2009

hide windows by moving to another desktop (like hideit program)

hide windows we do not use and do no want to see (i.e peer2peer and other background programs)

1.
sudo apt-get install wmctrl

<100kb in size


wmctrl -l
list your windows
wmctrl -d
list your desktops
wmctrl -r <WIN> -t <DESK>  
Move the window to the specified desktop.

2.
let's start:
wmctrl -n 2
set numer of desktops to 2



wmctrl -r LinuxDC++ -t 1
wmctrl -r Transmission -t 1
wmctrl -r Nicotine+ 1.2.9 -t 1


to unhide windows:
wmctrl -r LinuxDC++ -t 0
wmctrl -r Transmission -t 0
wmctrl -r Nicotine+ 1.2.9 -t 0


Monday, May 25, 2009

solved: split mp3 to smaller files

1 instal small program mp3splt

sudo apt-get install mp3splt



2 than

mp3splt Snow_Crash_Part_2.mp3 -t 100.00 -f

to split your file to 100 minutes intervals
this way uset to split long audiobook for more frendly usage on mp3player

Saturday, May 23, 2009

laptop make noise when watching movie on electricity

to prevent static noise appearing (after putting laptop on power supply) in your speakers do:
-put all volumes on laptop to the maximum and than regulate volume on your amplifier (some volume controls do and some don't have effect on static noise)

-at the end of your notebook electricity cord cover ground with tape

movie watching tips:
if persons watching at angle see distorted colours move laptop further away
use dimmed light to prevent accidents i.e people drinking and eating when watching movie
if you can't or don't want to watch at full volume consider using subtitles (even for hearing impaired -good to learn new languages)
consider starting movie at exact time i.e 9:00 pm like cinemas do, don not change volume during movie etc.
for more of TV style movie don't do anything above.lol



Saturday, May 16, 2009

Msn Letters and Symbols usable ιη Nicknames

letters:
ασηχу
symbols:
●☆๏ εїз

::: (\(\
*: (=' :') :*
•.. (,('')('')¤°

☆¸.•*¨*`•.☆$คlย2¸.•*¨*`•.¸☆

ιмєѕѕєηgя.¢σм - ρσωєя υρ уσυя ιм єχρєяιєη¢є
เ๓єรรєภﻮг.ς๏๓ - ק๏ฬєг ยק א๏ยг เ๓ єץקєгเєภςє
ImEsSeNgR.CoM - PoWeR Up yOuR Im eXpErIeNcE
íméśśéńgŕ - pőwéŕ úp ýőúŕ ím éxpéŕíéńćé
ïmëssënġr - pöwër üp ÿöür ïm ëxpërïënċë
!m3553n9r.(0m - p0w3r up y0ur !m 3xp3r!3n(3

cσρчяιgђτ ©кєν мιтηι¢к

special letters and symbols are also to prevent bots from reading text (use Wind0ws instead Windows)


also cool:
.:: nickname text-decoration ::..

~messenger Icons

Plz sh4re y0uRs in c00mєntZ

Sunday, May 10, 2009