Profile

Cover photo
Peter Hutterer
Works at Red Hat
165,836 views
AboutPosts

Stream

Peter Hutterer

Shared publicly  - 
 
Been using this one for years. As mutt user, I use vim to reply to emails. And when replying a a patch it's nice to get diff syntax highlighting. Install in $HOME/.vim/syntax/ and then just run set syntax=replydiff in vim.

https://gist.github.com/whot/10345368
3
Roman Joost's profile photo
 
Nice! Cheers!
Add a comment...

Peter Hutterer

Shared publicly  - 
 
In case you're wondering where your Xorg.log went...

http://who-t.blogspot.com.au/2014/03/viewing-xorglog-with-journalctl.html
Those running Fedora Rawhide or GNOME 3.12 may have noticed that there is no Xorg.log file anymore. This is intentional, gdm now starts the X server so that it writes the log to the systemd journal. Thus, to get the log file ...
19
11
Emmanuele Bassi's profile photoCristian Rodriguez's profile photoFlorian Hubold's profile photoLennart Poettering's profile photo
7 comments
 
Aw man. I was hoping xorg gained the ability to log to systemd.
Add a comment...

Peter Hutterer

Shared publicly  - 
 
 
So I've spent the last two days tracking down mysterious behaviour with the trackpad on my laptop, thanks to +Peter Hutterer . If you have a clickpad  that seems to behave weirdly with the new synaptics driver - my system is a #dell #xps13 - you might want to read https://www.happyassassin.net/2014/03/20/the-dell-xps-13-trackpad-cypress-and-linux-synaptics/
1
Add a comment...

Peter Hutterer

Shared publicly  - 
 
The more I work on libevdev, the more odd corner-cases I find that both we and other evdev users would easily get wrong. It's probably time to extend our  "don't write a new window manager" warning to "don't write a process that handles evdev events directly".

I might have to send a patch +Dmitry Torokhov to note that in the kernel documentation.
4
Dmitry Torokhov's profile photo
 
I'd rather have a patch saying "if you decide to handle events yourself be aware of the following pitfalls: ..."
Add a comment...

Peter Hutterer

Shared publicly  - 
 
If you have a new X1 Carbon [edit: any new Lenovo], the one without physical buttons below the trackstick, please run
  udevadm info --export-db | grep LEN00
and let me know the IDs you get. You should see a line like this:
  E: MODALIAS=acpi:LEN0042:PNP0F13:
with the PNPID somewhere in the 33-42 range.

So far we know 33, 34, 35, 36 and 42, let me know which model and pnpid you have.
1
Thomas Bechtold's profile photoDavid Herrmann's profile photoPeter Hutterer's profile photoMax Krüger's profile photo
5 comments
 
X240: 38, 71, 68

Full outputis:

 udevadm info --export-db | grep LEN00
P: /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/LEN0038:00
E: DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/LEN0038:00
E: MODALIAS=acpi:LEN0038:PNP0F13:
P: /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/LEN0071:00
E: DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/LEN0071:00
E: MODALIAS=acpi:LEN0071:PNP0303:
P: /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/PNP0C09:00/LEN0068:00
E: DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/PNP0C09:00/LEN0068:00
E: MODALIAS=acpi:LEN0068:
Add a comment...

Peter Hutterer

Shared publicly  - 
 
 
Ten years exactly since the first +X.Org Foundation release - cor. Since then: compositing support, input & output hotplug and management, multi-focus input (still not matched anywhere else), multitouch, autoconfig, KMS, multiple new acceleration architectures, AIGLX and eventually DRI2, now DRI3 and present, portable software rendering with pixman, portable keyboard support with xkbcommon, XCB, and all that with a (server) codebase about half as small as it used to be. A hell of a lot to be proud of.

[edit: how could I forget the modular build? um.]
3
Add a comment...

Peter Hutterer

Shared publicly  - 
 
This annoyed me for years and I finally looked it up:
in your .vimrc, add "set cinoptions=+0,(0"

The +0 option stops extra indentation for continuation lines, (0 stops extra indentation for function parameters. see :help cinoptions-values or the below page for how this looks like
http://vimdoc.sourceforge.net/htmldoc/indent.html
1
Jonas Ådahl's profile photoPádraig Brady's profile photo
Add a comment...

Peter Hutterer

Shared publicly  - 
 
libevdev 1.1 is released. I highly recommend to update to this version if you're on 1.0.1 or earlier, the fixes to SYN_DROPPED handling now ensure that clients actually get valid data.

http://lists.freedesktop.org/archives/input-tools/2014-March/000843.html
3
Add a comment...

Peter Hutterer

Shared publicly  - 
 
evdev support for OpenBSD as a GSoC project. any takers?

http://www.openbsdfoundation.org/gsoc2014.html#evdev
4
2
Nikolai Kondrashov's profile photoX.Org Foundation's profile photo
Add a comment...
Story
Introduction
X.Org input maintainer
Work
Employment
  • Red Hat
    Senior Software Engineer, present