You are not logged in.
bl-imgur-upload and all other tools are working great
But I would like to be able to PASTE what I captured right after I "screen captured it"
To avoid other steps ( open the pict file, copy it etc)
Any ideas ?
Last edited by yoda (2020-05-28 17:53:00)
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
I think xfce4-screenshooter has a direct to clipboard option; something like:
xfce4-screenshooter -c
If that works, you can make a key binding.
You can also use maim with xclip - pretty sure both are in Debian Stable repos.
Last edited by PackRat (2020-05-28 15:19:19)
You must unlearn what you have learned.
-- yoda
Online
tks... will make more tests... but for now -c -r does not work... screen capture doesn't end up in the clipboard.
yoda@busen-desktop:~$ xfce4-screenshooter --help-all
Usage:
xfce4-screenshooter [OPTION…]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
GTK+ Options
--class=CLASS Program class as used by the window manager
--name=NAME Program name as used by the window manager
--gdk-debug=FLAGS GDK debugging flags to set
--gdk-no-debug=FLAGS GDK debugging flags to unset
--gtk-module=MODULES Load additional GTK+ modules
--g-fatal-warnings Make all warnings fatal
--gtk-debug=FLAGS GTK+ debugging flags to set
--gtk-no-debug=FLAGS GTK+ debugging flags to unset
Application Options:
-c, --clipboard Copy the screenshot to the clipboard
-d, --delay Delay in seconds before taking the screenshot
-f, --fullscreen Take a screenshot of the entire screen
-m, --mouse Display the mouse on the screenshot
-o, --open Application to open the screenshot
-r, --region Select a region to be captured by clicking a point of the screen without releasing the mouse button, dragging your mouse to the other corner of the region, and releasing the mouse button.
-s, --save Directory where the screenshot will be saved
-i, --imgur Host the screenshot on Imgur, a free online image hosting service
-V, --version Version information
-w, --window Take a screenshot of the active window
--display=DISPLAY X display to use
yoda@busen-desktop:~$ xfce4-screenshooter -r -c
Last edited by yoda (2020-05-28 16:24:42)
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
tks... will make more tests... but for now -c -r does not work... screen capture doesn't end up in the clipboard.
I tried that myself, it does appear to be deprecated.
The maim + xclip method works though; set up fluxbox and i3 keybindings for it.
You must unlearn what you have learned.
-- yoda
Online
Use maim
This is my scrot -> clipboard script, run via keybinds and from the graphics submenu
#!/bin/bash
##
## scrotclip by damo Feb 2019
# Requires maim, xclip, xdotool
# USAGE: scrotclip [clipwin|clipall|clipsel|clipclean|clipall10]
arg="$1"
case "$arg" in
clipwin ) maim -i $(xdotool getactivewindow) | xclip -selection clipboard -target image/png
notify-send -t 6000 "Active window screenshot saved to clipboard"
;;
clipall ) maim | xclip -selection clipboard -target image/png
notify-send -t 6000 "Desktop screenshot saved to clipboard"
;;
clipsel ) maim -s | xclip -selection clipboard -target image/png
notify-send -t 6000 "Selected area screenshot saved to clipboard"
;;
clipclean) maim -d 3 -u | xclip -selection clipboard -target image/png # wait 3 secs (close menu, hide cursor)
notify-send -t 6000 "Screenshot saved to clipboard"
;;
clipall10) maim -d 10 | xclip -selection clipboard -target image/png # wait 10 secs
notify-send -t 6000 "Screenshot saved to clipboard"
;;
*) notify-send -t 6000 "Nothing saved to clipboard..."
;;
esac
exit
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
tks a lot @damo !
Will try it right now
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
cool almost perfect !
I ran scrot.sh clipsel and could past the picture in signal OR Whatsapp or when composing windows WITH SUCCESS
But when pasting into THunderbrid (in an eMail composing window) , some garbage was pasted.... normal I can past a pict within the email window... Any ideas ? Probably some encoding thing... ?
Last edited by yoda (2020-05-28 17:32:17)
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
2nd toughts... I always used the insert image from the menu in THunderbird.... Copy Pasting directy in TB was not working... FOrgot
So tks,. you solved my problem !
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline