paulgorman.org

< ^ txt

Tue Feb 3 08:15:12 EST 2015 Goals: Work: - Get _something_ useful done today apart from cubicle moves One or two thing, but a lot of the day was phone wiring and moving workstations. - Answer questions for the auditors. Done. Home: - Just relax Done. Questions: - How do I set a MOTD for all users on linux? This is more interesting than I initially supposed. Debian reads static content from /etc/motd, but can dynamically generates content through pam. sudo apt-get install fortune cowsay figlet sudo rm /etc/motd sudo ln -s /var/run/motd /etc/motd sudo mkdir /etc/update-motd.d sudo bash -c 'cat << EOF > /etc/update-motd.d/10-fun-motd #!/bin/dash /bin/hostname -s | /usr/bin/figlet /bin/uname -rmov /usr/games/fortune | /usr/games/cowsay EOF' sudo chmod a+x /etc/update-motd.d/10-fun-motd - Why did the middle mouse button on my Logitech just stop working? It still works as a scroll wheel. The trackpoint middle button on my keyboard still works. `xev` shows that a click of the mouse wheel/middle button doesn't generate an event. Left button sends "button 1", right sends "button 3", wheel up/down sends button 4/5. "button 2" is missing. The trackpoint middle button does send "button 2". Did my mouse's button _physically_ stop working? http://ubuntuforums.org/showthread.php?t=895914 http://www.linuxforums.org/forum/debian-linux/186120-middle-mouse-button-doesnt-work-anymore.html God damn it. Yes. Pressing harder works. This looks like a physical mouse problem.

< ^ txt