big otimization (first step)

This commit is contained in:
Francois B. (Makoto) 2018-06-12 13:39:46 +02:00
parent b6878adcbe
commit 7b49566215
5 changed files with 160 additions and 1681 deletions

View file

@ -10,76 +10,6 @@
# install functions # # install functions #
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
#
# install Base Apps (headless)
#
function installBase () {
installAppsFromList base
}
#
# install Base Apps (Menu)
#
function installBaseMenu () {
installAppsFromListMenu base
}
#
# install Office Apps (headless)
#
function installOffice () {
installAppsFromList office
}
#
# install Office Apps (Menu)
#
function installOfficeMenu () {
installAppsFromListMenu office
}
#
# install Multimedia Apps (headless)
#
function installMultimedia () {
installAppsFromList multimedia
}
#
# install Multimedia Apps (Menu)
#
function installMultimediaMenu () {
installAppsFromListMenu multimedia
}
#
# install eBook Apps (headless)
#
function installEbook () {
installAppsFromList ebook
}
#
# install eBook Apps (Menu)
#
function installEbookMenu () {
installAppsFromListMenu ebook
}
#
# install Internet Apps (headless)
#
function installInternet () {
installAppsFromList internet
}
#
# install Internet Apps (Menu)
#
function installInternetMenu () {
installAppsFromListMenu internet
}
# #
# Viber (headless) # Viber (headless)
# #
@ -134,272 +64,6 @@ function installSlackMenu () {
yes yes
} }
#
# install Misc Utilities Apps (headless)
#
function installMiscUtilities () {
installAppsFromList utilities
}
#
# install Misc Utilities Apps (Menu)
#
function installMiscUtilitiesMenu () {
installAppsFromListMenu utilities
}
#
# install Wine Build (headless)
#
function installWine () {
installAppsFromList wine
}
#
# install Wine Build (Menu)
#
function installWineMenu () {
installAppsFromListMenu wine
}
#
# install Game Apps (headless)
#
function installGames () {
installAppsFromList games
}
#
# install Game Apps (Menu)
#
function installGamesMenu () {
installAppsFromListMenu games
}
#
# Steam (headless)
#
function installSteam () {
installAppsFromList steam
}
#
# Steam (Menu)
#
function installSteamMenu () {
installAppsFromListMenu steam
}
#
# install Burning Apps (headless)
#
function installBurningTools () {
installAppsFromList burningtools
}
#
# install Burning Apps (Menu)
#
function installBurningToolsMenu () {
installAppsFromListMenu burningtools
}
#
# install Network Apps (headless)
#
function installNetTools () {
installAppsFromList nettools
}
#
# install Network Apps (Menu)
#
function installNetToolsMenu () {
installAppsFromListMenu nettools
}
#
# install Caja Plugins (headless)
#
function installCajaPlugins () {
installAppsFromList cajaplugins
}
#
# install Caja Plugins (Menu)
#
function installCajaPluginsMenu () {
installAppsFromListMenu cajaplugins
}
#
# install Nautilus Apps + plugins (headless)
#
function installNautilusAndPlugins () {
installAppsFromList nautilus
}
#
# install Nautilus Apps + plugins (Menu)
#
function installNautilusAndPluginsMenu () {
installAppsFromListMenu nautilus
}
#
# install Thunar + Plugins (headless)
#
function installThunar () {
installAppsFromList thunar
}
#
# install Thunar + Plugins (Menu)
#
function installThunarMenu () {
installAppsFromListMenu thunar
}
#
# install Gimp plugins (headless)
#
function installGimpPlugins () {
installAppsFromList gimp
}
#
# install Gimp plugins (Menu)
#
function installGimpPluginsMenu () {
installAppsFromListMenu gimp
}
#
# install RhythmBox plugins (headless)
#
function installRhythmBoxPlugins () {
installAppsFromList rhythmbox
}
#
# install RhythmBox plugins (Menu)
#
function installRhythmBoxPluginsMenu () {
installAppsFromListMenu rhythmbox
}
#
# install Pidgin plugins (headless)
#
function installPidginPlugins () {
installAppsFromList pidgin
}
#
# install Pidgin plugins (Menu)
#
function installPidginPluginsMenu () {
installAppsFromListMenu pidgin
}
#
# install Nitrogen app (headless)
#
function installNitrogen () {
installAppsFromList nitrogen
}
#
# install Nitrogen app (Menu)
#
function installNitrogenMenu () {
installAppsFromListMenu nitrogen
}
#
# install Beta Apps (headless)
#
function installBeta () {
installAppsFromList beta
}
#
# install Beta Apps (Menu)
#
function installBetaMenu () {
installAppsFromListMenu beta
}
#
# install Nightly Apps (headless)
#
function installNightly () {
installAppsFromList nightly
}
#
# install Nightly Apps (Menu)
#
function installNightlyMenu () {
installAppsFromListMenu nightly
}
#
# install GTK Themes (headless)
#
function installThemes () {
installAppsFromList gtkthemes
}
#
# install GTK Themes (Menu)
#
function installThemesMenu () {
installAppsFromListMenu gtkthemes
}
#
# install Icon Themes (headless)
#
function installIcons () {
installAppsFromList icons
}
#
# install Icon Themes (Menu)
#
function installIconsMenu () {
installAppsFromListMenu icons
}
#
# install Solaar App (headless)
#
function installSolaar () {
installAppsFromList solaar
}
#
# install Solaar App (Menu)
#
function installSolaarMenu () {
installAppsFromListMenu solaar
}
#
# install CardReader Apps (headless)
#
function installCardReader () {
installAppsFromList cardreader
}
#
# install CardReader Apps (Menu)
#
function installCardReaderMenu () {
installAppsFromListMenu cardreader
}
# #
# update AMD/Intel CPU Microcode # update AMD/Intel CPU Microcode
# #
@ -434,160 +98,6 @@ function fixWirelessIntel6320 () {
printf "\n" printf "\n"
} }
#
# install Webcam Apps (headless)
#
function installWebcam () {
installAppsFromList webcam
}
#
# install Webcam Apps (Menu)
#
function installWebcamMenu () {
installAppsFromListMenu webcam
}
#
# install latest versions of graphic drivers, mesa, .... (headless)
#
function installOibaf () {
addRepo_Oibaf
}
#
# install latest versions of graphic drivers, mesa, .... (Menu)
#
function installOibafMenu () {
addRepo_Oibaf
}
#
# install Nvidia Drivers (headless)
#
function installNvidia370 () {
installAppsFromList nvidia-370
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia370Menu () {
installAppsFromListMenu nvidia-370
}
#
# install Nvidia Drivers (headless)
#
function installNvidia375 () {
installAppsFromList nvidia-375
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia375Menu () {
installAppsFromListMenu nvidia-375
}
#
# install Nvidia Drivers (headless)
#
function installNvidia378 () {
installAppsFromList nvidia-378
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia378Menu () {
installAppsFromListMenu nvidia-378
}
#
# install Nvidia Drivers (headless)
#
function installNvidia381 () {
installAppsFromList nvidia-381
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia381Menu () {
installAppsFromListMenu nvidia-381
}
#
# install Nvidia Drivers (headless)
#
function installNvidia384 () {
installAppsFromList nvidia-384
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia384Menu () {
installAppsFromListMenu nvidia-384
}
#
# install Nvidia Drivers (headless)
#
function installNvidia387 () {
installAppsFromList nvidia-387
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia387Menu () {
installAppsFromListMenu nvidia-387
}
#
# install Nvidia Drivers (headless)
#
function installNvidia390 () {
installAppsFromList nvidia-390
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia390Menu () {
installAppsFromListMenu nvidia-390
}
#
# install Nvidia Drivers (headless)
#
function installNvidia396 () {
installAppsFromList nvidia-396
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia396Menu () {
installAppsFromListMenu nvidia-396
}
#
# install TLP App (headless)
#
function installTLP () {
installAppsFromList tlp
}
#
# install TLP App (Menu)
#
function installTLPMenu () {
installAppsFromListMenu tlp
}
# #
# Key-ID USB Fido U2F device udev rules # Key-ID USB Fido U2F device udev rules
# #
@ -611,310 +121,6 @@ EOF
"restarting UDEV service" "restarting UDEV service"
} }
#
# install Dev Apps (headless)
#
function installDevApps () {
installAppsFromList dev
}
#
# install Dev Apps (Menu)
#
function installDevAppsMenu () {
installAppsFromListMenu dev
}
#
# install Javascript env (headless)
#
function installJavascript () {
installAppsFromList javascript
}
#
# install Javascript env (Menu)
#
function installJavascriptMenu () {
installAppsFromListMenu javascript
}
#
# install JAVA 10 (headless)
#
function installJava10 () {
installAppsFromList java10
}
#
# install JAVA 10 (Menu)
#
function installJava10Menu () {
installAppsFromListMenu java10
}
#
# install Mongo DB 3 CE (headless)
#
function installMongo3CE () {
installAppsFromList mongodb
}
#
# install Mongo DB 3 CE (Menu)
#
function installMongo3CEMenu () {
installAppsFromListMenu mongodb
}
#
# install Python Apps (headless)
#
function installPython () {
installAppsFromList python
}
#
# install Python Apps (Menu)
#
function installPythonMenu () {
installAppsFromListMenu python
}
#
# install PHP Apps (headless)
#
function installPHP () {
installAppsFromList php
}
#
# install PHP Apps (Menu)
#
function installPHPMenu () {
installAppsFromListMenu php
}
#
# install QT Apps/tools (headless)
#
function installQT () {
installAppsFromList qt
}
#
# install QT Apps/tools (Menu)
#
function installQTMenu () {
installAppsFromListMenu qt
}
#
# install LUA Apps (headless)
#
function installLUA () {
installAppsFromList lua
}
#
# install LUA Apps (Menu)
#
function installLUAMenu () {
installAppsFromListMenu lua
}
#
# install Ruby Apps (headless)
#
function installRuby () {
installAppsFromList ruby
}
#
# install Ruby Apps (Menu)
#
function installRubyMenu () {
installAppsFromListMenu ruby
}
#TODO:
function installAndroidEnv () {
msg="Installing Android environment"
runCmd "touch /home/$myHomedir/.bashrc" \
"creating .bashrc file if necessary"
sh -c "echo '\n\nexport PATH=${PATH}:/home/'$myHomedir'/Android/Sdk/tools:/home/'$myHomedir'/Android/Sdk/platform-tools' >> /home/$myHomedir/.bashrc"
}
#
# install Atom App (headless)
#
function installAtom () {
installAppsFromList atom
}
#
# install Atom App (menu)
#
function installAtomMenu () {
installAppsFromListMenu atom
}
#
# install Anjuta Apps (headless)
#
function installAnjuta () {
installAppsFromList anjuta
}
#
# install Anjuta Apps (Menu)
#
function installAnjutaMenu () {
installAppsFromListMenu anjuta
}
#
# install Brackets Apps (headless)
#
function installBrackets () {
installAppsFromList brackets
}
#
# install Brackets Apps (Menu)
#
function installBracketsMenu () {
installAppsFromListMenu brackets
}
#
# install CodeBlocks Apps (headless)
#
function installCodeBlocks () {
installAppsFromList codeblocks
}
#
# install CodeBlocks Apps (Menu)
#
function installCodeBlocksMenu () {
installAppsFromListMenu codeblocks
}
#
# install Geany Apps (headless)
#
function installGeany () {
installAppsFromList geany
}
#
# install Geany Apps (Menu)
#
function installGeanyMenu () {
installAppsFromListMenu geany
}
#
# install IDEA Apps (headless)
#
function installIdea () {
installAppsFromList idea
}
#
# install IDEA Apps (Menu)
#
function installIdeaMenu () {
installAppsFromListMenu idea
}
#
# install Eclipse Apps (headless)
#
function installEclipse () {
installAppsFromList eclipse
}
#
# install Eclipse Apps (Menu)
#
function installEclipseMenu () {
installAppsFromListMenu eclipse
}
#
# install Pycharm Apps (headless)
#
function installPyCharm () {
installAppsFromList pycharm
}
#
# install Pycharm Apps (Menu)
#
function installPyCharmMenu () {
installAppsFromListMenu pycharm
}
#
# install Visual Studio Code Apps (headless)
#
function installVisualStudioCode () {
installAppsFromList code
}
#
# install Visual Studio Code Apps (Menu)
#
function installVisualStudioCodeMenu () {
installAppsFromListMenu code
}
#
# install Android-Studio Apps (headless)
#
function installAndroidStudio () {
installAppsFromList androidstudio
}
#
# install Android-Studio Apps (Menu)
#
function installAndroidStudioMenu () {
installAppsFromListMenu androidstudio
}
#
# install SublimeText Apps (headless)
#
function installSublimeText() {
installAppsFromList sublime-text
}
#
# install SublimeText Apps (Menu)
#
function installSublimeTextMenu() {
installAppsFromListMenu sublime-text
}
#
# install CAD Apps (headless)
#
function installCAD () {
installAppsFromList cad
}
#
# install CAD Apps (Menu)
#
function installCADMenu () {
installAppsFromListMenu cad
}
# #
# install Teamviewer 13 (headless) # install Teamviewer 13 (headless)
# #
@ -969,9 +175,3 @@ function installCompassMenu () {
yes yes
} }
#
# install/enable Unboud (headless)
#
function installUnbound () {
installAppsFromList unbound
}

View file

@ -16,76 +16,6 @@
# install functions # # install functions #
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
#
# install Base Apps (headless)
#
function installBase () {
installAppsFromList base
}
#
# install Base Apps (Menu)
#
function installBaseMenu () {
installAppsFromListMenu base
}
#
# install Office Apps (headless)
#
function installOffice () {
installAppsFromList office
}
#
# install Office Apps (Menu)
#
function installOfficeMenu () {
installAppsFromListMenu office
}
#
# install Multimedia Apps (headless)
#
function installMultimedia () {
installAppsFromList multimedia
}
#
# install Multimedia Apps (Menu)
#
function installMultimediaMenu () {
installAppsFromListMenu multimedia
}
#
# install eBook Apps (headless)
#
function installEbook () {
installAppsFromList ebook
}
#
# install eBook Apps (Menu)
#
function installEbookMenu () {
installAppsFromListMenu ebook
}
#
# install Internet Apps (headless)
#
function installInternet () {
installAppsFromList internet
}
#
# install Internet Apps (Menu)
#
function installInternetMenu () {
installAppsFromListMenu internet
}
# #
# Viber (headless) # Viber (headless)
# #
@ -158,272 +88,6 @@ function installXnViewMPMenu () {
yes yes
} }
#
# install Misc Utilities Apps (headless)
#
function installMiscUtilities () {
installAppsFromList utilities
}
#
# install Misc Utilities Apps (Menu)
#
function installMiscUtilitiesMenu () {
installAppsFromListMenu utilities
}
#
# install Wine Build (headless)
#
function installWine () {
installAppsFromList wine
}
#
# install Wine Build (Menu)
#
function installWineMenu () {
installAppsFromListMenu wine
}
#
# install Game Apps (headless)
#
function installGames () {
installAppsFromList games
}
#
# install Game Apps (Menu)
#
function installGamesMenu () {
installAppsFromListMenu games
}
#
# Steam (headless)
#
function installSteam () {
installAppsFromList steam
}
#
# Steam (Menu)
#
function installSteamMenu () {
installAppsFromListMenu steam
}
#
# install Burning Apps (headless)
#
function installBurningTools () {
installAppsFromList burningtools
}
#
# install Burning Apps (Menu)
#
function installBurningToolsMenu () {
installAppsFromListMenu burningtools
}
#
# install Network Apps (headless)
#
function installNetTools () {
installAppsFromList nettools
}
#
# install Network Apps (Menu)
#
function installNetToolsMenu () {
installAppsFromListMenu nettools
}
#
# install Caja Plugins (headless)
#
function installCajaPlugins () {
installAppsFromList cajaplugins
}
#
# install Caja Plugins (Menu)
#
function installCajaPluginsMenu () {
installAppsFromListMenu cajaplugins
}
#
# install Nautilus Apps + plugins (headless)
#
function installNautilusAndPlugins () {
installAppsFromList nautilus
}
#
# install Nautilus Apps + plugins (Menu)
#
function installNautilusAndPluginsMenu () {
installAppsFromListMenu nautilus
}
#
# install Thunar + Plugins (headless)
#
function installThunar () {
installAppsFromList thunar
}
#
# install Thunar + Plugins (Menu)
#
function installThunarMenu () {
installAppsFromListMenu thunar
}
#
# install Gimp plugins (headless)
#
function installGimpPlugins () {
installAppsFromList gimp
}
#
# install Gimp plugins (Menu)
#
function installGimpPluginsMenu () {
installAppsFromListMenu gimp
}
#
# install RhythmBox plugins (headless)
#
function installRhythmBoxPlugins () {
installAppsFromList rhythmbox
}
#
# install RhythmBox plugins (Menu)
#
function installRhythmBoxPluginsMenu () {
installAppsFromListMenu rhythmbox
}
#
# install Pidgin plugins (headless)
#
function installPidginPlugins () {
installAppsFromList pidgin
}
#
# install Pidgin plugins (Menu)
#
function installPidginPluginsMenu () {
installAppsFromListMenu pidgin
}
#
# install Nitrogen app (headless)
#
function installNitrogen () {
installAppsFromList nitrogen
}
#
# install Nitrogen app (Menu)
#
function installNitrogenMenu () {
installAppsFromListMenu nitrogen
}
#
# install Beta Apps (headless)
#
function installBeta () {
installAppsFromList beta
}
#
# install Beta Apps (Menu)
#
function installBetaMenu () {
installAppsFromListMenu beta
}
#
# install Nightly Apps (headless)
#
function installNightly () {
installAppsFromList nightly
}
#
# install Nightly Apps (Menu)
#
function installNightlyMenu () {
installAppsFromListMenu nightly
}
#
# install GTK Themes (headless)
#
function installThemes () {
installAppsFromList gtkthemes
}
#
# install GTK Themes (Menu)
#
function installThemesMenu () {
installAppsFromListMenu gtkthemes
}
#
# install Icon Themes (headless)
#
function installIcons () {
installAppsFromList icons
}
#
# install Icon Themes (Menu)
#
function installIconsMenu () {
installAppsFromListMenu icons
}
#
# install Solaar App (headless)
#
function installSolaar () {
installAppsFromList solaar
}
#
# install Solaar App (Menu)
#
function installSolaarMenu () {
installAppsFromListMenu solaar
}
#
# install CardReader Apps (headless)
#
function installCardReader () {
installAppsFromList cardreader
}
#
# install CardReader Apps (Menu)
#
function installCardReaderMenu () {
installAppsFromListMenu cardreader
}
# #
# update AMD/Intel CPU Microcode # update AMD/Intel CPU Microcode
# #
@ -458,104 +122,6 @@ function fixWirelessIntel6320 () {
printf "\n" printf "\n"
} }
#
# install Webcam Apps (headless)
#
function installWebcam () {
installAppsFromList webcam
}
#
# install Webcam Apps (Menu)
#
function installWebcamMenu () {
installAppsFromListMenu webcam
}
#
# install latest versions of graphic drivers, mesa, .... (headless)
#
function installOibaf () {
addRepo_Oibaf
}
#
# install latest versions of graphic drivers, mesa, .... (Menu)
#
function installOibafMenu () {
addRepo_Oibaf
}
#
# install Nvidia Drivers (headless)
#
function installNvidia384 () {
installAppsFromList nvidia-384
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia384Menu () {
installAppsFromListMenu nvidia-384
}
#
# install Nvidia Drivers (headless)
#
function installNvidia387 () {
installAppsFromList nvidia-387
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia387Menu () {
installAppsFromListMenu nvidia-387
}
#
# install Nvidia Drivers (headless)
#
function installNvidia390 () {
installAppsFromList nvidia-390
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia390Menu () {
installAppsFromListMenu nvidia-390
}
#
# install Nvidia Drivers (headless)
#
function installNvidia396 () {
installAppsFromList nvidia-driver-396
}
#
# install Nvidia Drivers (Menu)
#
function installNvidia396Menu () {
installAppsFromListMenu nvidia-driver-396
}
#
# install TLP App (headless)
#
function installTLP () {
installAppsFromList tlp
}
#
# install TLP App (Menu)
#
function installTLPMenu () {
installAppsFromListMenu tlp
}
# #
# Key-ID USB Fido U2F device udev rules # Key-ID USB Fido U2F device udev rules
# #
@ -579,301 +145,6 @@ EOF
"restarting UDEV service" "restarting UDEV service"
} }
#
# install Dev Apps (headless)
#
function installDevApps () {
installAppsFromList dev
}
#
# install Dev Apps (Menu)
#
function installDevAppsMenu () {
installAppsFromListMenu dev
}
#
# install Javascript env (headless)
#
function installJavascript () {
installAppsFromList javascript
}
#
# install Javascript env (Menu)
#
function installJavascriptMenu () {
installAppsFromListMenu javascript
}
#
# install JAVA 10 (headless)
#
function installJava10 () {
installAppsFromList java10
}
#
# install JAVA 10 (Menu)
#
function installJava10Menu () {
installAppsFromListMenu java10
}
#
# install Mongo DB 3 CE (headless)
#
function installMongo3CE () {
installAppsFromList mongodb
}
#
# install Mongo DB 3 CE (Menu)
#
function installMongo3CEMenu () {
installAppsFromListMenu mongodb
}
#
# install Python Apps (headless)
#
function installPython () {
installAppsFromList python
}
#
# install Python Apps (Menu)
#
function installPythonMenu () {
installAppsFromListMenu python
}
#
# install PHP Apps (headless)
#
function installPHP () {
installAppsFromList php
}
#
# install PHP Apps (Menu)
#
function installPHPMenu () {
installAppsFromListMenu php
}
#
# install QT Apps/tools (headless)
#
function installQT () {
installAppsFromList qt
}
#
# install QT Apps/tools (Menu)
#
function installQTMenu () {
installAppsFromListMenu qt
}
#
# install LUA Apps (headless)
#
function installLUA () {
installAppsFromList lua
}
#
# install LUA Apps (Menu)
#
function installLUAMenu () {
installAppsFromListMenu lua
}
#
# install Ruby Apps (headless)
#
function installRuby () {
installAppsFromList ruby
}
#
# install Ruby Apps (Menu)
#
function installRubyMenu () {
installAppsFromListMenu ruby
}
#
# install Atom App (headless)
#
function installAtom () {
installAppsFromList atom
}
#
# install Atom App (menu)
#
function installAtomMenu () {
installAppsFromListMenu atom
}
#
# install Anjuta Apps (headless)
#
function installAnjuta () {
installAppsFromList anjuta
}
#
# install Anjuta Apps (Menu)
#
function installAnjutaMenu () {
installAppsFromListMenu anjuta
}
#
# install Brackets Apps (headless)
#
function installBrackets () {
installAppsFromList brackets
}
#
# install Brackets Apps (Menu)
#
function installBracketsMenu () {
installAppsFromListMenu brackets
}
#
# install CodeBlocks Apps (headless)
#
function installCodeBlocks () {
installAppsFromList codeblocks
}
#
# install CodeBlocks Apps (Menu)
#
function installCodeBlocksMenu () {
installAppsFromListMenu codeblocks
}
#
# install Geany Apps (headless)
#
function installGeany () {
installAppsFromList geany
}
#
# install Geany Apps (Menu)
#
function installGeanyMenu () {
installAppsFromListMenu geany
}
#
# install IDEA Apps (headless)
#
function installIdea () {
installAppsFromList idea
}
#
# install IDEA Apps (Menu)
#
function installIdeaMenu () {
installAppsFromListMenu idea
}
#
# install Eclipse Apps (headless)
#
function installEclipse () {
installAppsFromList eclipse
}
#
# install Eclipse Apps (Menu)
#
function installEclipseMenu () {
installAppsFromListMenu eclipse
}
#
# install Pycharm Apps (headless)
#
function installPyCharm () {
installAppsFromList pycharm
}
#
# install Pycharm Apps (Menu)
#
function installPyCharmMenu () {
installAppsFromListMenu pycharm
}
#
# install Visual Studio Code Apps (headless)
#
function installVisualStudioCode () {
installAppsFromList code
}
#
# install Visual Studio Code Apps (Menu)
#
function installVisualStudioCodeMenu () {
installAppsFromListMenu code
}
#
# install Android-Studio Apps (headless)
#
function installAndroidStudio () {
installAppsFromList androidstudio
}
#
# install Android-Studio Apps (Menu)
#
function installAndroidStudioMenu () {
installAppsFromListMenu androidstudio
}
#
# install SublimeText Apps (headless)
#
function installSublimeText() {
installAppsFromList sublime-text
}
#
# install SublimeText Apps (Menu)
#
function installSublimeTextMenu() {
installAppsFromListMenu sublime-text
}
#
# install CAD Apps (headless)
#
function installCAD () {
installAppsFromList cad
}
#
# install CAD Apps (Menu)
#
function installCADMenu () {
installAppsFromListMenu cad
}
# #
# install Teamviewer 13 (headless) # install Teamviewer 13 (headless)
# #
@ -927,10 +198,3 @@ function installBoostnotesMenu () {
boostnotes.deb \ boostnotes.deb \
yes yes
} }
#
# install/enable Unboud (headless)
#
function installUnbound () {
installAppsFromList unbound
}

View file

@ -98,7 +98,7 @@ function showConfigMenu () {
;; ;;
"Unbound") "Unbound")
clear clear
installUnbound installAppsFromList unbound
pressKey pressKey
;; ;;
"Back") "Back")
@ -174,10 +174,10 @@ function showThemesInstallMenu () {
case $themesInstallMenuOptions in case $themesInstallMenuOptions in
"themes") "themes")
installThemesMenu installAppsFromListMenu gtkthemes
;; ;;
"icons") "icons")
installIconsMenu installAppsFromListMenu icons
;; ;;
"Back") "Back")
break break
@ -225,67 +225,67 @@ function showDevInstallMenu () {
case $devInstallMenuOptions in case $devInstallMenuOptions in
"devbase") "devbase")
installDevAppsMenu installAppsFromListMenu dev
;; ;;
"java10") "java10")
installJava10 installAppsFromListMenu java10
;; ;;
"javascript") "javascript")
installJavascriptMenu installAppsFromListMenu javascript
;; ;;
"mongodb3ce") "mongodb3ce")
installMongo3CEMenu installAppsFromListMenu mongodb
;; ;;
"php") "php")
installPHPMenu installAppsFromListMenu php
;; ;;
"lua") "lua")
installLUAMenu installAppsFromListMenu lua
;; ;;
"ruby") "ruby")
installRubyMenu installAppsFromListMenu ruby
;; ;;
"qt") "qt")
installQTMenu installAppsFromListMenu qt
;; ;;
"python") "python")
installPythonMenu installAppsFromListMenu python
;; ;;
"atom") "atom")
installAtomMenu installAppsFromListMenu atom
;; ;;
"anjuta") "anjuta")
installAnjutaMenu installAppsFromListMenu anjuta
;; ;;
"brackets") "brackets")
installBracketsMenu installAppsFromListMenu brackets
;; ;;
"codeblocks") "codeblocks")
installCodeBlocksMenu installAppsFromListMenu codeblocks
;; ;;
"geany") "geany")
installGeanyMenu installAppsFromListMenu geany
;; ;;
"idea") "idea")
installIdeaMenu installAppsFromListMenu idea
;; ;;
"eclipse") "eclipse")
installEclipseMenu installAppsFromListMenu eclipse
;; ;;
"pycharm") "pycharm")
installPyCharmMenu installAppsFromListMenu pycharm
;; ;;
"vsc") "vsc")
installVisualStudioCodeMenu installAppsFromListMenu code
;; ;;
"androidstudio") "androidstudio")
installAndroidStudioMenu installAppsFromListMenu androidstudio
;; ;;
"sublimetext") "sublimetext")
installSublimeTextMenu installAppsFromListMenu sublime-text
;; ;;
"cad") "cad")
installCADMenu installAppsFromListMenu cad
;; ;;
"teamviewer13") "teamviewer13")
installTeamViewer13Menu installTeamViewer13Menu
@ -317,9 +317,11 @@ function showAppInstallMenu () {
"base" "Base Apps" \ "base" "Base Apps" \
"office" "Office Apps" \ "office" "Office Apps" \
"multimedia" "Multimedia Apps" \ "multimedia" "Multimedia Apps" \
"ebook" "eBook Apps" \
"internet" "Internet Apps" \ "internet" "Internet Apps" \
"utilities" "Misc Utilities" \ "utilities" "Misc Utilities" \
"games" "Games & tools" \ "games" "Games & tools" \
"steam" "Steam" \
"burningtools" "Disc Burning and tools" \ "burningtools" "Disc Burning and tools" \
"nettools" "Network tools" \ "nettools" "Network tools" \
"cajaplugins" "Caja Plugins" \ "cajaplugins" "Caja Plugins" \
@ -337,52 +339,58 @@ function showAppInstallMenu () {
case $appsInstallMenuOptions in case $appsInstallMenuOptions in
"base") "base")
installBaseMenu installAppsFromListMenu base
;; ;;
"office") "office")
installOfficeMenu installAppsFromListMenu office
;; ;;
"multimedia") "multimedia")
installMultimediaMenu installAppsFromListMenu multimedia
;;
"ebook")
installAppsFromListMenu ebook
;; ;;
"internet") "internet")
installInternetMenu installAppsFromListMenu internet
;; ;;
"utilities") "utilities")
installMiscUtilitiesMenu installAppsFromListMenu utilities
;; ;;
"games") "games")
installGamesMenu installAppsFromListMenu games
;;
"steam")
installAppsFromListMenu steam
;; ;;
"burningtools") "burningtools")
installBurningToolsMenu installAppsFromListMenu burningtools
;; ;;
"nettools") "nettools")
installNetToolsMenu installAppsFromListMenu nettools
;; ;;
"cajaplugins") "cajaplugins")
installCajaPluginsMenu installAppsFromListMenu cajaplugins
;; ;;
"nautilus") "nautilus")
installNautilusAndPluginsMenu installNautilusAndPluginsMenu
;; ;;
"thunar") "thunar")
installThunarMenu installAppsFromListMenu thunar
;; ;;
"gimp") "gimp")
installGimpPluginsMenu installAppsFromListMenu gimp
;; ;;
"rhythmbox") "rhythmbox")
installRhythmBoxPluginsMenu installAppsFromListMenu rhythmbox
;; ;;
"pidgin") "pidgin")
installPidginPluginsMenu installAppsFromListMenu pidgin
;; ;;
"nitrogen") "nitrogen")
installNitrogenMenu installAppsFromListMenu nitrogen
;; ;;
"wine") "wine")
installWineMenu installAppsFromListMenu wine
;; ;;
"viber") "viber")
installViberMenu installViberMenu
@ -444,43 +452,43 @@ function showHardwareMenu () {
case $hardwareMenuOptions in case $hardwareMenuOptions in
"cardreader") "cardreader")
installCardReaderMenu installAppsFromListMenu cardreader
;; ;;
"solaar") "solaar")
installAppsFromListMenu installAppsFromListMenu solaar
;; ;;
"webcam") "webcam")
installWebcamMenu installAppsFromListMenu webcam
;; ;;
"microcode") "microcode")
updateMicrocode updateMicrocode
;; ;;
"nvidia370") "nvidia370")
installNvidia370Menu installAppsFromListMenu nvidia-370
;; ;;
"nvidia375") "nvidia375")
installNvidia375Menu installAppsFromListMenu nvidia-375
;; ;;
"nvidia378") "nvidia378")
installNvidia378Menu installAppsFromListMenu nvidia-378
;; ;;
"nvidia381") "nvidia381")
installNvidia381Menu installAppsFromListMenu nvidia-381
;; ;;
"nvidia384") "nvidia384")
installNvidia384Menu installAppsFromListMenu nvidia-384
;; ;;
"nvidia387") "nvidia387")
installNvidia387Menu installAppsFromListMenu nvidia-387
;; ;;
"nvidia390") "nvidia390")
installNvidia390Menu installAppsFromListMenu nvidia-390
;; ;;
"nvidia396") "nvidia396")
installNvidia396Menu installAppsFromListMenu nvidia-396
;; ;;
"tlp") "tlp")
installTLPMenu installAppsFromListMenu tlp
;; ;;
"keyid") "keyid")
installKeyIDuDev installKeyIDuDev

View file

@ -98,7 +98,7 @@ function showConfigMenu () {
;; ;;
"Unbound") "Unbound")
clear clear
installUnbound installAppsFromList unbound
pressKey pressKey
;; ;;
"Back") "Back")
@ -174,10 +174,10 @@ function showThemesInstallMenu () {
case $themesInstallMenuOptions in case $themesInstallMenuOptions in
"themes") "themes")
installThemesMenu installAppsFromListMenu gtkthemes
;; ;;
"icons") "icons")
installIconsMenu installAppsFromListMenu icons
;; ;;
"Back") "Back")
break break
@ -225,67 +225,67 @@ function showDevInstallMenu () {
case $devInstallMenuOptions in case $devInstallMenuOptions in
"devbase") "devbase")
installDevAppsMenu installAppsFromListMenu dev
;; ;;
"java10") "java10")
installJava10 installAppsFromListMenu java10
;; ;;
"javascript") "javascript")
installJavascriptMenu installAppsFromListMenu javascript
;; ;;
"mongodb3ce") "mongodb3ce")
installMongo3CEMenu installAppsFromListMenu mongodb
;; ;;
"php") "php")
installPHPMenu installAppsFromListMenu php
;; ;;
"lua") "lua")
installLUAMenu installAppsFromListMenu lua
;; ;;
"ruby") "ruby")
installRubyMenu installAppsFromListMenu ruby
;; ;;
"qt") "qt")
installQTMenu installAppsFromListMenu qt
;; ;;
"python") "python")
installPythonMenu installAppsFromListMenu python
;; ;;
"atom") "atom")
installAtomMenu installAppsFromListMenu atom
;; ;;
"anjuta") "anjuta")
installAnjutaMenu installAppsFromListMenu anjuta
;; ;;
"brackets") "brackets")
installBracketsMenu installAppsFromListMenu brackets
;; ;;
"codeblocks") "codeblocks")
installCodeBlocksMenu installAppsFromListMenu codeblocks
;; ;;
"geany") "geany")
installGeanyMenu installAppsFromListMenu geany
;; ;;
"idea") "idea")
installIdeaMenu installAppsFromListMenu idea
;; ;;
"eclipse") "eclipse")
installEclipseMenu installAppsFromListMenu eclipse
;; ;;
"pycharm") "pycharm")
installPyCharmMenu installAppsFromListMenu pycharm
;; ;;
"vsc") "vsc")
installVisualStudioCodeMenu installAppsFromListMenu code
;; ;;
"androidstudio") "androidstudio")
installAndroidStudioMenu installAppsFromListMenu androidstudio
;; ;;
"sublimetext") "sublimetext")
installSublimeTextMenu installAppsFromListMenu sublime-text
;; ;;
"cad") "cad")
installCADMenu installAppsFromListMenu cad
;; ;;
"teamviewer13") "teamviewer13")
installTeamViewer13Menu installTeamViewer13Menu
@ -317,9 +317,11 @@ function showAppInstallMenu () {
"base" "Base Apps" \ "base" "Base Apps" \
"office" "Office Apps" \ "office" "Office Apps" \
"multimedia" "Multimedia Apps" \ "multimedia" "Multimedia Apps" \
"ebook" "eBook Apps" \
"internet" "Internet Apps" \ "internet" "Internet Apps" \
"utilities" "Misc Utilities" \ "utilities" "Misc Utilities" \
"games" "Games & tools" \ "games" "Games & tools" \
"steam" "Steam" \
"burningtools" "Disc Burning and tools" \ "burningtools" "Disc Burning and tools" \
"nettools" "Network tools" \ "nettools" "Network tools" \
"cajaplugins" "Caja Plugins" \ "cajaplugins" "Caja Plugins" \
@ -337,52 +339,58 @@ function showAppInstallMenu () {
case $appsInstallMenuOptions in case $appsInstallMenuOptions in
"base") "base")
installBaseMenu installAppsFromListMenu base
;; ;;
"office") "office")
installOfficeMenu installAppsFromListMenu office
;; ;;
"multimedia") "multimedia")
installMultimediaMenu installAppsFromListMenu multimedia
;;
"ebook")
installAppsFromListMenu ebook
;; ;;
"internet") "internet")
installInternetMenu installAppsFromListMenu internet
;; ;;
"utilities") "utilities")
installMiscUtilitiesMenu installAppsFromListMenu utilities
;; ;;
"games") "games")
installGamesMenu installAppsFromListMenu games
;;
"steam")
installAppsFromListMenu steam
;; ;;
"burningtools") "burningtools")
installBurningToolsMenu installAppsFromListMenu burningtools
;; ;;
"nettools") "nettools")
installNetToolsMenu installAppsFromListMenu nettools
;; ;;
"cajaplugins") "cajaplugins")
installCajaPluginsMenu installAppsFromListMenu cajaplugins
;; ;;
"nautilus") "nautilus")
installNautilusAndPluginsMenu installNautilusAndPluginsMenu
;; ;;
"thunar") "thunar")
installThunarMenu installAppsFromListMenu thunar
;; ;;
"gimp") "gimp")
installGimpPluginsMenu installAppsFromListMenu gimp
;; ;;
"rhythmbox") "rhythmbox")
installRhythmBoxPluginsMenu installAppsFromListMenu rhythmbox
;; ;;
"pidgin") "pidgin")
installPidginPluginsMenu installAppsFromListMenu pidgin
;; ;;
"nitrogen") "nitrogen")
installNitrogenMenu installAppsFromListMenu nitrogen
;; ;;
"wine") "wine")
installWineMenu installAppsFromListMenu wine
;; ;;
"viber") "viber")
installViberMenu installViberMenu
@ -440,31 +448,31 @@ function showHardwareMenu () {
case $hardwareMenuOptions in case $hardwareMenuOptions in
"cardreader") "cardreader")
installCardReaderMenu installAppsFromListMenu cardreader
;; ;;
"solaar") "solaar")
installAppsFromListMenu installAppsFromListMenu solaar
;; ;;
"webcam") "webcam")
installWebcamMenu installAppsFromListMenu webcam
;; ;;
"microcode") "microcode")
updateMicrocode updateMicrocode
;; ;;
"nvidia384") "nvidia384")
installNvidia384Menu installAppsFromListMenu nvidia-384
;; ;;
"nvidia387") "nvidia387")
installNvidia387Menu installAppsFromListMenu nvidia-387
;; ;;
"nvidia390") "nvidia390")
installNvidia390Menu installAppsFromListMenu nvidia-390
;; ;;
"nvidia396") "nvidia396")
installNvidia396Menu installAppsFromListMenu nvidia-driver-396
;; ;;
"tlp") "tlp")
installTLPMenu installAppsFromListMenu tlp
;; ;;
"keyid") "keyid")
installKeyIDuDev installKeyIDuDev

View file

@ -71,26 +71,26 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Apps" msg "Installing Apps"
installBase installAppsFromList base
installOffice installAppsFromList office
installBurningTools installBurningTools
installEbook installAppsFromList ebook
installGames installAppsFromList games
installSteam installAppsFromList steam
installInternet installAppsFromList internet
installJava10 installJava10
installMiscUtilities installAppsFromList utilities
installMultimedia installAppsFromList multimedia
installNetTools installAppsFromList nettools
installWine installAppsFromList wine
installCajaPlugins installAppsFromList cajaplugins
installNautilusAndPlugins installAppsFromList nautilus
installThunar installAppsFromList thunar
installGimpPlugins installAppsFromList gimp
installPidginPlugins installAppsFromList pidgin
installRhythmBoxPlugins installAppsFromList rhythmbox
msg "Installing HW related" msg "Installing HW related"
installWebcam installAppsFromList webcam
updateMicrocode updateMicrocode
msg "Applying system customizations" msg "Applying system customizations"
enableUFW enableUFW
@ -114,28 +114,28 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Apps" msg "Installing Apps"
installBase installAppsFromList base
installOffice installAppsFromList office
installBurningTools installBurningTools
installEbook installAppsFromList ebook
installGames installAppsFromList games
installSteam installAppsFromList steam
installInternet installAppsFromList internet
installJava10 installJava10
installMiscUtilities installAppsFromList utilities
installMultimedia installAppsFromList multimedia
installNetTools installAppsFromList nettools
installWine installAppsFromList wine
installCajaPlugins installAppsFromList cajaplugins
installNautilusAndPlugins installAppsFromList nautilus
installThunar installAppsFromList thunar
installGimpPlugins installAppsFromList gimp
installPidginPlugins installAppsFromList pidgin
installRhythmBoxPlugins installAppsFromList rhythmbox
msg "Installing HW related" msg "Installing HW related"
installWebcam installAppsFromList webcam
updateMicrocode updateMicrocode
installCardReader installAppsFromList cardreader
msg "Applying system customizations" msg "Applying system customizations"
enableUFW enableUFW
enableNumLockX enableNumLockX
@ -144,8 +144,8 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
installUnattendedUpgrades installUnattendedUpgrades
enableUnbound enableUnbound
msg "Installing additional themes/icons" msg "Installing additional themes/icons"
installIcons installAppsFromList icons
installThemes installAppsFromList gtkthemes
msg "Installing external apps" msg "Installing external apps"
installViber installViber
installFranz installFranz
@ -162,8 +162,8 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Icons/Themes" msg "Installing Icons/Themes"
installIcons installAppsFromList icons
installThemes installAppsFromList gtkthemes
;; ;;
w) # nitrogen w) # nitrogen
if [ $ygginitCount = false ]; then if [ $ygginitCount = false ]; then
@ -174,7 +174,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Nitrogen" msg "Installing Nitrogen"
installNitrogen installAppsFromList nitrogen
;; ;;
d) # install Unbound DNS Cache d) # install Unbound DNS Cache
if [ $ygginitCount = false ]; then if [ $ygginitCount = false ]; then
@ -196,7 +196,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Card Readers Apps" msg "Installing Card Readers Apps"
installCardReader installAppsFromList cardreader
;; ;;
s) # solaar for logitech devices s) # solaar for logitech devices
if [ $ygginitCount = false ]; then if [ $ygginitCount = false ]; then
@ -207,7 +207,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Solaar" msg "Installing Solaar"
installSolaar installAppsFromList solaar
;; ;;
t) # tlp (laptop or low energy usage) t) # tlp (laptop or low energy usage)
if [ $ygginitCount = false ]; then if [ $ygginitCount = false ]; then
@ -218,7 +218,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
ygginitCount=true ygginitCount=true
fi fi
msg "Installing TLP" msg "Installing TLP"
installTLP installAppsFromList tlp
;; ;;
n) # latest nvidia driver (see menus if need older version) n) # latest nvidia driver (see menus if need older version)
if [ $ygginitCount = false ]; then if [ $ygginitCount = false ]; then
@ -228,8 +228,7 @@ while getopts ":h,v,f,c,u,a,d,q,s,t,n,w,p,k" option; do
updateSystem updateSystem
ygginitCount=true ygginitCount=true
fi fi
msg "Installing Nvidia Latest Driver" installAppsFromList nvidia-driver-396
installNvidia396
;; ;;
k) k)
if [ $ygginitCount = false ]; then if [ $ygginitCount = false ]; then
@ -330,10 +329,10 @@ case $mainMenuOptions in
showAppInstallMenu showAppInstallMenu
;; ;;
"3") "3")
showAppBetaInstallMenu installAppsFromListMenu beta
;; ;;
"4") "4")
showAppNightlyInstallMenu installAppsFromListMenu nightly
;; ;;
"5") "5")
showThemesInstallMenu showThemesInstallMenu