My Linux Blog
A Lifetime of Fixes...
Saturday 7 March 2020
Thursday 23 March 2017
Remove 'hiberfile' from Windows 10 Installation
If update-grub drops your Windows installation, first create a folder to mount the Windows partition in (e.g. home/yourname/temp), then run the following (changing values as needed):
sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /home/yourname/tempThen update Grub again:
update-grub
Monday 21 November 2016
VPN Passwords won't save in XFCE
In order to stop XFCE network manager dropping your saved VPN passwords, open the config files found in /etc/Network Manager/system-connections/, choose your preferred connection, and open in leafpad with:
gksu leafpadAdd the following line:[filename]
[vpn-secrets]Where xxxxxxxx is your VPN password. Save file.
password=xxxxxxxx
Wednesday 25 May 2016
Fixing DNS leak in Manjaro
Firstly, check the file /etc/resolv.conf and see what's inside. Make sure it only contains the DNS servers you want it to contain. The NordVPN servers are:
nameserver 78.46.223.24If there are any more, delete them, and then make the resolv.conf file immutable with the following command:
nameserver 162.242.211.137
sudo chattr +i /etc/resolv.confReboot. To reverse the process:
suEnter preferred DNS servers and make file immutable again:
chattr -i /etc/resolv.conf
nano /etc/resolv.conf
chattr +i /etc/resolv.conf
Sunday 8 May 2016
Turning Off Baloo in KDE Plasma
To disable Baloo:
balooctl disableTo check Baloo's status:
balooctl statusTo re-enable Baloo:
balooctl anable
Saturday 19 March 2016
Solution to the Error code: 0xc0000225 in Windows 10.
- Type in 'Diskpart'.
- Type in 'List volume'.
- Type 'Select volume=?' (Replacing the ? with whatever number is associated with the ESP label).
- Type 'Assign letter=Z'. (Or anything not currently in use.)
- Type 'exit'.
- Type 'bcdboot C:\windows /s Z: /f UEFI'. (Replacing the C: with the volume letter that is named OS).
Saturday 10 October 2015
Replacing LightDM with GDM
sudo pacman -S gdm
sudo systemctl disable lightdm
sudo systemctl enable gdm
Wednesday 16 September 2015
Change Default File Manager (Mate)
Press Alt + F2 and type in:
mate-default-applications-properties.Go to System tab and change file manager option to whatever you like.
Changing Default Bittorrent Client to Transmission (Mate)
Open ~/.local/share/applications/mimeapps.list and add the following entry:
x-scheme-handler/magnet=transmission-gtk.desktopYou can confirm the new settings by typing into a terminal:
xdg-mime query default x-scheme-handler/magnet
Saturday 8 August 2015
NumLock on Boot in XFCE
Find the file ~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml in your home folder (enabling the viewing of hidden files first), and make sure the following values are set to true:
Numlock: value=true
RestoreNumlock: value=true
Tuesday 21 April 2015
Disabling, Re-enabling and Reinstalling the TAP Adaptor in Windows 8.1
First, try to disable and re-enable the TAP adaptor by going to Control Panel -> Network and Sharing Center -> Change Adapter Settings -> One of the local area connections will have an undername TAP-Windows Adapter v9 -> Disable it and re-enable -> Try to connect again.
If the issue persists, you can reinstall your TAP drivers by downloading them from https://swupdate.openvpn.org/community/releases/tap-windows-9.21.1.exe
If the issue persists, you can reinstall your TAP drivers by downloading them from https://swupdate.openvpn.org/community/releases/tap-windows-9.21.1.exe
Monday 19 January 2015
Restoring GRUB2 (Antergos)
Method One:
Boot Live CD and run the following command to determine where your Antergos/Arch/Manjaro partition is.
Method Two:
Boot Live CD and run the following command to determine where your Antergos/Arch/Manjaro partition is.
blkidMount it.
mount /dev/sda5 /mntChange root directory.
mount -t proc proc /mnt/pro
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts/chroot /mnt Install mtools and os-prober.
pacman -S mtools os-proberInstall to dev/sda (or whichever your mbr is.)
grub-install /dev/sdaUpdate and configure GRUB
grub-mkconfig -o /boot/grub/grub.cfg exit
Method Two:
pacman -S arch-install-scripts --noconfirm
mount /dev/sda? /mnt (Change sda? to your own configuration for root.)
mount /dev/sda? /mnt/boot (Only if you have a separate boot partition.)
arch-chroot /mnt
grub-install --target=i386-pc --recheck --debug /dev/sda (No partition number, just the sda/sdb part.)
grub-mkconfig -o /boot/grub/grub.cfg
exit
Thursday 8 January 2015
Subscribe to:
Posts (Atom)