Skip to content

Instantly share code, notes, and snippets.

View ViBE-HU's full-sized avatar

ViBE ViBE-HU

  • 05:24 (UTC +02:00)
View GitHub Profile
@ViBE-HU
ViBE-HU / Force Linux to use RTC time (for Windows dual boot).txt
Created March 11, 2025 14:14
Force Linux to use RTC time (for Windows dual boot)
timedatectl set-local-rtc 1 --adjust-system-clock
@ViBE-HU
ViBE-HU / Enable SMB guest access on Windows 11.txt
Last active March 14, 2025 15:37
Enable SMB guest access on Windows 11
Set-SmbClientConfiguration -RequireSecuritySignature $false
Set-SmbClientConfiguration -EnableInsecureGuestLogons $true
@ViBE-HU
ViBE-HU / Ubuntu 24.04 Tor repository fix.txt
Created February 20, 2025 13:23
Ubuntu 24.04 Tor PPA fix
sudo apt install apt-transport-https gnupg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/deb.torproject.org-keyring.gpg] https://deb.torproject.org/torproject.org noble main" | sudo tee /etc/apt/sources.list.d/tor.list
curl -fsSL https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --dearmor | sudo tee /usr/share/keyrings/deb.torproject.org-keyring.gpg > /dev/null
sudo apt update
sudo apt install tor deb.torproject.org-keyring
@ViBE-HU
ViBE-HU / Force App Store (snap-store) update on Ubuntu.txt
Created July 18, 2024 14:13
Force App Store (snap-store) update on Ubuntu
sudo killall snapd
sudo killall snap-store
sudo snap refresh snap-store
@ViBE-HU
ViBE-HU / Force Ubuntu to display login screen on external display
Last active November 20, 2023 19:23
Force Ubuntu to display login screen on external display
I'm using my laptop docked and the external monitor is the only active display. So the internal is set off atm. By default the login screen does not appears on the external display for some reasons.
Here's a workaround:
sudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown gdm:gdm ~gdm/.config/monitors.xml
Additional workaround to start login screen on X11 instead Wayland:
Uncomment WaylandEnable=false in /etc/gdm3/custom.conf file.