Hide Forgot
Description of problem: The current implementation of the wacomcpl tool writes out a single .wacomcplrc file in the user's home directory. When a user logs in, this file is sourced to restore all the settings. We have several users here logging into multiple machines with different setup (i.e cintiq hooked up in a "leftof" configuration vs. a "rightof" configuration). This means a user would need to run the wacomcpl tool every time when logging into machines with different setup to update their .wacomcplrc. To address this issue, I wrote a patch to have the wacomcpl tool write out the .wacomcplrc file with a hostname at the end of the file such as .wacomcplrc.hostname. I also modified the /etc/X11/xinit/xinitrc.d/wacomcpl.sh file to try loading the .wacomcplrc file based on this. If no file exists with a hostname, it finally tries to load just .wacomcplrc file without the hostname. I also added an extra check to see if a wacom.conf file exist in the /etc directory. This is because we have a few special review machines where the wacomcpl tool would not work (multiple graphics card with SDI). For these machines, we figured out the optimal wacom settings and would like to force these settings to be loaded and not the users .wacomcplrc settings. The patch works great for us and should not break anyone. We would like to request this to be added to the next update for the wacomcpl package if possible.
To avoid breaking current setups, the order of host-based includes would have to be the following: - load host-based $HOME/wacomcplrc if one exists (since they are the newest ones) - lost standard $HOME/wacomcplrc if one exists - load /etc/wacomcplrc This order allows users to override system-configurations with user-specific configurations (e.g. calibration).
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
MODIFIED wacomcpl-0.10.0-2.el6 is available in brew
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, the wacomcpl utility supported only a single wacomcplrc file in the user's home directory. All the user settings were restored from this file when logging in. When various users logged into multiple machines with a different setup, a user had to update the wacomcplrc file every time. With this update, wacomcpl is modified to support host-specific wacomcplrc files. If no file exists with a hostname suffix, wacomcpl finally tries to load the wacomcplrc file without the suffix.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1588.html