Wednesday, December 28, 2011

always keep tint 2 visible

when maximizing applications.
# AUTOHIDE OPTIONS #
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 2
strut_policy = follow_size

Also interesting and related:
How to set windows up in OB:
https://urukrama.wordpress.com/2011/10/30/manual-tiling-in-openbox/

Wednesday, December 14, 2011

Putting your monitor in portrait mode

I have a wonderful HP LP2475W monitor with a pivoting standard:
http://ii.alatest.com/product/full/5/8/HP-LP2275-LP2475-0.jpg

I wondered if it was easy to use the portrait mode under Linux.

When using proprietary nvidia drivers it is no problem at all:
1. Add the following line to the Device-section for the graphics-card (in /etc/X11/xorg.conf):

Option "RandRRotation" "on"


2. Use these two commands:
xrandr -o 1 Rotate to portrait
xrandr -o 0 Rotate to landscape


3. Add this to rc.xml keybindings to use Openbox keybindings Super + Left (W+ Left) for Portrait and Super + Right back to Landscape Mode

xterm -e "xrandr -o 0"   Screen in Portait Mode
xterm -e "xrandr -o 1" Screen in Landscape Mode

Thanks to this article: http://symlink.dk/linux/config/pivot/

Sunday, December 11, 2011

Getting gtk 3.0 themes to work in Openbox

One small glitch I discovered was the lack of GTK3 themes with a corresponding GTK2 alternative and a gtk-engine needed to coherently display the UI for several GNOME applications from the default install such GNOME Character Map, Disk Utility, Transmission. So the latter appear un-themed and rather ugly in comparison to the other GTK applications in the default selection.

I have fixed this cosmetic deficiency by installing gtk-engine-unico (that is needed by most of the GTK3 themes anyway) and a theme that has both a GTK2 and 3 variant. The GTK2 variant can be selected through lxappearance, but in order to make use of the corresponding GTK3 theme, its gtk-3.0 folder should be copied into ~/.config. Please note that lxappearance creates a ~/gtk-3.0 folder that might be a bug in lxappearance 0.5.1 dealing with GTK3 and needs further investigation. I have found that this directory is not utilized in any way and may be safely deleted to keep ~/ clean

source: http://bbs.archbang.org/viewtopic.php?pid=6895#p6895

see also: https://bbs.archlinux.org/viewtopic.php?id=119251

Friday, December 9, 2011

set keyboard to us in openbox

$sudo setxkbmap -layout "us"

setting it alternately from us to british with alt+shift:

setxkbmap -layout "us,gb" -option "grp:alt_shift_toggle"

Thursday, December 1, 2011

FocusWriter


When I read in oms blog on FocusWriter I was immediately interested in having a nice quiet workspace for typing. It is in AUR.

When spellchecking it uses the hunspell spell checker. You will have to install the dictionaries you need to be sure, it is active.

So # pacman -S hunspell-eng hunspell-nl

in my case.

Blog Archive

About Me

Exclusion of liability Regarding StillStupid: The use you make of the guides, tips and downloads that you listed on this web site or on another website to which I refer is entirely at your own risk. In no way can I be held liable for damage or consequential damages of any kind, which occurs as a result of that use.