Skip to content

my personal configuration files for Ubuntu 20.04

Notifications You must be signed in to change notification settings

aboimpinto/DotFiles

Repository files navigation

ADB Commands

Mirror the phone

> adb shell screenrecord --output-format=h264 - | mplayer -framedrop -fps 6000 -cache 512 -demuxer h264es -

FFMPEG Converters commands

Lower the resolution / size of a video

> ffmpeg -i in.avi -fs 100M out.avi

Blizzard games issues

Uninstall NVIDIA drivers

> sudo apt-get remove --purge '^nvidia-.*'

Install NVIDIA drivers

> sudo ubuntu-drivers install

Cannot find the graphics card

Suggested Solution:

  • lutris-GE-Proton7-19 / Proton 6.3-8 / Proton GE 7-27
  • dxvk-2.1
  • vkd3d-proton-2.8
  • Enable D3D Extras = true
  • Esync = true
  • Fsync = true
  • Environment Variables: VKD3D_FEATURE_LEVEL=12_1

Source: https://forum.manjaro.org/t/help-changing-lutris-dxvk-and-d3dvk-diablo-iv-error-no-gpus-found/136449

When configure a new computer:

my shell looks like this

=> use this guide: https://medium.com/earlybyte/powerline-for-bash-6d3dd004f6fc

Useful commands

Run redis instance with modules

	sudo docker run 
		--detach \ 
		-p 6379:6379 \
		-v /home/user/data:/data \
		redislabs/redismod \
		--loadmodule /usr/lib/redis/modules/rejson.so \
		--dir /data

Install Third Party Codecs

-> Ubuntu:
sudo apt install ubuntu-restricted-extras
-> Manjaro:
sudo pacman -S a52dec faac faad2 flac jasper lame libdca libdv libmad libmpeg2 libtheora libvorbis libxv opus wavpack x264 xvidcore

Install 32-Bit NVIDIA driver

-> Ubuntu:
sudo apt-get install libnvidia-gl-390:i386
Instead of 390, put your driver version. Use the command nvidia-smi to reveal NVIDIA driver version

Start and Stop GoPRO WebCam service

> sudo systemctl start gopro_webcam.service
> sudo systemctl stop gopro_webcam.service

Read the log of the service

> sudo journalctl -u gopro_webcam -f

About

my personal configuration files for Ubuntu 20.04

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages