-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3b127f
commit cc2e36d
Showing
6 changed files
with
56 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters