You are not logged in.
This isn't working for me. Any ideas why not?
key "Super+s" scrot /home/mark/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.png
Last edited by MarkW (2025-10-23 21:13:50)
Offline
Run the command
scrot /home/mark/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.pngin a terminal and see if it gives you an error message.
That might be one of the commands set up for the BL desktop by xbindkeys. If you're running IceWm now, you need to make sure the same xbindkeys command is loaded at IceWm startup.
You must unlearn what you have learned.
-- yoda
Offline
It works in a terminal. So the actual command is clearly correct.
Where is the xblindkeys file I'm looking for?
Offline
Run
xbindkeysin a terminal and see if the binding works.
You still have the default openbox installed? You can copy the xbindkeys command from the openbox startup file.
By default, the file is ~/.xbindkeysrc
I can't remember if BL calls a different config file, and I don't have BL installed at the moment.
You must unlearn what you have learned.
-- yoda
Offline
Another option would be to add the bindings you want to the IceWm configuration file.
You must unlearn what you have learned.
-- yoda
Offline
Found it. In xkeybindingssrc Scrot is mapped to Alt Print. But my Print key doesn't work
Offline
Just need to edit the keybinding to something that will work and doesn't repeat an existing keybinding for IceWm.
"scrot /home/mark/Pictures/screenshots/%Y-%m-%d_%H:%M:%S.png"
Mod4 + sIt's not automatic. You will need to logout/log in for xbindkeys to make the change.
You must unlearn what you have learned.
-- yoda
Offline
xkeybindingssrc ??
typo?
it's .xbindkeysrc on the BL carbon live session I'm using at the moment.
You must unlearn what you have learned.
-- yoda
Offline
Did it!
key "Super+s" scrot '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Pictures/screenshots/ ; bl-image-viewer ~/Pictures/screenshots/$f'Taking the quotation marks out solved the problem
Last edited by MarkW (2025-10-23 21:13:25)
Offline