ERD50
Give me a museum and I'll fill it. (Picasso) Give me a forum ...
I watch a lot of stuff on youtube in my browser, and rely on hot keys to navigate. The most common ones I use are the left/right arrows, which FWD-REV jump by 5 seconds, and the 'j' and 'l' keys, by 10 seconds, and when you want to really catch an instant in time (like the magic tricks from Penn & Teller), the ',' and '.' keys jump by one frame @ 30 frames per second (easier to remember as '<' and '>', but w/o SHIFT).
But often, I want to move by just one second. Couldn't find a way to modify the behavior in the browser (is there a config for that?), so I made my own hot keys.
This is for Linux, but similar should be available in other OS. I just made the following entries in the 'Settings/Keyboard/Shortcuts' window:
xdotool sleep 0.125 type --clearmodifiers '..............................'
xdotool sleep 0.125 type --clearmodifiers ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,'
triggered by Shift+Ctrl+> and Shift+Ctrl+<
That sends 30 one frame forward or reverse key presses when I hit that key combo. The "--clearmodifiers" is added so that it simulates a plain '.' key-press, and ignores the fact that I still have the Shift+Ctrl keys held. Youtube isn't going to respond to a Shift+Ctrl+'.'.
The sleep for an 1/8th second seemed to be needed, it didn't respond w/o it, and I didn't play too much to find the limit.
FYI, I'm finding my previous hot key additions to be very useful, those used xdotool to move the mouse a single pixel in any direction. From this post:
https://www.early-retirement.org/forums/f54/my-40th-thread-linux-life-102830.html#post2399415
-ERD50
But often, I want to move by just one second. Couldn't find a way to modify the behavior in the browser (is there a config for that?), so I made my own hot keys.
This is for Linux, but similar should be available in other OS. I just made the following entries in the 'Settings/Keyboard/Shortcuts' window:
xdotool sleep 0.125 type --clearmodifiers '..............................'
xdotool sleep 0.125 type --clearmodifiers ',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,'
triggered by Shift+Ctrl+> and Shift+Ctrl+<
That sends 30 one frame forward or reverse key presses when I hit that key combo. The "--clearmodifiers" is added so that it simulates a plain '.' key-press, and ignores the fact that I still have the Shift+Ctrl keys held. Youtube isn't going to respond to a Shift+Ctrl+'.'.
The sleep for an 1/8th second seemed to be needed, it didn't respond w/o it, and I didn't play too much to find the limit.
FYI, I'm finding my previous hot key additions to be very useful, those used xdotool to move the mouse a single pixel in any direction. From this post:
https://www.early-retirement.org/forums/f54/my-40th-thread-linux-life-102830.html#post2399415
-ERD50