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/temp
Then 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 leafpad  [filename]
Add the following line:
[vpn-secrets]
password=xxxxxxxx
Where xxxxxxxx is your VPN password. Save file.



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.24
nameserver 162.242.211.137 
If there are any more, delete them, and then make the resolv.conf file immutable with the following command:
sudo chattr +i /etc/resolv.conf 
Reboot. To reverse the process:
su
chattr -i /etc/resolv.conf
nano /etc/resolv.conf 
Enter preferred DNS servers and make file immutable again:
chattr +i /etc/resolv.conf

Sunday, 8 May 2016

Turning Off Baloo in KDE Plasma

To disable Baloo:
balooctl disable 
To check Baloo's status:
balooctl status 
To re-enable Baloo:
balooctl anable

Saturday, 19 March 2016

Solution to the Error code: 0xc0000225 in Windows 10.


  1. Type in 'Diskpart'. 
  2. Type in 'List volume'. 
  3. Type 'Select volume=?' (Replacing the ? with whatever number is associated with the ESP label). 
  4. Type 'Assign letter=Z'. (Or anything not currently in use.) 
  5. Type 'exit'. 
  6. Type 'bcdboot C:\windows /s Z: /f UEFI'. (Replacing the C: with the volume letter that is named OS).

Saturday, 10 October 2015

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.desktop
You 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


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.
blkid
Mount it.
mount /dev/sda5 /mnt
Change 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-prober
Install to dev/sda (or whichever your mbr is.)
grub-install /dev/sda
Update 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

Thursday, 16 October 2014

No Screensaver in Gnome 3?

Problem: Screensaver although installed, doesn't seem to work. The issue appears to be that xscreensaver doesn't auto-start. (Check in 'System Monitor' to see whether this is the case.)

If it is, in home>.config>autostart create an empty text-file called  'xscreensaver.desktop' and paste in the following information and reboot (then check 'System Monitor' again):

[Desktop Entry]
Type=Application
Exec=/usr/bin/xscreensaver -nosplash
Hidden=false
X-GNOME-Autostart-enabled=true
Name=xscreensaver
Comment=Screensaver for xserver
Name[en_GB]=xscreensaver

* Fill in red fields as necessary for your system.