Yes, I actually had to look this one up. Apparently nobody thinks DVD menus and using your mouse for them) would be a sensible default.
mplayer -mouse-movements dvdnav://
And no, this doesn’t work with gmplayer. That would be crazy. =/
Yes, I actually had to look this one up. Apparently nobody thinks DVD menus and using your mouse for them) would be a sensible default.
mplayer -mouse-movements dvdnav://
And no, this doesn’t work with gmplayer. That would be crazy. =/
~/.Xmodmap
Xmodmap‘s keyboard mapping configuration.
This works right away for gMPlayer.
! https://wiki.xfce.org/faq ! All possible keysyms can be found in /usr/lib/X11/XKeysymDB or ! /usr/share/X11/XKeysymDB. To ensure that the .Xmodmap file is loaded ! when you start Xfce add /usr/bin/xmodmap $HOME/.Xmodmap to your ! .xinitrc or .xprofile file. When you start the shortcut editor the ! assigned keysyms should show up when you press one of your multimedia ! keys. Now it is possible to assign a command to them. ! Add /usr/bin/xmodmap $HOME/.Xmodmap to your .xinitrc or .xprofile ! Dell multimedia keyboard: keycode 162 = XF86AudioPlay keycode 164 = XF86AudioStop keycode 160 = XF86AudioMute keycode 144 = XF86AudioPrev keycode 153 = XF86AudioNext ! Volume control knob keycode 176 = XF86AudioRaiseVolume keycode 174 = XF86AudioLowerVolume ! note key keycode 129 = XF86AudioMedia ! The application keys are: ! 234 233 232 231 178 236 198 161
Ruby > Ruby web programming, Ruby testing > Test::Unit[doesn’t exist] >
As I promised in another post today, here is some basic code to get you started on using Ruby’s Test::Unit.
![]() |
I act in cycles. I am inspired by and I work on something new, and that inspiration shifts around. I also have a tendancy to drop and pick up projects in cycles. In the past I’ve dropped ideas for long enough for all effort to become meaningless given enough time, but these days I’ve been careful to cycle back to earlier ideas to scrape off the cruft and re-launch the project.
When I re-launch a project, I often find myself bringing significant maturity to the table. I have new ideas and techniques, and I take a kind of sick pleasure in redoing much of my previous work. This isn’t just a programming thing.. it applies to anything that I’ve been working on.
I had speed issues, as well as anomalies on the background images of some websites, like http://slackware.com/. Most annoyingly was the horrible hanging in the visual editor when making a new post in WordPress. This is using Slackware 12.2 and either Firefox 3.0.11 or 3.5.1, with or without safe mod.
Here’s how I solved the issue.