Friday, December 9, 2011

factor listener change font size

I am using 0.94 (http://builds.factorcode.org/release?os=linux&cpu=x86.64 )

To change listener's font size:
(  scratchpad  ) USING: pango.cairo
(  scratchpad  ) 120 dpi set-global
(  scratchpad  ) save
(  scratchpad  )

Juniper VPN on Archlinux 64 bit.

mainly, follow this:
http://www.rz.uni-karlsruhe.de/~iwr91/juniper/

~/.juniper_networks/network_connect/config/foo.conf
host=vpn.your.host.com
user=your.user.name
realm=view source on the vpn welcome page and search for realm
cafile=/etc/ssl/certs/ca.pem
certfile=

Then, you can do
$ sudo vim /etc/pacman.conf
And, uncomment
[multilib]
Include = /etc/pacman.d/mirrorlist

$ sudo pacman -Sy lib32-glibc lib32-zlib lib32-nss lib32-gcc-libs net-tools
$ jnc --nox foo
$ sudo vim /etc/resolve.conf
And change nameserver order.
 
 
 
 

Thursday, December 1, 2011

archbang testing

I bought a laptop because desktop's harddisk broke.

It turned out I had a working harddisk. Archbang is installed on the desktop.
The desktop PC is a6114x .

The default font, Deja Vu Mono did not display underscore character. Seems like that font isn't good. pacman -S ttf-inconsolata
$ grep font ~/.Xdefaults
URxvt*font:                    xft:Inconsolata-16
$ grep font ~/.gvimrc
set guifont=Inconsolata\ Medium\ 16


I have usb interface (old maudio fast track). .asoundrc
pcm.dmixed {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:1,0"
    }
}
pcm.!default {
    type plug
    slave.pcm "dmixed"
}
ctl.!default {
    type hw
    card 1
}

where card 1 is Track [Fast Track], device 0: USB Audio [USB Audio]

Also, to set audio card ordering:
/etc/modprobe.d/alsa.conf:
options snd slots=snd-hda-intel,snd-usb-audio
# http://alsa.opensrc.org/MultipleCards#The_newer_.22slots.3D.22_method

My graphics card that is part of motherboard is
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
$ cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia" #Choose the driver used for this monitor
EndSection

Section "Screen"
    Identifier    "Screen0"  #Collapse Monitor and Device section to Screen section
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  24 #Choose the depth (16||24)
    SubSection "Display"
        Depth     24
        Modes     "1280x1024_75.00" "1024x768_75.00" #Choose the resolution
    EndSubSection
EndSection


I like to swap ctrl and caps lock.
$ grep ctrl ~/.config/openbox/autostart
setxkbmap -option ctrl:swapcaps



I like W-w to show all applications, W-q to shutdown.
~/.config/openbox/rc.xml
   
       
         


client-list-combined-menu
       
   
   
     
        oblogout
     

   



I tried to set up juniper vpn but failed. Went all the way to installing 32bit java.. But not worth it.

I need to install VirtualBox.