View previous topic :: View next topic |
Author |
Message |
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Mar 20, 2016 8:22 am Post subject: How to screen shot? |
|
|
I guess it is a stupid question but I did not find out how to do screen shot?
I do not remember if I already had done it in the past ...
I am using LXDE Desk Top (also have KDE) _________________ “You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...” |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Sun Mar 20, 2016 9:48 am Post subject: |
|
|
You can use e.g. spectacle (from KDE Applications) and configure a global shortcut for it (don't know how you do that in LXDE). |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Mar 20, 2016 11:16 am Post subject: |
|
|
taken from my i3.confg for i3wm
Quote: | bindsym Print exec "scrot '%d-%m-%Y_%H:%M:%S_screenshot.png' -e 'mv $f ~/Screenshots/'"
|
You need to define a key for this command line.
Code: | scrot '%d-%m-%Y_%H:%M:%S_screenshot.png' -e 'mv $f ~/Screenshots/' |
for i3wm i use the acpi keyevent Print to execute teh command of scrot '%d-%m-%Y_%H:%M:%S_screenshot.png' -e 'mv $f ~/Screenshots/'
There are other ways of course also |
|
Back to top |
|
|
pmam Veteran
Joined: 30 Dec 2013 Posts: 1145
|
Posted: Sun Mar 20, 2016 12:05 pm Post subject: |
|
|
genstorm,
I did not find 'spectacle' but found KSnapshot in KDE and it works ok!
Hope there is any application for LXDE as well...
tw04l124,
This command should be ok for LXDE? I will install scrot and see...
Thanks _________________ “You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...” |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Mar 20, 2016 1:17 pm Post subject: |
|
|
Yes it should be.
I think every desctop environment allows to define custom keycombinations.
You need to define a custom key combination and than add that command.
It is a very small program which does it jobs. I use a very small memory footprint X-server, very minimalistic.
LXDE is much too big for my demands and requirements, memory and cpu cycles wise |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Mar 20, 2016 1:19 pm Post subject: |
|
|
tw04l124 wrote: |
You need to define a key for this command line.
Code: | scrot '%d-%m-%Y_%H:%M:%S_screenshot.png' -e 'mv $f ~/Screenshots/' |
|
You need to create a folder named Screenshots in your home-folder or Change ~/Screenshots/ to a folder to your liking.
the %... thingies are for date and time. i have my reason why i use it like that way. (% thingies ... are bash internals)
you can check the manpage and adapt it to your needs. |
|
Back to top |
|
|
pgu l33t
Joined: 30 Jul 2009 Posts: 719 Location: Oslo, Norway
|
Posted: Wed Mar 23, 2016 3:34 pm Post subject: |
|
|
Code: | sleep 3 ; xwd -root | convert xwd:- /tmp/screen-dump.png |
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Wed Mar 23, 2016 3:51 pm Post subject: |
|
|
tw04l124 wrote: | You need to define a key for this command line.
Code: | scrot '%d-%m-%Y_%H:%M:%S_screenshot.png' -e 'mv $f ~/Screenshots/' |
|
Or like these as taken from fluxbox where 107 is the printkey and Mod1 is Alt.
Code: | None 107 :Exec tm=$(date +%F,%T) && import -window root /tmp/screenshot$tm.png && display /tmp/screenshot$tm.png
Mod1 107 :Exec tm=$(date +%F,%T) && import -frame -window $(xprop _NET_ACTIVE_WINDOW -root | awk '{print $5}') /tmp/screenshot$tm.png && display /tmp/screenshot$tm.png | But you need imagemagick installed for having "import" and "display". |
|
Back to top |
|
|
peje Tux's lil' helper
Joined: 11 Jan 2003 Posts: 100
|
Posted: Wed Mar 23, 2016 5:07 pm Post subject: |
|
|
I can recomand shutter - has its own editor....
cu peje |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Wed Mar 23, 2016 5:52 pm Post subject: |
|
|
pmam wrote: | I did not find 'spectacle' |
It's there, but it isn't yet stable keyworded. |
|
Back to top |
|
|
BobWya Apprentice
Joined: 12 Aug 2012 Posts: 228 Location: Cambridge,UK
|
Posted: Wed Mar 23, 2016 7:29 pm Post subject: |
|
|
genstorm wrote: | It's there, but it isn't yet stable keyworded. |
Yup sounds like OP's on KDE 4 / LXDE (rather than Plasma 5 / LXQt)... ksnapshot is nice though. _________________ system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850 |
|
Back to top |
|
|
Proinsias Tux's lil' helper
Joined: 06 Oct 2014 Posts: 133 Location: Scotland
|
Posted: Wed Mar 23, 2016 10:59 pm Post subject: |
|
|
I just alt+f2 then scrot -d 1, the one second delay avoids capturing the run pop up box. |
|
Back to top |
|
|
arackhaen n00b
Joined: 04 Jan 2013 Posts: 29 Location: Turku, Finland
|
Posted: Tue Feb 07, 2017 9:01 am Post subject: |
|
|
BobWya wrote: | genstorm wrote: | It's there, but it isn't yet stable keyworded. |
Yup sounds like OP's on KDE 4 / LXDE (rather than Plasma 5 / LXQt)... ksnapshot is nice though. |
Do you mean, that there is no ksnapshot for Plasma 5?
As I was looking for good olde ksnapshot (and tried prtscrn button, which was by default opening ksnapshot before) and was surprised to see that "emerge -s" did not find it. Also couldn't find it from packages.gentoo.org either as its own package.
But well, that spectacle does look good! Just have to bind it to prtscrn button... |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30837 Location: here
|
Posted: Tue Feb 07, 2017 9:06 am Post subject: |
|
|
arackhaen wrote: | Do you mean, that there is no ksnapshot for Plasma 5?
As I was looking for good olde ksnapshot (and tried prtscrn button, which was by default opening ksnapshot before) and was surprised to see that "emerge -s" did not find it. Also couldn't find it from packages.gentoo.org either as its own package. |
spectacle is replacement of ksnapshot for plasma 5 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
cboldt Veteran
Joined: 24 Aug 2005 Posts: 1046
|
Posted: Tue Feb 07, 2017 6:18 pm Post subject: |
|
|
There is a generic (command line) tool, part of imagemagick
/usr/bin/import
Can take individual windows or the root window. |
|
Back to top |
|
|
|