Difference between revisions of "Free Pascal Window Manager"

From Free Pascal wiki
Jump to navigationJump to search
Line 25: Line 25:
 
===Configuring the login screen in Linux===
 
===Configuring the login screen in Linux===
  
====Adding FPWM as a option in GDM====
+
====Adding XTerm as an option in the login screen====
  
For debugging purposes one can add a file 99xterm.desktop to the folder /etc/X11/dm/Sessions
+
For debugging purposes one can add the XTerm as a Window Manager in the Linux login screen.
 +
 
 +
Then when logging in choose XTerm from the list of window managers. This will open an empty X11 with a single XTerm instance running which you can use to open a real Window Manager, fpwm for example.
 +
 
 +
The following terminal commands can be utilized to to start fpwm:
 +
 
 +
<pre>
 +
cd /path/to/fpwm
 +
./fpwm
 +
</pre>
 +
 
 +
To add XTerm in the list of choices, one should add the file 99xterm.desktop to a folder which contains one .desktop file per window manager. This file can be obtained from: http://fpwm.svn.sourceforge.net/viewvc/fpwm/resources/99XTERM.desktop?revision=107&view=markup
 +
 
 +
And should be similar to this:
  
 
<pre>
 
<pre>
Line 40: Line 53:
 
</pre>
 
</pre>
  
Then use this terminal to start fpwm like this:
+
In Mandriva Linux with GDM (Gnome login manager) the folder to place this file is: /etc/X11/dm/Sessions/
 
+
In Mandriva Linux with KDM (KDE login manager) the folder to place this file is: /usr/share/apps/kdm/sessions/
<pre>
 
cd /path/to/fpwm
 
./fpwm
 
</pre>
 
  
 
==Lap-Tupniquim project==
 
==Lap-Tupniquim project==

Revision as of 17:26, 18 November 2010

History

The Free Pascal Window Manager was started in 2006 by Andrew Haines, Daniel Franzini and Felipe Monteiro de Carvalho. The main motivation for this project was to give a greater visibility for applications written in Free Pascal, which face difficulties to find adequate deployment in Linux because the Linux distributions prefer to deploy the standard programs which are packaged by each Window Manager, such as KDE or Gnome. FPWM should come as a simple, but easy to use Window Manager which also deploys a full set of useful applications. This set of applications is developed in the Free Pascal Application Suite project. Unfortunately, due to the lack of free time, lack of enough knowledge of X11 and the general difficulties in finding information about how to write a window manager, the project soon stalled.

In the second half of 2010 the University of São Paulo through Prof. Dr. Pedro Luiz Pizzigatti Corrêa has given it's support for the project by making a team of 4 students available to help in it's development for 1 semester as part of the engineering course in the university. This counts as executing a subject with 2 credits.

Guidelines

FPWM should be simples, light-weight and easy to use. It should be usable for both tablets / touch-screen devices and for normal desktop computers with a mouse. It should provide a taskbar similar to Windows, as well as icons in the desktop. It should have larger borders and larger icons in it's tablet mode, and a more common appearance in it's desktop mode. It should provide a system tray icon area and respect the Free Desktop specifications for Window Managers.

Subversion

 svn co https://fpwm.svn.sourceforge.net/svnroot/fpwm fpwm

Tutorials

Installing Linux in a virtual machine inside Windows

Configuring the login screen in Linux

Adding XTerm as an option in the login screen

For debugging purposes one can add the XTerm as a Window Manager in the Linux login screen.

Then when logging in choose XTerm from the list of window managers. This will open an empty X11 with a single XTerm instance running which you can use to open a real Window Manager, fpwm for example.

The following terminal commands can be utilized to to start fpwm:

cd /path/to/fpwm
./fpwm

To add XTerm in the list of choices, one should add the file 99xterm.desktop to a folder which contains one .desktop file per window manager. This file can be obtained from: http://fpwm.svn.sourceforge.net/viewvc/fpwm/resources/99XTERM.desktop?revision=107&view=markup

And should be similar to this:

[Desktop Entry]
Encoding=UTF-8
Name=XTerm
Comment=XTerm
TryExec=xterm
Exec=/usr/share/X11/xdm/Xsession xterm
Icon=
Type=Application

In Mandriva Linux with GDM (Gnome login manager) the folder to place this file is: /etc/X11/dm/Sessions/ In Mandriva Linux with KDM (KDE login manager) the folder to place this file is: /usr/share/apps/kdm/sessions/

Lap-Tupniquim project

This Window Manager might be utilized in the brazilian digital school desks of it proves to be good enough for it:

External links