1 | Xalf 0.7 (http://www.lysator.liu.se/~astrand/projects/xalf/) |
---|
2 | ---------------------------------------------------------- |
---|
3 | |
---|
4 | This a utility to provide feedback when starting X11 applications. |
---|
5 | |
---|
6 | Xalf is solving the same problem as Busycursor (also written by me), |
---|
7 | but in a more reliable and flexible way. The main differences are: |
---|
8 | |
---|
9 | 1) Xalf can reliable detect if newly mapped windows are belonging to a |
---|
10 | particular launched application. It does this by overloading the Xlib |
---|
11 | function XMapWindow with a version that signals the tracking xalf |
---|
12 | process. |
---|
13 | |
---|
14 | 2) Xalf provides (currently) four different types as "indicators", |
---|
15 | described below. |
---|
16 | |
---|
17 | Invisible Window: |
---|
18 | Xalf creates an invisible window, to be used in conjunction with a |
---|
19 | standard task pager like Gnomes tasklist_applet or the KDE |
---|
20 | Taskbar. The name of the window is the application name within |
---|
21 | parenthesis. The small window icon (KWM_WIN_ICON) is set to a small |
---|
22 | hourglass. This indicator is default. |
---|
23 | |
---|
24 | Splash screen: |
---|
25 | An generic splashscreen is displayed during application launch. |
---|
26 | |
---|
27 | Mouse cursor change: |
---|
28 | Xalf adds an hourglass symbol to the mousecursor for the root window |
---|
29 | and the Gnome panel. Note that the cursor is not changed for the Gnome |
---|
30 | foot-menu windows. |
---|
31 | |
---|
32 | Animated star: |
---|
33 | An animated indicator resembling the look of that on SGI/Irix |
---|
34 | machines (a kind of yellow star blinking while loading a program). |
---|
35 | |
---|
36 | |
---|
37 | INSTALL |
---|
38 | ------- |
---|
39 | See the file INSTALL. |
---|
40 | |
---|
41 | |
---|
42 | GNOME INTEGRATION |
---|
43 | ----------------- |
---|
44 | Gnome-libs 1.2.0 has built-in support for Xalf. It can be activated by |
---|
45 | setting the environment variable GNOME_USE_XALF before starting GNOME |
---|
46 | (eg. add: export GNOME_USE_XALF=1 to .bash_profile or other appropiate |
---|
47 | dotfile). This means that all applications will be started via Xalf. |
---|
48 | Note: The built-in hooks has some drawbacks: Xalf is always given the |
---|
49 | arguments --mappingmode and --invisiblewindow. |
---|
50 | |
---|
51 | I recommend using an updated version of Gnome-libs, which can be |
---|
52 | downloaded on the Xalf homepage. You should use version |
---|
53 | gnome-libs-1.2.1-0_helix_1xalf2.i386.rpm or newer. Starting with this |
---|
54 | version, GNOME_USE_XALF and GNOME_XALF_OPTIONS is obsolete and doesn't |
---|
55 | work anymore. Instead, Xalf behavior is controlled by the file |
---|
56 | /.gnome/xalf. Use control center to control it (see below). With this |
---|
57 | modified version, you can prepend NO_XALF to desktop entries |
---|
58 | commandlines to disable Xalf for a specific application. This is |
---|
59 | especially useful for launching applications that doesn't start new |
---|
60 | processes but only creates new windows. Gmc works like this, so I |
---|
61 | recommend change "Exec=gmc" in /usr/share/gnome/apps/Gmc.desktop to |
---|
62 | "Exec=NO_XALF gmc". |
---|
63 | |
---|
64 | |
---|
65 | GNOME CONTROL CENTER CAPPLET |
---|
66 | ---------------------------- |
---|
67 | From version 0.4, an GNOME Control Center capplet is included. It |
---|
68 | requires an updated version of gnome-libs |
---|
69 | (gnome-libs-1.2.1-0_helix_1xalf2.i386.rpm or newer). |
---|
70 | |
---|
71 | |
---|
72 | KDE INTEGRATION |
---|
73 | --------------- |
---|
74 | KDE has borrowed some Xalf techniques, and integrated them into |
---|
75 | KDE2. I don't know the current status of this work, though. |
---|
76 | |
---|
77 | |
---|
78 | USAGE |
---|
79 | ----- |
---|
80 | If you are not using GNOME with built-in hooks, prepend xalf to your |
---|
81 | commandlines. For example, create an desktop icon running: |
---|
82 | xalf netscape |
---|
83 | |
---|
84 | |
---|
85 | COMMANDLINE OPTIONS |
---|
86 | ------------------- |
---|
87 | -h, --help display this help and exit |
---|
88 | -v, --version output version information and exit |
---|
89 | -t, --timeout nseconds use a time-out period of nseconds seconds |
---|
90 | -n, --noxalf do nothing, besides launch application |
---|
91 | -m, --mappingmode compatibility mode: Do not distinguish between |
---|
92 | windows. All new mapped windows turns off indicator |
---|
93 | -i, --invisiblewindow use an invisible window as indicator (default) |
---|
94 | (for use with Gnome panel, KDE taskbar etc) |
---|
95 | -s, --splash use splashscreen as indicator |
---|
96 | -c, --cursor add hourglass to mouse cursor |
---|
97 | -a, --anim use animated star as indicator |
---|
98 | -l, --title titlestring Title to show in the tasklist |
---|
99 | |
---|
100 | Comments and bug-reports are appreciated. |
---|
101 | |
---|
102 | /Peter Åstrand <astrand@lysator.liu.se> |
---|
103 | |
---|
104 | |
---|
105 | |
---|