"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/
  Reply
#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....
  Reply
#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!
  Reply
#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}
  Reply
#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.
  Reply
#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?
  Reply
#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
  Reply
#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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  can't get file transfer working. Help, please! quixote 6 123 42 minutes ago
Last Post: Zebulon Walton
  Run Mobian Unstable without risking being stuck without a working phone C0ffeeFreak 3 659 04-23-2021, 01:10 PM
Last Post: RTP
  UFW (uncomplicated firewall) Start On Boot - Mobian (working) theD0ctor 2 413 02-28-2021, 09:58 PM
Last Post: theD0ctor
  some flatpaks not working sfb 2 431 02-15-2021, 10:31 AM
Last Post: C0ffeeFreak
  Keypad not working during call Zebulon Walton 4 477 02-10-2021, 06:56 AM
Last Post: Zebulon Walton
  Mobile network is not working tlo 11 4,539 12-15-2020, 02:49 PM
Last Post: jim.uren@gmail.com
  Mobian virtual keyboard stopped working jim.uren@gmail.com 0 492 11-11-2020, 11:43 AM
Last Post: jim.uren@gmail.com
  Incoming SMS not working - Mobian LMalilil 9 3,250 10-11-2020, 10:21 AM
Last Post: jjs
  4G voice calls stopped working joe@adelaide 1 692 09-22-2020, 11:00 PM
Last Post: joe@adelaide
  Ringtones and alert sounds stopped working LMalilil 2 774 09-15-2020, 11:18 PM
Last Post: LMalilil

Forum Jump:


Users browsing this thread: 1 Guest(s)