11-30-2020, 04:29 AM
(09-04-2020, 07:38 PM)ragreenburg Wrote: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.(09-04-2020, 07:50 AM)spaetz Wrote: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-02-2020, 01:19 PM)ragreenburg Wrote:OK, tried it again and updated the instructions somewhat:(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!
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}
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.