"Fancy" screenshot tool not working
#1
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/
#2
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....
#3
(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!
#4
(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}
#5
(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.
#6
(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?
#7
(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
#8
(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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobile internet via cellular network mostly not working Anna 18 9,722 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 814 01-17-2024, 05:53 PM
Last Post: anonymous
  APN settings not working with new operator SIM card user641 1 963 03-01-2023, 04:43 PM
Last Post: anonymous
  Possible Solution for Microphone Not Working Ferriah 0 904 02-13-2023, 01:09 PM
Last Post: Ferriah
  Squeekboard stopped working Zebulon Walton 2 1,101 11-24-2022, 08:41 PM
Last Post: Zebulon Walton
  suspend inhibit no longer working jsch 3 1,886 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  Rescue Your Mobian post Update Aug22 faster fix to working guide biketool 9 4,498 09-05-2022, 12:10 AM
Last Post: biketool
  How to get Pinetime working with Pinephone arkadione 12 6,951 08-28-2022, 12:30 PM
Last Post: Fish
  Receiving SMS stopped working treebeard 11 5,238 08-12-2022, 10:31 AM
Last Post: treebeard
  PP keyboard not working at all jojuma 3 1,694 08-03-2022, 10:02 AM
Last Post: jojuma

Forum Jump:


Users browsing this thread: 1 Guest(s)