https://wiki.archlinux.org/api.php?action=feedcontributions&user=Spugna&feedformat=atomArchWiki - User contributions [en]2024-03-19T08:26:22ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=E17&diff=54868E172008-12-04T17:13:25Z<p>Spugna: </p>
<hr />
<div>[[Category:Desktop environments (English)]]<br />
[[Category:HOWTOs (English)]]<br />
<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|E17}}<br />
{{i18n_entry|Русский|E17 (Русский)}}<br />
{{i18n_entry|Español|E17 (Español)}}<br />
{{i18n_links_end}}<br />
<br />
E17 is the Development Release 17 (DR17) of the Enlightenment Desktop Environment.<br />
<br />
E17 is currently under heavy development, and is in the pre-alpha stages. Even though it is only young, E17 is still quite stable. Many people use it as a day-to-day Environment. <br />
<br />
New versions are available daily via SVN, but snapshots are also taken for easy installation. Below are instructions on how to install a SVN snapshot from the Arch community repositories.<br />
<br />
== Installing E17 ==<br />
<br />
* First, edit your /etc/pacman.conf file and uncomment the community repositories by removing the hash at the start of that line; you should end up with something like the following:<br />
<br />
==== Editing /etc/pacman.conf ====<br />
[community]<br />
# Add your preferred servers here, they will be used first<br />
Include = /etc/pacman.d/mirrorlist<br />
<br />
* Next, sync, update, and upgrade using the new community repository:<br />
pacman -Syu<br />
* Install e17 group:<br />
pacman -S e17-svn<br />
* Install additional e17 modules and applications:<br />
pacman -S desktop-file-utils e17-extra-svn<br />
<br />
* If you need an e17 package which is not (yet) available in the [community] repo, see if it is available in the [http://aur.archlinux.org/ AUR].<br />
<br />
* You are now ready to start e17. You can do this in a number of ways:<br />
** Add a line reading 'enlightenment_start' to your ~/.xinitrc<br />
** Start the entrance login manager (available in the e17-extra-svn group) by adding 'entranced' to the daemons array in /etc/rc.conf<br />
** Start the entrance login manager by using the line 'x:5:respawn:/usr/sbin/entranced -nodaemon >& /dev/null' in /etc/inittab<br />
<br />
Enjoy!<br />
<br />
<br />
Note : e17 is still alpha software. At some point in the future things may not work as expected anymore. Although all packages are tested before added to the [community] repo, things may stop working for you. You are therefore encouraged to keep packages for the previous version on your computer, allowing you to downgrade if needed.<br />
<br />
If you find some unexpected behavior, there is a few things you can do. First try if the same behavior exists with the default theme. Second remove ~/.e (you may want to make a backup first). If you are sure you found a bug please report it directly upstream. If you are not sure if it is a bug in the software or in the package, report it on the [community] bug tracker.<br />
<br />
== Installing Themes ==<br />
More themes to customise the look of e17 are available from [http://exchange.enlightenment.org/ exchange.enlightenment.org].<br />
Make sure you also check out [http://www.e17-stuff.org e17-stuff.org].<br />
<br />
You can install the themes (coming in .edj format) from the configuration dialog.<br />
<br />
You can also change the theme for the etk toolkit (the one which is used by exhibit). You can start the dialog to change the etk toolkit by starting /usr/bin/etk_prefs<br />
<br />
== Troubleshooting ==<br />
* If X complains about X cursors not being available, get the package 'libxcursor'.<br />
<br />
== External Links ==<br />
* [http://exchange.enlightenment.org/ Exchange.enlightenment.org, a new, integrated site that replaces the former get-e.org. get-e.org will close in August, 2008.]<br />
<br />
* [http://get-e.org Enlightenment DR17 Portal, with themes, backgrounds, modules, etc.]<br />
* [http://get-e.org/E17_User_Guide/English/ Enlightenment DR 17 Users Guide]<br />
* [http://get-e.org/EFL_User_Guide/English/ Enlightenment Foundation Libraries User Guide]<br />
* is not anymore> [http://gentoo-wiki.com/HOWTO_emerge_e17 Gentoo's e17 Howto];<br />
** Specifically, [http://gentoo-wiki.com/HOWTO_emerge_e17#Adding_Apps_to_ibar Adding Apps to iBar]<br />
* [http://archux.com/page/application-recommendations Recommended applications]<br />
* [http://archux.com/page/installing-and-setting-e17 Installing and setting up E17]</div>Spugnahttps://wiki.archlinux.org/index.php?title=Fluxbox_(Italiano)&diff=50052Fluxbox (Italiano)2008-09-25T16:03:59Z<p>Spugna: </p>
<hr />
<div>[[Category:Desktop environments (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{translateme}}<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Fluxbox}}<br />
{{i18n_entry|Italiano|Fluxbox (Italiano)}}<br />
{{i18n_links_end}}<br />
<br />
===Installare Fluxbox===<br />
Installa fluxbox dai repository. I nuovi utenti potrebbero voler installare anche menumaker e/o fluxconf.<br />
pacman -Sy fluxbox fluxconf<br />
<br />
Menumaker è stato spostato in unsupported, per installarlo avrai bisogno dell'archivio su AUR.<br />
wget http://aur.archlinux.org/packages/menumaker/menumaker.tar.gz<br />
tar xvf menumaker.tar.gz<br />
cd menumaker<br />
makepkg<br />
Installazione:<br />
pacman -U menumaker-0.99.7-2-i686.pkg.tar.gz<br />
Modificalo se ti sembra necessario.<br />
<br />
Rimuovi fluxconf e menumaker se vuoi un'installazione minima, sarà spiegato come utilizzarli ma non sono richiesti.<br />
<br />
===Avvio di Fluxbox===<br />
====Metodo 1: kdm/gdm====<br />
Entrambi aggiungeranno la voce fluxbox al menu. Selezionatela.<br />
<br />
''Note:'' Si dovrà avere un '''login manager''' attivato. Per istruzioni su come fare ciò, guarda [[Adding_a_login_manager_(KDM%2C_GDM%2C_or_XDM)_to_automatically_boot_on_startup|qui]].<br />
<br />
====Metodo 2: xinitrc====<br />
Nella tua home aggiungi questo codice alla fine del file .xinitrc<br />
exec fluxbox <br />
o se preferisci usare 'startfluxbox' inserisci:<br />
exec startfluxbox <br />
E' consigliato usare 'startfluxbox', perchè solo in questo modo il file ~/.fluxbox/startup verrà letto.<br />
Ricorda: ci può essere una solo linea exec in .xinitrc<br />
<br />
''Note'' : se si interrompe l'avvio, potresti avere problemi con locale.. Imposta LC_ALL al valore "C", ma se continua a non avviarsi. [http://bbs.archlinux.org/viewtopic.php?t=25797 1]<br />
Puoi avviare fluxbox con il comando startx.<br />
<br />
===Configurare Fluxbox===<br />
====Menu====<br />
=====Metodo veloce:=====<br />
dai il comando:<br />
fluxbox-generate_menu<br />
questo comando genera il file .fluxbox/menu/ basato sui programmi installati. C'è anche un "helper / regenerate menu" nel menu di fluxbox.<br />
<br />
======Archlinux xdg menu======<br />
Richiede [http://aur.archlinux.org/packages.php?do_Details=1&ID=10535&O=0&L=0&C=0&K=archlinux-xdg-menu&SB=n&SO=a&PP=25&do_MyPackages=0&do_Orphans=0&SeB=ndarchlinux-xdg-menu Archlinux xdg menu] <br><br />
xdg_menu --fullmenu --format fluxbox --root-menu /etc/xdg/menus/arch-applications.menu >~/.fluxbox/menu<br />
Suggerimento: sostituisci xterm/urxvt<br />
sed -i 's/xterm/urxvt/g' ~/.fluxbox/menu<br />
Altre informazioni<br />
xdg_menu --help<br />
Vedi anche: <br />
[[XdgMenu|Archlinux xdg menu]]<br />
<br />
=====Crea un menu personalizzato con fluxconf=====<br />
Per iniziare la sezione del menu di fluxconf, esegui::<br />
fluxmenu<br />
Nella finestra che apparirà, noterete tre colonne: Type, Title, e Command/Comment.<br><br />
Cliccare su una scrittura, vi permetterà di modificarla.<br><br />
Cliccare su "Add sub" aggiungerà un sottomenu.<br><br />
Cliccare su "Add exec" aggiungerà un comando da eseguire.<br><br />
<br />
la colonna type ha molte opzioni valide:<br />
#begin, indica l'inizio del file del menurequired to start the menu file. L'opzione title è il titolo del menu.<br><br />
#submenu, una "cartella" all'interno del menù. Title è il nome del suttomenù.<br><br />
#exec, un comando. Title è il testo che verrà visualizzato e Command/Comment è il comando da eseguire.<br />
#separator, un divisore all'interno del menù. Non ci sono argomenti per questa opzione.<br />
#workspaces, un elenco delle aree di lavoro e delle applicazioni in esecuzione in ciascuna di esse. Title è ciò che sarà mostrato all'utente.<br />
#stylesdir, una cartella contentente stili. Title è il percorso della cartella. E' raccomandabile mettere questo elemento in un sottomenù dedicato poiché può essere un cosa piuttosto "grande". Cartelle da utilizzare: /usr/share/fluxbox/styles ~/.fluxbox/styles .<br />
#config, un menù con diverse opzioni per modificare l'aspetto di fluxbox. Title è il nome del menù mostrato all'utente.<br />
#reconfig, ricarica il file di configurazione. Title è il nome mostrato all'utente.<br />
#restart, riavvia fluxbox. Title è il nome mostrato all'utente.<br />
#exit, termina fluxbox, si tornerà indietro al desktop manager o si terminerà X a seconda del metodo di avvio della sessione grafica che utilizziamo. Title è il nome mostrato all'utente.<br />
<br />
Ricorda di salvare prima di uscire.<br />
=====Manualmente=====<br />
Usa il comando:<br />
nano ~/.fluxbox/menu<br />
Ora puoi aggiungere le righe che vuoi secondo questo schema:<br />
[exec] (name) {command}<br />
Se vuoi creare un sottomenù scrivi:<br />
[submenu] (Name)<br />
...<br />
...<br />
[end]<br />
Una volta finito, salva ed esci. Non è necessario riavviare fluxbox.<br />
<br />
====Scorciatoie da tastiera (Hotkeys)====<br />
Fluxbox permette di configurare delle semplici scorciatoie da tastiera. Il file da editare è:<br />
~/.fluxbox/keys<br />
E' possibile configurare le scorciatoie anche attraverso una GUI lanciabile col comando:<br />
fluxkeys<br />
Il tasto Mod1 corrisponde ad Alt e Mod4 corrisponde a Meta (non è un tasto standard ma in molti casi è presente come tasto win)<br><br />
La prima casella di testo è per la scorciatoia, la seconda per l'azione. Seleziona execCommand per far corrispondere la scorciatoia al comando che scriverai nella terza casella di testo.<br />
<br />
Oltre alla funzione execCommand ce ne sono altre che possono essere utilizzate nella seconda casella di testo (comunque c'è un menù a tendina) <br />
====Aree di lavoro (workspaces)====<br />
Di default Fluxbox mette a disposizione dell'utente quattro aree di lavoro. Si visualizza l'una o l'altra con i tasti alt+F1-4 o con le freccie nella toolbar accanto a dove c'è scritto "one" (o il nome dell'area di lavoro)<br><br />
Click destro sul desktop e andando nel sottomenù Workspaces (utenti di menumaker: FluxBox>Workspaces, utenti di fluxconf: workspaces) potrai interagire con le aree di lavoro.<br />
<br />
Workspaces Menu:<br />
Icons - mostra le applicazioni minimizzate<br />
--separator--<br />
Workspaces names (default: one,two,three,four) - Mostra le applicazioni su quel desktop<br />
--separator--<br />
New Workspace - Aggiunge un'area di lavoro<br />
Edit Current workspace name - Ti permette di impostare il nome che vuoi per le tue aree di lavoro. Lo vedrai all'estremo sinistro della toolbar <br />
Remove Last - Rimuove l'ultima area di lavoro della lista, sposta tutte le applicazioni di quel desktop su quello precedente (che adesso è diventato l'ultimo)<br />
====Background====<br />
Per impostare lo sfondo è necessario che tu usi un programma dedicato che puoi installare con uno i questi pacchetti:<br />
*eterm (raccomandato)<br />
*feh (manca la trasparenza dei menù)<br />
ce ne sono anche altri, ma questi sono i due più utilizzati, per altri papabili puoi consultare la documentazione di fbsetbg nella sezione "Additional Links section"<br />
Per impostare lo sfondo:<br />
fbsetbg /path/to/background.image<br />
Al prossimo riavvio fluxbox non imposterà il tuo sfondo, ma puoi fare in modo che lo faccia aggiungendo il comando:<br />
fbsetbg -l<br />
al tuo script di avvio.<br />
(Questo ricorderà l'ultimo sfondo che hai impostato, quindi se non imposti uno sfondo col comando di prima, non avrai nessun risultato)<br />
<br />
Puoi anche aggiungere (o modificare) la seguente linea del file ~/.fluxbox/init in qualcosa del genere:<br />
session.screen0.rootCommand: fbsetbg /path/to/wallpaper<br />
<br />
O più semplicemente:<br />
session.screen0.rootCommand: fbsetbg -l<br />
<br />
<br />
Note aggiuntive per chi ama cambiare spesso sfondo.<br />
<br />
Metti questo sottomenù nel tuo menù di fluxbox:<br />
<br />
[submenu] (Backgrounds)<br />
[wallpapers] (~/.fluxbox/backgrounds)<br />
[wallpapers] (/usr/share/fluxbox/backgrounds)<br />
[end]<br />
<br />
Ora metto le tue immagini di sfondo in ~/.fluxbox/backgrounds o in una qualsiasi altra cartella che hai specificato, appariranno allo stesso modo dei tuoi stili.<br />
<br />
====Theming====<br />
Qui di seguito ci sono alcuni link a siti dove puoi trovare dei temi.<br><br />
Per installare un tema estrai l'archivio in una cartella per temi, quelle di default sono:<br />
*globale - /usr/share/fluxbox/styles <br />
*solo un utente - ~/.fluxbox/styles <br />
====Avvio automatico delle applicazioni====<br />
Chi fa uso di xinitrc dovrebbe inserire tutto il suo codice nel suo .xinitrc. Ad ogni modo, anche fluxbox offre la possibilità di avviare automaticamente le applicazioni.<br><br />
Il file ~/.fluxbox/startup è uno script per l'avvio automatico delle applicazioni contestualmente all'avvio di fluxbox.<br><br />
Il simbolo <nowiki>#</nowiki> precede un commento.<br><br />
<br />
Un file di esempio:<br />
fbsetbg -l <nowiki>#</nowiki> imosta l'ultimo sfondo utilizzato, molto utile e raccomandato.<br />
<nowiki>#</nowiki> Nei seguenti comandi il simbolo "e commerciale" (&) è richiesto per tutte quelle applicazioni <br />
<nowiki>#</nowiki> che non terminano immediatamente, se mancasse, lo script aspetterebbe il termine e non procederebbe <br />
<nowiki>#</nowiki> nell'esecuzione delle applicazioni successive, tra cui fluxbox stessa. <br />
idesk & <br />
xterm &<br />
<nowiki>#</nowiki> exec è per avviare fluxbox stessa, nonmettere (&) dopo uqesto comando o fluxbox terminerebbe appena avviata<br />
exec /usr/bin/fluxbox<br />
<nowiki>#</nowiki> o e vuoi tenere un log, decommenta il comando qui sotto e commenta questo sopra:<br />
<nowiki>#</nowiki> exec /usr/bin/fluxbox -log ~/.fluxbox/log<br />
===Link ad altre risorse===<br />
<br />
[http://fluxbox.sourceforge.net/ Fluxbox Homepage]<br><br />
[http://gentoo-wiki.com/HOWTO_Fluxbox gentoo-wiki Fluxbox HowTo]<br><br />
[http://www.gentoo.org/doc/en/fluxbox-config.xml gentoo Fluxbox Documentation]<br><br />
[http://box-look.org/ Themes for Fluxbox]<br><br />
[http://fluxbox-wiki.org/ Fluxbox Wiki]<br><br />
[http://www.xs4all.nl/~hanb/software/fbsetbg/fbsetbg.html fbsetbg documentation]<br></div>Spugnahttps://wiki.archlinux.org/index.php?title=Makepkg_(Italiano)&diff=50038Makepkg (Italiano)2008-09-25T14:48:46Z<p>Spugna: </p>
<hr />
<div>[[Category:Package management (Italiano)]]<br />
[[Category:About Arch (Italiano)]]<br />
[[Category:Development (Italiano)]]<br />
[[Category:HOWTOs (Italiano)]]<br />
{{translateme}}<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|Makepkg}}<br />
{{i18n_entry|Italiano|Makepkg (Italiano)}}<br />
{{i18n_entry|Ελληνικά|Makepkg_(Ελληνικά)}}<br />
{{i18n_entry|简体中文|Makepkg_(简体中文)}}<br />
{{i18n_links_end}}<br />
<code>makepkg</code> è usato per compilare i nostri pacchetti per poterli usare con [[Pacman]]. Usa uno script-base sviluppato su un sistema che può scaricare e verificare i sorgenti dei file, controllare le dipendenze, configurare le impostazioni, creare un pacchetto, installare il pacchetto in una radice temporanea, personalizzare i pacchetti. Come si può vedere <code>makepkg</code> ha molte caratteristiche, le caratteristiche base vengono descritte di seguito.<br />
<br />
== Setting Things Up ==<br />
<br />
=== [[ABS - The Arch Build System]] ===<br />
<br />
Assicurati dapprima di avere tutti gli strumenti necessari per avviare abs/makepkg e, quindi, compilare il software dai sorgenti:<br />
<br />
pacman -Sy base-devel<br />
<br />
Rispondi 'S' oppure premi Invio.<br />
<br />
A questo punto potresti lanciare <code>abs</code> per ottenere tutti i PKGBUILD e i file associati da cui i pacchetti originali di Arch sono stati costruiti:<br />
<br />
abs<br />
<br />
Ciò ricreerà la [http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/ CVS hierarchy] sotto /var/abs sul tuo hard disk. Per default alcuni repository sono disabilitati; prima dovrai modificare /etc/abs/abs.conf e rimuovere i punti esclamativi.<br />
<br />
Dato che /var/abs è normalmente di proprietà dell'utente root (è parte del pacchetto 'filesystem') e la maggior parte delle persone e delle guide presumono di costruire tali pacchetti in /var/abs/local, hai bisogno di permettere al tuo utente di accedervi:<br />
<br />
groupadd abs<br />
gpasswd -a $USER abs<br />
chown root:abs /var/abs/local<br />
chmod 775 /var/abs/local<br />
<br />
=== Makepkg ===<br />
<br />
Se vuoi poter installare le dipendenze con makepkg senza essere super-utente (il comando è makepkg -s, vedi sotto) devi installare sudo ed aggiungere il tuo utente al file /etc/sudoers aggiungendo questa riga:<br />
<user> <hostname>=/usr/sbin/pacman<br />
<br />
Adesso dovresti decidere dove salvare i pacchetti che hai generato, per esempio puoi salvarli in una sottocartella dedicata all'interno della tua home. Saltando questo passaggio makepkg salva i pacchetti appena crati nella cartella in cui ti trovavi quando lo hai lanciato.<br />
<br />
Per creare la cartella:<br />
<br />
mkdir /home/$USER/packages<br />
<br />
Adesso modifica la variabile PKGDEST in /etc/makepkg.conf inserendo il percorso alla cartella che hai appena creato.<br />
<br />
Visto che ci sei, potresti anche dare un'occchiata alle altre variabili presenti in makepkg.conf. Per esempio, puoi modificare PACKAGER, o togliere il ! che è davanti docs nella riga OPTIONS, nel caso in cui tu non voglia che makepkg cancelli la cartella /usr/share/doc/<package>. Per maggiori informazioni [http://www.archlinux.org/pacman/makepkg.conf.5.html makepkg.conf(5)].<br />
<br />
== Building a Package ==<br />
<br />
To build a package you either need to create one as described at [[Creare_pacchetti_in_Arch_-_linee_guida_(Italiano)]], or obtain one from [http://aur.archlinux.org AUR] or ABS (see above) or some other source. You should be careful where you obtain your packages from and only install those from people and sources you trust.<br />
<br />
Say you found an excellent package on AUR that you wanted to build and install (in this example we will use "rufus", a Python based bit torrent client). You can obtain the <code>PKGBUILD</code> and all files needed from [http://aur.archlinux.org/packages.php?do_Details=1&ID=3394 its AUR page], click on the "Tarball" link.<br />
<br />
cd /path/to/file<br />
tar -zxf rufus.tar.gz<br />
cd rufus<br />
<br />
You will notice there are a number of files located under this directory, including the <code>PKGBUILD</code> script that is used to build your package. To build this package just issue (as your normal user):<br />
<br />
makepkg<br />
<br />
which will then set up, download and attempt to build your package. If you don't have all the required dependencies installed, <code>makepkg</code> will warn you before failing. To build your package and install these dependencies, simply use the command:<br />
<br />
makepkg -s<br />
<br />
Note that these dependences will need to be in your configured repositories. Alternatively, you can manually download the packages first using <code>pacman -Sy dep1 dep2 etc</code>.<br />
<br />
Once you have satisfied all the dependencies and your package builds successfully you should now have the rufus-0.7.0-1.pkg.tar.gz file in the directory you run <code>makepkg</code> in. To install it (as the root user) issue:<br />
<br />
pacman -U rufus-0.7.0-1.pkg.tar.gz<br />
<br />
== Installing from buildscripts ==<br />
Sometimes from 3rd party repos we get *.pkgbuild file only.In that case use :-<br />
<br />
'''makepkg -p'''<br />
<br />
<br />
Congratulations! You now have successfully installed your own package!<br />
<br />
== Useful Links ==<br />
<br />
* [http://bbs.archlinux.org/viewtopic.php?t=1590 A helpful guide to makepkg/ABS]<br />
* [[The Arch package making HOW-TO - with guidelines]]<br />
* [http://aur.archlinux.org AUR]<br />
* [http://www.archlinux.org/pacman/makepkg.8.html the Makepkg man page]<br />
* [[Arch CVS & SVN PKGBUILD guidelines]]</div>Spugnahttps://wiki.archlinux.org/index.php?title=Start_X_at_boot_(Italiano)&diff=49846Start X at boot (Italiano)2008-09-22T10:34:00Z<p>Spugna: </p>
<hr />
<div>[[Category:Amministrazione del sistema (italiano)]]<br />
<br />
<br />
==== Q: Come faccio ad avviare automaticamente X al boot?====<br />
<br />
<br />
A: Puoi modificare il file <code>/etc/inittab</code>.<br><br />
La prima linea non commentata dovrebbe essere una cosa simile a questa:<br />
id:3:initdefault:<br />
<br />
Cambiala in:<br />
id:5:initdefault:<br />
<br />
[http://bbs.archlinux.org/viewtopic.php?t=863 Forum Topic]<br />
<br />
Potresti anche voler cambiare l'ultima linea del file <code>/etc/inittab</code> per [[Adding a login manager (KDM, GDM, or XDM) to automatically boot on startup | avviare kdm o gdm invece che xdm]].<br />
<br />
----<br />
Un secondo metodo per ottenere lo stesso risultato consiste nell'aggiungere un display manager (<code>kdm</code>, <code>gdm</code>, o <code>xdm</code>) nella riga DAEMONS del tuo <code>/etc/rc.conf</code><br />
----<br />
Un'ulteriore alternativa è aggiungere queste righe alla fine del tuo <code>~/.bash_profile</code> (se non esistesse un ~/.bash_profile lo puoi creare tu):<br />
<pre><br />
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then<br />
startx<br />
logout<br />
fi<br />
</pre><br />
o<br />
<pre><br />
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then<br />
xinit<br />
logout<br />
fi<br />
</pre><br />
In questo modo X verrà avviato automaticamente quando effettuerai il log in dalla prima console. Se poi terminerai X premendo ctrl+alt+backspace il tuo utente effettuerà il log out. Inoltre, quando eseguirai nuovamente l'accesso, X verrà riavviato automaticamente e, se hai seguito le istruzioni per mingetty ([[Automatically_login_some_user_to_a_virtual_console_on_startup]]), potrai avere X automaticamente ripristinato con il tuo ambiente di default pronto a ricevere comandi.<br />
<br />
==== Q: E se volessi avviare X con un utente preferito senza dover effettuare manualmente il log in? ====<br />
<br />
A: Un metodo per evitare i display managers ed effettuare il boot avviando direttamente il proprio window manager o desktop environment è il seguente.<br><br />
In <code>/etc/inittab</code> modifica:<br><br />
id:3:initdefault:<br />
<br />
[...]<br />
<br />
x:5:respawn:/usr/X11R6/bin/xdm -nodaemon<br />
<br />
perché diventi:<br />
id:5:initdefault:<br />
<br />
[...]<br />
<br />
x:5:once:/bin/su PREFERED_USER -l -c "/bin/bash --login -c startx >/dev/null 2>&1"<br />
<br />
dove PREFERED_USER è l'utente di tua scelta.<br />
<br />
Invece che <code>startx</code>, ovviamente, puoi sostituire un qualsiasi programma o script che vuoi eseguire.<br><br />
<br />
Ora puoi scegliere quale window manager avviare editando <code>~/.xinitrc</code>.<br />
----<br />
Un'altra possibilità è inserire <code>startxfce4</code> in <code>/etc/rc.local</code>, oppure inserire <code>xinit</code> in <code>/etc/rc.local</code> mettendo in <code>/.xinitrc</code> <code>icewm</code> e copiando <code>~/.icewm</code> in <code>/.icewm</code> (icwm è preso per esempio). C'è però da sottolineare che così sia X che xfce (o il WM/DE che hai scelto) saranno avviati come amministratore, cosa che generalmente non è raccomandata. Naturalmente potresti usare lo stesso procedimento di cui sopra ed avviare il tuo desktop con un <code>/bin/su</code>.<br />
----</div>Spugna