Difference between revisions of "Bluetile"

From ArchWiki
Jump to: navigation, search
(Running Bluetile)
(5 intermediate revisions by 2 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 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.
+
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. Install cabal and dependencies:
+
1. [[pacman|Install]] the following packages from the [[Official Repositories|official repositories]]:
{{Cli|# pacman -S ghc cabal-install gtk2hs-buildtools xmonad-contrib}}
+
:* {{pkg|ghc}}
 +
:* {{pkg|cabal-install}}
 +
:* {{pkg|gtk2hs-buildtools}}
 +
:* {{pkg|xmonad-contrib}}
  
 
2. Update cabal:
 
2. Update cabal:
{{Cli|# cabal update}}
+
# cabal update
  
 
3. Install bluetile:
 
3. Install bluetile:
{{Cli|# cabal install bluetile}}
+
# cabal install bluetile
  
(See BUGS section if you get any compile errors)
+
{{Note|See BUGS section if you get any compile errors.}}
  
 
==Running Bluetile==
 
==Running Bluetile==
  
After you have installed bluetile test it:  
+
After you have installed bluetile, test it:  
 +
$ ~/.cabal/bin/bluetile
  
{{Cli|$ cd ~/.cabal/bin}}
+
===At start-up===
{{Cli|$ ./bluetile}}
+
  
===At Startup===
+
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.
  
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 {{ic|~/.bashrc}} and add the following line to the end:
 
+
1. Edit {{Filename|~/.bashrc}} and add the following line to the end:
+
 
  export PATH=~/.cabal/bin:$PATH
 
  export PATH=~/.cabal/bin:$PATH
  
2. Next launch '''gnome-session-properties'''
+
2. Next launch {{ic|gnome-session-properties}}:
{{Cli|$ gnome-session-properties}}
+
$ gnome-session-properties
  
3. You will be presented with a list of your startup applcations.
+
3. You will be presented with a list of your start-up applcations.
 
  Click: "Add"
 
  Click: "Add"
 
  In the name field enter: Bluetile Window Manager
 
  In the name field enter: Bluetile Window Manager
Line 51: Line 52:
 
===Another approach===
 
===Another approach===
  
You can also edit {{Filename|~/.gnomerc}} and set the WINDOW_MANAGER variable with:
+
You can also edit {{ic|~/.gnomerc}} and set the {{ic|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.}}
+
{{Note|With this method there is no need to add bluetile to your {{ic|gnome-session-properties}}.}}
  
 
==BUGS==  
 
==BUGS==  
Line 70: 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://bluetile.org/
+
'''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