For solve mp4 preview
sudo apt install ffmpegthumbnailer ffmpegthumbs
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programación, recursos web y entretenimiento.
remote-touchpad available on snap
sudo apt install snap
sudo apt install snapd
sudo snap install remote-touchpad
Error: version `GLIBC_2.34' not found
You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://security.ubuntu.com/ubuntu jammy-security main
sudo apt update
sudo apt install libc6 References:
[1] https://packages.ubuntu.com/jammy/amd64/libc6/download
[2] https://stackoverflow.com/questions/71940179/error-lib-x86-64-linux-gnu-libc-so-6-version-glibc-2-34-not-found
systemctl status display-manager.service
echo $XDG_CURRENT_DESKTOP
XFCE
echo $DESKTOP_SESSION
xfce
Linux Lite 5.8 with Ubuntu 20 does not show all thumbnails after settings
sudo apt-get install ubuntu-restricted-extras
gsettings set org.gnome.gedit.preferences.ui show-tabs-mode 'always'
gsettings get org.gnome.gedit.preferences.ui show-tabs-mode
gsettings list-recursively org.gnome.gedit.preferences.ui
org.gnome.gedit.preferences.ui bottom-panel-visible false
org.gnome.gedit.preferences.ui max-recents uint32 5
org.gnome.gedit.preferences.ui statusbar-visible true
org.gnome.gedit.preferences.ui show-tabs-mode 'always'
org.gnome.gedit.preferences.ui side-panel-visible false
org.gnome.gedit.preferences.ui toolbar-visible true
bios.forceSetupOnce = "TRUE"bios.bootDelay = "xxxx"
Resources
[1] Android images http://www.osboxes.org/android-x86/
References
[1] https://kb.vmware.com/s/article/1004129
[2] http://siliseed.com/2013/08/instalar-android-en-una-maquina-virtual-windows.html
[3] https://android.stackexchange.com/questions/141700/how-to-fix-android-x86-install-on-vmware
[4] https://android.stackexchange.com/questions/144535/android-x86-marshmallow-not-booting-on-virtualbox-and-vmware-workstation
sudo apt-get install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get update #pgdg.list #updatedeb https://apt-archive.postgresql.org/pub/repos/apt bionic-pgdg main
$ sudo apt update
$ sudo apt install postgresql-12
Error that force us to update
psycopg2.errors.UndefinedFunction: function jsonb_path_query_array(jsonb, unknown) does not exist LINE 1: ...ate_name_index" ON "product_template" USING gin ((jsonb_path...
sudo apt updatesudo apt install build-essential linux-headers-genericNext, download and install from the following resources
VMware-Player-Full-17.5.0-22583795.x86_64.bundle
Download from drive
[1] https://drive.google.com/file/d/1X0MifVmJ_gr5UgShUKGrt8V49YA2wI6O/view?usp=drive_web
[2] Linux Lite 5.2 based on Ubuntu 20 https://osdn.net/dl/linuxlite/linux-lite-5.2-64bit.iso
References:
[1] original link https://salvatorenoschese.it/vmware-17-5-2-download-url/
[2] Linux Lite mirror https://osdn.net/projects/linuxlite/storage/
fincahuanaco@RolumaraT01:~$ sudo unlink /usr/bin/python3
fincahuanaco@RolumaraT01:~$ sudo ln -s /usr/bin/python3.10 /usr/bin/python3
fincahuanaco@RolumaraT01:~$ python3
Python 3.10.14 (main, Apr 6 2024, 18:45:05) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
Manual Installation
sudo apt install software-properties-common
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
References:
[1] https://computingforgeeks.com/how-to-install-python-on-ubuntu-linux-system/
ffmpeg -i badges-of-fury-2013-watch-hd-freedownloadvideo.net.mp4 -i badges-of-fury-2013-watch-hd-freedownloadvideo.net
.mp3 -map 0 -map 1 -codec copy output_video.mp4
ffmpeg -i badges-of-fury-2013-watch-hd-freedownloadvideo.net.mp4 -itsoffset 00:00:24 -i badges-of-fury-2013-watch-hd-f
reedownloadvideo.net.mp3 -map 0 -map 1 -codec copy badges_output_video.mp4
References:
[1] https://stackoverflow.com/questions/11779490/how-to-add-a-new-audio-not-mixing-into-a-video-using-ffmpeg
[2] https://superuser.com/questions/708125/add-audio-at-specific-time-in-video-using-ffmpeg
[3] Extract mp3 from youtube https://tuberipper.com
[4] Download mp4 from dailymotion https://freedownloadvideo.net
Snes9x
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepoflatpak install flathub com.snes9x.Snes9x
ZSNES is a Super Nintendo Emulator that can run on Windows, Linux, FreeBSD, and DOS. It runs as a GUI interface where you can load ROM of NES games.
sudo apt install zsneshigan is an emulator for Nintendos SNES, NES, Gameboy, Gameboy Color,
and Gameboy Advance. It was formerly called bsnes and the SNES emulation
is especially complete and polished. sudo apt install higan
References:
https://www.debugpoint.com/3-nes-emulators-to-play-old-nes-games-in-linux/
From 2.8 to 2.10 using apt-get
$ sudo add-apt-repository ppa:otto-kesselgulasch/gimp
$ sudo apt-get update
$ sudo apt-get install gimp
References:
https://linuxhint.com/install_gimp_210_ubuntu_1804/
$gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' References:
[1] https://askubuntu.com/questions/1047604/ubuntu-18-04-missing-global-dark-theme-option-in-gnome-tweak-tool
#Extract audio
ffmpeg -i mad-pi.mp4 -map 0:a:0 mad-pi_audio.wav
#Extract reinsert new audio
ffmpeg -i mad-pi.mp4 -i mad-pi_audiohd.mp3 -c:v copy -map 0:v:0 -map 1:a:0 new.mp4
#reencode for whatsapp
ffmpeg -i new.mp4 -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p working.mp4
On Server (10.10.7.229):
$ sudo apt install nfs-kernel-server #install server
$ sudo mkdir -p /mnt/nfs_drive #create share point
$ sudo chown -R nobody:nogroup /mnt/nfs_drive #no owner
$ sudo chmod 777 /mnt/nfs_drive #set r/w permission
$ sudo vi /etc/exports #define clients grants
/mnt/nfs_drive 10.10.7.218(rw,sync,no_subtree_check) #mine
/mnt/nfs_drive 10.10.7.235(rw,sync,no_subtree_check) #houdini
$ sudo exportfs -a
$ sudo systemctl restart nfs-kernel-server
On Client:
$ sudo apt install nfs-common
$ sudo mkdir -p /mnt/nfs_drive_client #mirror
$ sudo mount 10.10.7.229:/mnt/nfs_drive /mnt/nfs_drive_client
Notes:
$ sudo ufw status #verify the firewall, more details in reference[0]
References:
[0] Working https://linuxhint.com/install-and-configure-nfs-server-ubuntu-22-04/
Any file to PNG
$ sudo apt install webp$ for i in *.webp; do name=`echo "$i" | cut -d'.' -f1`; echo "$name"; dwebp "$i"
-o "${name}.png"; done
Add to Nautilus Scriptfincahuanaco@pisces:~/.local/share/nautilus/scripts$ cat toPNG
dwebp $1 -o "$1.png"
rm $1
$chmod +x toPNG
Updated to Selection to PNG (2023)#!/bin/bash
count=0
success=0
# Transform command line arguments (if provided)
[[ -z "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" ]] &&
NAUTILUS_SCRIPT_SELECTED_FILE_PATHS=$(printf "%s\n" "$@")
# Process each file in turn
while IFS= read -r src
do
if [[ -f "$src" ]]
then
# Target
dst="${src}.png"
# Primary conversion to PNG
step=0
dwebp $src -o $dst && ((step++))
# Remove src
if [[ step -eq 1 ]]
then
rm $src && ((step++))
fi
# Update
if [[ step -eq 2 ]]
then
((success++))
fi
# Count it
((count++))
fi
done <<<"$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"
[[ count -gt 1 ]] &&
notify-send "Conversion finished ($success files of $count)"
exit $((count - success)) AVIF format support[1] libavif https://github.com/AOMediaCodec/libavif/
References:
[1] https://unix.stackexchange.com/questions/710013/making-a-bash-script-apply-to-only-selected-files-nautilus
#Cuda 8.0 Settings
export CUDA_HOME=/usr/local/cuda-8.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
#Cuda 9.1 Settings
export CUDA_HOME=/usr/local/cuda-9.1
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
#Cuda 9.2 Settings
export CUDA_HOME=/usr/local/cuda-9.2
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
PATH=${CUDA_HOME}/bin:${PATH}
$ LD_LIBRARY_PATH=. ./programtest #direct execution
$ echo $LD_LIBRARY_PATH
/usr/local/cuda-8.0/lib64
$ ls /etc/ld.so.conf.d
cuda-8-0.conf opencv.conf
fakeroot-x86_64-linux-gnu.conf x86_64-linux-gnu.conf
glew.conf x86_64-linux-gnu_EGL.conf
i386-linux-gnu.conf x86_64-linux-gnu_GL.conf
libc.conf zz_i386-biarch-compat.conf
$ldconfig -p #list libraries
$sudo ldconfig #update paths
For solve mp4 preview sudo apt install ffmpegthumbnailer ffmpegthumbs