tag:blogger.com,1999:blog-82207343355249114902024-02-07T08:58:11.285+00:00My Linux BlogA Lifetime of Fixes...Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.comBlogger171125tag:blogger.com,1999:blog-8220734335524911490.post-34693461258922303872020-03-07T22:17:00.002+00:002020-03-07T22:17:17.810+00:00Creating Custon Magnet Linksmagnet:?xt=urn:btih:INFO_HASHPaul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-41017559876832083272017-03-23T20:00:00.004+00:002017-03-23T20:00:51.515+00:00Remove 'hiberfile' from Windows 10 InstallationIf 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):<br />
<blockquote class="tr_bq">
sudo mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /home/yourname/temp</blockquote>
Then update Grub again:<br />
<blockquote class="tr_bq">
update-grub</blockquote>
<div>
<br /></div>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-79555031564502665942016-11-21T14:35:00.005+00:002016-12-02T11:50:08.584+00:00VPN Passwords won't save in XFCEIn 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:<br />
<blockquote class="tr_bq">
gksu leafpad <filename> [filename]<filename></filename></filename></blockquote>
Add the following line:<br />
<blockquote class="tr_bq">
[vpn-secrets]<br />
password=xxxxxxxx</blockquote>
Where xxxxxxxx is your VPN password. Save file.<br />
<br />
<div>
<br /></div>
<br />Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com2tag:blogger.com,1999:blog-8220734335524911490.post-54442056078101917622016-05-25T02:07:00.000+01:002017-03-22T00:28:52.498+00:00Fixing DNS leak in ManjaroFirstly, 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:<br />
<blockquote class="tr_bq">
nameserver 78.46.223.24<br />nameserver 162.242.211.137 </blockquote>
If there are any more, delete them, and then make the resolv.conf file immutable with the following command:<br />
<blockquote class="tr_bq">
sudo chattr +i /etc/resolv.conf </blockquote>
Reboot.
To reverse the process:<br />
<blockquote class="tr_bq">
su<br />chattr -i /etc/resolv.conf<br />nano /etc/resolv.conf </blockquote>
Enter preferred DNS servers and make file immutable again:<br />
<blockquote class="tr_bq">
chattr +i /etc/resolv.conf</blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-55254692758244106142016-05-08T17:21:00.002+01:002016-05-08T17:21:32.702+01:00Turning Off Baloo in KDE PlasmaTo disable Baloo:<br />
<blockquote class="tr_bq">
balooctl disable </blockquote>
To check Baloo's status:<br />
<blockquote class="tr_bq">
balooctl status </blockquote>
To re-enable Baloo:<br />
<blockquote class="tr_bq">
balooctl anable
</blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-72594611890966848392016-03-19T22:23:00.002+00:002016-03-19T22:23:41.979+00:00Solution to the Error code: 0xc0000225 in Windows 10.<br />
<ol>
<li>Type in 'Diskpart'. </li>
<li>Type in 'List volume'. </li>
<li>Type 'Select volume=?' (Replacing the ? with whatever number is associated with the ESP label). </li>
<li>Type 'Assign letter=Z'. (Or anything not currently in use.) </li>
<li>Type 'exit'. </li>
<li>Type 'bcdboot C:\windows /s Z: /f UEFI'. (Replacing the C: with the volume letter that is named OS).</li>
</ol>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com1tag:blogger.com,1999:blog-8220734335524911490.post-41008556176077001482015-10-10T03:28:00.001+01:002015-10-10T03:28:46.983+01:00Replacing LightDM with GDM<blockquote class="tr_bq">
sudo pacman -S gdm<br />sudo systemctl disable lightdm<br />sudo systemctl enable gdm</blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-62404235944223262532015-09-16T21:33:00.002+01:002015-10-10T03:29:15.198+01:00Change Default File Manager (Mate)Press Alt + F2 and type in:
<br />
<blockquote>
<b>mate-default-applications-properties.</b></blockquote>
Go to System tab and change file manager option to whatever you like.
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-8841250569060736392015-09-16T18:55:00.002+01:002015-10-10T03:29:24.580+01:00Changing Default Bittorrent Client to Transmission (Mate)Open ~/.local/share/applications/mimeapps.list and add the following entry:
<b></b><br />
<blockquote>
<b>x-scheme-handler/magnet=transmission-gtk.desktop</b></blockquote>
You can confirm the new settings by typing into a terminal:
<b></b><br />
<blockquote>
<b>xdg-mime query default x-scheme-handler/magnet</b></blockquote>
<b>
</b>Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-81989212827262115692015-08-08T02:17:00.002+01:002015-09-16T19:01:12.100+01:00NumLock on Boot in XFCEFind 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:<br />
<br />
<blockquote class="tr_bq">
<b>Numlock: value=true</b></blockquote>
<blockquote class="tr_bq">
<b>RestoreNumlock: value=true
</b></blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-6005995012935284202015-04-21T21:23:00.001+01:002015-04-21T21:24:54.893+01:00Disabling, Re-enabling and Reinstalling the TAP Adaptor in Windows 8.1First, 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.<br />
<br />
If the issue persists, you can reinstall your TAP drivers by downloading them from <a href="https://swupdate.openvpn.org/community/releases/tap-windows-9.21.1.exe">https://swupdate.openvpn.org/community/releases/tap-windows-9.21.1.exe</a><br />
<br />
<br />Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-38433690894025917422015-01-19T00:08:00.001+00:002016-03-19T22:17:13.984+00:00Restoring GRUB2 (Antergos)<b><u>Method One:</u></b><br />
<br />
Boot Live CD and run the following command to determine where your Antergos/Arch/Manjaro partition is.
<br />
<blockquote>
<b>blkid</b></blockquote>
Mount it.
<br />
<blockquote>
<b>mount /dev/sda5 /mnt</b></blockquote>
Change root directory.
<br />
<blockquote>
<b>mount -t proc proc /mnt/pro</b></blockquote>
<blockquote>
<b>mount -t sysfs sys /mnt/sys</b></blockquote>
<blockquote>
<b>mount -o bind /dev /mnt/dev</b></blockquote>
<blockquote>
<b>mount -t devpts pts /mnt/dev/pts/</b></blockquote>
chroot /mnt
Install mtools and os-prober.
<br />
<blockquote>
<b>pacman -S mtools os-prober</b></blockquote>
Install to dev/sda (or whichever your mbr is.)
<br />
<blockquote>
<b>grub-install /dev/sda</b></blockquote>
Update and configure GRUB
<br />
<blockquote>
<b>grub-mkconfig -o /boot/grub/grub.cfg</b>
<b>exit</b></blockquote>
<br />
<br />
<b><u>Method Two: </u></b><br />
<br />
<blockquote class="tr_bq">
<b>pacman -S arch-install-scripts --noconfirm </b></blockquote>
<blockquote class="tr_bq">
<b>mount /dev/sda? /mnt (Change sda? to your own configuration for root.) </b></blockquote>
<blockquote class="tr_bq">
<b>mount /dev/sda? /mnt/boot </b>(Only if you have a separate boot partition.)</blockquote>
<blockquote class="tr_bq">
<b>arch-chroot /mnt</b></blockquote>
<blockquote class="tr_bq">
<b>grub-install --target=i386-pc --recheck --debug /dev/sda</b> (No partition number, just the sda/sdb part.) </blockquote>
<blockquote class="tr_bq">
<b>grub-mkconfig -o /boot/grub/grub.cfg</b></blockquote>
<blockquote class="tr_bq">
<b>exit</b></blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-28998772048841280612015-01-08T02:51:00.004+00:002015-01-08T02:51:59.067+00:00Add Unknown Public Keys<blockquote class="tr_bq">
gpg --keyserver pgp.mit.edu --recv-keys R2UERFFE8DDFZ9</blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-90843133421349061352014-10-16T00:51:00.000+01:002014-10-16T00:52:36.440+01:00No 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.)<br />
<br />
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):<br />
<br />
[Desktop Entry]<br />
Type=Application<br />
Exec=<span style="color: red;">/usr/bin/xscreensaver -nosplash</span><br />
Hidden=false<br />
X-GNOME-Autostart-enabled=true<br />
Name=<span style="color: red;">xscreensaver</span><br />
Comment=<span style="color: red;">Screensaver for xserver</span><br />
Name[en_GB]=<span style="color: red;">xscreensaver</span><br />
<span style="color: red;"><br /></span>
* Fill in red fields as necessary for your system.<br />
<br />
<br />
<br />Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-33566815300176940302014-10-16T00:40:00.005+01:002014-10-16T00:40:52.584+01:00Making Icons Visible on the Desktop (Gnome 3)Hit alt>F2 and type...<br />
<blockquote class="tr_bq">
dconf-editor</blockquote>
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.Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-42743692589675066552014-09-27T15:57:00.001+01:002014-09-27T15:57:32.146+01:00Changing Default Applications (Gnome 3)To change your preferred browser/file manager/email program in GNOME 3, type into a terminal.
<blockquote>exo-preferred-applications</blockquote>Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-9318670533269486702014-07-18T00:48:00.001+01:002014-07-18T00:48:13.796+01:00Star Wars: The Old Republic - Start Script#! /bin/bash<br />
<br />
unset OPTIMUS_PREFIX<br />
# In case of an optimus-enabled laptop, the use of primusrun is recommended over optirun.<br />
# Don't uncomment this line in any other case.<br />
# OPTIMUS_PREFIX="primusrun"<br />
<br />
# If you store the script anywhere else than the game directory, change this to the path of your launcher.exe<br />
LAUNCHER_COMMAND="wine launcher.exe"<br />
#LAUNCHER_COMMAND="wine explorer /desktop=name,1920x1080 launcher.exe"<br />
<br />
<br />
# Set up a new wineprefix in the game directory, and reduce debugging to improve performance.<br />
# If you don't like it there, or running the script from somewhere else, change it.<br />
# Please note that WINEARCH=win32 is REQUIRED.<br />
export WINEARCH=win32<br />
export WINEDEBUG=-all<br />
export WINEPREFIX="$( pwd )/wineprefix"<br />
<br />
# Check if we have swtor_fix.exe, and download it if we don't.<br />
# This can be placed anywhere on the system, and must be run parallel to the game.<br />
<br />
if [ ! -f swtor_fix.exe ]; then<br />
wget -O swtor_fix.exe https://github.com/aljen/swtor_fix/raw/master/swtor_fix.exe<br />
fi<br />
# Start it parallely.<br />
wine swtor_fix.exe &<br />
# Give it a sec to fire up.<br />
sleep 1<br />
# Install and set up components in wineprefix.<br />
# Since that command does nothing if already ran, we need no checks there.<br />
winetricks msvcp90=native d3dx9_36 vcrun2008 msls31 winhttp<br />
<br />
# Here we come!<br />
$OPTIMUS_PREFIX $LAUNCHER_COMMAND<br />
<br />
# Since wait for swtor_fix.exe to finish.<br />
wait $!<br />
<br />
# Clean up after ourselves.<br />
unset WINEARCH<br />
unset WINEPREFIX<br />
unset WINEDEBUGPaul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-12874066769305808132014-02-02T00:14:00.003+00:002014-07-18T00:44:46.680+01:00Fixing the hddtemp Permissions Problem (Linux Mint)To enable the CPU panel applet to display the hddtemp reading type into a console...
<br />
<blockquote>
sudo chmod u+s /usr/sbin/hddtemp</blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-26290997483001647092014-01-23T21:14:00.002+00:002014-01-23T21:14:59.786+00:00FSTAB Backup (Linux Mint 15)# /etc/fstab: static file system information.<br />
#<br />
# <file system=""> <mount point=""> <type> <options> <dump> <pass></pass></dump></options></type></mount></file><br />
<br />
#Entry for /dev/sda2 :<br />
UUID=a8df1bf1-348e-488d-8b4b-85cf697508a2<span class="Apple-tab-span" style="white-space: pre;"> </span>/<span class="Apple-tab-span" style="white-space: pre;"> </span>ext4<span class="Apple-tab-span" style="white-space: pre;"> </span>errors=remount-ro<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>1<br />
#Entry for /dev/sda3 :<br />
UUID=af6228ed-ecf6-4ba5-b41b-1ee2ad3131d1<span class="Apple-tab-span" style="white-space: pre;"> </span>/home<span class="Apple-tab-span" style="white-space: pre;"> </span>ext4<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>2<br />
#Entry for /dev/sdb5 :<br />
UUID=6A96512F11008B6C<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Archives<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sdb1 :<br />
UUID=717C64040B1AAA85<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Audio<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sdb7 :<br />
UUID=22B1D8761652CD13<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Audiobooks<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sdb2 :<br />
UUID=4DA5A9D475203A97<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Comics<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sdb3 :<br />
UUID=5738040F13AA6DB3<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Encrypted<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sda6 :<br />
UUID=7DD730AC7EBC41BA<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Storage<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sdb6 :<br />
UUID=3D6F4D094E05930A<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Television<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/sdb8 :<br />
UUID=485D903C5ED3DE8B<span class="Apple-tab-span" style="white-space: pre;"> </span>/media/Video<span class="Apple-tab-span" style="white-space: pre;"> </span>ntfs-3g<span class="Apple-tab-span" style="white-space: pre;"> </span>defaults,locale=en_GB.UTF-8<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#Entry for /dev/mapper/cryptswap1 :<br />
/dev/sda5 <span class="Apple-tab-span" style="white-space: pre;"> </span>none<span class="Apple-tab-span" style="white-space: pre;"> </span>swap<span class="Apple-tab-span" style="white-space: pre;"> </span>sw<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
#UUID=86612f93-9212-4b65-a84e-5e2246958ee6<span class="Apple-tab-span" style="white-space: pre;"> </span>none<span class="Apple-tab-span" style="white-space: pre;"> </span>swap<span class="Apple-tab-span" style="white-space: pre;"> </span>sw<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
<br />
#UUID=4911e8b6-c879-459b-8d47-3a5d2dbe19fb<span class="Apple-tab-span" style="white-space: pre;"> </span>none<span class="Apple-tab-span" style="white-space: pre;"> </span>swap<span class="Apple-tab-span" style="white-space: pre;"> </span>sw<span class="Apple-tab-span" style="white-space: pre;"> </span>0<span class="Apple-tab-span" style="white-space: pre;"> </span>0<br />
<div>
<br /></div>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-89431544390038257562014-01-01T14:31:00.001+00:002014-01-01T15:18:14.431+00:00Fixing 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<br />
<pre style="background-color: #f5f6f7; border: 1px solid rgb(210, 211, 215); font-size: 13px; line-height: 2em; margin: 2em 1.5em; outline: 0px; overflow: auto; padding: 1em; vertical-align: baseline; word-wrap: break-word;"><span style="font-family: inherit;">apt-get install libpulse0:i386</span></pre>
It may also be worth trying to run Skype from a terminal using...<br />
<pre style="background-color: #f5f6f7; border: 1px solid rgb(210, 211, 215); font-size: 13px; line-height: 2em; margin: 2em 1.5em; outline: 0px; overflow: auto; padding: 1em; vertical-align: baseline; word-wrap: break-word;"><span style="font-family: inherit;">PULSE_LATENCY_MSEC=30 skype </span></pre>
If it works, try adding...<br />
<pre style="background-color: #f5f6f7; border: 1px solid rgb(210, 211, 215); font-size: 13px; line-height: 2em; margin: 2em 1.5em; outline: 0px; overflow: auto; padding: 1em; vertical-align: baseline; word-wrap: break-word;"><span style="background-color: #e0e9f0; font-family: inherit; line-height: normal; white-space: normal;">Exec=/usr/bin/env PULSE_LATENCY_MSEC=30 /usr/bin/skype %U</span></pre>
... to the 'exec' line in the .desktop file.Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com1tag:blogger.com,1999:blog-8220734335524911490.post-53265842675547827732013-07-01T09:34:00.002+01:002013-07-01T09:34:16.286+01:00Solving the Permissions HDD Fault (Linux Mint 15)To solve the permissions fault when using the XFCE sensors applet, type into a console...<br />
<blockquote class="tr_bq">
sudo chmod u+s /usr/bin/hddtemp</blockquote>
<div>
... and reboot.</div>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-50471864487399681982013-06-22T13:39:00.000+01:002013-06-22T13:39:01.374+01:00Backup Mirrors for /etc/pacman-mirrors-conf (Manjaro)<pre style="white-space: pre-wrap; word-wrap: break-word;">##
## /etc/pacman-mirrors.conf
##
## Branch Pacman should use (stable, testing, unstable)
Branch=stable
## Generation method
## 1) rank - rank mirrors depending on their access time
## 2) random - randomly generate the output mirrorlist
Method=rank
## Specify to use only mirrors from a specific country
## Disabled by default
OnlyCountry=United_Kingdom
## Input mirrorlist directory
MirrorlistsDir="/etc/pacman.d/mirrors"
## Output mirrorlist
OutputMirrorlist="/etc/pacman.d/mirrorlist"</pre>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-73172889025475213362013-06-20T21:00:00.000+01:002013-06-22T13:37:24.517+01:00Setting Up NTP Server on ManjaroCreate a text file containing the following....<br />
<blockquote class="tr_bq">
#!/bin/bash<br />
systemctl stop ntpd.service<br />
ntpd -qg<br />
ntpd -qg<br />
ntpd -qg<br />
ntpd -qg<br />
systemctl start ntpd.service<br />
hwclock -w</blockquote>
<div>
... and name file ntp.sh and make executable.</div>
<div>
<br /></div>
<div>
Edit /etc/ntp.conf and under '# Associate to public NTP pool servers; see http://www.pool.ntp.org/', replace the three lines of 'server 0.pool.ntp.org' with...</div>
<div>
<blockquote class="tr_bq">
server 0.uk.pool.ntp.org<br />
server 1.uk.pool.ntp.org<br />
server 2.uk pool.ntp.org<br />
server 3.uk pool.ntp.org</blockquote>
N.B. The 'uk' is for United Kingdom. Insert your own region.<br />
<br />
Save, and as sudo, run ntp.sh script.<br />
<blockquote class="tr_bq">
sudo ./ntp.sh</blockquote>
To sync the clock every time your computer boots run...<br />
<blockquote class="tr_bq">
sudo systemctl enable ntpd </blockquote>
N.B. Alternately, replace 'systemctl start ntpd.service' in the top script with the above command.</div>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-7332072038175973942013-06-18T14:20:00.000+01:002013-06-18T14:20:05.380+01:00Fixing the "RTMP ReadPacket failed" error in iPlayerTo fix "RTMP_ReadPacket, failed to read RTMP packet header" error, try typing the following into a terminal:<br />
<blockquote class="tr_bq">
get_iplayer --prefs-add --rtmp-tv-opts="--swfVfy http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf"</blockquote>
... and then use as normal.<br />
<br />
More info on the cause <a href="http://lists.infradead.org/pipermail/get_iplayer/2013-June/004208.html">here</a>.Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0tag:blogger.com,1999:blog-8220734335524911490.post-53475243353944259262013-05-03T11:53:00.005+01:002013-05-03T11:55:24.060+01:00Installing 34 bit Skype on 64 bit XubuntuFirst, install 32 bit architecture, then update:<br />
<blockquote class="tr_bq">
sudo dpkg --add-architecture i386<br />sudo apt-get update </blockquote>
Then add necessary Canonical repo and install Skype.<br />
<blockquote class="tr_bq">
sudo add-apt-repository "deb http://archive.canonical.com/<br />$(lsb_release -sc) partner"<br />sudo apt-get update && sudo apt-get install skype</blockquote>
Paul Reedhttp://www.blogger.com/profile/02927027468227544676noreply@blogger.com0