09-01-2020, 02:21 PM
(This post was last modified: 09-05-2020, 10:47 PM by ragreenburg.)
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-...creenshot/
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....
(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!
(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...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}
(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...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.
(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...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?
(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...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
(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...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.
|