Fix Lenovo T440s brightness keys

Per default the brightness keys does not work and we couldn't even read out the keycodes using xev.

We found the fix on launchpad:

  1. Edit /etc/default/grub
  2. Change the line starting with GRUB_CMDLINE_LINUX_DEFAULT= to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=\"!Windows 2012\""
  3. sudo update-grub
  4. Reboot

Unmount SSHFS

If it seems you can't unmount SSHFS:
umount: /home/user/mountpoint: Permission denied
Just try this:
fusermount -u /home/user/mountpoint

Proxy auto-configuration for Windows and Linux

Operation systems generally can digest and look for a PAC file (="proxy auto-config"). They look for it using WPAD (="web proxy auto-discovery protocol").

Windows 7 and 8 do that. Ubuntu can do that (can be activated within the Network settings). For Fedora and Korora it's the same.

The PAC file can look like this one which provides "PAC with network and domain whitelisting".

For WPAD to work automatically the file should be served using the the MIME type application/x-ns-proxy-autoconfig. Its location should be announced via DHCP and DNS.

The DNS should announce either an A record (="host record") or an CNAME for the domain name wpad which should resolv to the IP of the machine that serves the PAC file. All in all it should be possible to access it over port 80 using http://wpad.[local_domain]/proxy.pac.

Using DHCP the file can be made available using any address and port. On a Linux machine the responsible configuration file /etc/dhcp/dhcpd.conf could look like this:

option local-proxy-config code 252 = text;  
subnet netmask {  
  option local-proxy-config "";

- Web Proxy Autodiscovery Protocol (
- Configuring Web proxy clients... (

Gnome: Remove title bar when maximized

Hide the useless titlebar when a window/application is maximized:[src]

No more title bar

  1. Edit metacity-theme-3.xml:
    sudo nano /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
  2. Press CTRL + w and type frame and press ENTER.
  3. Your file may differ but see that the found section in your file matches the following snippet with regard to the highlighted values:
    <frame_geometry name="max" has_title="false" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
         <distance name="left_width" value="0" />
         <distance name="right_width" value="0" />
         <distance name="left_titlebar_edge" value="0"/>
         <distance name="right_titlebar_edge" value="0"/>
         <distance name="title_vertical_pad" value="0"/>
         <border name="title_border" left="0" right="0" top="0" bottom="0"/>
         <border name="button_border" left="0" right="0" top="0" bottom="0"/>
         <distance name="bottom_height" value="0" />
    • Ubuntu: Press ALT + F2,
      Fedora/Korora: Press ALT + F2 and enter r, press ENTER.

XFCE HiDPI fix `everything too small`

Mate Desktop can do that right out of the box and features better UI/UX. Spare yourself the pain of XFCE - we gave up an used the HiDPI ready Ubuntu Mate.

What you can achieve

XFCE: More or less fixed HiDPI problems

XFCE in general

  1. HiDPI theme:


  1. about:config: layout.css.devPixelsPerPx
  2. Adjust default zoom level


  1. about:config: layout.css.devPixelsPerPx

- HiDPI: Xfce (