Showing posts with label X11. Show all posts
Showing posts with label X11. Show all posts

Tuesday, September 10, 2013

install m:tier thin client


0) Download the thin client python code:
http://www.mtier.org/products/thin-client/

1) install from pkg_add: gtk+3 , python3.

2) install from src: pycairo, pygobject .
PYTHON=python3.2 ./configure
Makefile err may need to be corrected manually.

3) modify /etc/X11/xinit/xinitrc for startx automatically.

p.s. *.pc files for pkg-config  need to be linked to /usr/lib/pkg-config .


Friday, April 12, 2013

icewm workstation with chinese input

1) pkg_add icewm firefox scim-chewing gnome-terminal
2) edit ~/.xsession for normal user:
export LC_CTYPE=en_US.UTF-8
export XMODIFIERS=@im=scim
export GTK_IM_MODULE="scim"
scim -d&
exec dbus-launch icewm-session
3) login from xdm with normal user, then all done!
4) if using startx, then edit ~/.xinitrc instead.

Thursday, April 11, 2013

load icewm Desktop via xdm

1) install icewm via pkg_add.
# pkg_add icewm

2) edit /etc/rc.conf.local for xdm at startup
xdm_flags=""

3) edit /etc/X11/xdm/Xsession, and replace the fvwm line to icewm.
/usr/local/bin/icewm

REFERENCE:
http://openbsdsupport.org/desktopOBSD.html

Wednesday, April 10, 2013

install xfce desktop with extra fonts using xdm login

1) setup package path.
# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/5.2/packages/amd64/

2) install xfce, firefox.
# pkg_add xfce firefox-i18n-en-US

3) copy extra fonts for X11.
# mkdir -p /usr/local/lib/X11/fonts/myfonts
# cp *ttc /usr/local/lib/X11/fonts/myfonts

4) edit non-root xsession for xfce startup.
$ vi .xsession
exec startxfce4

5) login xdm as non-root user. then you can browse non-English websites with Firefox on Xfce!

REFERENCE:
http://www.oesf.org/forum/index.php?showtopic=18833
http://www.openbsd.org/faq/truetype.html