Skip to content

Commit

Permalink
Merge pull request #24 from rbreaves/dev
Browse files Browse the repository at this point in the history
- Added desktop startup of kinto service
  • Loading branch information
rbreaves authored Feb 5, 2020
2 parents 22e5462 + b8b81bd commit e599562
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keyswap_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ systemctl --user stop keyswap.timer >/dev/null 2>&1
systemctl --user disable keyswap.timer >/dev/null 2>&1
swapcmd="\/bin\/bash\ \/home\/`whoami`\/.config\/kinto\/xactive.sh"
mkdir -p ~/.config/systemd/user
mkdir -p ~/.config/autostart
cp ./system-config/keyswap.service ~/.config/systemd/user/keyswap.service
cp ./system-config/kinto.desktop ~/.config/autostart/kinto.desktop
cp ./kintox11/binary/kintox11 ~/.config/kinto/kintox11
cp ./system-config/xactive.sh ~/.config/kinto/xactive.sh
sed -i "s/{username}/`whoami`/g" ~/.config/systemd/user/keyswap.service
Expand Down
8 changes: 8 additions & 0 deletions system-config/kinto.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Name=Kinto
GenericName=Kinto
Comment=Make Linux Type Like it's a Mac
Exec=/bin/systemctrl --user start keyswap
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true

0 comments on commit e599562

Please sign in to comment.