Archive for July 11th, 2007

W: GPG error…:((

gak tau kenapa tiap kali update mirror selalu aja keluar warning kayak gini..

Reading package lists... Done
W: GPG error: http://kambing.ui.edu etch Release: The
following signatures couldn't be verified because the public key is not
available: NO_PUBKEY D5642BC86823D007
W: You may want to run apt-get update to correct these problems

padahal debian-archieve-keyringnya sudah aku install :( (
selidik punya selidik dapet juga jawabannya :

1. pastikan shell kamu bisa connect internet…bagi yg ada di belakang proxy, pake aja :
#export http_proxy=http://username:password@proxy.server:port

2. eksekusi perintah berikut pada shell kamu :
#gpg --keyserver subkeys.pgp.net --recv-keys D5642BC86823D007
#gpg --export --armor
D5642BC86823D007
| apt-key add -

thx to : erasmo

Powered by ScribeFire.

warna mp3blaster…

oh tidak…..seharian ngurusi warna…aja….:))
tapi g papa lah…..hehe…
pusing liat directory mp3blaster yg warna biru….sedangkan background kita warna item….
gak jelas….gak kelihatan..
makanya diubah aja…caranya :

1. copy sample mp3blasterrc ke ~
#cp /usr/share/doc/mp3blaster/sample.mp3blasterrc.gz /home/kamu/

2. ubah permissionnya:
#chown kamu:kamu sample.mp3blasterrc.gz

3. decompress
$gzip -d sample.mp3blasterrc

4. rename jadi .mp3blasterrc
$ mv sample.mp3blasterrc .mp3blasterrc

5. edit dg editor favoritmu….cari baris berikut
#Set a bunch of colours. Try and find out what they do; most should be obvious.
#Currently, colour support is mostly broken and very inconsistent..
#Colours: black, red, green, yellow, blue, magenta, cyan, white
#Color.Default.fg = white
#Color.Default.bg = black

uncomment dan gantilah Color.Default.bg dg warna yang tersedia, misal :

#Set a bunch of colours. Try and find out what they do; most should be obvious.
#Currently, colour support is mostly broken and very inconsistent..
#Colours: black, red, green, yellow, blue, magenta, cyan, white
Color.Default.fg = white

Color.Default.bg = blue

sebenernya hampir semua option mp3blaster ada disitu….tapi klo km udah sreg dg settingan defaultnya….biarin aja…sesuai defaultnya..:)

Powered by ScribeFire.

manual berwarna….!!!

lagi-lagi soal warna…gpp ya..:))
pengen gak manualmu berwarna….???? klo ya… tambahkan baris berikut di ~/.bashrc mu :

export LESS_TERMCAP_mb=$’\E[01;31m’
export LESS_TERMCAP_md=$’\E[01;31m’
export LESS_TERMCAP_me=$’\E[0m’
export LESS_TERMCAP_se=$’\E[0m’
export LESS_TERMCAP_so=$’\E[01;44;33m’
export LESS_TERMCAP_ue=$’\E[0m’
export LESS_TERMCAP_us=$’\E[01;32m’

walopun hanya kata2 kunci aja yg berwarna….setidaknya membuat lebih nyaman buat baca manualnya linux yang kadang puanjang bgt….:D

thx to nico golde

Powered by ScribeFire.

mewarnai bash :)

klo bash km masih blum berwarna….cari baris berikut di file ~/.bashrc :

# Comment in the above and uncomment this below for a color prompt
#PS1=’${debian_chroot:+($debian_chroot)}\[33[01;32m\]\u@\h\[33[00m\]:\[33[01;34m\]\w\[33[00m\]\$’

uncomment pada baris ke2, sehingga menjadi :

# Comment in the above and uncomment this below for a color prompt
PS1=’${debian_chroot:+($debian_chroot)}\[33[01;32m\]\u@\h\[33[00m\]:\[33[01;34m\]\w\[33[00m\]\$’

kamu akan mendapatkan warna hijau pada username & hostname serta warna biru pada current directory, seperti :

username@hostname:~/folderku$

hal itu karena property username, hostname dan tanda ‘@’ mendapat nilai hijau, lihat syntax \[33[01;32m\]\u@\h pada baris ke2 diatas.

Continue reading ‘mewarnai bash :)’


i’m being hibernate

see you next time...

 

July 2007
M T W T F S S
« Jun   Aug »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Archives