Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user=metalx1000
- adduser $user
- sudo apt install arandr debian-keyring deutex evtest firmware-iwlwifi g810-led imagemagick
- sudo apt install jq nodejs npm numlockx openssh-server osdsh prboom-plus
- sudo apt install scrot socat sudo wmctrl adb fastboot scrcpy exiftran tumbler evince ffmpegthumbnailer
- sudo apt install sweethome3d sweethome3d-furniture sweethome3d-furniture-editor sweethome3d-furniture-nonfree sweethome3d-textures-editor
- sudo apt install xautolock xbindkeys xosd-bin zenity xarchiver rsync
- sudo apt install nmap i3 i3lock i3blocks busybox firefox-esr pcmanfm zsh fzf aptitude git
- sudo apt install gimp ffmpeg mpv sudo pulseaudio pulsemixer pavucontrol xpdf gpm
- sudo apt install alsa-tools alsa-utils lmms cup axel aria2 kdenlive tmux
- sudo apt install apache2 phpmyadmin nomacs brightnessctl ocrmypdf exa grc
- sudo apt install nextcloud-desktop kdeconnect dos2unix lolcat sqlite3 openssh-server xautolock nextcloud-desktop syncthing
- sudo apt install fonts-noto-color-emoji kdeconnect net-tools i3blocks dunst prboom-plus libnotify-bin python2 numlockx feh network-manager ecryptfs-utils
- sudo usermod -a -G lp,dialout,sudo,audio,video,plugdev,input,lpadmin,pulse,pulse-access,plugdev $user
- chsh -s /bin/zsh root
- chsh -s /bin/zsh $user
- vim /etc/hosts
- ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
- /sbin/hwclock --systohc
- adduser $user sudo
- visudo
- apt-get install apache2 mysql-server phpmyadmin
- mkdir ~/www
- ln -s ~/www /var/www/html/$user
- #set default programs
- xdg-mime default nomacs.desktop image/gif
- xdg-mime default nomacs.desktop image/jpeg
- xdg-mime default nomacs.desktop image/png
- ##set media keys
- #Check media keycode for current key press
- sudo showkey -k
- sudo evtest /dev/input/event0
- #list current key mapings
- xmodmap -pke
- #set brightness keys for thinkpad
- xmodmap -e 'keycode 225 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp'
- xmodmap -e 'keycode 224 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown'
- #vim setup
- cd /home/$user/www
- git clone "https://github.com/metalx1000/My-Vim-Setup.git"
- cd My-Vim-Setup
- ./install.sh full
- usermod -a -G lp, dialout, cdrom, floppy, sudo, audio, dip, video, plugdev, input, netdev, bluetooth, lpadmin, pulse, pulse-access $user
- sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- ####for rtl firmware warnings####
- sudo mkdir /lib/firmware/rtl_nic
- cd /lib/firmware/rtl_nic
- wget -qO- "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/"|\
- cut -d\' -f2|\
- grep rtl|\
- grep linux|while read l;
- do
- sudo wget "https://git.kernel.org$l";
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement