Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to Generator and implement UI options #121

Open
12 of 22 tasks
mariobehling opened this issue Mar 11, 2018 · 2 comments · Fixed by #135
Open
12 of 22 tasks

Add script to Generator and implement UI options #121

mariobehling opened this issue Mar 11, 2018 · 2 comments · Fixed by #135
Assignees
Labels

Comments

@mariobehling
Copy link
Member

mariobehling commented Mar 11, 2018

A small script containing automating some of the issues here, as a sketch

  • Use LXQT
  • Switch off notifications
  • Switch off screensaver and sleep modus
  • Switch off system sounds
  • disable bookmarks in browser
  • Install ownCloud and Dropbox
  • Pre-set start system without password
  • install Gtalk/Hangout
  • install Firefox, Chrome, Chromium
  • set Chromium as default
  • set custom start page and set "re-start with last opened tabs" (in case laptop is crashing)
  • install git
  • change desktop background with custom image
  • update to latest version (without password)
  • switch off screen dimming
  • switch off power management saving features
  • link to the slide folder from the desktop (edit "make a link")
  • authide panel
  • install local language keyboards
  • install VLC and set as standard video player
  • install LibreOffice, Gimp, Inkscape
  • set search engine and distro referrals
#!/usr/bin/env bash
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y
sudo apt-get install -y apt-transport-https w3m openssh-server vlc weechat git adobe-flashplugin browser-plugin-freshplayer-pepperflash nautilus-dropbox lxqt dconf-cli chromium-browser libxss1 libappindicator1 libindicator7 apt-transport-https ca-certificates curl software-properties-common
curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
echo "deb https://repo.skype.com/deb stable main" | sudo tee /etc/apt/sources.list.d/skypeforlinux.list
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install -y skypeforlinux docker-ce sublime-text-installer
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
sudo apt-get install -f
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
export NVM_DIR="/home/opentech/.nvm" 
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
source ~/.bashrc
nvm install 6

dconf write /org/cinnamon/desktop/interface/clock-show-date true

##### Sound settings.
dconf write /org/cinnamon/sounds/login-enabled false
dconf write /org/cinnamon/sounds/logout-enabled false
dconf write /org/cinnamon/sounds/unplug-enabled false
dconf write /org/cinnamon/sounds/tile-enabled false
dconf write /org/cinnamon/sounds/plug-enabled false
dconf write /org/cinnamon/sounds/switch-enabled false

##### Power settings.
dconf write /org/cinnamon/settings-daemon/plugins/power/button-power "'interactive'"
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-inactive-ac-timeout 0
dconf write /org/cinnamon/settings-daemon/plugins/power/critical-battery-action "'hibernate'"
dconf write /org/cinnamon/settings-daemon/plugins/power/idle-dim-time 220
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-inactive-battery-timeout 0
dconf write /org/cinnamon/settings-daemon/plugins/power/lid-close-ac-action "'nothing'"
dconf write /org/cinnamon/settings-daemon/plugins/power/lid-close-battery-action "'nothing'"
dconf write /org/cinnamon/settings-daemon/plugins/power/idle-brightness 100
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-display-ac 600
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-display-battery 600
dconf write /org/cinnamon/desktop/session/idle-delay 300
dconf write /org/cinnamon/settings-daemon/plugins/power/lock-on-suspend false
dconf write /org/cinnamon/desktop/screensaver/lock-enabled false
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-display-ac 0
dconf write /org/cinnamon/settings-daemon/plugins/power/sleep-display-battery 10800
#no notifications
dconf write /org/cinnamon/desktop/notifications/display-notifications false
dconf write /org/cinnamon/desktop/backgroundpicture-uri 'https://raw.githubusercontent.com/fossasia/fossasia.org/gh-pages/img/fossasia_400x400.png'
dconf write /org/cinnamon/desktop/background/primary-color '#ffffffffffff'
dconf write /org/cinnamon/desktop/background/picture-options 'centered'
dconf write /org/cinnamon/panels-autohide "['1:intel']" 
dconf write /org/nemo/desktop/desktop-layout 'false::false'


#wget https://ixquick-proxy.com/do/spg/show_picture.pl?l=english&rais=1&oiu=https%3A%2F%2Fi.ytimg.com%2Fvi%2FopTDVE-dwEo%2Fmaxresdefault.jpg&sp=a489742ed186d2cff71453b508e3308e
#ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
#ssh-add ~/.ssh/id_rsa
@tabesin
Copy link
Member

tabesin commented Mar 11, 2018

While LXDE or LXQT do not support Gnome's dconf I see the point.

@meets2tarun
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants