Difference between revisions of "Bluetile"

From ArchWiki
Jump to: navigation, search
(Installation)
(Running Bluetile)
Line 26: Line 26:
 
==Running Bluetile==
 
==Running Bluetile==
  
After you have installed bluetile, to try it out simply:  
+
After you have installed bluetile test it:  
  
cd ~/.cabal/bin  
+
{{Cli|$ cd ~/.cabal/bin}}
./bluetile
+
{{Cli|$ ./bluetile}}
  
 
===At Startup===
 
===At Startup===
  
If you wish to have bluetile launch automatically after login:
+
If you wish to have bluetile launch automatically after login, you must set the correct PATH evironment label and then add '''bluetile''' to your startup applications.
  
First add '''~/.cabal/bin''' to your PATH environment variable,
+
1. Edit {{Filename|~/.bashrc}} and add the following line to the end:
 
+
then add the '''bluetile''' executable to your start up applications.
+
 
+
Follow this procedure,
+
 
+
1. Add this line at the end of your ~/.bashrc file:  
+
+
 
  export PATH=~/.cabal/bin:$PATH
 
  export PATH=~/.cabal/bin:$PATH
  
2. Next launch '''gnome-session-properties''' from the command line, <br>
+
2. Next launch '''gnome-session-properties'''
or navigate to it through the GNOME Menu: '''Menu -> System -> Preferences -> Startup Applications'''
+
{{Cli|$ gnome-session-properties}}
  
3. Click '''Add''' then type '''bluetile''' in the "command" field, the "name" and "comment" fields can contain whatever you like.
+
3. You will be presented with a list of your startup applcations.
 +
Click: "Add"
 +
In the name field enter: Bluetile Window Manager
 +
In the command field enter: bluetile
 +
The comment field is optional.
  
 
Thats it, happy tiling!
 
Thats it, happy tiling!
  
==== More simple approach ====
+
===Another approach===
 
+
There is also the possibility to set the WINDOW_MANAGER variable in the file '''~/.gnomerc'''. Simply add this line.
+
  
 +
You can also edit {{Filename|~/.gnomerc}} and set the WINDOW_MANAGER variable with:
 
  export WINDOW_MANAGER=/home/user/.cabal/bin/bluetile
 
  export WINDOW_MANAGER=/home/user/.cabal/bin/bluetile
  
 
With this Gnome will automatically use Bluetile instead of Metacity.
 
With this Gnome will automatically use Bluetile instead of Metacity.
 +
{{Note| With this method there is no need to add bluetile to your gnome-session-properties.}}
  
 
==BUGS==  
 
==BUGS==  

Revision as of 10:27, 7 September 2011


Bluetile is a tiling window manager designed to integrate with the GNOME desktop environment.

About

Why choose Bluetile? Because none of the other tiling window managers were built with the thought in mind that time is the most limited resource among the majority of users. It is good if you can configure a software in every respect. It is better if you do not have to.

The Bluetile project is really just another xmonad configuration. A configuration that focuses on making the tiling paradigm easily accessible to users coming from traditional window managers.

You can create pretty much the same effect with a standard xmonad installation, but this project exists to provide an easy installation path with zero configuration and without having to read (as much) background information.

Installation

1. Install cabal and dependencies: Template:Cli

2. Update cabal: Template:Cli

3. Install bluetile: Template:Cli

(See BUGS section if you get any compile errors)

Running Bluetile

After you have installed bluetile test it:

Template:Cli Template:Cli

At Startup

If you wish to have bluetile launch automatically after login, you must set the correct PATH evironment label and then add bluetile to your startup applications.

1. Edit Template:Filename and add the following line to the end:

export PATH=~/.cabal/bin:$PATH

2. Next launch gnome-session-properties Template:Cli

3. You will be presented with a list of your startup applcations.

Click: "Add"
In the name field enter: Bluetile Window Manager
In the command field enter: bluetile
The comment field is optional.

Thats it, happy tiling!

Another approach

You can also edit Template:Filename and set the WINDOW_MANAGER variable with:

export WINDOW_MANAGER=/home/user/.cabal/bin/bluetile

With this Gnome will automatically use Bluetile instead of Metacity.

Note: With this method there is no need to add bluetile to your gnome-session-properties.

BUGS

X11-1.4.6.1

If you see an error that looks like this:

hsc2hs: Graphics/X11/Xlib/Extras.hsc: hGetContents: invalid argument (Invalid 
or incomplete multibyte or wide character) 
cabal: Error: some packages failed to install: 
X11-1.4.6.1 failed during the building phase. The exception was: 
ExitFailure 1 

Follow this procedure to fix this problem:

1. sudo pacman -S libticonv

2. cd ~/.cabal/packages/hackage.haskell.org/X11/1.4.6.1/

3. tar xzf X11-1.4.6.1.tar.gz && cd X11-1.4.6.1/Graphics/X11/Xlib

4. <Extras.hsc iconv -f ISO-8859-1 -t UTF8 >fix

5. mv fix Extras.hsc

6. cd ../../../

7. cabal install

Once that is finished try cabal install bluetile again.

Bluetile Resources

Homepage: http://bluetile.org/

Wiki: http://www.haskell.org/haskellwiki/Bluetile