Google Sanitizers and Fedora 25

Here’s a tip if you are using Fedora and trying to use one of the Google Sanitizers with clang and is having problems doing so. One of the common problems is not being able to find libclang_rt.asan-x86_64.a:

This can be resolved by simply installing the compiler-rt package:

Restoring click method behavior on Fedora 25 and libinput

Here’s a quick tip if you need to enable the Software Button Area behavior on an Apple macbook running Fedora 25:

Some comments about this:

  1. You have to run it after every reboot
  2. There’s, probably, a better way to do this. Per documentation, it should be possible to set it up permanently by creating a file on /etc/X11/xorg.conf.d however I did not manage to create a file that works so far.

References:

 

OpenPHT builds for Fedora

I have created Fedora packages for OpenPHT, a community-driven fork of the Plex Home Theater client. The packages can be download from this link (I plan to propose adding the RPM specs to the main project, but before doing so, I would like to make sure they are working as expected).

The build instructions, for those interested in reviewing or rebuilding the package can be found in this gist or in the RPM spec file.

Macbook touchpad configuration tip for Fedora Linux

Some time ago I wrote a few tips about Running Fedora 22 on a Late 2013 Macbook Pro (Retina). Fedora is now on its version 24 and remains the best Linux distribution out there and the tips are still valid.

However, there’s one new tip. Instead of dealing with the Synaptics/Synclient stuff by yourself, you may want to try using the configuration from my Copr repository instead:

And with that you should have a touchpad behavior that is similar to the one on OS X.

 

Some messaging stuff

Just sharing some messaging tools I have been working with recently.

The first one is this performance test tool: msg-perf-tool. There’s no secret here: you run the tool and it does its best to bring your messaging system to its knees (though this may not be the correct way how to test it … check the testing tips on the Github page). For now it supports only AMQP, but Stomp and MQTT support is on the way. You can find rpms for RHEL/Centos (6 and 7) and Fedora (22, 23 and 24) for i686 and x86_64 on my Copr profile here.

The second one is a web page that can display the performance data stored on an ElasticSearch database and present it in a beautiful way. I call it messaging performance center. Here’s how it looks like:

messaging performance tool
mpt-perf-ui

Some bits are still in progress, but it’s functional.

Lastly, there’s litestomp. A C implementation of the Simple (or Streaming) Text Oriented Messaging Protocol. It was built on top of what-seems-to-be the now defunct libstomp project. There’s a couple of bugfixes, a simpler and higher level API for ease of use. Still a work in progress, but you can download the current rpms for RHEL/Centos (6 and 7) and Fedora (22, 23 and 24) for i686 and x86_64 from my Copr project page on this link.

Parallels Tools 10 and Linux Kernel 4.2

There seem to a be problem with Parallels Tools 10.3 and recent versions of the Linux kernel (4.2, at least, which is used by recent versions of Fedora 22 and Fedora 23, for example). During the installation tools, the installer fails to compile one of the modules. That can lead to problems booting up your virtual machine.

In Fedora, in order to avoid this problem, you can just add the following line to /etc/dnf/dnf.conf file:

After Parallels release an update, you just remove the line, update the system, and it should be fine. As a final reminder, you should always generate a snapshot before upgrading the system.

Fedora Linux 22 on Macbook Pro Retina

I have Late 2013 MacBook Pro Retina (MacBookPro11,1 (13″) (A1502)) and I wanted to run Fedora 22 on it. These are just some tips to solve some common problems about running Linux on it:

1. Configure wireless:

First install kernel-devel:

The follow the steps here (basically: install rpmfusion, then broadcom-wl, then run sudo akmods).

2. How do I switch the Command key and Control key on a MacBook Pro? Check here.

3. Adjust HiDPI settings. If you are running Cinnamon, you can just adjust it in the fonts settings panel. If you are not, you may need to export GDK_SCALE for some applications. You can find additional details in this link.

4. Touch pad: enable the right click on the right bottom area of the touch pad.

 

You can learn more about tweaking the Macbook touchpad here and here.

5. Bluetooth: does not seem to work yet, sorry.