Topic: Choice of applications

I was wondering if it was possible, feasible or even smart but I think it may be useful to be able to choose what apps to install and which ones not to at installation time.

Example:
Note pad 'would you like to install gedit or leafpad'
etc.

I noticed in another post cornominal said he used to use epiphany as the default browser (which is light) but replaced it by firefox (which can get bloated) by popular demand. Why not have a choice? And #! Has alot of apps but i know say in my case i dont need them all and yeah to make a long post shorter I think it would be cool to have a choice of extra apps at install time.

Last edited by Evolution (2009-07-03 19:05:26)

------------
Im Just Sayin!
check my Deviant Art page http://faceless79.deviantart.com/

Re: Choice of applications

I think this would bloat the install too much (not size, but length of the process).

Now something that could be very nice, would be a script the user could run after a #! lite install, which contains the ability to add all of the programs found in the 'full' version, and perhaps alternatives like you said. This would enable the user to have as light of an installation as they wanted, and allow users to sit somewhere between lite and full.

It could be community-based too, in that we could have a thread were people could suggest application to have in the script.

In this case, I think it is a good idea because for someone who likes the full installation, except a handful of program choices, this could be a quick and alternative way to install those programs without worrying about missing things to remove or dependencies.

Last edited by FiniteStateMachine (2009-07-03 19:46:23)

just call me...
~FSM~

Re: Choice of applications

#! lite + sudo apt-get install/remove  helps to make same changes in the default #! app selection.
cool

Re: Choice of applications

i'd like to see more terminal apps. i love 'em.

<test>qwertz</test>

Re: Choice of applications

klanger wrote:

#! lite + sudo apt-get install/remove  helps to make same changes in the default #! app selection.
cool

Sure, but then the user would have to potentially add a very big number of programs. And for that matter, they'd have to know all of the programs they want (which could be an issue if we're looking at how friendly #! is to newbies).

just call me...
~FSM~

Re: Choice of applications

blackbinary wrote:
klanger wrote:

#! lite + sudo apt-get install/remove  helps to make same changes in the default #! app selection.
cool

Sure, but then the user would have to potentially add a very big number of programs. And for that matter, they'd have to know all of the programs they want (which could be an issue if we're looking at how friendly #! is to newbies).

Exactly and speaking from a noob perspective it would be nice if the program simply said 'here are the choices' and lets you know how light each one is so the choice is easy and painless

------------
Im Just Sayin!
check my Deviant Art page http://faceless79.deviantart.com/

Re: Choice of applications

One potential problem is what applications to include. There may be choices A, B, and C and then someone complains why not also include X.

Also not everyone wants to answer 20 questions or whatever.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Choice of applications

Learnig, it i is all about learnig...

It is that hard to google something about app for linux?

Before typing in terminal - sudo apt-get install or remove xxxx - you just have to type in google:

eg. movie player linux or  playing movies in terminal (console) linux

... linux or ubuntu (for #!).

For a newbie it's not a big difference if you have mc or pcmanfm installed or thunar... why ? Because a newbie doesn't know these app anyway big_smile

At some point we all were newbies, so it is not a big deal to ask what apps is better or to seek an answer in google.

blackbinary wrote:

Sure, but then the user would have to potentially add a very big number of programs. And for that matter, they'd have to know all of the programs they want (which could be an issue if we're looking at how friendly #! is to newbies).

to be honest, with #! standard but even with #! lite I usually more often use sudo apt-get remove to remove "very big number of programs" smile and install only few, most needed and wanted.

Evolution wrote:

And this is one reasom im using #! And gnu/linux in the frst place, the gentle nudges to 'get under the hood' and start configuring. You learn more by just doing it.

I know it is not from this topic, but your words fit perfectly here big_smile wink

Last edited by klanger (2009-07-04 06:14:23)

Re: Choice of applications

i obviously meant to say reason lol but yeah it is great to play around with everything but not everyone knows what they want, and anyhow this is all just a "what if" and "is it even possible" type scenario.  Im glad it sparked a mini convo tho smile

------------
Im Just Sayin!
check my Deviant Art page http://faceless79.deviantart.com/

Re: Choice of applications

cool wink

Re: Choice of applications

anonymous wrote:

One potential problem is what applications to include. There may be choices A, B, and C and then someone complains why not also include X.

Also not everyone wants to answer 20 questions or whatever.

Yea, thats why I like the script idea. Then it would be optional, and could be community maintained. Plus, if someone did want to add a particular program to the script, they could do it themselves.

Anyways, I'm thinking about making a script like this just for myself anyways, because I've been neglecting my laptop, and there are a lot of programs i need to install / fix.... I might even just use remastersys. We'll see.

just call me...
~FSM~

Re: Choice of applications

For people who install install lots of apps, I would just create a script like:

#!/bin/sh
sudo apt-get install app1 app2 app3 etc

I personally just keep it in a text file and then copy and paste when needed.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Choice of applications

The main problem with this idea is the openbox menu. It really wouldn't be possible for the menu to dynamically generate itself based on the users selection. The crunchbang menu is a static affair based on the default package list.

Added to this is the nature of the crunchbang-desktop meta package which is basically a package with deps for the default set of packages. How you give options during the install in this scenario I have no idea. I'd imagine it's not possible.

Re: Choice of applications

Too bad we dont have a linux equivilant (sic) to nLight. With that you can inject programs into the installation disk to be installed either right then or thru a post install script

------------
Im Just Sayin!
check my Deviant Art page http://faceless79.deviantart.com/

Re: Choice of applications

Well if you use remastersys, you can create an Ubuntu disc with the apps you want preloaded.

And for a script you could try the example I posted earlier.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Choice of applications

Hello friends!
Personally I use a script for installing the things I need just after a fresh install of an ubuntu CLI 64 bits RAID 0.
With it I can automatize some tasks long to do manually, ...because I make o lot of errors when writing in a terminal lol.
This script run from a CD. It include my: sources.list, some .deb, my preferred mouse cursor theme,  the list of packages to install, the keys needed for some repositories, the installation of the Nvidia driver, etc...
The instructions are the same as those I use "by hands" with terminator. Another advantage of such a script is that it can follow the future version of ubuntu. I only have to make the modifications needed.

A+ Francis.

Last edited by astrocisco (2009-07-04 21:43:32)

Re: Choice of applications

Hey thanks everyone for some nifty suggestions and comments. As I said before this was more of a 'what if' type thing. I think im done with this post smile

------------
Im Just Sayin!
check my Deviant Art page http://faceless79.deviantart.com/

Re: Choice of applications

astrocisco wrote:

Hello friends!
Personally I use a script for installing the things I need just after a fresh install of an ubuntu CLI 64 bits RAID 0.
With it I can automatize some tasks long to do manually, ...because I make o lot of errors when writing in a terminal lol.
This script run from a CD. It include my: sources.list, some .deb, my preferred mouse cursor theme,  the list of packages to install, the keys needed for some repositories, the installation of the Nvidia driver, etc...
The instructions are the same as those I use "by hands" with terminator. Another advantage of such a script is that it can follow the future version of ubuntu. I only have to make the modifications needed.

A+ Francis.

This sounds awesome. Could you post a quick guide perhaps for people who may want to do it themselves? Of course even just posting your script would be helpful smile.

just call me...
~FSM~

Re: Choice of applications

blackbinary wrote:

This sounds awesome. Could you post a quick guide perhaps for people who may want to do it themselves? Of course even just posting your script would be helpful smile.

You could have a look at the CrunchBang 9.0.4.01 installer script. It gives you a fair idea of how to put one together.

If it helps here is a copy of one that I put together for a mod of Crunchang 9.04 that I developed sometime ago. It is based on the Crunchbang 9.04.01 installer script.

It is no longer maintained (please don't use it as is) but gives you some idea of how to automate adding repositories, installing specific packages and automating mass apt-get installs.

#!/bin/sh
# A small bash script for installing Gahm Linux 1
# Run as root (sudo ./gahm-linux1-installer.sh)
#------------------------------------------------------------
clear
echo "
Welcome to the Gahm Linux installer."
echo ""
echo "This shell script has been designed to run from a minimal"
echo "\"CLI\" installation of Ubuntu. The script will attempt to configure"
echo "the required repositories and install the necessary packages"
echo "needed to transform a minimal Ubuntu install into Gahm Linux."
echo ""
echo -n "Run installer now? (Y|n) > "
read a
if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
[ "$a" = "" ]; then
    #Set-up Medibuntu repository
    #---------------------------
    clear
    echo "Configuring Medibuntu repository..."
    echo ""
    #echo "NOTE: You will be prompted to install the Medibuntu APT key package."
    #echo "      Answer \"y\" when prompted."
    #echo ""
    #echo -n "Press enter to continue..."
    #read anykey
    #echo ""
    sleep 2s
    wget http://www.medibuntu.org/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/medibuntu.list
    apt-get update && apt-get install -y --force-yes medibuntu-keyring && apt-get update
    echo ""
    echo "Medibuntu repository set-up complete..."
    echo ""
    sleep 2s
    #Perform Upgrade
    #---------------
    clear
    echo "Upgrading existing packages before install..."
    echo ""
    sleep 2s
    apt-get dist-upgrade -y --force-yes
    echo ""
    echo "All packages upgraded..."
    echo ""
    sleep 2s
    #Install desktop packages
    #------------------------------------
    clear
    echo "Installing desktop packages..."
    echo ""
    sleep 2s
    apt-get install -y xorg openbox obconf obmenu dmz-cursor-theme hicolor-icon-theme lxpanel trayer firefox gmrun thunar thunar-archive-plugin gpicview xdg-user-dirs jockey-gtk linux-headers-generic lxappearance acpi-support alsa-base wireless-tools ndiswrapper-common ndiswrapper-utils-1.9 wpasupplicant xcompmgr synaptic lxrandr lxsession-lite grandr ubufox vlc vlc-nox libdvdcss2 gworldclock file-roller gnome-media system-config-printer-gnome evince cups-pdf ssl-cert gnome-screensaver terminator gtk2-engines-murrine gnome-system-tools acpi-support acpid apmd alsa-utils bc ca-certificates dbus gdm hal hotkey-setup libpam-ck-connector libsasl2-modules pcmciautils policykit-gnome readahead screen gnome-power-manager laptop-detect make unrar msttcorefonts libmp3lame0 notification-daemon seahorse sshfs ssh-askpass-gnome lha sharutils lzop rpm genisoimage tango-icon-theme tango-icon-theme-extras conky nitrogen gdebi gparted gnome-network-admin gnome-utils scrot cowsay figlet htop dwm-tools transset fbxkb bluez-gnome bluetooth gnome-bluetooth parcellite zenity wodim jfsutils xfsprogs gedit gedit-plugins gpodder gftp transmission-gtk skype xchat pidgin gwibber gnome-nettool gimp inkscape gpicview gcolor2 gnome-specimen xsane abiword gcalctool evince rhythmbox audacity gtk-recordmydesktop cheese sound-juicer soundconverter winff xchm xfburn brasero osmo catfish pyroom gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly f-spot dvd95 pdfedit wicd w32codecs syslinux libstdc++5 libusplash0 libntfs10 libdiscover2 gtk2-engines-pixbuf ubiquity mtools libdebian-installer4 discover user-setup tango-icon-theme-common libecryptfs0 rdate bluez-utils localechooser-data os-prober ntfsprogs ecryptfs-utils libdebconfclient0 discover-data libjpeg-progs discover1 keyutils binutils hpijs-ppds cups-driver-gutenprint
    echo ""
    echo "All packages installed..."
    echo ""
    sleep 2s
    #Set-up defaults
    #---------------
    clear
    echo "Setting default applications..."
    echo ""
    sleep 1s
    update-alternatives --set editor /usr/bin/vim.tiny >/dev/null
    if [ -f /usr/bin/firefox-3.0 ]; then
        update-alternatives --set x-www-browser /usr/bin/firefox-3.0 >/dev/null
    fi
    echo ""
    echo "Default applications configured..."
    echo ""
    sleep 1s
    #Set MOTD
    #--------
    if [ -f /etc/motd.tail ]; then
        cp -f /etc/motd.tail /etc/motd.tail~pregahm
    fi
    echo "" > /etc/motd.tail
    echo "" >> /etc/motd.tail
    echo "The programs included with Gahm Linux are free software;" >> /etc/motd.tail
    echo "the exact distribution terms for each program are described in the" >> /etc/motd.tail
    echo "individual files in /usr/share/doc/*/copyright." >> /etc/motd.tail
    echo "" >> /etc/motd.tail
    echo "Gahm Linux comes with ABSOLUTELY NO WARRANTY," >> /etc/motd.tail
    echo "to the extent permitted by applicable law." >> /etc/motd.tail
    echo "" >> /etc/motd.tail
    echo "More information about Gahm Linux can be found at:" >> /etc/motd.tail
    echo "http://omnsproject.org/" >> /etc/motd.tail
    echo "" >> /etc/motd.tail
    #Apply CUPS fix
    #--------------
    clear
    echo "Applying CUPS fix..."
    echo ""
    sleep 1s
    cd /etc/ssl/certs/
    make-ssl-cert generate-default-snakeoil
    cd ~
    /etc/init.d/cups restart
    echo ""
    echo "CUPS fix complete..."
    sleep 1s
    #Clean up downloaded packages
    #----------------------------
    clear
    echo "Clean up. A number of packages were downloaded during"
    echo "the set-up routine. These packages are no longer needed,"
    echo "please choose whether or not you would like to remove them."
    echo ""
    echo -n "Remove dowloaded packages? (Y|n) > "
    read a
    if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
    [ "$a" = "" ]; then
        echo ""
        echo "Performing \"apt-get clean\"..."
        sleep 1s
        apt-get clean
    else
        echo ""
        echo "Skipping package cleanup..."
        sleep 1s
    fi
    #Reduce number of tty's
    #----------------------
    clear
    echo "Would you like to reduce the number of active tty's"
    echo "from 6 to 2? If you are unsure, enter \"n\""
    echo ""
    echo -n "Reduce number of tty's? (Y|n) > "
    read a
    if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
    [ "$a" = "" ]; then
        echo ""
        echo "Removing tty's 3-6..."
        sleep 1s
        sed -i 's/tty\[1-6\]/tty\[1-2\]/g' /etc/default/console-setup
        sed -i 's/^[a-Z]/#&/g' /etc/event.d/tty3
        sed -i 's/^[a-Z]/#&/g' /etc/event.d/tty4
        sed -i 's/^[a-Z]/#&/g' /etc/event.d/tty5
        sed -i 's/^[a-Z]/#&/g' /etc/event.d/tty6
        echo "tty removal complete..."
        sleep 3s
    else
        echo ""
        echo "Skipping tty removal..."
        sleep 1s
    fi
    #Download and install the Adobe Flash Plugin
    #---------------------------
    clear
    echo "Would you like install the Adobe Flash Plugin"
    echo "If not, enter \"n\""
    echo ""
    echo -n "Install the AdobeFlash Plugin (Y|n) > "
    read a
    echo "Installing the Adobe Flash Plugin..."
    echo ""
    sleep 2s
    apt-get install -y flashplugin-installer
    sleep 3s
    echo ""
    echo "Adobe Flash Plugin set-up complete..."
    echo ""
    sleep 2s
    #Download and install Java Runtime Environment
    #---------------------------
    clear
    echo "Would you like install the Java Runtime Environment?"
    echo "If not, enter \"n\""
    echo ""
    echo -n "Install the Java Runtime Environment? (Y|n) > "
    read a
    echo "Installing the Java Runtime Environment..."
    echo ""
    sleep 2s
    apt-get install -y sun-java6-jre
    sleep 3s
    echo ""
    echo "Java Runtime Environment set-up complete..."
    echo ""
    sleep 2s
    #Set-up the Gahm Linux Desktop
    #---------------------------
    clear
    echo "Downloading Gahm Desktop Package..."
    echo ""
    sleep 2s
    wget http://gahm.omnsproject.org/debs/gahm-desktop-0.1rv7-i386.deb
    sleep 3s
    dpkg -i gahm-desktop-0.1rv7-i386.deb
    echo 
    echo "Gahm Desktop set-up complete..."
    echo ""
    sleep 2s
    #Prompt for reboot
    #-----------------
    clear
    echo "Installation complete! Thank you for installing Gahm Linux."
    echo "You will now need to reboot your system."
    echo ""
    echo -n "Reboot now? (Y|n) > "
    read a
    if [ "$a" = "y" ] || [ "$a" = "Y" ] || \
    [ "$a" = "" ]; then
        echo "Goodbye, hoping all went well :)"
        echo "Rebooting..."
        sleep 4s
        reboot now
        exit
    else
        echo "Issue the following command to reboot:"
        echo ""
        echo "    \$ sudo reboot now"
        echo ""
        echo "Goodbye! :)"
    fi
fi
exit

Re: Choice of applications

in order for your idea to come to fruition- crunchbang would have to be distibuted on a dvd instead of a cd. which would turn away alot of potential and current users....including me.

Re: Choice of applications

klanger wrote:

#! lite + sudo apt-get install/remove  helps to make same changes in the default #! app selection.
cool


Thats what I do big_smile

I think the idea of having an install like that is nice. Somewhat of an ubuntu approach to Arch. But, this does bring forth an underlying issue. Instead of why not have apps A, B, or C...and as said, have people comlpain about X...I think the best thing for #! is to identify a target audience. Figure out what type of person(s) this distro should be built around...and chose apps accordingly.

Annnnd, I believe that this has already been done. Phillip made #!, and chose apps that he liked. Phillip is (much more than) a seasoned *nix user with a fondness of minimal and cli who does not mind tweaking settings. As such, this is the (rather diluted description of) the target audience.

So as much as I think this idea is a sure darn nifty one, and would love to see it used someday...I wonder if it is a fit for #! seeing is that #! is geared towards a more expirenced crowd.

$0.02 smile

Re: Choice of applications

blackbinary wrote:

This sounds awesome. Could you post a quick guide perhaps for people who may want to do it themselves? Of course even just posting your script would be helpful smile.

Here is my script. You can do what you want with it, but won't be able to run it "as it", because it has been made for my personal use.

[quote]#!/bin/sh
# Un script bash perso pour compléter une Ubuntu-9.04 "CLI" 64 bits.
# Lancez le script en root (sudo ~/agaric-9.04.sh)
    # Test des droits sudo
if [ "`id -u`" -eq 0 ]; then                     
    # si root
    echo "Lancement de \"agaric-9.04.sh\""
    else                                        
    # si simple utilisateur
    echo "Le script doit être lancé en \"root\"..."
    exit 1
fi 
    # Débuter l'installation
    clear
    echo "Bienvenue dans l'installeur \"agaric\""
    echo ""
    echo -n "Débuter l'installation? (O|n) > "
    read a
if [ "$a" = "o" ] || [ "$a" = "O" ] || \
[ "$a" = "" ]; then
    # Modification du sources.list
    clear
    echo ""
    echo "Modification du sources.list..."
    echo ""
    sleep 1s
    mv /etc/apt/sources.list /etc/apt/sources.old
    echo ""
    sleep 1s
    cp /media/cdrom0/sources.list /etc/apt
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Configuration des dépots
    echo ""
    echo "Configuration des dépots: \"wine\", \"medibuntu\", \"tint2\"..."
    echo ""
    sleep 1s
    wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add - 
    echo ""
    sleep 1s
    wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add - 
    echo ""
    sleep 1s
    apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C4412AEB3B1D5F58E8149B7DD9DAAF25C26CCF8E 
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Mise à jour des dépots
    echo ""
    echo "Mise à jour des dépots..."
    echo ""
    sleep 1s
    apt-get update
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Installation des paquets
    clear
    echo ""
    echo "Installation des paquets..."
    echo ""
    echo "Cela va prendre du temps. Va t'en rouler une..."
    echo ""
    sleep 2s
    apt-get install alsa-base alsa-utils aspell-fr brasero claws-mail claws-mail-extra-plugins cdrdao deluge-torrent dontzap dvd95 dvd+rw-tools envyng-core evince ffmpeg ffmpegthumbnailer file-roller firefox gcolor2 gedit gedit-plugins gcalctool gdm  gnome-games gnome-system-tools googleearth gparted gstreamer0.10-alsa gufw hardinfo hicolor-icon-theme hplip-gui htop isomaster language-pack-fr language-pack-gnome-fr language-support-writing-fr language-support-translations-fr libdvdcss2 lxappearance lxsession-lite mirage mozilla-plugin-vlc mtpaint nitrogen non-free-codecs numlockx openbox openbox-themes obconf obmenu python-fuse scrot serpentine soundconverter sound-juicer stellarium synaptic terminator thunar thunar-archive-plugin thunar-thumbnailers thunar-volman tint2 totem totem-plugins-extra ubuntu-restricted-extras usplash vlc w64codecs wicd wine xcompmgr xsane xscreensaver xscreensaver-data-extra xscreensaver-gl-extra xorg
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # installation des .deb
    clear
    echo ""
    echo "Installation des \".deb\"..."
    echo ""
    sleep 1s
    # Installation de Disk-manager
    dpkg -i /media/cdrom0/debs/disk-manager_1.0.1-2_all.deb
    apt-get --assume-yes -f install
    echo ""
    sleep 1s
    # Installation de Oblogout
    dpkg -i /media/cdrom0/debs/oblogout_0.2-1-0ubuntu2_all.deb
    apt-get --assume-yes -f install
    echo ""
    sleep 1s
    # Installation de la visionneuse Powerpoint
    dpkg -i /media/cdrom0/debs/pptview_2003.1_all.deb
    apt-get --assume-yes -f install
    echo ""
    sleep 1s
    # Installation du thème sonore
    dpkg -i /media/cdrom0/debs/ubuntu-sounds_0.10-1crunchbang1_all.deb
    apt-get --assume-yes -f install
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Activation du pavé numérique au login
    echo ""
    echo "Activation du pavé numérique au login..."
    echo ""
    mv /etc/gdm/Init/Default /etc/gdm/Init/Default.old   
    echo ""
    sleep 1s
    cp /media/cdrom0/Default /etc/gdm/Init/
    echo ""
    sleep 1s
    echo ""
    chmod +x /etc/gdm/Init/Default
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Configuration de la souris
    echo ""
    echo "Configuration de la souris..."
    echo ""
    sleep 1s
    cp -r /media/cdrom0/Obsidian /usr/share/icons
    echo ""
    cp -r /media/cdrom0/default/ /usr/share/icons
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Configuration de Xscreensaver
    echo ""
    echo "Configuration de xscreensaver..."
    echo ""
    sleep 1s
    mkdir /usr/share/backgrounds
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # DésInstallation de pulse-audio
    echo ""
    echo "Désinstallation de pulse-audio..."
    echo ""
    sleep 1s
    apt-get --purge remove pulseaudio* libpulse*
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # installation du pilote Nvidia
    echo ""
    echo "Installation du pilote Nvidia..."
    echo ""
    echo "ATTENTION! Afin de poursuivre l'exécution du script,"
    echo "ne pas redémarrer le système."
    echo ""
    sleep 1s
    envyng -t
    echo ""
    echo "Configuration de \"X.org\"..."
    echo ""
    sleep 1s
    nvidia-xconfig
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Rétablissement de la conbinaison des touches "ctrl+alt+backspace"
    echo ""
    echo "Rétablissement de la conbinaison des touches \"ctrl+alt+backspace\"..."
    echo ""
    sleep 1s
    dontzap --disable
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Nettoyage des paquets téléchargés
    clear
    echo "Nettoyage. Un certain nombre de paquets ont été téléchargés durant"
    echo "la routine d'installation. Ces paquets ne sont plus nécessaires."
    echo "Choisissez si vous désirez les conserver ou les supprimer."
    echo ""
    sleep 1s
    echo ""
    echo "\"apt-get clean\"..."
    echo ""
    apt-get clean
    echo ""
    echo "[OK]"
    echo ""
    echo "\"apt-get autoclean\"..."
    echo ""
    apt-get autoclean
    echo ""
    echo "[OK]"
    echo ""
    echo "\"apt-get auto-remove\"..."
    echo ""
    apt-get auto-remove
    echo ""
    echo "[OK]"
    echo ""
    sleep 1s
    # Prompt pour le redémarrage
    clear
    echo "Installation terminée."
    echo "Vous pouvez redémarrer votre système."
    echo ""
    echo -n "Redémarrer maintenant? (O|n) > "
    read a
    if [ "$a" = "o" ] || [ "$a" = "O" ] || \
    [ "$a" = "" ]; then
        echo "Tchao. A+"
        echo "Redémarrage..."
        sleep 2s
        reboot now
        exit
    else
        echo "Utiliser la commande suivante pour redémarrer:"
        echo ""
        echo "\$ sudo reboot now"
        echo ""
        echo "Tchao. A+"
    fi
fi
exit[/quote]

1) The beginning of the script is for testing the sudo rights and to let you the choice of running it or not.

2) After I modify the "sources.list".

3) here are the keys for some extras repositories.

4) "apt-get update"

5) The installation of my choice of packages.

6) the installation of some ".debs"

7) the numpad activation since login

8) installation of my favorite "mouse cursor theme"

9) the needed configuration of "xscreensaver"

10) removing "pulse-audio"

11) installation and configuration of the "Nvidia driver"

12) activation of "ctrl+alt+backspace"

13) Cleaning the system.

14) The choice for rebooting or not.

This is not the best script, but it does what I want : the automatization of a lot of tasks needed after a "CLI" install".

Hope this help you. Do not hesitate to tell me what you think of this script; I'm interested by any comment big_smile.
It's a good thing to share such scripts.

Omns said:

If it helps here is a copy of one that I put together for a mod of Crunchang 9.04 that I developed sometime ago. It is based on the Crunchbang 9.04.01 installer script.

your script is interesting. I'm going to copy it for learning smile. Thanks to you.

A+ Francis.

PS Shame on me! Some parts of this script are directly inspired by the work of corenominal smile.
Thanks again and again Philip for your good job and your kindness.

Last edited by astrocisco (2009-07-05 13:38:13)

Re: Choice of applications

Thanks a bunch to Omns & Astrocisco smile

I'm planning my script out now, I really love the idea of just running a script and then bam! no more configuring, but i'm  going to wait for the official 9.04 release to do that.

just call me...
~FSM~

Re: Choice of applications

@astrocisco - heres a couple of comments, or rather questions:

*Why do you install OBLogout from a deb? You could just add the #! repo and install from there.

*Why do you need to remove pulse audio? I dont think it gets installed when doing a minimal Ubuntu.

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Choice of applications

anonymous said:

@astrocisco - heres a couple of comments, or rather questions:

*Why do you install OBLogout from a deb? You could just add the #! repo and install from there.

Evident. Some time I feel tired...

Why do you need to remove pulse audio? I dont think it gets installed when doing a minimal Ubuntu.

I need to remove pulse-audio because it is the default sound server since intrepid, and cause me some problems with the volume control (allways "off" when starting the computer).
Perhaps corenomimal could tell us more about pulse-audio in #!
Maybe there is a better way to resolve this. I have not a lot of time to study the question now.

Thanks anonymous for your constructive comments.

Last edited by astrocisco (2009-07-05 14:09:25)