<div dir="ltr"><div>Hi Everyone,<br><br></div>Originally someone showed me these keybindings to take a screen shot, but since I've started using Compton I get black in screen shots.<br><div><br><!-- Keybindings for Screen Shots --><br>
<keybind key="Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot</name><br>
</startupnotify><br> <command>bash -c "xwd | convert - /home/foo/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="S-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot with Frame</name><br> </startupnotify><br>
<command>bash -c "xwd -frame | convert - /home/foo/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="C-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot Fullscreen</name><br> </startupnotify><br>
<command>bash -c "xwd -root | convert - /home/foo/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br><br><br></div><div>So I've switch this using import like below;<br>
<br><!-- Keybindings for Screen Shots --><br> <keybind key="Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br>
<name>Snapshot</name><br> </startupnotify><br> <command>bash -c "import /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br>
</keybind><br> <keybind key="S-Print"><br> <action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot with Frame</name><br>
</startupnotify><br> <command>bash -c "import -frame /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br> <keybind key="C-Print"><br>
<action name="Execute"><br> <startupnotify><br> <enabled>false</enabled><br> <name>Snapshot Fullscreen</name><br> </startupnotify><br>
<command>bash -c "import -window root /home/sar/ScreenShots/screenshot-$(date +%m-%d-%Y).png"</command><br> </action><br> </keybind><br><br></div><div>What I don't understand is why there are 3 commands, and the way I have it now for import, is correct because it seems to working ok?<br>
<br></div><div>thank you all... :)<br></div></div>