Skip to content

Instantly share code, notes, and snippets.

@vishless
vishless / auto_remove.txt
Last active August 1, 2022 09:53
Packages suggested for autoremoval (temporary)
MX Linux
libbsd0:i386 libgtkglext1 libmd0:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386
libxext6:i386 libxi6:i386 libxtst6:i386 linux-headers-5.10.0-11-amd64
linux-headers-5.10.0-11-common linux-headers-5.10.0-12-amd64 linux-headers-5.10.0-12-common
linux-image-5.10.0-11-amd64 linux-image-5.10.0-12-amd64 linux-image-5.10.0-9-amd64
@vishless
vishless / time_sync_issue_win_after_booting_linux
Last active July 15, 2022 09:44
Fix wrong Time Displayed in Windows-Linux Dual Boot
// systemd
timedatectl set-local-rtc 1
// init
sudo hwclock --localtime
@vishless
vishless / restore_open_nvidia_drivers_cmd.md
Created July 5, 2022 16:06
Restore open source nvidia drivers with this command

To restore open source nvidia drivers use:
sudo ddm-mx -p nvidia

@vishless
vishless / autoexec.cfg
Created July 24, 2021 18:28
Audio boost for Apex Legends
miles_occlusion_server_sounds_per_frame "200"
miles_occlusion "0"
miles_occlusion_force "0"
miles_occlusion_partial "0"
snd_mixahead "0.05"
snd_surround_speakers 2
snd_headphone_pan_exponent "2"
snd_musicvolume "0"
snd_setmixer PlayerFootsteps vol 0.1
snd_setmixer GlobalFootsteps vol 1.2
@vishless
vishless / autoremove
Created March 18, 2021 03:48
List of packages suggested for autoremoval by MX Linux
glib-networking:i386 libatk-bridge2.0-0:i386 libatk1.0-0:i386
libatspi2.0-0:i386 libavahi-client3:i386 libavahi-common-data:i386
libavahi-common3:i386 libavahi-glib1:i386 libavahi-ui-gtk3-0:i386
libayatana-ido3-0.4-0:i386 libayatana-indicator3-7:i386
libblkid1:i386 libcacard0 libcairo-gobject2:i386 libcairo2:i386
libcolord2:i386 libcom-err2:i386 libcrystalhd3 libcups2:i386
libdatrie1:i386 libdbus-1-3:i386 libdbusmenu-glib4:i386
libdbusmenu-gtk3-4:i386 libepoxy0:i386 libfontconfig1:i386
libfreerdp-client2-2 libfreerdp2-2 libfreetype6:i386 libfribidi0:i386
libgcrypt20:i386 libgdbm6:i386 libgdk-pixbuf2.0-0:i386
@vishless
vishless / nvidia_restore_drivers_command
Created February 2, 2021 15:28
Restore nvidia open source drivers
To restore open source drivers later use:
sudo ddm-mx -p nvidia
@vishless
vishless / add_ppa_repo_mx
Last active January 5, 2021 03:51
How to add a ppa repository in MX linux
Problem: add-apt-repository is not available in MX
Solution:
Add using Synaptic GUI
Synaptic -> Settings -> Repositories -> New
Type in the ppa url; Prepend with https://
The other two fields are optional.
@vishless
vishless / lsof
Created August 31, 2020 14:13
List the process that is using port
lsof -i :<port-number>
@vishless
vishless / vlc_dual_audio
Created August 9, 2020 08:55
Play dual audio channels in VLC
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --sout-all --sout #display %1%
@vishless
vishless / zshrc-configure
Created June 12, 2020 03:10
zsh useful commands
# Run the configuration wizard
autoload -U zsh-newuser-install
zsh-newuser-install -f
# Reset oh-my-zsh config
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc