Archive for the ‘Window Managers’ Category.

Intro to Xmonad

xmonad64.png

Like your large monitor but tire of getting everything to just fit on the screen? I got tired of it a while back and switched to wmii, but now I have been trying out xmonad, another tiling window manager.

A tiling window manager arranges your windows in a grid. This maximizes window sizes and prevents any window from obscuring another.   In other words, unless you have transparency going on, or switch to a viewing area with no windows open; you won’t see your desktop.   Here’s a screenshot courtesy of  pbrisbin.

Click for Larger

Click for Larger

Continue reading ‘Intro to Xmonad’ »

Fix Openbox login from GDM in OpenSuse

suse.png

Do you use GDM to log into Openbox on your OpenSuse box?  In 11.1 I noticed a little hiccup.

In /usr/share/xsessions the openbox.desktop file resides and the option is there in GDM, and when you login, openbox comes right up.  But nothing in your ~/.config/openbox/autostart.sh file gets kicked off.
the application ‘openbox’ does not run autostart.sh, only ‘openbox-session’ does.  So as root vim /usr/share/xsessions/openbox.desktop

and changes these lines:

Exec=openbox
TryExec=openbox

to

Exec=openbox-session
TryExec=openbox-session

Write-quit the file, log out and back in.  Openbox should kickoff autostart.sh now.

Add useful information to the statusbar in wmii

wmii.png

Want your wmii statusbar to give a bit more information than the defaults? Not all that different than how you pull info into Gnu Screen’s statusbar with scripts/backticks, and pretty simple.  See below:.

Continue reading ‘Add useful information to the statusbar in wmii’ »

Scan for and connect to networks from an openbox pipe menu

wireless.jpg

Source

So the other day when i was using wifi-select (awesome tool) to connect to a friends hot-spot, i realized “hey! this would be great as an openbox pipe menu.”  i’m fairly decent in bash and i knew both netcfg and wifi-select were in bash so why not rewrite it that way?

Continue reading ‘Scan for and connect to networks from an openbox pipe menu’ »

Confirm to shut down, reboot or log out in Openbox

openbox.png

I am clumsy and at times inattentive. Especially after a hard day’s work, I sometimes perform actions on my computer without giving them much thought. I close an application, whereas I only wanted to close the current page; I accidentally save older versions of files and overwrite my latest version in the process; or I reboot my computer when I wanted to log out or shut down. Sometimes my mouse slips and accidentally clicks “shut down” in the Openbox menu, allowing me to see all my unsaved OpenOffice documents disappear before me. I’m sure I’m not the only one who has such moments (or at least I hope so ).

Continue reading ‘Confirm to shut down, reboot or log out in Openbox’ »

Openbox & GTK Theme: Darkness-Surreal

openbox.png

The following is a theme I’ve made/modified by combining DarknessReturns-Clearklooks (both the GTK and Openbox theme that comes with Crunchbang) with Clearlooks Compact GTK and Surreal openbox themes.

The GTK theme borrows elements from Clearlooks Compact to make the DarknessReturns much smaller, though, not quite as small as Clearlooks Compact.

The OpenBox theme is mostly Surreal, but I stole the menu from DarknessReturns’ Openbox theme.
Obligatory Screenshot:

darkness-surreal

Click for Larger

Download here: http://tuxtraining.com/files/darkness-surreal.tar.gz

Icon Theme is ALLBLACK.
and tar -xzvf darkness-surreal.tar.gz  in your ~/.themes folder and chose the theme with you gtk theme changer and obconf.

Using dmenu in Pekwm and Openbox

openbox.png

During my recent stint trying out wmii, I’ve grown very quickly accustomed to dmenu. After only using it for a few hours, I fell in love with it: it is so convenient to launch an application when you don’t have your hands on the mouse; launch dmenu, just type a few letters from the application name, make sure you have the right app selected, press enter and your app shows up.

So I began to wonder whether it is possible to run dmenu or something similar in Openbox and Pekwm, and it is.

First, you’ll need to install dmenu. You can download the source code from the dwm/wmii website and install that (’sudo make clean install’ in Ubuntu).

Continue reading ‘Using dmenu in Pekwm and Openbox’ »

Set wallpaper with Feh in Openbox menu

openbox.png

Create a entry in Openbox menu with:

feh --rcfile /home/me/.fehrcwall "/home/Me/MyWallpaper"

And create a file with name

.fehrcwall

and put in your Home.

This file is a copy of .fehrc with simple change. Just put this:

# Set the default feh options to be recursive and verbose
feh -qrNA "feh --bg-scale "%f"" --title "Wallpaper" -g 320x240

Now, when you click in openbox menu, an image will appear in small window. You can navigate with your mouse scroll wheel or left/right arrows.  To se the wallpaper  just press Enter.

How to set your wallpaper in wmii with feh

wmii.png

This took me a little bit, so i write it down.

In ~/.wmii-3.5/wmiirc, replace the following line:

xsetroot -solid ‘#0b1014′
with a command to set the background image, such as

eval `cat $HOME/.fehbg` &
(requires feh)

Now i don’t have to bother anymore with the configfile,

feh –bg-center ~/path/to/image sets the backgroundimage

and after a reboot the last shown picture is set.

Intro to AwesomeWM

Awesomewm50.png

awesome is a highly configurable, next generation framework window manager for X. It is very fast, extensible and licensed under the GNU GPLv2 license.

It is primarly targeted at power users, developers and any people dealing with every day computing tasks and who want to have fine-grained control on its graphical environment.

awesome

Continue reading ‘Intro to AwesomeWM’ »

Pages: 1 2 3 Next