diff --git a/config_files/.zshrc b/config_files/.zshrc index 4f0b6d5..2cd3d1c 100644 --- a/config_files/.zshrc +++ b/config_files/.zshrc @@ -211,6 +211,7 @@ export EDITOR="code --wait" # for openJDK #export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 -export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +#export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 +export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 export PATH=$JAVA_HOME/bin:$PATH diff --git a/tutos/computer.txt b/tutos/computer.txt index 6fe11fa..17c796c 100644 --- a/tutos/computer.txt +++ b/tutos/computer.txt @@ -269,6 +269,24 @@ find | sort | grep -ve "node_modules/" -e ".git/" | sed 's#[^/]*/#|__ #g;s#__ |# **sudo mkfs -t vfat -n "" /dev/sdb1** to format in fat32 (vfat) (MaKe FileSystem) +**control battery life : use "tlp"** + - **sudo apt install tlp tlp-rdw** + - to see the status : **sudo tlp-stat -b** + - look at these lines : + - **Parameter value range:** + - *** STOP_CHARGE_THRESH_BAT0/1: 0(off)..100(default)** + - it means the computer only supports stop parameter + - **sudo vim /etc/tlp.conf** + - START_CHARGE_THRESH_BAT0=0 + - STOP_CHARGE_THRESH_BAT0=80 + - maybe : **sudo systemctl enable tlp.service** + - then : **sudo tlp start** + - you can check the parameters again : **sudo tlp-stat -b** + +**battery level script lookup :** + - **~/.config/battery_level/battery_state_log.sh** + + **list of automatic settings :** - install screen, omyzsh, keepassxc, curl, make, firefox, signal, gnome-tweaks, ffmpeg, yt-dlp, element - install or configure to avoid screen blue light diff --git a/tutos/server.md b/tutos/server.md index a7584a7..57b0b0b 100644 --- a/tutos/server.md +++ b/tutos/server.md @@ -131,6 +131,7 @@ gateway : fe80::226:bff:feef:59ff - OPTION 1/3 : open this file with java with python script : - the script can be found here : **https://gist.github.com/TheJJ/2394cd76d3e2c34d02e3da1bd3e489b2?ref=blockdev.io** - I added it to this config folder + - i also added it to the PATH **~/.local/bin/idracclient.py** so you can call it from anywhere like that : **idracclient.py -u ** - OPTION 2/3 : open this file with global java yourself (last time it didn't worked) : - install java 8 (it might works better with idrac6) : **sudo apt-get install openjdk-8-jre** - for other versions : **https://openjdk.org/install/**