UbuntuSetup: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(removed section of using dconf in favor of using built in System GUI)
Line 39: Line 39:
==  Set gnome-screenshot default save directory ==
==  Set gnome-screenshot default save directory ==
?
?
== Gnome3 Fix alt+tab to move across widnows and not just grouped apps ==
== Gnome3 Fix alt+tab to move across windows and not just grouped apps ==
<syntaxhighlight lang=bash>
Application Launcher > Settings > Keyboard
Open dconf-editor
* Under Navgiation, Set Switch Windows to alt+tab and replace. Yes to confirm override of "Switch Applications"
Go to org/gnome/desktop/wm/keybindings
Move the value '<Alt>Tab' from switch-applications to switch-windows
Optionally move '<Shift><Alt>Tab' from switch-applications-backward to switch-windows-backward
If you want switch-windows to work across desktops, not just in the current desktop, you can also uncheck org/gnome/shell/window-switcher/current-workspace-only (Courtesy of @CharlBotha)
Close dconf-editor
Press <Alt>F2, then type r to restart Gnome.
</syntaxhighlight>
[https://superuser.com/questions/394376/how-to-prevent-gnome-shells-alttab-from-grouping-windows-from-similar-apps]


== Gnome Tweak Tool ==
== Gnome Tweak Tool ==

Revision as of 21:17, 28 March 2018

After initial install

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade

sudo apt-get install -y etckeeper
cd /etc
sudo etckeeper init
sudo vi .gitignore # remove sensitive files

Disable Popcorn

dpkg-reconfigure popularity-contest

Set full vim editor and set as default

Install full vim

sudo apt install -y vim-scripts vim-runtime vim-doc vim

Set Default Editor

sudo update-alternatives --set editor /usr/bin/vim.basic

Set passwordless sudo

visudo:
username ALL=(ALL) NOPASSWD: ALL

Dash to Dock

https://extensions.gnome.org/extension/307/dash-to-dock/

Set gnome-screenshot default save directory

?

Gnome3 Fix alt+tab to move across windows and not just grouped apps

Application Launcher > Settings > Keyboard

  • Under Navgiation, Set Switch Windows to alt+tab and replace. Yes to confirm override of "Switch Applications"

Gnome Tweak Tool

TopIcons-plus - for Insync, Slack, Skype icons
Extension update notifier
Freon
Status area horizontal spacing
$ ~/.local/share/gnome-shell/extensions
sudo apt-get install chrome-gnome-shell
* restart GNOME Shell (Alt+F2, r, Enter) and enable the extension through gnome-tweak-tool.

Install Main Apps

sudo apt-get install \
keepass2 rdesktop vncviewer \
lm-sensors p7zip-full exfat-utils exfat-fuse encfs \
vim ssh git \
ubuntu-restricted-extras qbittorrent gimp audacity \ 
openjdk-8-jre icedtea-8-plugin oracle-java8-installer \
network-manager-openvpn wireshark nmap nikto chkrootkit wavemon namebench apache2-utils mailutils \
openvpn openssh-server fail2ban \
vlc vlc-plugin-fluidsynth ffmpeg atomicparsley \
virtualenv python2.7-examples python-pip \
xchat pidgin \
chrome-gnome-shell \
ansible \
gnome-tweaks

# xd exiftol
# openconnect network-manager-openconnect network-manager-openconnect-gnome # cisco vpn
  • Atom [1]
    • atom-beautify
    • linter-flake8
    • linter-pep8
    • autocomplete-python
    • django-templates
    • script-runner
    • teletype
  • sqlitebrowser
  • youtube-dl (via pip)
  • VirtualBox [2]
  • Vagrant [3]
    • vagrant plugin install vagrant-berkshelf
    • vagrant plugin install berkshelf
  • Terraform [4]
  • KeyBase [5]
  • DropBox [6]
  • Docker [7]
  • Chrome, verify Google Hangouts
  • Insynq [8]
  • Synergy
  • Ramlog or equivalent for SSD
  • nvm
  • gvm for goland
  • rvm Ubuntu RVM Instructions
  • Studio 3T (mongodb browswer) (https://studio3t.com/download/)
  • IntelliJ [9]
  • Android Studio [10]
  • Eclipse [11]
  • NetBeans [12]
  • PyCharm [13]
drew@drew-8570w:~$ snap list
Name                  Version                  Rev   Developer      Notes
core                  16-2.29.4.2              3604  canonical      core
cumulonimbus          1.6.7                    18    snapcrafters   -
drive                 current                  22    fireeye        -
gitter-desktop        3.1.0                    20    snapcrafters   -
juju                  2.3.1                    3106  canonical      classic
kubectl               1.9.0                    266   canonical      classic
picard                1.4.2                    2     pachulo        -
spotify               1.0.70.399.g5ffabd56-26  5     spotify        -
sqlitebrowser-casept  3.9.1                    2     casept         -
vault                 v0.9.0                   236   snapcrafters   -
vscode                1.19.1-1513676564        22    flexiondotorg  classic

Other NFS

sudo apt-get install -y nfs-common cifs-utils ethtool pm-utils
  • /etc/fstab
192.168.1.200:/mnt/raid5 /mnt/raid5	nfs	defaults	0 0

Other Syslog

Remote syslog

echo "*.* @192.168.1.200" >> /etc/rsyslog.d/50-default.conf

tmpfs if on SSD

  • tmpfs for /tmp and (maybe make this a bind mount..)
tmpfs   /tmp       tmpfs   defaults,noatime,mode=1777   0  0

Web server if needed

sudo apt-get install apache2 php7 php7-sqlite