Adjust mouse sensitivity in Ubuntu 17.04

1) Create script.

I created the script in my home folder. Insert your own user name instead:

sudo nano /home/allan/

Script containing (220 is max sensitivity):

echo -n 220 > /sys/devices/platform/i8042/serio1/sensitivity

2) Make file executable:

sudo chmod +x /home/allan/

3) Make script run at reboot.

First edit crontab:

sudo crontab -e

and make script run at reboot:

@reboot /home/allan/

Make Firefox read certificates from Windows certificate store

I recently activated SSL inspection on user computers. I installed a certificate from the supplier to use, but Firefox did not read this certificate. Google Chrome and Internet Explorer worked fine. To make this work, force Firefox to read certificates from Windows store by changing settings in Firefox. Firefox will read .js files when starting.

Create a new file containing:

- and save with extension .js. E.g. Firefox_settings_securityEnterpriseRootEnabled.js.

Use Windows to distribute this file to all computers to both 32 and 64 bit folder:
C:\Program Files\Mozilla Firefox\defaults\pref
C:\Program Files (x86)\Mozilla Firefox\defaults\pref

Get list of all SIP addresses on Exchange in searchable view

Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_ -imatch "SIP" } | Select-Object ProxyAddressString | Out-GridView

or to view in comma separated file:

Get-Mailbox -ResultSize Unlimited | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_ -imatch "SIP" } | Select-Object ProxyAddressString | Export-Csv [PATH TO FILE HERE]

Nokia 6, Oister og MMS

Oister kunne ikke hjælpe mig med opsætningen af min Nokia 6 og MMS, så jeg fandt selv ud af det. Nu kan du se hvordan her:

Start med "Indstillinger" -> "Mere" -> "Mobilnetværk" -> "Adgangspunkter". Vælg "Oister MMS" og ret den til som nedenstående. Husk at vælge "Gem" i menuen til sidst. Genstart er ikke nødvendigt.

Mouse sensitivity too slow, or low, after upgrade to Ubuntu 17.04

I was unable to change the mouse sensitivity after upgrading to Ubuntu 17.04. It was very low/slow after upgrade.

Changing it in the default mouse app didn't do any difference. And xinput didn't work.

I ended up modifying "/sys/devices/platform/i8042/serio1/sensitivity" and changing the value to 220. It worked immediately.

To make the change work after every reboot, edit '/etc/rc.local' and add this line before the command 'exit 0':

echo -n 220 > /sys/devices/platform/i8042/serio1/sensitivity

My '/etc/rc.local' looks like this:

#!/bin/sh -e
# rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# bits.
# By default this script does nothing.

echo -n 220 > /sys/devices/platform/i8042/serio1/sensitivity

exit 0

DNS stopped working after Ubuntu 14.04 upgrade to Ubuntu 16.04

1) I resolved it by removing file /etc/resolv.conf:
sudo rm /etc/resolv.conf

2) and creating a new file:
sudo nano /etc/resolv.conf

3) and typing my name server in the file: