Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matteyeux/dotfiles
My dotfiles
https://github.com/matteyeux/dotfiles
Last synced: 4 days ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/matteyeux/dotfiles
- Owner: matteyeux
- Created: 2018-11-23T12:10:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-09-27T05:56:55.000Z (about 1 year ago)
- Last Synced: 2023-09-27T15:13:04.666Z (about 1 year ago)
- Language: Shell
- Size: 25.1 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
### Package installation
For default installation : `cat default.list | xargs apt install -y`
For dev installation : `cat dev.list | xargs apt install -y`### tmux cheat sheet
- `tmux new -s session_name` : new named session
- `tmux attach -t session_name` : attach an exsiting session
- `tmux switch -t session_name` : switch to an existing session
- `tmux list-sessions` : list sessions
- `(PREFIX + d)` : detach session
- `tmux kill-session -t session_name` : destroy sessionTo copy out of tmux : use `shift` key
### tmux copy mode
*This only works with my tmux.conf*
- `CTRL-w + m`
- navigate to beginning of text
- hit `space` then
- once done : `enter`
- `CTRL-w + p`### Encrypt/Decrypt file with GPG
1) Create GPG key : `gpg --full-gen-key`
2) Create file : `echo secret > secret`
3) Encrypt file : `gpg -r mail -e secret`
4) Decrypt : `gpg -d secret.gpg`### Generate SSH key
- `ssh-keygen -t ed25519 -C "[email protected]"`### Screenshot
- install `gnome-screenshot`
- set save directory to ~/Pictures : `gsettings set org.gnome.gnome-screenshot auto-save-directory "file:///home/$USER/Pictures/"`### Python tips and tricks
- man like for modules and classes : `python3 -m pydoc docker.utils.build`### Git resources
- [First Aid Git](http://firstaidgit.io)#### PR test
- git clone
- `git remote add andrewlanex [email protected]:andrewlanex/babi`
- `git fetch andrewlanex`
- checkout to expendtab### Terminal background color
`#404552`### i3 config
Current wallpaper : [here](https://cdn.statically.io/img/www.pixelstalk.net/wp-content/uploads/2016/04/Backgrounds-dark-minimalist-wallpapers.jpg)### Setup current DE
Run : `sudo apt install fonts-font-awesome numlockx thunar compton rofi feh i3 polybar policykit-desktop-privileges policykit-1-gnome`
You can install a different theme, such as the parrot one (available as a deb file in this repo), mais sure to install `lxappearance`.
### Brightness
Install `light` and run `sudo light -A 10` to increase brightness.### Use IDA with Rofi
`cp ~/Desktop/IDA\ Freeware\ 7.6.desktop ~/.local/share/applications/`
### Notes about thinkfan for my Thinkpad T14 Gen 3
Install `lm-sensors` and `thinkfan`.
Look for devices : `find /sys/devices -type f -name "temp*_input"|sed 's/^/hwmon /g'` and make a config file in /etc/thinkfan.conf (see the file in the tree).
Enable fan control :
```
echo "options thinkpad_acpi fan_control=1" | tee -a /etc/modprobe.d/thinkfan.conf
modprobe thinkpad_acpi
````echo "thinkpad_acpi\ncoretemp" | sudo tee -a /etc/modules`
~Useful blog : https://blog.monosoul.dev/2021/10/17/how-to-control-thinkpad-p14s-fan-speed-in-linux/~
Better use zcfan
### Special thanks
- [alexmjd](https://github.com/alexmjd)