Difference between revisions of "Bluetile"

From ArchWiki
Jump to: navigation, search
(fix package name)
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Tiling WMs (English)]]
+
[[Category:Tiling WMs]]
  
Bluetile is a tiling window manager designed to integrate with the GNOME desktop environment.
+
Bluetile is a tiling window manager designed to integrate with the [[GNOME]] [[Desktop Environment|desktop environment]].
  
 
== About ==
 
== About ==
  
Why choose Bluetile? Because none of the other tiling window managers where built with the thought in mind, that time is the most limited resource among the majority of users. It's good if you can configure a software in every respect. It's better if you don't have to.
+
Why choose Bluetile? Because none of the other tiling [[Window Manager|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.  
+
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.
 
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.
Line 13: Line 13:
 
==Installation==
 
==Installation==
  
1. sudo pacman -S ghc cabal-install gtk2hs-buildtools xmonad-contrib
+
1. [[pacman|Install]] the following packages from the [[Official Repositories|official repositories]]:
 +
:* {{pkg|ghc}}
 +
:* {{pkg|cabal-install}}
 +
:* {{pkg|gtk2hs-buildtools}}
 +
:* {{pkg|xmonad-contrib}}
  
2. cabal update
+
2. Update cabal:
 +
# cabal update
  
3. cabal install bluetile (See BUGS section if you get any compile errors)
+
3. Install bluetile:
 +
# cabal install bluetile
 +
 
 +
{{Note|See BUGS section if you get any compile errors.}}
  
 
==Running Bluetile==
 
==Running Bluetile==
  
After you have installed bluetile, to try it out simply:  
+
After you have installed bluetile, test it:  
 +
$ ~/.cabal/bin/bluetile
  
cd ~/.cabal/bin
+
===At start-up===
./bluetile
+
  
If you wish to have bluetile launch automomatically after login:
+
If you wish to have bluetile launch automatically after logging in, you must set the correct PATH evironment label and then add ''bluetile'' to your start-up applications.
  
First add '''~/.cabal/bin''' to your PATH environment variable,
+
1. Edit {{ic|~/.bashrc}} and add the following line to the end:
 +
export PATH=~/.cabal/bin:$PATH
  
then add the '''bluetile''' executable to your start up applications.
+
2. Next launch {{ic|gnome-session-properties}}:
 +
$ gnome-session-properties
  
Follow this procedure,
+
3. You will be presented with a list of your start-up applcations.
 +
Click: "Add"
 +
In the name field enter: Bluetile Window Manager
 +
In the command field enter: bluetile
 +
The comment field is optional.
  
1. Add this line at the end of your ~/.bashrc file:
+
Thats it, happy tiling!
+
export PATH=~/.cabal/bin:$PATH
+
  
2. Next launch the program named '''gnome-session-properties''' from the command line, <br>
+
===Another approach===
or navigate to it through the GNOME Menu: '''Menu -> System -> Prefrences -> Startup Applications'''
+
  
3. Click '''Add''' then type '''bluetile''' in the "command" field, the "name" and "comment" fields can contain whatever you like.
+
You can also edit {{ic|~/.gnomerc}} and set the {{ic|WINDOW_MANAGER}} variable with:
 +
export WINDOW_MANAGER=/home/user/.cabal/bin/bluetile
  
Thats it, happy tiling!
+
With this, [[GNOME]] will automatically use Bluetile instead of Metacity.
 +
{{Note|With this method there is no need to add bluetile to your {{ic|gnome-session-properties}}.}}
  
 
==BUGS==  
 
==BUGS==  
Line 58: Line 71:
 
   
 
   
 
Follow this procedure to fix this problem:
 
Follow this procedure to fix this problem:
 +
{{bc|
 +
# pacman -S libticonv
 +
$ cd ~/.cabal/packages/hackage.haskell.org/X11/1.4.6.1/
 +
$ tar xzf X11-1.4.6.1.tar.gz && cd X11-1.4.6.1/Graphics/X11/Xlib
 +
$ <Extras.hsc iconv -f ISO-8859-1 -t UTF8 >fix
 +
$ mv fix Extras.hsc
 +
$ cd ../../../
 +
# cabal install
 +
}}
  
1. sudo pacman -S libticonv
+
Once that is finished:
 
+
# cabal install bluetile
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==
 
==Bluetile Resources==
  
'''Homepage:''' http://projects.haskell.org/bluetile/
+
'''Home page:''' http://bluetile.org/
  
 
'''Wiki:''' http://www.haskell.org/haskellwiki/Bluetile
 
'''Wiki:''' http://www.haskell.org/haskellwiki/Bluetile

Revision as of 14:39, 23 April 2012


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 the following packages from the official repositories:

2. Update cabal:

# cabal update

3. Install bluetile:

# cabal install bluetile
Note: See BUGS section if you get any compile errors.

Running Bluetile

After you have installed bluetile, test it:

$ ~/.cabal/bin/bluetile

At start-up

If you wish to have bluetile launch automatically after logging in, you must set the correct PATH evironment label and then add bluetile to your start-up applications.

1. Edit ~/.bashrc and add the following line to the end:

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

2. Next launch gnome-session-properties:

$ gnome-session-properties

3. You will be presented with a list of your start-up 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 ~/.gnomerc 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:

# pacman -S libticonv
$ cd ~/.cabal/packages/hackage.haskell.org/X11/1.4.6.1/
$ tar xzf X11-1.4.6.1.tar.gz && cd X11-1.4.6.1/Graphics/X11/Xlib
$ <Extras.hsc iconv -f ISO-8859-1 -t UTF8 >fix
$ mv fix Extras.hsc
$ cd ../../../
# cabal install

Once that is finished:

# cabal install bluetile

Bluetile Resources

Home page: http://bluetile.org/

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