Skip to content

Commit

Permalink
Merge pull request #6 from wiktor2200/add-solaar-for-logitech
Browse files Browse the repository at this point in the history
Add solaar for Logitech devices
  • Loading branch information
wiktor2200 authored Apr 15, 2023
2 parents f3b127f + cc2e36d commit 80474d7
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 6 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/bash-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions Develop/config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Develop/feature_list.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2022-08-05
2023-04-15

|Task|Description|Subscript|
|---|---|---|
Expand Down Expand Up @@ -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)|
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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|
|---|---|---|
Expand Down Expand Up @@ -107,14 +107,14 @@ 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)|
|System - Set Grub Timeout to 1 second|Set Grub Timeout to 1 second|[set-grub](/scripts/set-grub)|
|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
Expand Down
28 changes: 28 additions & 0 deletions scripts/install-solaar
Original file line number Diff line number Diff line change
@@ -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
7 changes: 6 additions & 1 deletion ubuntu-firstrun-config.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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." \
Expand Down Expand Up @@ -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; "
Expand Down

0 comments on commit 80474d7

Please sign in to comment.