Using Zabbix 3.0 on Enterprise Linux 6 (EL6)

Zabbix 3.0 requires PHP 5.4 or above and is consequently not officially available in base RHEL/CentOS 6 repositories. To run Zabbix 3.0 with MariaDB 10.1 and PHP 5.6 (php56u), I built packages for EL6 on Fedora COPR: COPR: ritz/zabbix30 These RPMs are built for Zabbix 3.0.1 linked against MariaDB 10.1.x and PHP 5.6.19. Useful Resources Official Zabbix 3.0 Installation Manual Zabbix Database Creation SQL Scripts

March 23, 2016 · 1 min

Using C++ REST SDK (Casablanca) on Fedora Linux

Microsoft has open-sourced Casablanca (the C++ REST SDK) on GitHub. To make it easy to use on Fedora, I packaged and published RPMs on Fedora COPR: COPR: ritz/cpprestsdk To enable the repository and install: sudo dnf copr enable ritz/cpprestsdk sudo dnf install cpprest-devel Happy compiling with -lcpprest!

March 13, 2016 · 1 min

How to Increase the Offline Storage Quota for Kindle in Epiphany

You can easily install Amazon’s Kindle Cloud Reader as a standalone web application on Fedora Linux using the Epiphany (GNOME Web) browser via GNOME Software. However, this comes with one major hurdle: the default offline storage quota for web databases is a measly 6 MB, which you will exhaust almost immediately. webkitgtk3 used to offer an API called webkit_get_default_web_database_quota, but this was removed from the newer webkitgtk4 engine that Epiphany relies on. ...

January 17, 2016 · 1 min

Lync on Linux

If you are looking to run Microsoft Lync (aka Skype for Business) on Linux, you’re in luck: Fisil maintains a Linux client hosted at tel.red. However, I ran into an issue running the client on Fedora 23 (Rawhide), as the Sky package bundles its own older X11 libraries: $ sky /opt/sky_linux/sky: symbol lookup error: /lib64/libXxf86vm.so.1: undefined symbol: _XEatDataWords _XEatDataWords was added to fix an upstream X.Org vulnerability (commit details). The workaround is to preload your distribution’s native libX11 library: ...

July 13, 2015 · 1 min

Enabling Middle-Click with Windows 8 on Lenovo ThinkPad X230

To restore classic middle-click functionality on the Lenovo ThinkPad X230 TrackPoint under Windows 8: Open regedit and navigate to: HKEY_CURRENT_USER\Software\Synaptics\SynTPEnh\UltraNavPS2 (Note: ensure you are in HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE). Change the value of TrackPointMode from 00001214 to DWORD 00002214. Open Windows Mouse Properties, switch to the UltraNav tab, disable the TrackPoint by clearing its checkbox, and click Apply. Using your touchpad or an external mouse, re-check the TrackPoint checkbox and click Apply once more. ...

May 7, 2014 · 1 min

Recovering a LUKS-Encrypted Ubuntu LVM Volume Group on Another System

I frequently mirror and swap internal hard drives using an external USB/eSATA docking station. However, this creates a tricky issue when mounting on another Ubuntu machine. During standard installation with LUKS + LVM encryption, Ubuntu names the root volume group ubuntu-vg. If you plug in a secondary drive where Ubuntu was also installed, LVM encounters a name conflict between the host’s volume group and the external disk’s volume group, preventing activation. ...

May 5, 2014 · 2 min

Shrinking VMs on virt-manager / KVM

I use rsync to back up my workstation, including virtual machine disk images. Due to a known issue with sparse file handling during backups, rsync would expand sparse files, inflating an 11 GB disk image to its full 64 GB provisioned size on the backup server. To solve this, I converted the disk images to compressed qcow2 format: 1. Convert Existing Raw Images to qcow2 This also enables live snapshot support in virt-manager: ...

January 13, 2014 · 1 min

Windows 7 on KVM: High Host CPU Usage While Guest Is Idle

If you notice unusually high CPU usage on your KVM host while a Windows 7 virtual machine sits completely idle, remove the virtual USB tablet input device from the VM configuration. Once removed, host CPU utilization drops immediately. Reference: Debian Bug 672720

January 12, 2014 · 1 min

Unity vs. GNOME Shell: The Small Things – Status Tray

The GNOME Shell status tray is an interesting implementation written in JavaScript. Consequently, it is approachable to learn, write extensions for, and modify. However, one issue that bothered me was focus stealing. When clicking on a status tray icon and moving the mouse cursor diagonally down toward the open menu, focus would inadvertently switch to the next adjacent tray icon. This was rather jarring, exacerbated by the gap between the panel icon and the popover menu. ...

March 21, 2012 · 1 min

Closing Apps in Window Picker Mode in GNOME Shell

One of the pain points when using a touchscreen device is closing applications while in window picker (overview) mode. Why not add a “Trash Can” target to the dash or dock where windows can simply be dragged and dropped to close them? It would only need to be visible while in the window picker overview. Thoughts?

December 25, 2011 · 1 min