Install and configure xmonad in OpenSUSE 11.4
Posted on May 4th, 2011
1. Install haskell
zypper ar http://download.opensuse.org/repositories/devel:/languages:/haskell/openSUSE_Factory/devel:languages:haskell.repo
2. Install Haskell compiler, rxvt, terminus font for rxvt.
zypper in ghc terminus-font rxvt-unicode
3. Install cabal-install.
wget http://hackage.haskell.org/packages/archive/cabal-install/0.10.2/cabal-install-0.10.2.tar.gz tar zxf tar zxfv cabal-install-0.10.2.tar.gz cd cabal-install-0.10.2 sh bootstrap.sh echo "export PATH=$PATH:~/.cabal/bin" >> ~/.profile . ~/.profile
4. Install xmonad
cabal update cabal install xmonad cabal install xmonad-contrib --flags="-use_xft" cabal install xmobar
5. Configure xmonad
create xmonad configuration directory
mkdir ~/.xmonad
copy xmonad.hs and xmobarc into .xmonad directory
and
xmonad --recompile
6. Install .Xdefaults, .xinitrc
7. install trayer from rpm
rpm -i trayer-1.0-5mdv2010.0.src.rpm vi /usr/src/packages/SPECS/trayer.spec (correct spec release) zypper in gtk2-devel rpmbuild --nodeps -bb /usr/src/packages/SPECS/trayer.spec rpm -Uvh /usr/src/packages/RPMS/i586/trayer-1.0-5.i586.rpm
8. Enable use of xdm by editing /etc/sysconfig/displaymanager and setting DISPLAYMANAGER=”xdm”
9. Restart Xorg. Enjoy
Filed under openSUSE, xmonad | 1 Comment »
How to make use of http proxy
Posted on January 12th, 2011
zypper
export http_proxy=http://proxy:8080 export ZYPP_ARIA2C=0 zypper refresh
git
export http_proxy=http://10.60.2.243:8118 linux-ruga:/opt/toolchains/arm920t-eabi # git config --get http.proxy linux-ruga:/opt/toolchains/arm920t-eabi # git config --global http.proxy $http_proxy linux-ruga:/opt/toolchains/arm920t-eabi # git config --get http.proxy http://10.60.2.243:8118 linux-ruga:/opt # git clone http://github.com/radekp/qtmoko.git
Filed under openSUSE | No Comments »
How to install openchrome drivers under OpenSUSE 11.3
Posted on July 20th, 2010
This is necessary to make graphics work properly with HP mini-note 2133 netbook.
svn co http://svn.openchrome.org/svn/trunk openchrome cd openchrome sh autogen.sh --with-xorg-module-dir=/usr/lib/xorg/modules --prefix=/usr make && make install
after installing the driver, create /etc/X11/xorg.conf
Section "Device" Identifier "hp2133" Driver "openchrome" EndSection Section "Screen" Identifier "hp2133" Device "hp2133" EndSection Section "ServerLayout" Identifier "Layout" Screen "hp2133" EndSection
Then, just restart X.
Tags: hp2133, openchrome, openSUSE
Filed under HowTo, openSUSE | 7 Comments »
How to disable automatic mount of usb devices in GNOME desktop
Posted on July 19th, 2010
$ gconftool-2 --type bool --set /apps/nautilus/preferences/media_automount false
Tags: gnome
Filed under HowTo, openSUSE | No Comments »