diff --git a/.github/workflows/bash-tests.yml b/.github/workflows/bash-tests.yml index 50eaa58..1f001ba 100644 --- a/.github/workflows/bash-tests.yml +++ b/.github/workflows/bash-tests.yml @@ -10,10 +10,17 @@ # AUTHOR: wiktor2200, https://github.com/wiktor2200 # REPO: https://github.com/wiktor2200/Ubuntu-firstrun-config # CREATED: 2018-06-12 -# UPDATED: 2022-08-05 +# UPDATED: 2023-04-15 #=============================================================================== name: Check Bash scripts -on: [pull_request] + +"on": + push: + branches: + - main + pull_request: + schedule: + - cron: "0 0 1 * *" jobs: perform-upgrade: @@ -520,6 +527,14 @@ jobs: run: sudo apt-get update; sudo apt-get install ubuntu-desktop - name: Run install-firejail run: sudo bash ./scripts/install-firejail + install-solaar: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - name: Install ubuntu-desktop package + run: sudo apt-get update; sudo apt-get install ubuntu-desktop + - name: Run install-solaar + run: sudo bash ./scripts/install-solaar install-synaptic: runs-on: ubuntu-22.04 steps: diff --git a/Develop/config.csv b/Develop/config.csv index a8b1659..da40c3e 100644 --- a/Develop/config.csv +++ b/Develop/config.csv @@ -61,6 +61,7 @@ FALSE:Utilties - Install fzf – CLI fuzzy finder:Install fzf – CLI fuzzy find FALSE:Utilties - Install Guake – gnome dropdown terminal:Install Guake – gnome dropdown terminal:install-guake FALSE:Utilties - Install ISO images tool:Install ISO images tool, mount, unmount, modify. - acetoneiso:install-acetoneiso FALSE:Utilties - Install sandboxing app – Firejail:Install sandboxing app Firejail.:install-firejail +FALSE:Utilties - Install Solaar for Logitech devices:Install Solaar - Logitech Unifying,Bolt companion tool.:install-solaar FALSE:Utilties - Install Synaptic package manager:Install Synaptic package manager:install-synaptic FALSE:System - Replace filemanager Nautilus with Nemo:Replace file manager Nautilus with more powerful Nemo:replace-nautilus-nemo FALSE:System - Replace notepad gedit with pluma:Replace default gedit with powerful pluma notepad.:replace-gedit-pluma diff --git a/Develop/feature_list.md b/Develop/feature_list.md index 2cc062e..c340cae 100644 --- a/Develop/feature_list.md +++ b/Develop/feature_list.md @@ -1,4 +1,4 @@ -2022-08-05 +2023-04-15 |Task|Description|Subscript| |---|---|---| @@ -65,6 +65,7 @@ |Utilties - Install Guake – gnome dropdown terminal|Install Guake – gnome dropdown terminal|[install-guake](/scripts/install-guake)| |Utilties - Install ISO images tool|Install ISO images tool, mount, unmount, modify. - acetoneiso|[install-acetoneiso](/scripts/install-acetoneiso)| |Utilties - Install sandboxing app – Firejail|Install sandboxing app Firejail.|[install-firejail](/scripts/install-firejail)| +|Utilties - Install Solaar for Logitech devices|Install Solaar - Logitech Unifying,Bolt companion tool.|[install-solaar](/scripts/install-solaar)| |Utilties - Install Synaptic package manager|Install Synaptic package manager|[install-synaptic](/scripts/install-synaptic)| |System - Replace filemanager Nautilus with Nemo|Replace file manager Nautilus with more powerful Nemo|[replace-nautilus-nemo](/scripts/replace-nautilus-nemo)| |System - Replace notepad gedit with pluma|Replace default gedit with powerful pluma notepad.|[replace-gedit-pluma](/scripts/replace-gedit-pluma)| diff --git a/README.md b/README.md index 9ca2f90..a87ebf0 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Example summary: # Features Full feature list from [config.csv](./Develop/config.csv) file in `Develop` directory in easy readable table. -2022-07-30 +2023-04-15 |Task|Description|Subscript| |---|---|---| @@ -107,6 +107,7 @@ Full feature list from [config.csv](./Develop/config.csv) file in `Develop` dire |Utilties - Install Guake – gnome dropdown terminal|Install Guake – gnome dropdown terminal|[install-guake](/scripts/install-guake)| |Utilties - Install ISO images tool|Install ISO images tool, mount, unmount, modify. - acetoneiso|[install-acetoneiso](/scripts/install-acetoneiso)| |Utilties - Install sandboxing app – Firejail|Install sandboxing app Firejail.|[install-firejail](/scripts/install-firejail)| +|Utilties - Install Solaar - Logitech Unifying/Bolt companion tool|install-solaar|[](/scripts/)| |Utilties - Install Synaptic package manager|Install Synaptic package manager|[install-synaptic](/scripts/install-synaptic)| |System - Replace filemanager Nautilus with Nemo|Replace file manager Nautilus with more powerful Nemo|[replace-nautilus-nemo](/scripts/replace-nautilus-nemo)| |System - Replace notepad gedit with pluma|Replace default gedit with powerful pluma notepad.|[replace-gedit-pluma](/scripts/replace-gedit-pluma)| @@ -114,7 +115,6 @@ Full feature list from [config.csv](./Develop/config.csv) file in `Develop` dire |System - Show hidden autostart system entries|Show hidden autostart system entries|[show-hidden-autostart-entries](/scripts/show-hidden-autostart-entries)| |Cleanup - Uninstall Ubuntu 16.04 old dependencies.|Uninstall 16.04 garbage dependencies after upgrade to 18.04.|[uninstall-old-1604-dependencies](/scripts/uninstall-old-1604-dependencies)| - # Contribution guide ## Generating of main script diff --git a/scripts/install-solaar b/scripts/install-solaar new file mode 100644 index 0000000..a281c11 --- /dev/null +++ b/scripts/install-solaar @@ -0,0 +1,28 @@ +# install-solaar +# Utilties - Install Solaar for Logitech devices +# Install Solaar - Logitech Unifying,Bolt companion tool. +echo -e "Running: Utilties - Install Solaar for Logitech devices - ./scripts/install-solaar" + +sudo add-apt-repository ppa:solaar-unifying/stable && +sudo apt-get update && + +sudo apt-get install -y solaar && + +## Add autostart entry +mkdir -p ~/.config/autostart && +echo -e "[Desktop Entry]\n\ +Type=Application\n\ +Name=Solaar\n\ +Exec=solaar -w hide -b solaar\n\ +Hidden=false\n\ +NoDisplay=false\n\ +X-GNOME-Autostart-enabled=true\n\ +Comment=Start Solaar for Logitech devices at log in" | tee ~/.config/autostart/solaar.desktop > /dev/null + +if [ $? -eq 0 ]; then + echo -e "\\nOK\\n" + exit 0 +else + echo -e "\\nFAIL\\n" + exit 1 +fi diff --git a/ubuntu-firstrun-config.bash b/ubuntu-firstrun-config.bash index 9d7f09e..cefc23c 100644 --- a/ubuntu-firstrun-config.bash +++ b/ubuntu-firstrun-config.bash @@ -11,7 +11,7 @@ # AUTHOR: wiktor2200, https://github.com/wiktor2200 # REPO: https://github.com/wiktor2200/Ubuntu-firstrun-config # CREATED: 2018-06-12 -# UPDATED: 2022-08-05 +# UPDATED: 2023-04-15 #=============================================================================== # This script is generated using: generate-script-from-config.bash from repo: https://github.com/wiktor2200/Ubuntu-firstrun-config @@ -83,6 +83,7 @@ FALSE "Utilties - Install fzf – CLI fuzzy finder" "Install fzf – CLI fuzzy f FALSE "Utilties - Install Guake – gnome dropdown terminal" "Install Guake – gnome dropdown terminal" \ FALSE "Utilties - Install ISO images tool" "Install ISO images tool, mount, unmount, modify. - acetoneiso" \ FALSE "Utilties - Install sandboxing app – Firejail" "Install sandboxing app Firejail." \ +FALSE "Utilties - Install Solaar for Logitech devices" "Install Solaar - Logitech Unifying,Bolt companion tool." \ FALSE "Utilties - Install Synaptic package manager" "Install Synaptic package manager" \ FALSE "System - Replace filemanager Nautilus with Nemo" "Replace file manager Nautilus with more powerful Nemo" \ FALSE "System - Replace notepad gedit with pluma" "Replace default gedit with powerful pluma notepad." \ @@ -347,6 +348,10 @@ for word in $response ; do SUMMARY+="`cat $DIR/scripts/install-firejail`\n\n" COMMAND_TO_RUN+="bash $DIR/scripts/install-firejail; " ;; + "Utilties - Install Solaar for Logitech devices") + SUMMARY+="`cat $DIR/scripts/install-solaar`\n\n" + COMMAND_TO_RUN+="bash $DIR/scripts/install-solaar; " + ;; "Utilties - Install Synaptic package manager") SUMMARY+="`cat $DIR/scripts/install-synaptic`\n\n" COMMAND_TO_RUN+="bash $DIR/scripts/install-synaptic; "