T42+Ubuntu again
I updated the Ubuntu on T42 Howto once again.
Now there is a script to write the name of the user owning the X server out to /tmp, The osd
script then uses this information for doing su -
to this user account, in order to be allowed to write to his X display. So no hardcoded username anymore :-)
Further I added the suggestion to put the command to forcible enable all possible Fn-key combinations into /etc/resume.sh
. Unfortunately the preferred way of creating a custom script in /etc/resume.d
did not work, maybe due to kernel module reloads occuring after sourcing the resume.d
scripts ?
Thanks to all who make suggestions on how to improve the howto further! Knowing somebody actually makes use of this is quite motivating ;-)
Update: Though my resume.sh-hack worked for me, the way to enable all hotkeys suggested by Edward in his comment is much better, as this is the place where the comand gets executed right after loading the module. Thanks for pointing this out.
Comments
Edward Mendelson
Edward Mendelson