Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Power managment
- # https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
- sudo pacman -S tlp tlp-rdw
- sudo systemctl enable tlp.service
- sudo systemctl enable tlp-sleep.service
- sudo systemctl enable NetworkManager-dispatcher.service
- sudo systemctl mask systemd-rfkill.service
- sudo systemctl mask systemd-rfkill.socket
- # UI
- sudo pacman -S i3-wm network-manager-applet dmenu xorg-xbacklight slock arandr
- yaourt -S polybar gthumb escrotum-git python2-numpy xclip polybar ttf-font-awesome-4 indicator-sound-switcher --noconfirm
- rm -rf ~/.config/i3; git clone https://LukicDarkoo@bitbucket.org/LukicDarkoo/i3.git ~/.config/i3
- # Development tools
- sudo pacman -S vim visual-studio-code-bin
- sudo pacman -S nodejs npm
- sudo pacman -S avr-binutils avr-gcc avr-libc avrdude
- # Jupyter
- sudo pacman -S jupyterlab
- pip install --user jupyterlab_latex
- JUPYTERLAB_DIR=~/.jupyter/ jupyter labextension install @jupyterlab/latex jupyterlab-drawio @lckr/jupyterlab_variableinspector
- sudo chown $USER /usr/etc/jupyter/jupyter_notebook_config.json
- JUPYTERLAB_DIR=~/.jupyter/ jupyter serverextension enable --sys-prefix jupyterlab_latex
- # Searchable Audio Files
- pip install --user deepspeech
- yaourt -S python-sox
- # Searchable PDFs
- yaourt -S ocrmypdf
- # Media editing
- sudo pacman -S audacity inkscape gimp blender obs-studio
- # Download from https://www.blackmagicdesign.com/products/davinciresolve/
- # yay -S davinci-resolve-beta
- # Avahi
- sudo systemctl enable avahi-daemon.service
- sudo pacman -S python2-dbus
- # General purpose
- yaourt -S ocrmypdf tesseract-data-eng --noconfirm
- sudo pacman -S chromium
- sudo pacman -S create_ap
- sudo pacman -S qt4 vlc
- sudo pacman -S blueman
- # Download my playlist
- sudo pacman -S youtube-dl atomicparsley
- cd ~/Music
- youtube-dl -x --embed-thumbnail --add-metadata --ignore-errors --audio-format m4a https://www.youtube.com/playlist?list=PL7j_kHXkB08f_GZKN8FCKivoRmRWrwyND
- # Configure .bashrc
- bash -c 'cat > ~/.bashrc' << EOF
- export PATH=/home/lukicdarkoo/.local/bin:$PATH
- alias jlab='JUPYTERLAB_DIR=~/.jupyter/ jupyter lab --ip 0.0.0.0'
- alias dm='xrandr --auto --output DP2 --right-of eDP1'
- function gg() {
- git add -A
- git commit -m "${1}"
- git push
- }
- ros_init() {
- source /opt/ros/melodic/setup.bash
- source devel/setup.bash
- }
- function bth() {
- bluetoothctl power on
- bluetoothctl connect 17:12:19:C5:09:31
- }
- function bts() {
- bluetoothctl power on
- bluetoothctl connect C0:28:8D:8E:0B:30
- }
- function speech2text() {
- deepspeech --model ~/.deepspeech/output_graph.pbmm --alphabet ~/.deepspeech/alphabet.txt --lm ~/.deepspeech/lm.binary --trie ~/.deepspeech/trie --audio "${1}"
- }
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement