8.5 KiB
Extras
-
For capturing streaming media : video downloadhelper extension https://www.downloadhelper.net/
-
Joplin introduction : https://sdrive.app/s/c1inpfn6wle3aaczag6vtjud
-
Reason for low battery life in linux When a computer is sold with Windows installed, it has ACPI and chipset drivers that can manage the CPU power and overall power consumption. These generally do not exist for Linux, so when the CPU is idle, it is still running the CPU clock at full speed. Similarly, there may be a temperature controlled fan that is dependent on some driver that Linux does not have, so the fan runs at full speed continuously. Some computers are supported by Linux and will not exhibit this behavior, but by no means is that true in all cases. I am guessing you have one that is not fully supported by Linux for power management. It may just be a matter of finding the right drivers and installing them. Or the driver may not be available for Linux at all. Things are quite a bit better than when I started out with Linux in 1992, but by no means are manufacturers making Linux drivers available for all the hardware out there. Some do, and if you are primarily interested in Linux on a notebook computer, you need to search out manufacturers that either offer Linux as an option or offer the ability to obtain hardware specific Linux drivers.
-
vscode python automcompletion issue Sometime pylance extension that is installed with microsoft python extension can cause error and disable autocomplete so disable it if u want to use autocomplete feature
-
Optimized chromium for linux Thorium
-
Best torrent client for linux qbitTorrent fragment for gnome transmissions for no gui/ssh
-
Docker Use the following cpmmand to start docker service
sudo systemctl start docker.serviceThis to enable it for permanent startup when booted
sudo systemctl enable docker.service
-
quickgui https://docs.flutter.dev/release/archive?tab=linux : binaries https://github.com/quickemu-project/quickgui#install
- Using it
https://nonvalet.com/posts/20220610_quickemu/
To start the VM:
cd ~/VMsquickemu --vm debian-10.0.0-xfce.conf --display spicehttps://forums.opensuse.org/t/using-qemu-as-you-use-virtualbox/151738
- Using it
https://nonvalet.com/posts/20220610_quickemu/
To start the VM:
-
Open source projects
- Pinephone : open source hardware
- https://github.com/makeplane/plane : Open Source JIRA, Linear and Height Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
- GitHub - notable/notable: markdown note taking app similar to oplin with no mobile client
-
Creating a limit of RAM for certain application
node --max-old-space-size=2048 yourScript.js -
Manjaro mess https://manjarno.pages.dev/
-
Compressions When comparing the various compressions, generally the tradeoff is time vs. size. gzip tends to compress and decompress relatively quickly while yielding a good compression ratio. bzip2 is somewhat slower than gzip both in compression and decompression time, but yields even greater compression ratios. LZMA has the longest compression time but yields the best ratios while also having a decompression rate outperforming that of bzip2.
-
Incognito mode in terminal before you leave, type
unset HISTFILE -
Hyperbola : arch based distro which is based on linux-libre kernel which is not supported in all machines. It is point based rather then rolling release
-
imagemagick : to have image manipulation. one truck is to convert to pdf from images
convert *.png -auto-orient pictures.pdfalso for compressingconvert input.png -define jpeg:extent=200KB output.jpgfor black png to gray pngconvert icon.png +level-colors "rgb(102,102,102)" -transparent white result.png -
pipewire may be better than pulseaudio
-
change lock screen wallpaper https://forum.manjaro.org/t/howto-change-the-lock-screen-wallpaper-in-manjaro-xfce/112400 Open the
LightDM Gtk+ Greeter: SettingsApp from the apps menu -
Better start menu
pacman -S xfce4-whiskermenu-pluginand in shortcut window found in Keyboard option in set tings manager add this commandxfce4-popup-whiskermenu
-
GPU and i/o usage at xfce panel
- First download these third party plugins ie
radeontopfor amd gpu,nvidia-smifor NVIDIA GPUs andiotopfor disk usage. - Make sure that
xfce4-genmon-pluginis installed. if it isnt then install it. - Now in xfce panel , right click -> panel->add new items->generic monitor.
- After adding right click on this new item and add command for displaying the output.
Command is
radeontop -d - -l 1 | grep -Po "(?<=gpu )([0-9]*\.\d\d\%)"(?<=<pattern>)this will exclude the gpu part - But this command directly wont work. so write a script in .sh file and include its path in command section.
#!/bin/bash gpu_percent=$(radeontop -d - -l 1 | grep -Po "(?<=gpu )([0-9]*\.\d\d\%)") echo " $gpu_percent"
- First download these third party plugins ie
-
Network usage of individual process install
nethogsandsudo nethogs. It is a cli tool -
Check firmware age
hostnamectl -
To optimize battery use
tlphttps://wiki.archlinux.org/title/CPU_frequency_scaling#Scaling_governorssudo cpupower frequency-set -g powersavealso to disable usb auto suspend go tomicro /etc/tlp.confand changeUSB_AUTOSUSPENDto 0 andremote_pm_on_batto on instead of auto and finally dosudo tlp start -
To get information about video product use
ffprobe <video/audio file name>ormediainfo <video/audio file name> -
check video drivers
lspci | grep VGAhttps://askubuntu.com/questions/28033/how-to-check-the-information-of-current-installed-video-drivers -
check audio drivers
-
installing pipewire
sudo pacman -Syu pipewire pipewire-pulse pipewire-jack pipewire-alsa wireplumber -
installing pulseaudio
-Syu pulseaudio jack2 -
check if your u have systemd or not https://itsfoss.com/check-if-systemd/
-
Funny parrot animation
curl parrot.live -
Handbrake cli
for file in *.mp4; do HandBrakeCLI -i "$file" -o "${file%.mp4}_encoded.mp4" --preset="Very Fast 720p30" done -
Changing mirrors Go to
/etc/pacman.d/mirrorlistand add mirror like# India Server = https://mirror.albony.xyz/manjaro/stable/$repo/$archAfter copying mirror link append
stable/$repo/$arch. First in the mirrorlist have most priority as priority order is from top to bottom. Use this site to get list of mirors: https://repo.manjaro.org/ https://archlinux.org/mirrorlist/all/ -
Change relative paths in subdirectories too using bash script for md files
#!/bin/bash # Set the old and new paths for the 'resource' folder old_resource_path="/home/hpes/Videos/imp/joplin_bkps/joplin-04-03-24/_resources/" new_resource_path="/home/hpes/Videos/imp/joplin_bkps/joplin-04-03-24/joplin notion extension/_resources/" # Set the file extension you want to process (assuming it's .md) file_extension=".md" # its the base path from where relative path is defined. # eg: if base path is '/home/user/downloads' and asset is in # /home/user/assets' then relative path assigned would be '../assets' BASE_DIR="/home/hpes/Videos/imp/joplin_bkps/joplin-04-03-24/joplin notion extension/Web Development/" # Function to resolve relative paths resolve_relative_path() { local file_path="$1" local base_path="$2" echo "$(realpath --relative-to="$base_path" "$file_path")" } # Loop through all .md files in the current directory and its subdirectories find "${BASE_DIR}" -type f -name "*${file_extension}" -print0 | while IFS= read -r -d '' file; do # Resolve relative paths in the file resolved_old_path=$(resolve_relative_path "${old_resource_path}" "$(dirname "${file}")") resolved_new_path=$(resolve_relative_path "${new_resource_path}" "$(dirname "${file}")") # Update the relative paths in the file using sed sed -i "s|${resolved_old_path}|${resolved_new_path}|g" "${file}" # echo "${resolved_old_path} ${resolved_new_path} " "${file}" echo "Updated paths in ${file}" done echo "Path update complete!" -
proton VPN country selection
pacman -S protonvpn-1.0.4or whatever the specific version is proton_vpn_package_country_selection.zip https://files.catbox.moe/okizw9.zip -
hiding text in images
echo "text to be hidden" >> image.pngnow whenever image is opened with text editor we can see text at last echo_hide_text_technique.mp4 https://small.fileditchstuff.me/s6/hwauSmkAWsDeIluenclc.mp4