Posts

Showing posts with the label Desktop

[Note] Useful shortcuts for Awesome window manager

mod + shift + tag-number: move window to specified tag number. mod + ctrl + shift + tag-number: duplicate window to specified tag number. mod + shift + ,: move window to left/previous tag number. mod + shift + .: move window to right/next tag number.

Take screenshot with ImageMagick (CLI)

Take full screen screenshot with 3 seconds delay # import -pause 3 -window root screenshot.jpg Take selected area screenshot # import screenshot.jpg

[Note] rxvt-unicode settings in .Xdefaults

URxvt.buffered: true URxvt.geometry: 80x24 URxvt.background: black URxvt.foreground: lightgray URxvt.font: xft:Terminus:pixelsize=10 URxvt.inputMethon: scim URxvt.imLocale: zh_TW.UTF-8 URxvt.perl-ext: default, matcher URxvt.urlLauncher: /usr/local/bin/firefox URxvt.matcher.button: 1 URxvt.cursorUnderline: True URxvt.cursorBlink: True

Install Pidgin 2.6.4 from source on OpenBSD 4.6

At first, following content is just my experience to install a newer version from source, it may not works as well as you guys used on LINUX. Do following steps: You have to install following packages before you start to compile pidgin! gmake gstreamer gnutls libnss python cyrus-sasl2 tcl/tk farsight Well, a GTK based desktop environment is needed! (I use XFCE4, Gnome is the best!) Download the source from Pidgin's official site Extract the source Run configure with parameters # ./configure --disable-vv --disable-meanwhile --disable-nm --with-gnutls-includes=/usr/local/include --with-gnutls-libs=/usr/local/lib --with-tclconfig=/usr/local/lib/tcl8.5 --with-tkconfig=/usr/local/lib/tk8.4 Compile # gmake Install as root # sudo gmake install If all the procedures are work properly, you can just start pidgin and enjoy it on OpenBSD 4.6 now! :)

My desktop setting on OpenBSD

.xsession for xdm #export LC_ALL=zh_TW.UTF-8 export LC_ALL=C export LANG=zh_TW.UTF-8 export XMODIFIERS="@im=SCIM" export GTK_IM_MODULE=scim export QT_IM_MODULE=scim scim -d /usr/local/bin/fbpanel & /usr/local/bin/wmmon & /usr/local/bin/wmapm & /usr/local/bin/openbox-session