From 5ce58acb98211d6b78607141921d2fa047ea69cf Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:14:55 +0100 Subject: [PATCH 1/8] various small changes on laptop --- herbstluftwm/autostart | 2 +- other/package_list_full.txt | 4 ++++ zshrc | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index d6c8a8a..242473e 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -43,7 +43,7 @@ hc keybind $Mod-q close #spawn shit hc keybind $Mod-Return spawn urxvt hc keybind $Mod-Shift-Return spawn xterm /bin/bash -hc keybind $Mod-i spawn chromium +hc keybind $Mod-i spawn iceweasel if [[ $HOST =~ atlantis* ]]; then hc keybind $Mod-l spawn i3lock -i ~/.config/i3lock/bg.png -t else diff --git a/other/package_list_full.txt b/other/package_list_full.txt index 950597c..01702e5 100644 --- a/other/package_list_full.txt +++ b/other/package_list_full.txt @@ -21,6 +21,7 @@ feh #simple pictureviewer findutils #find things gcc-4.9-base #C-Compiler gcc-arm-none-eabi #cross compiler used for gene (bcarbeit) +g++ #C++ compiler gcp #copy with statusbar gedit #graphical texteditor geparted #partitionmanagement @@ -60,6 +61,7 @@ rxvt-unicode-256color #terminal-emulator sed #regex stream manipulation (used for hl-panel) sleuthkit #forensik utilities sshfs #mount harddrives over ssh +strace #track behaviour or processes sudo #execute as root tar #compressing/unpacking tesseract-ocr #optical character/text recognition @@ -73,6 +75,8 @@ vim-nox #good consol texeditor with script support wget #download urls whois #lookup ips etc of DNS adresses wicd-curses #good simple networkmanager +wine #windows emuator +winetricks #windows emulator utilities xorg #needed for nearly all windowmangers xpra #open graphical window on remote pc zsh #much better shell than bash diff --git a/zshrc b/zshrc index 1e13d10..767026f 100644 --- a/zshrc +++ b/zshrc @@ -75,7 +75,7 @@ alias psearch="apt-cache search" ## GENERAL SHORTCUTS ## if [[ $HOST =~ atlantis* ]]; then - alias gedit="gedit 2&>/dev/null &" + #alias gedit="gedit 2&>/dev/null &" alias kpaint="kolourpaint 2&>/dev/null &" alias telegram='ssh uni -t "/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub"' alias x='startx' @@ -83,6 +83,7 @@ else alias pcolor='for i in {0..255} ; do printf "\x1b[38;5;${i}mcolour${i} "; if [[ $(((($i+3)/6)*6)) -eq $(($i+3)) ]]; then echo; fi; done' alias telegram='/proj/ciptmp/ik15ydit/Zeug/Telegram/tg/bin/telegram-cli -k tg-server.pub' fi +alias "ipconf"="ip addr show" ## CONVERTING (cip has better defaults) ## if [[ $HOST =~ atlantis* ]]; then @@ -173,3 +174,4 @@ fi if [[ $HOST =~ faui* ]]; then mesg n fi +alias mpc-curses='ncmpc --host 10.100.4.22' From 6e5e7408ee16edcb8c5738168bac80e6d75b67b5 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:17:07 +0100 Subject: [PATCH 2/8] renaming --- other/{grub => grub.conf} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename other/{grub => grub.conf} (100%) diff --git a/other/grub b/other/grub.conf similarity index 100% rename from other/grub rename to other/grub.conf From cf4931f6f1d1b186d7d1c7229167b13200eae3e8 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:18:45 +0100 Subject: [PATCH 3/8] deleted obsolete install script --- other/deb_install.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 other/deb_install.sh diff --git a/other/deb_install.sh b/other/deb_install.sh deleted file mode 100644 index 2340c69..0000000 --- a/other/deb_install.sh +++ /dev/null @@ -1,11 +0,0 @@ -apt install build-essential libtool autoconf te -apt install rxvt-unicode zsh xorg herbstluftwm -apt install git tig python3 gcc g++ clang default-jdk default-jdk-doc -apt install vim vim-nox vim-syntax-gtk -apt install tree tmux pulseaudio htop sudo ncdu i3lock xautolock -apt install iw wicd-curses -apt install iceweasel chromium libreoffice icedove gedit -apt install texlive-full texlive-lang-german texstudio -apt install kolourpain feh imagemagick gimp -apt install kvm sleuthkit -#apt install firmware-ralink firmware-realtek#wireless stick & network card From 0c7edf00ea4519eb6c6c1c2010a85559bbe9fc5b Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:20:25 +0100 Subject: [PATCH 4/8] extended gitinore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 27873d2..b99bb63 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,7 @@ herbstluftwm/restartpanels.sh htop/ inkscape/ libfm/ +libvirt/ libreoffice mc/ menus/ @@ -45,10 +46,13 @@ pcmanfm/ ristretto/ roxterm.sourceforge.net/ SEGGER/ +sonata/ spring tubus/ user-dirs.dirs user-dirs.locale +VirtualBox/ +virt-viewer/ vlc/ xarchiver/ yelp/ From 3e5a2a28231534b93b7d01f4dc77c8fc16f00bb8 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:30:28 +0100 Subject: [PATCH 5/8] modifed for automatic installation --- other/package_list_full.txt | 164 ++++++++++++++++++------------------ 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/other/package_list_full.txt b/other/package_list_full.txt index 01702e5..e664ae2 100644 --- a/other/package_list_full.txt +++ b/other/package_list_full.txt @@ -1,82 +1,82 @@ -acpi #check battery -apt #advanced installer -aptitude #advanced installer -arping #find all devices in network -autoconf #used for building LD_PRELOAD -bison #used for gene (bachelorarbeit) -build-essential #make -chromium #internet -colordiff #colored diff -coreutils #many usefull tools -cron #execute tasks automaticly at certain times -cscope #find shit in big repros -dzen2 #used for herbsluftclient panel -eclipse #java programming enviroment -enscript #used for pdf/ps stuff -evince #pdf viewer -exiftool #metadate information -exfat-fuse #mount exfat devices as user -exfat-utils #more options for exfat -feh #simple pictureviewer -findutils #find things -gcc-4.9-base #C-Compiler -gcc-arm-none-eabi #cross compiler used for gene (bcarbeit) -g++ #C++ compiler -gcp #copy with statusbar -gedit #graphical texteditor -geparted #partitionmanagement -git #version controll system -grep #search for keywords -gzip #compress -herbstluftwm #windowmanager -hgsubversion #(shitty) version control system needed for aud -htop #taskmanager -i3lock #screenlock -icedove #email client -iceweasel #firefox browser -ifupdown #networkinterface managment -imagemagick #convert images -inkscape #pdfeditor/vectorbased drawing -iputils-ping #tracerout and ping -iw #information about network interfaces -katarakt #simple and performant pdfviewer -kolourpaint4 #simple pictureeditor -less #simple textview -libreoffice #documenteditor like open office -nano #very simple to use consol-texteditor -ncdu #harddriveussage overview -mpv #video/music player -openjdk-8-jdk #java -openssh-client #ssh -pandoc #used for pdf conversion -pavucontrol #sound control -pdf-presenter-console #simple pdfviewer usefull for presentations -poppler-utils #extract images from pdfs -pulseaudio #sound -python #python -python-pdfminer #needed for markingbird -python-pip #install python modules -qemu-kvm #virtual machine -rxvt-unicode-256color #terminal-emulator -sed #regex stream manipulation (used for hl-panel) -sleuthkit #forensik utilities -sshfs #mount harddrives over ssh -strace #track behaviour or processes -sudo #execute as root -tar #compressing/unpacking -tesseract-ocr #optical character/text recognition -texlive-full #tex (Achtung groß) -tig #git history -tmux #terminal multiplexer (multiple terminals within one) -traceroute #tracert/check route to host -tree #show filesystemtree -usbutils #usefullshit for usbdevices -vim-nox #good consol texeditor with script support -wget #download urls -whois #lookup ips etc of DNS adresses -wicd-curses #good simple networkmanager -wine #windows emuator -winetricks #windows emulator utilities -xorg #needed for nearly all windowmangers -xpra #open graphical window on remote pc -zsh #much better shell than bash +acpi ;check battery +apt ;advanced installer +aptitude ;advanced installer +arping ;find all devices in network +autoconf ;used for building LD_PRELOAD +bison ;used for gene (bachelorarbeit) +build-essential ;make +chromium ;internet +colordiff ;colored diff +coreutils ;many usefull tools +cron ;execute tasks automaticly at certain times +cscope ;find shit in big repros +dzen2 ;used for herbsluftclient panel +eclipse ;java programming enviroment +enscript ;used for pdf/ps stuff +evince ;pdf viewer +exiftool ;metadate information +exfat-fuse ;mount exfat devices as user +exfat-utils ;more options for exfat +feh ;simple pictureviewer +findutils ;find things +gcc-4.9-base ;C-Compiler +gcc-arm-none-eabi ;cross compiler used for gene (bcarbeit) +g++ ;C++ compiler +gcp ;copy with statusbar +gedit ;graphical texteditor +geparted ;partitionmanagement +git ;version controll system +grep ;search for keywords +gzip ;compress +herbstluftwm ;windowmanager +hgsubversion ;(shitty) version control system needed for aud +htop ;taskmanager +i3lock ;screenlock +icedove ;email client +iceweasel ;firefox browser +ifupdown ;networkinterface managment +imagemagick ;convert images +inkscape ;pdfeditor/vectorbased drawing +iputils-ping ;tracerout and ping +iw ;information about network interfaces +katarakt ;simple and performant pdfviewer +kolourpaint4 ;simple pictureeditor +less ;simple textview +libreoffice ;documenteditor like open office +nano ;very simple to use consol-texteditor +ncdu ;harddriveussage overview +mpv ;video/music player +openjdk-8-jdk ;java +openssh-client ;ssh +pandoc ;used for pdf conversion +pavucontrol ;sound control +pdf-presenter-console ;simple pdfviewer usefull for presentations +poppler-utils ;extract images from pdfs +pulseaudio ;sound +python ;python +python-pdfminer ;needed for markingbird +python-pip ;install python modules +qemu-kvm ;virtual machine +rxvt-unicode-256color ;terminal-emulator +sed ;regex stream manipulation (used for hl-panel) +sleuthkit ;forensik utilities +sshfs ;mount harddrives over ssh +strace ;track behaviour or processes +sudo ;execute as root +tar ;compressing/unpacking +tesseract-ocr ;optical character/text recognition +texlive-full ;tex (Achtung groß) +tig ;git history +tmux ;terminal multiplexer (multiple terminals within one) +traceroute ;tracert/check route to host +tree ;show filesystemtree +usbutils ;usefullshit for usbdevices +vim-nox ;good consol texeditor with script support +wget ;download urls +whois ;lookup ips etc of DNS adresses +wicd-curses ;good simple networkmanager +wine ;windows emuator +winetricks ;windows emulator utilities +xorg ;needed for nearly all windowmangers +xpra ;open graphical window on remote pc +zsh ;much better shell than bash From 190d9126c65f0430307ad2af96a5f4ce97875067 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:38:29 +0100 Subject: [PATCH 6/8] grrrrr --- other/package_list_full.txt | 164 ++++++++++++++++++------------------ 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/other/package_list_full.txt b/other/package_list_full.txt index e664ae2..a691e17 100644 --- a/other/package_list_full.txt +++ b/other/package_list_full.txt @@ -1,82 +1,82 @@ -acpi ;check battery -apt ;advanced installer -aptitude ;advanced installer -arping ;find all devices in network -autoconf ;used for building LD_PRELOAD -bison ;used for gene (bachelorarbeit) -build-essential ;make -chromium ;internet -colordiff ;colored diff -coreutils ;many usefull tools -cron ;execute tasks automaticly at certain times -cscope ;find shit in big repros -dzen2 ;used for herbsluftclient panel -eclipse ;java programming enviroment -enscript ;used for pdf/ps stuff -evince ;pdf viewer -exiftool ;metadate information -exfat-fuse ;mount exfat devices as user -exfat-utils ;more options for exfat -feh ;simple pictureviewer -findutils ;find things -gcc-4.9-base ;C-Compiler -gcc-arm-none-eabi ;cross compiler used for gene (bcarbeit) -g++ ;C++ compiler -gcp ;copy with statusbar -gedit ;graphical texteditor -geparted ;partitionmanagement -git ;version controll system -grep ;search for keywords -gzip ;compress -herbstluftwm ;windowmanager -hgsubversion ;(shitty) version control system needed for aud -htop ;taskmanager -i3lock ;screenlock -icedove ;email client -iceweasel ;firefox browser -ifupdown ;networkinterface managment -imagemagick ;convert images -inkscape ;pdfeditor/vectorbased drawing -iputils-ping ;tracerout and ping -iw ;information about network interfaces -katarakt ;simple and performant pdfviewer -kolourpaint4 ;simple pictureeditor -less ;simple textview -libreoffice ;documenteditor like open office -nano ;very simple to use consol-texteditor -ncdu ;harddriveussage overview -mpv ;video/music player -openjdk-8-jdk ;java -openssh-client ;ssh -pandoc ;used for pdf conversion -pavucontrol ;sound control -pdf-presenter-console ;simple pdfviewer usefull for presentations -poppler-utils ;extract images from pdfs -pulseaudio ;sound -python ;python -python-pdfminer ;needed for markingbird -python-pip ;install python modules -qemu-kvm ;virtual machine -rxvt-unicode-256color ;terminal-emulator -sed ;regex stream manipulation (used for hl-panel) -sleuthkit ;forensik utilities -sshfs ;mount harddrives over ssh -strace ;track behaviour or processes -sudo ;execute as root -tar ;compressing/unpacking -tesseract-ocr ;optical character/text recognition -texlive-full ;tex (Achtung groß) -tig ;git history -tmux ;terminal multiplexer (multiple terminals within one) -traceroute ;tracert/check route to host -tree ;show filesystemtree -usbutils ;usefullshit for usbdevices -vim-nox ;good consol texeditor with script support -wget ;download urls -whois ;lookup ips etc of DNS adresses -wicd-curses ;good simple networkmanager -wine ;windows emuator -winetricks ;windows emulator utilities -xorg ;needed for nearly all windowmangers -xpra ;open graphical window on remote pc -zsh ;much better shell than bash +acpi ;#check battery +apt ;#advanced installer +aptitude ;#advanced installer +arping ;#find all devices in network +autoconf ;#used for building LD_PRELOAD +bison ;#used for gene (bachelorarbeit) +build-essential ;#make +chromium ;#internet +colordiff ;#colored diff +coreutils ;#many usefull tools +cron ;#execute tasks automaticly at certain times +cscope ;#find shit in big repros +dzen2 ;#used for herbsluftclient panel +eclipse ;#java programming enviroment +enscript ;#used for pdf/ps stuff +evince ;#pdf viewer +exiftool ;#metadate information +exfat-fuse ;#mount exfat devices as user +exfat-utils ;#more options for exfat +feh ;#simple pictureviewer +findutils ;#find things +gcc-4.9-base ;#C-Compiler +gcc-arm-none-eabi ;#cross compiler used for gene (bcarbeit) +g++ ;#C++ compiler +gcp ;#copy with statusbar +gedit ;#graphical texteditor +geparted ;#partitionmanagement +git ;#version controll system +grep ;#search for keywords +gzip ;#compress +herbstluftwm ;#windowmanager +hgsubversion ;#(shitty) version control system needed for aud +htop ;#taskmanager +i3lock ;#screenlock +icedove ;#email client +iceweasel ;#firefox browser +ifupdown ;#networkinterface managment +imagemagick ;#convert images +inkscape ;#pdfeditor/vectorbased drawing +iputils-ping ;#tracerout and ping +iw ;#information about network interfaces +katarakt ;#simple and performant pdfviewer +kolourpaint4 ;#simple pictureeditor +less ;#simple textview +libreoffice ;#documenteditor like open office +nano ;#very simple to use consol-texteditor +ncdu ;#harddriveussage overview +mpv ;#video/music player +openjdk-8-jdk ;#java +openssh-client ;#ssh +pandoc ;#used for pdf conversion +pavucontrol ;#sound control +pdf-presenter-console ;#simple pdfviewer usefull for presentations +poppler-utils ;#extract images from pdfs +pulseaudio ;#sound +python ;#python +python-pdfminer ;#needed for markingbird +python-pip ;#install python modules +qemu-kvm ;#virtual machine +rxvt-unicode-256color ;#terminal-emulator +sed ;#regex stream manipulation (used for hl-panel) +sleuthkit ;#forensik utilities +sshfs ;#mount harddrives over ssh +strace ;#track behaviour or processes +sudo ;#execute as root +tar ;#compressing/unpacking +tesseract-ocr ;#optical character/text recognition +texlive-full ;#tex (Achtung groß) +tig ;#git history +tmux ;#terminal multiplexer (multiple terminals within one) +traceroute ;#tracert/check route to host +tree ;#show filesystemtree +usbutils ;#usefullshit for usbdevices +vim-nox ;#good consol texeditor with script support +wget ;#download urls +whois ;#lookup ips etc of DNS adresses +wicd-curses ;#good simple networkmanager +wine ;#windows emuator +winetricks ;#windows emulator utilities +xorg ;#needed for nearly all windowmangers +xpra ;#open graphical window on remote pc +zsh ;#much better shell than bash From 704214a818ed4ecbe10e1abc2e3f43a1d1c25467 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 22:38:55 +0100 Subject: [PATCH 7/8] added setupscrips --- basic_setup/init.sh | 4 ++++ basic_setup/install.sh | 6 ++++++ basic_setup/symlinks.sh | 4 ++++ 3 files changed, 14 insertions(+) create mode 100755 basic_setup/init.sh create mode 100755 basic_setup/install.sh create mode 100755 basic_setup/symlinks.sh diff --git a/basic_setup/init.sh b/basic_setup/init.sh new file mode 100755 index 0000000..1d124fb --- /dev/null +++ b/basic_setup/init.sh @@ -0,0 +1,4 @@ +mv ~/config/ ~/.config/ +~/.config/basic-setup/install.sh +~/.config/basic-setup/symlinks.sh +echo All Done. diff --git a/basic_setup/install.sh b/basic_setup/install.sh new file mode 100755 index 0000000..ea2f237 --- /dev/null +++ b/basic_setup/install.sh @@ -0,0 +1,6 @@ +su +cat ../other/package_list_full.txt | while read line +do + apt install --no-install-recommends --assume-yes $line +done +exit diff --git a/basic_setup/symlinks.sh b/basic_setup/symlinks.sh new file mode 100755 index 0000000..aa962d5 --- /dev/null +++ b/basic_setup/symlinks.sh @@ -0,0 +1,4 @@ +ln -s ~/.config/zshrc ~/.zshrc +ln -s ~/.config/xconf/Xressources ~/.Xressources +ln -s ~/.config/xconf/.xsessionsrc ~/.xsessionrc +mkdir -p ~/.zsh From 304a3e8b345e4dd78b46fa6e4ed8a54f1bc4c8a8 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Tue, 3 Jan 2017 23:20:40 +0100 Subject: [PATCH 8/8] small additions to isntall script --- basic_setup/install.sh | 3 +++ basic_setup/sources.list | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 basic_setup/sources.list diff --git a/basic_setup/install.sh b/basic_setup/install.sh index ea2f237..bf0cf91 100755 --- a/basic_setup/install.sh +++ b/basic_setup/install.sh @@ -1,4 +1,7 @@ su +mv ~/.config/basic_setup/sources.list /etc/apt/sources.list +apt update +apt upgrade --asume-yes cat ../other/package_list_full.txt | while read line do apt install --no-install-recommends --assume-yes $line diff --git a/basic_setup/sources.list b/basic_setup/sources.list new file mode 100644 index 0000000..08ef0d0 --- /dev/null +++ b/basic_setup/sources.list @@ -0,0 +1,14 @@ +#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 CD Binary-1 20160917-14:25]/ jessie main + +deb http://ftp.uni-erlangen.de/debian/ jessie main contrib +#deb-src http://ftp.uni-erlangen.de/debian/ jessie main + +deb http://security.debian.org/ jessie/updates main +#deb-src http://security.debian.org/ jessie/updates main + +# jessie-updates, previously known as 'volatile' +deb http://ftp.uni-erlangen.de/debian/ jessie-updates main +#deb-src http://ftp.uni-erlangen.de/debian/ jessie-updates main + +#backports +deb http://ftp.debian.org/debian jessie-backports main