>
> Prende l'elenco degli ambienti da /etc/X11/window-manager.
> E' un file o una directory?
[root@bihost X11]# ls -l
totale 172
lrwxrwxrwx 1 root root 27 dic 20 19:28 X ->
../../usr/X11R6/bin/XFree86*
-rw-r--r-- 1 root root 16731 dic 23 16:09 XF86Config
-rw-r--r-- 1 root root 5583 dic 23 16:09 XF86Config-4
-rw-r--r-- 1 root root 5605 dic 20 19:28 XF86Config-4.old
-rw-r--r-- 1 root root 16744 dic 20 19:28 XF86Config.old
-rwxr-xr-x 1 root root 1899 ott 6 08:05 Xresources*
-rwxr-xr-x 1 root root 3744 gen 4 23:36 Xsession*
drwxr-xr-x 2 root root 4096 dic 17 21:55 app-defaults/
drwxr-xr-x 6 root root 4096 dic 26 16:33 applnk/
-rw-r--r-- 1 root root 1631 set 6 15:23 bad_encodings.dir
-rw-r--r-- 1 root root 3836 set 6 15:23 encodings.dir
drwxr-xr-x 3 root root 4096 dic 24 19:35 enlightenment/
drwxr-xr-x 3 root root 4096 dic 17 19:03 es/
drwxr-xr-x 2 xfs xfs 4096 dic 17 18:12 fs/
drwxr-xr-x 4 root root 4096 dic 27 23:23 gdm/
-rw-r--r-- 1 root root 9645 set 30 18:39 glx.conf
drwxr-xr-x 2 root root 4096 ott 3 19:03 icewm/
-rw-r--r-- 1 root root 3832 ott 3 09:55 imwheelrc
drwxr-xr-x 2 root root 4096 dic 17 18:38 lbxproxy/
-rwxr-xr-x 1 root root 1125 ott 6 15:40 prefdm*
drwxr-xr-x 2 root root 4096 dic 17 18:38 proxymngr/
drwxr-xr-x 4 root root 4096 dic 17 18:39 rstart/
drwxr-xr-x 2 root root 4096 gen 5 00:23 sawfish/
drwxr-xr-x 2 root root 4096 gen 5 00:23 twm/
drwxr-xr-x 3 root root 4096 dic 17 19:03 wa/
drwxr-xr-x 2 root root 4096 gen 3 22:59 wmconfig/
drwxr-xr-x 2 root root 4096 dic 24 20:28 wmsession.d/
drwxr-xr-x 2 root root 4096 gen 3 19:49 xdm/
drwxr-xr-x 2 root root 4096 dic 17 18:38 xinit/
drwxr-xr-x 2 root root 4096 dic 27 23:23 xinit.d/
drwxr-xr-x 2 root root 4096 dic 17 18:39 xserver/
drwxr-xr-x 2 root root 4096 dic 17 18:38 xsm/
Ne file ne directory :-(((
Qui non c'� di sicuro !!
> Vedi che cosa e` e cerca di aggiungere qui staroffice.
> Sembrerebbe che basti richiamare "/usr/sbin/chksession -x=staroffice"
> per creare lo script necessario e poi con "-k" e "-g" per aggiornare
> le liste per kdm e gdm.
>
>
> Come vedi basta dare un'occhiata con pazienza (e un minimo di pratica)
> agli script.
> L'unica conoscenza che ho sfruttato e che forse non hai e` che in
> if [ -x /usr/sbin/chksession ];then
> "-x nomefile" significa "esiste il file"
> Quindi il tutto significa: se esiste /usr/sbin/chksession allora esegui
> quello che segue.
> Il resto e` abbastanza intuibile........Pu� darsi ma non dirmi che � un
lavoro semplicissimo per uno come me che � un newbie.
>
> ciao, e grazie Federico