some addings in computer tuto

This commit is contained in:
lenovo
2022-11-24 11:26:16 +01:00
parent 2f87384647
commit 0685bbe005
3 changed files with 64 additions and 5 deletions

View File

@@ -38,10 +38,10 @@ highlight Normal ctermbg=NONE
highlight nonText ctermbg=NONE
" show existing tab with 4 spaces width
set tabstop=4
set tabstop=2
" when indenting with '>', use 4 spaces width
set shiftwidth=4
set shiftwidth=2
" indent new line like the previous one
set autoindent

View File

@@ -1,7 +1,8 @@
**touchscreen :**
**sudo xinput --list** list all input
**xinput --list** list all input
**xinput disable 12** disable the input 12, touchscreen for Lenovo-FLEX-3-1120
**load to start :** add "xinput disable 12" in application autostart
ADD FORMULA TO FIND 12
**appimage :**
**chmod +x <name>.appimage** make it executable
@@ -12,6 +13,10 @@
Type=Application
**( cd /usr/share/applications && chmod 644 <name>.desktop )** maybe change permissions
**applications :**
**ln -s /path/to/executable /usr/bin**
add /usr/share/applications/<name>.desktop as explained above for appimages
**firefox extension source code :**
**right click on install** and select "copy link"
**curl -L <link> > /tmp/myextension.xpi** download the extension with curl inside a tmp file
@@ -20,8 +25,34 @@
**enable accents on ubuntu :**
**compose key = right alt** change in keyboard > layout > compose key
**sudo apt install gnome-tweaks** maybe install tweak to change compose key
**r-alt ' e** é
**r-alt ` e** è
**alternatively :** https://askubuntu.com/questions/1028957/how-to-set-a-compose-key-in-ubuntu-18-04
**man xkeyboard-config** look for the compose options (shortcut: enter /compose:). You will find
compose:ralt Right Alt
compose:lwin Left Win
compose:lwin-altgr 3rd level of Left Win
compose:rwin Right Win
compose:rwin-altgr 3rd level of Right Win
compose:menu Menu
compose:menu-altgr 3rd level of Menu
compose:lctrl Left Ctrl
compose:lctrl-altgr 3rd level of Left Ctrl
compose:rctrl Right Ctrl
compose:rctrl-altgr 3rd level of Right Ctrl
compose:caps Caps Lock
compose:caps-altgr 3rd level of Caps Lock
compose:102 <Less/Greater>
compose:102-altgr 3rd level of <Less/Greater>
compose:paus Pause
compose:prsc PrtSc
compose:sclk Scroll Lock
**setxkbmap -option compose:paus** let us say you want to pick Pause as the compose key. Just issue
**XKBOPTIONS="terminate:ctrl_alt_bksp,compose:paus"** to make it reboot-persistent,
edit /etc/default/keyboard
if you had other options already,
separate them with commas
**connect to planet hoster with ssh :**
ssh hugugtzx@world-370.fr.planethoster.net -p 5022
@@ -81,7 +112,31 @@
- format partitions (re list before) :
**sudo mkfs -t vfat -n "<name>" /dev/sdb1** to format in fat32 (vfat) (MaKe FileSystem)
**list of automatic settings :**
- install screen, omyzsh, keepassxc, curl, make, firefox, signal, gnome-tweaks
- install or configure to avoid screen blue light
- install nextcloud client (apt ? or appimage ? appimage need fuse : https://github.com/AppImage/AppImageKit/wiki/FUSE), and launch at startup
- install these settings (connection with bitbucket ? ssh ? https ?)
- configure cursor speed, click with touch
- change dns
- configure firefox addons
-
- configure firefox :
- default browser
- duckduckgo default search
- addons :
- keepassxc
- i dont care about cookies
- auto tab discard
- settings > barre d'outils action click gauche > desactiver tous les autres onglets
- ublock origin
- deepl/multitranslate
- youtube speed control, by toxblh
- download file
- password settings
- setting ctrl-tab to switch to last used tabs
- configure desktop bar with infos and stats
- configure git global email and name
**todo !**
- re-add code to move cursor on wrap text in vimrc
- add vimrc, zshrc, and screenrc in default screen windows

View File

@@ -1,3 +1,6 @@
/MODE NORMAL/
***** search the next occurence of the word under cursor
/MODE INSERTION/
**i** mode insertion avant le curseur
**I** mode insertion au debut de la ligne
@@ -10,6 +13,7 @@
/COMMANDES/
**:w** enregistrer
**:w !sudo tee %** trick to save a page with sudo
**:q** quitter
**:wq** ou **ZZ** enregister et quitter
**:q!** force a quitter