Skip to content

Instantly share code, notes, and snippets.

@ananthp
Forked from rpattabi/stuff_on_top_of_ubuntu.md
Last active August 29, 2018 17:17
Show Gist options
  • Save ananthp/3803587 to your computer and use it in GitHub Desktop.
Save ananthp/3803587 to your computer and use it in GitHub Desktop.
Stuff On Top of Ubuntu

Stuff to install or setup on top of default ubuntu installation

Launcher Shortcuts

Remove libre office. Add ..

  • Update Manager
  • System Monitor
  • Terminal

MUST HAVE

tree zsh tilix gimp scribus inkscape neovim curl build-essential keepassx storebackup smplayer lilypond quodlibet scantailor lm-sensors acl

terminal emulators:

  • tilix
  • terminator

acl - Access control lists

oh-my-zsh

https://github.com/robbyrussell/oh-my-zsh/wiki

games

  • gnotravex hex-a-hop gnotski supertuxkart gtans gnect
  • puzzle-moppet
  • babaschess

games

  • pychess numptyphysics lightsoff bovo pioneers smc palapeli pathological
  • circular-chaos

SETUP

  • configure wifi
  • firefox:
    • login and sync
    • Disable WebRTC to prevent ip address leaks (details below): about:config -> media.peerconnection.enabled set to false
  • LVM data mountpoints
  • File manager bookmarks for lvm mountpoints
  • storebackup ??
  • grub theme burg -- how to
  • nautilus - Favourites (/tmp, /mnt/backup2tb)
  • keepassx : security - lock database after __ seconds of inactivity (300 seconds?)
  • transmission blocklist level1
  • Music database -- set directories in Quod Libet

drive access for all users

references:

steps:

  1. edit /etc/fstab. Ensure all the drive/partition has /dev/sda1 /mnt/music ext4 defaults,errors=remount-ro,acl 1 2
  2. unmount to activate acl. mount -o remount,acl /mnt/music
  3. create a new user group. addgroup kutties
  4. add users to the group. gpasswd -a ragu kutties and gpasswd -a ananth kutties
  5. add permissions to the group for the existing stuff. setfacl -Rm g:kutties:rwX /mnt/music
  6. add permissions to the group for the new files in future. setfacl -d -Rm g:kutties:rwX /mnt/music

Tamil typing support

sudo apt-get install m17n-db m17n-contrib ibus-m17n
ibus-setup
choose ibus as the input method in 'System > Language Support'
in order to have this automatically started on start up im-switch -s ibus (??)
Details here

Music collection

  • Configure music library paths in Quod libet
  • Paned Browser settings: set to Custom and add one by one
    • ~format
    • genre
    • album
    • ~people

github/git config

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

vim bundles

  • mattn/gist-vim -- helps to use vim for working with github gists
  • unimpaired -- adds easy way to add blank line without going into insert mode
  • fugitive -- do git within vim

settings

Update gvim startup settings with

# ~/.vimrc

colorscheme kellys or colorscheme desert
set guifont=Ubuntu\ Mono\ 12

Following was required to be added for ~/.bashrc since gvim took time to start

function gvim() { (/usr/bin/gvim -f "$@" &) }

ruby

rvm installation -- http://www.andrehonsberg.com/article/install-rvm-ubuntu-1204-linux-for-ruby-193
install -- rvm requirements
vim for ruby -- https://github.com/carlhuda/janus

sudo apt-get install build-essential git-core openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config exuberant-ctags ack

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)  
echo '[[ -s "/home/andre/.rvm/scripts/rvm" ]] && source "/home/andre/.rvm/scripts/rvm"' >> ~/.bashrc  
source ~/.bashrc  
type rvm | head -1  

rvm pkg install openssl  
rvm install 1.9.3 --with-openssl-dir=$HOME/.rvm/usr  
rvm use 1.9.3 --default  
rmdir $rvm_path/usr/ssl/certs
ln -s /etc/ssl/certs $rvm_path/usr/ssl

curl -Lo- https://bit.ly/janus-bootstrap | bash

gem install newgem

jruby

reference - https://rvm.io/interpreters/jruby/

rvm requirements # and install the prerequisites for jruby
rvm install jruby --1.9

music visualization

projectm -- sudo apt-get install projectm-pulseaudio
recording visualizations -- http://ubuntuforums.org/showthread.php?t=1497453 and http://www.isep.ipp.pt/roswiki/RecordingOpenGLAppsWithGLC.html
glc -- https://github.com/nullkey/glc/wiki/Install
Installing from debian -- add ftp://ftp.us.debian.org/debian wheezy main (don't forget to remove after installating)

cmmi10 font

This one is from latex collection. Used in no-nonsense-calendars. http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf

Maintenance

disk check for bad-blocks

e2fsck -c /dev/fill-me -c invokes badblocks internally. badblocks manual recommends this method rather than using badblocks command separately and feeding it to e2fsck -- CAUTION! block size. Note: ubuntu checks file systems periodically, but doesn't check for badblocks probably.

For /home, reboot in recovery mode and run e2fsck

Troubleshoot

Printer prints blank pages till paper runs out

Settings, Printer, make & model -> change Choose the same Manufacturer, Same model, but try a different foomatic driver shown in the list.

@rpattabi
Copy link

@ananthp
Copy link
Author

ananthp commented Aug 29, 2018

WebRTC and ip address leaks

Try:

Other "what is my ip" kind of sites show only one ip address, but ipleak.net shows ip address obtained through various means. From this it is apparent that firefox leaks ip address through WebRTC.

Also verify with https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ (click gather candidates)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment