PINE64
"Fancy" screenshot tool not working - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Debian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: "Fancy" screenshot tool not working (/showthread.php?tid=11229)



"Fancy" screenshot tool not working - ragreenburg - 09-01-2020

Below is a link listed from the Mobian wiki that should take screenshots once the "required packages are installed" my issue is it says notify-send isn't installed but when I use "sudo apt install bash libglib2.0-bin" as per the notify-send GitHub page, it says everything is installed. Has anyone tried this and had success? I'm at work right now or else I would dig a bit deeper.

https://puri.sm/posts/easy-librem-5-app-development-take-a-screenshot/


RE: "Fancy" screenshot tool not working - spaetz - 09-02-2020

Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....


RE: "Fancy" screenshot tool not working - ragreenburg - 09-02-2020

(09-02-2020, 12:49 PM)spaetz Wrote: Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....
All is well, whenever you figure it out just feel free to let me know!


RE: "Fancy" screenshot tool not working - spaetz - 09-04-2020

(09-02-2020, 01:19 PM)ragreenburg Wrote:
(09-02-2020, 12:49 PM)spaetz Wrote: Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....
All is well, whenever you figure it out just feel free to let me know!
OK, tried it again and updated the instructions somewhat:

https://wiki.mobian-project.org/doku.php?id=tweaks#making-screenshot

These are the dependencies:
Code:
sudo apt install libnotify-bin grim

and this is the screenshot script (I adapted it to store in /home/mobian rather /home/purism

Code:
#!/bin/bash
SCREENSHOT=${HOME}/Pictures/$(date +%Y-%m-%d-%H%M%S).png
notify-send -t 1000 screenshot "Taking a screenshot in 5 seconds"
sleep 5
grim "$SCREENSHOT"
notify-send screenshot "Screenshot stored at ${SCREENSHOT}



RE: "Fancy" screenshot tool not working - ragreenburg - 09-04-2020

(09-04-2020, 07:50 AM)spaetz Wrote:
(09-02-2020, 01:19 PM)ragreenburg Wrote:
(09-02-2020, 12:49 PM)spaetz Wrote: Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....
All is well, whenever you figure it out just feel free to let me know!
OK, tried it again and updated the instructions somewhat:

https://wiki.mobian-project.org/doku.php?id=tweaks#making-screenshot

These are the dependencies:
Code:
sudo apt install libnotify-bin grim

and this is the screenshot script (I adapted it to store in /home/mobian rather /home/purism

Code:
#!/bin/bash
SCREENSHOT=${HOME}/Pictures/$(date +%Y-%m-%d-%H%M%S).png
notify-send -t 1000 screenshot "Taking a screenshot in 5 seconds"
sleep 5
grim "$SCREENSHOT"
notify-send screenshot "Screenshot stored at ${SCREENSHOT}
Thank you, mate! I will fix the script today when I get home. I appreciate you getting back to me.


RE: "Fancy" screenshot tool not working - ragreenburg - 09-04-2020

(09-04-2020, 07:50 AM)spaetz Wrote:
(09-02-2020, 01:19 PM)ragreenburg Wrote:
(09-02-2020, 12:49 PM)spaetz Wrote: Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....
All is well, whenever you figure it out just feel free to let me know!
OK, tried it again and updated the instructions somewhat:

https://wiki.mobian-project.org/doku.php?id=tweaks#making-screenshot

These are the dependencies:
Code:
sudo apt install libnotify-bin grim

and this is the screenshot script (I adapted it to store in /home/mobian rather /home/purism

Code:
#!/bin/bash
SCREENSHOT=${HOME}/Pictures/$(date +%Y-%m-%d-%H%M%S).png
notify-send -t 1000 screenshot "Taking a screenshot in 5 seconds"
sleep 5
grim "$SCREENSHOT"
notify-send screenshot "Screenshot stored at ${SCREENSHOT}
Totally unrelated but I figure you know more about this then I do. Do you know where the information is stored when running the command to scale an app?


RE: "Fancy" screenshot tool not working - spaetz - 09-05-2020

(09-04-2020, 07:38 PM)ragreenburg Wrote:
(09-04-2020, 07:50 AM)spaetz Wrote:
(09-02-2020, 01:19 PM)ragreenburg Wrote:
(09-02-2020, 12:49 PM)spaetz Wrote: Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....
All is well, whenever you figure it out just feel free to let me know!
OK, tried it again and updated the instructions somewhat:

https://wiki.mobian-project.org/doku.php?id=tweaks#making-screenshot

These are the dependencies:
Code:
sudo apt install libnotify-bin grim

and this is the screenshot script (I adapted it to store in /home/mobian rather /home/purism

Code:
#!/bin/bash
SCREENSHOT=${HOME}/Pictures/$(date +%Y-%m-%d-%H%M%S).png
notify-send -t 1000 screenshot "Taking a screenshot in 5 seconds"
sleep 5
grim "$SCREENSHOT"
notify-send screenshot "Screenshot stored at ${SCREENSHOT}
Totally unrelated but I figure you know more about this then I do. Do you know where the information is stored when running the command to scale an app?
Replied in your dedicated thread


RE: "Fancy" screenshot tool not working - ryo - 11-30-2020

(09-04-2020, 07:38 PM)ragreenburg Wrote:
(09-04-2020, 07:50 AM)spaetz Wrote:
(09-02-2020, 01:19 PM)ragreenburg Wrote:
(09-02-2020, 12:49 PM)spaetz Wrote: Hi there, that woild have been me. Will check the instruction and make the list of dependencies more precise. It had worked on the pinephone when I tried it. Sorry, hut no time today....
All is well, whenever you figure it out just feel free to let me know!
OK, tried it again and updated the instructions somewhat:

https://wiki.mobian-project.org/doku.php?id=tweaks#making-screenshot

These are the dependencies:
Code:
sudo apt install libnotify-bin grim

and this is the screenshot script (I adapted it to store in /home/mobian rather /home/purism

Code:
#!/bin/bash
SCREENSHOT=${HOME}/Pictures/$(date +%Y-%m-%d-%H%M%S).png
notify-send -t 1000 screenshot "Taking a screenshot in 5 seconds"
sleep 5
grim "$SCREENSHOT"
notify-send screenshot "Screenshot stored at ${SCREENSHOT}
Totally unrelated but I figure you know more about this then I do. Do you know where the information is stored when running the command to scale an app?
I think that this script is only not so useful for the main screen, since that one can only be seen if no apps are running.
In that case you can connect with SSH, and run grim from there.
Except unless you want to show off the background, it might have no meaning to make a screenshot of the main screen anyway.