Other another script for installing DE


Hi all

first time user on freebsd ! BIG WARNING!

the linked script is, at least for me, working on installing on virtualbox and on laptop xfce or kde or gnome.
there are some hardcoded package, as my gutt wanted, but otherwise is a very light script

it will install:
- xfce+xfce4-goodies or gnome or kde (full meta package)
- networkmgr, mpv, nano, firefox, xarchiver, gvfs, mpv, 7-zip
- optionally it can install: libreoffice + cups, gimp, vlc, git, thunderbird
- it will try to autodetect video card and will install driver (tested only on integrated intell and virtualbox)
- it will try to configure pulseaudio (for me it's working)
- configure language (at user choice) in it, en, de, fr, es, ru, ja, zh (tryed only it and en)

hoping some one will find useful

BHH

P.S. some comment in script are in italian.. just because i am italian, but the script should be all in english
 
Code:
    current=$(sysrc -n kld_list 2>/dev/null || echo "")
    if ! echo "$current" | grep -q "$GPU_KMOD"; then
        # Aggiunge in coda, gestendo se la lista è vuota o meno
        if [ -z "$current" ]; then
            sysrc kld_list="$GPU_KMOD"
        else
            sysrc kld_list="${current} ${GPU_KMOD}"
        fi
Don't have to do this. sysrc kld_list+="$GPU_KMOD" will add it if it's not in the list. See "APPENDING VALUES" in sysrc(8).
 
Code:
    current=$(sysrc -n kld_list 2>/dev/null || echo "")
    if ! echo "$current" | grep -q "$GPU_KMOD"; then
        # Aggiunge in coda, gestendo se la lista è vuota o meno
        if [ -z "$current" ]; then
            sysrc kld_list="$GPU_KMOD"
        else
            sysrc kld_list="${current} ${GPU_KMOD}"
        fi
Don't have to do this. sysrc kld_list+="$GPU_KMOD" will add it if it's not in the list. See "APPENDING VALUES" in sysrc(8).
thanks a lot!

very usefull

already update scripts on repo

thanks again

BHH
 
Back
Top