Wednesday, 16 September 2015

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.



Making Icons Visible on the Desktop (Gnome 3)

Hit alt>F2 and type...
dconf-editor
Go to org>gnome>desktop>background and tick "Show Desktop Icons". If you want to remove the Computer/Recycle Bin/Mounted Volumes go to nautilus>desktop and untick the relevant boxes.

Saturday, 27 September 2014

Changing Default Applications (Gnome 3)

To change your preferred browser/file manager/email program in GNOME 3, type into a terminal.
exo-preferred-applications

Friday, 18 July 2014

Star Wars: The Old Republic - Start Script

#! /bin/bash

unset OPTIMUS_PREFIX
# In case of an optimus-enabled laptop, the use of primusrun is recommended over optirun.
# Don't uncomment this line in any other case.
# OPTIMUS_PREFIX="primusrun"

# If you store the script anywhere else than the game directory, change this to the path of your launcher.exe
LAUNCHER_COMMAND="wine launcher.exe"
#LAUNCHER_COMMAND="wine explorer /desktop=name,1920x1080 launcher.exe"

 
# Set up a new wineprefix in the game directory, and reduce debugging to improve performance.
# If you don't like it there, or running the script from somewhere else, change it.
# Please note that WINEARCH=win32 is REQUIRED.
export WINEARCH=win32
export WINEDEBUG=-all
export WINEPREFIX="$( pwd )/wineprefix"

# Check if we have swtor_fix.exe, and download it if we don't.
# This can be placed anywhere on the system, and must be run parallel to the game.

if [ ! -f swtor_fix.exe ]; then
    wget -O swtor_fix.exe https://github.com/aljen/swtor_fix/raw/master/swtor_fix.exe
fi
# Start it parallely.
wine swtor_fix.exe &
# Give it a sec to fire up.
sleep 1
# Install and set up components in wineprefix.
# Since that command does nothing if already ran, we need no checks there.
winetricks msvcp90=native d3dx9_36 vcrun2008 msls31 winhttp

# Here we come!
$OPTIMUS_PREFIX $LAUNCHER_COMMAND

# Since wait for swtor_fix.exe to finish.
wait $!

# Clean up after ourselves.
unset WINEARCH
unset WINEPREFIX
unset WINEDEBUG

Sunday, 2 February 2014

Fixing the hddtemp Permissions Problem (Linux Mint)

To enable the CPU panel applet to display the hddtemp reading type into a console...
sudo chmod u+s /usr/sbin/hddtemp

Thursday, 23 January 2014

FSTAB Backup (Linux Mint 15)

# /etc/fstab: static file system information.
#
#            

#Entry for /dev/sda2 :
UUID=a8df1bf1-348e-488d-8b4b-85cf697508a2 / ext4 errors=remount-ro 0 1
#Entry for /dev/sda3 :
UUID=af6228ed-ecf6-4ba5-b41b-1ee2ad3131d1 /home ext4 defaults 0 2
#Entry for /dev/sdb5 :
UUID=6A96512F11008B6C /media/Archives ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sdb1 :
UUID=717C64040B1AAA85 /media/Audio ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sdb7 :
UUID=22B1D8761652CD13 /media/Audiobooks ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sdb2 :
UUID=4DA5A9D475203A97 /media/Comics ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sdb3 :
UUID=5738040F13AA6DB3 /media/Encrypted ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sda6 :
UUID=7DD730AC7EBC41BA /media/Storage ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sdb6 :
UUID=3D6F4D094E05930A /media/Television ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/sdb8 :
UUID=485D903C5ED3DE8B /media/Video ntfs-3g defaults,locale=en_GB.UTF-8 0 0
#Entry for /dev/mapper/cryptswap1 :
/dev/sda5 none swap sw 0 0
#UUID=86612f93-9212-4b65-a84e-5e2246958ee6 none swap sw 0 0

#UUID=4911e8b6-c879-459b-8d47-3a5d2dbe19fb none swap sw 0 0

Wednesday, 1 January 2014

Fixing Skype 64 Bit (Linux Mint 16)

I kept having this problem installing the 32 bit version of Linux in Linux 64 bit: pusleaudio would never show up is the sound options. To fix it, I ended up installing the i386 version of libpulse
apt-get install libpulse0:i386
It may also be worth trying to run Skype from a terminal using...
PULSE_LATENCY_MSEC=30 skype 
If it works, try adding...
Exec=/usr/bin/env PULSE_LATENCY_MSEC=30 /usr/bin/skype %U
... to the 'exec' line in the .desktop file.

Monday, 1 July 2013

Solving the Permissions HDD Fault (Linux Mint 15)

To solve the permissions fault when using the XFCE sensors applet, type into a console...
sudo chmod u+s /usr/bin/hddtemp
... and reboot.