Difference between revisions of "AfterStep on Ubuntu (12.04/12.10/13.04)"

From AfterWiki
Jump to navigationJump to search
Line 4: Line 4:
  
 
  <code>sudo apt-get install gcc autoconf libtool libfreetype6-dev xorg-dev x11-utils</code>
 
  <code>sudo apt-get install gcc autoconf libtool libfreetype6-dev xorg-dev x11-utils</code>
 
Now we need to get gnome-session right. Strictly speaking AfterStep does not absolutely require gnome-session
 
but it is a nice-to-have addition, since it provides facilities, such as user log-in/out desktop notifications and
 
it also starts some background daemons used by most GNOME apps. Now Ubuntu comes with heavily modified gnome-session,
 
and some of those modifications are quite dubious and impair functionality.
 
Therefore it is recommended to build gnome-session by hand and replace Ubuntu package with it.
 
 
* Step 1) Install build dependencies:
 
<code>sudo apt-get build-dep gnome-session</code>
 
 
* Step 2) download and extract gnome-session sources from ftp.gnome.org.
 
Ubuntu 12.10 came with Gnome 3.6, so gnome-session 3.6.2 is what we need:
 
 
<code> wget http://ftp.gnome.org/pub/GNOME/core/3.6/3.6.2/sources/gnome-session-3.6.2.tar.xz</code>
 
<code> tar xpvf gnome-session-3.6.2.tar.xz</code>
 
  
 
==== Compilation ====
 
==== Compilation ====
Line 27: Line 12:
 
  <code>sudo make install</code>
 
  <code>sudo make install</code>
 
At this point you should have AfterStep installed in /usr/local/bin (binaries) and /usr/local/share/afterstep (data files).
 
At this point you should have AfterStep installed in /usr/local/bin (binaries) and /usr/local/share/afterstep (data files).
Now we need to setup the system to make good use of it.
+
 
 +
==== Setup ====
 +
Really, once you run above installation steps all you have to do is logout, select AfterStep session from the list of available sessions and log back in.
 +
AfterStep should just work.
 +
 
 +
==== Hints ====
 +
If you want your GNOME panel back, just go to menu/Desktop/Config Files/Autoexec,
 +
add Exec "I" gnome-panel to InitFunction, save and restart session.
 +
 
 +
If you find that GNOME apps have weird appearance and ignore current theme - you need to add gnome-settings-daemon to your autoexec as well,
 +
although it should be started automatically. Same goes for gnome-screensaver.
 +
 
 +
To get AfterStep as your KDE window manager - add
 +
<code>export KDEWM=afterstep</code
 +
to your profile.
  
 
=== System Configuration ===
 
=== System Configuration ===

Revision as of 08:07, 14 May 2013

Compilation

Prerequisites

Packages required for compilation:

sudo apt-get install gcc autoconf libtool libfreetype6-dev xorg-dev x11-utils

Compilation

The actual compilation step should be quite painless:

cd afterstep-stable
./configure
make
sudo make install

At this point you should have AfterStep installed in /usr/local/bin (binaries) and /usr/local/share/afterstep (data files).

Setup

Really, once you run above installation steps all you have to do is logout, select AfterStep session from the list of available sessions and log back in. AfterStep should just work.

Hints

If you want your GNOME panel back, just go to menu/Desktop/Config Files/Autoexec, add Exec "I" gnome-panel to InitFunction, save and restart session.

If you find that GNOME apps have weird appearance and ignore current theme - you need to add gnome-settings-daemon to your autoexec as well, although it should be started automatically. Same goes for gnome-screensaver.

To get AfterStep as your KDE window manager - add export KDEWM=afterstep</code to your profile.

System Configuration

MS Core Fonts, so that you can use Helvetica, Courier, Times, etc. fonts (Optional):

sudo apt-get install ttf-mscorefonts-installer