Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
-2
votes
0
answers
24
views
How do I seamlessly take higher-resolution screenshots than what the display supports on KDE Wayland?
I am trying to take a high-resolution screenshot of an app. I want the screenshot to have more detail than what my display supports but I can't seem to find a seamless and easy way to do that. What I Have Tried: 1. KDE Built-In Scaling: This works well for taking higher resolution screenshots, but i...
I am trying to take a high-resolution screenshot of an app. I want the screenshot to have more detail than what my display supports but I can't seem to find a seamless and easy way to do that.
What I Have Tried:
1. KDE Built-In Scaling: This works well for taking higher resolution screenshots, but isn't really seamless as it increases the size of the window and I have to set it back to the default once I have taken the screenshot.
2. Using gamescope: I tried using gamescope to run KDE at a higher resolution and scale it down but couldn't get it to work as it always resulted in a black screen.
yash
(1 rep)
Aug 6, 2025, 07:40 AM
• Last activity: Aug 6, 2025, 04:24 PM
8
votes
3
answers
11843
views
How do I change the location where screenshots are saved in Linux Mint 17 Cinnamon?
Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/ How can I change this location?
Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/
How can I change this location?
Jesse the Wind Wanderer
(609 rep)
Apr 29, 2016, 11:55 AM
• Last activity: May 11, 2025, 03:52 PM
1
votes
3
answers
538
views
One of monitors turns black when taking screenshot with spectacle
When pressing a hotkey to capture a region, or when using the UI button, in **Spectacle** on **Ubuntu 24.04** with **KDE Neon** *(manully installed)*, one of my monitors turns black. I then have to replug it in or disable-enable in the settings. There are three monitors: laptop's built-in, a Philips...
When pressing a hotkey to capture a region, or when using the UI button, in **Spectacle** on **Ubuntu 24.04** with **KDE Neon** *(manully installed)*, one of my monitors turns black. I then have to replug it in or disable-enable in the settings.
There are three monitors: laptop's built-in, a Philips connected via USB-C -> HDMI *(works)* and an MSI connected via HDMI *(doesn't work)*
I tried to:
- unplug/disable all other screens including built-in laptop screen
- remove all hotkeys and only use the capture UI button *(to diagnose potential hotkey conflicts)*
- install spectacle from snap store instead of the bundled one *(doesn't work with KDE Neon)*
- use shutter instead *(doesn't work on Wayland)*
- use flameshot instead *(doesn't work with multiple monitors)*
- reset all monitors' scale to 100%
Notably:
- it only happens to one particular monitor *(independent of monitor arrangement or the output it is plugged into)*
- [running](https://pastebin.com/QD6dibpG)
spectacle -m
or capturing the "current screen" does not cause the issue, it is only region capture that does
- [running](https://pastebin.com/QD6dibpG) spectacle -r
also turns the monitor black
- even though the screen turns black, **the output is still correct** *(the screenshot of the region is properly taken)*
- after going black, the monitor is still connected *(does not show "awaiting input")*
- for a split second, I can see the capturing overlay, then the screen goes black
- it is not shut off, the backlight is visible, its just black
- locking the computer and unlocking it does not restore the image
This started happening after I switched from KDE to KDE Neon. I might've broken some dependency of spectacle in the process, but I'm not sure how to check that, and the spectacle logs have no errors.
Restarting the PC after installing upgrades. Now *every restart* fixes the issue temporarily. After a restart, everything works, then after some time stops and breaks (I'm still trying to find the exact action that breaks it)
Edit: Using "PixelTaken" as an alternative, the issue is also present.
Vaqxai
(11 rep)
Oct 29, 2024, 09:42 AM
• Last activity: Apr 27, 2025, 10:25 PM
0
votes
2
answers
33
views
Spectacle missing features in 23 version
I have Spectacle 23.08.4 In 22 version, i remember that was possible select transparent color and highlight a rectangular region. in 23 i can't find transparent color in filling option..(attached screen) it's OK....I'm doing it wrong?! thanks in advance [![enter image description here][1]][1] [1]: h...
I have Spectacle 23.08.4
In 22 version, i remember that was possible select transparent color and highlight a rectangular region. in 23 i can't find transparent color in filling option..(attached screen) it's OK....I'm doing it wrong?!
thanks in advance

ancoling67
(109 rep)
Feb 16, 2024, 12:27 PM
• Last activity: Nov 29, 2024, 08:13 AM
15
votes
4
answers
13616
views
Copying image from scrot into clipboard after capture
I've grown affection to scrot as a simple screenshot utility, but it lacks one thing i would greatly appreciate--a way to copy your capture and have it in your clipboard automatically. I've added a line to .bash_aliases that automatically puts it in the folder i desire, and also have it always run i...
I've grown affection to scrot as a simple screenshot utility, but it lacks one thing i would greatly appreciate--a way to copy your capture and have it in your clipboard automatically.
I've added a line to .bash_aliases that automatically puts it in the folder i desire, and also have it always run in selection mode, but there seems to be no flag for copying the result after capturing. Is there any way to do this?
.bash_alias entry=
scrot='scrot -s ~/Pictures/%b%d::%H%M%S.png'
lcdhead
(151 rep)
Dec 8, 2020, 07:26 PM
• Last activity: Nov 6, 2024, 05:31 PM
0
votes
1
answers
1859
views
Can't take a screenshot on Lubuntu 16.04
I am trying to take a screenshot in Lubuntu, but when i try to paste it on an image editor like GIMP it says "There is no image data in the clipboard to paste".
I am trying to take a screenshot in Lubuntu, but when i try to paste it on an image editor like GIMP it says "There is no image data in the clipboard to paste".
Danyl Bekhoucha
(205 rep)
Jan 15, 2017, 03:37 PM
• Last activity: Nov 4, 2024, 01:00 PM
0
votes
0
answers
188
views
scrot versus maim, capture whole X screen of two monitors
I am using linux Mint 20.3 MATE, with two 1920x1080 physical displays, one landscape, the other portrait. Accordingly, X11 has set up a 3000x1920 'screen', with the two displays mapped to it, like this. I am able to seamlessly move the mouse and non-maximised windows from one to the other. I can als...
I am using linux Mint 20.3 MATE, with two 1920x1080 physical displays, one landscape, the other portrait.
Accordingly, X11 has set up a 3000x1920 'screen', with the two displays mapped to it, like this. I am able to seamlessly move the mouse and non-maximised windows from one to the other. I can also move and expand windows to overlap into the non-display parts of the screen.
Scrot and maim behave differently. Scrot captures the whole screen, including the non-display areas, which X11 has actually rendered correctly. I find this feature of scrot useful, as I can drag and expand a non-maximised window to almost the entire 3000x1920 screen, and capture the whole of it with scrot.
Maim is 'intelligent' and only captures the areas that map to the physical displays, recording the non-display parts as black.
Unfortunately scrot's -s selection option doesn't play nicely with many webpages, while maim's use of slop seems to be solid.
Can maim be persuaded to record the non-display parts of the screen that X11 has already rendered correctly? The -g option, which defines the pixel coordinates I want to capture, as wxh+x_offset+y-offset, runs without error, but still ignores the non-display part. I'm not sure I understand the syntax of other capture options from its man page.
I am concerned that scrot might be 'improved' in the future, to copy maim's behaviour.

Neil_UK
(165 rep)
Oct 14, 2024, 09:17 AM
• Last activity: Oct 16, 2024, 05:50 AM
0
votes
0
answers
106
views
saving screenshots to ~/Pictures without a dialogue window using gnome-screenshot in Mint 22
I'm running a fresh install of Mint 22. When I take a screenshot (via keyboard shortcut), a dialog appears to ask what I want to do with it (copy to clipboard, save to file, which file name...). I prefer the Ubuntu behaviour: just save the image to `~/Pictures` directly in a timestamped file, no que...
I'm running a fresh install of Mint 22. When I take a screenshot (via keyboard shortcut), a dialog appears to ask what I want to do with it (copy to clipboard, save to file, which file name...).
I prefer the Ubuntu behaviour: just save the image to
~/Pictures
directly in a timestamped file, no questions asked.
I've tried setting /org/gnome/gnome-screenshot/auto-save-directory
to /home/me/Pictures/
using dconf (as suggested in a few places on-line) but it has no effect.
I've noticed that while the gnome-screenshot dialogue is open that gnome-screenshot was started with the --window
switch. Is that hard-coded somewhere or can it be changed, e.g., to add -f somefilename.png
?
How do I configure gnome-screenshot to skip the dialogue and save the image to a file directly?
Tomislav Nakic-Alfirevic
(103 rep)
Oct 1, 2024, 12:50 PM
• Last activity: Oct 1, 2024, 12:59 PM
1
votes
2
answers
13241
views
How do I take screenshot in hyprland?
How do I take screenshot in Hyprland? I went through the [Hyprland Wiki][1] but I am not able to get to take screenshots in my archlinux. How do I solve this? [How do I screenshot?][2] [For a more complete utility, try our own screenshotting utility: Grimblast.][3] [1]: https://wiki.hyprland.org/FAQ...
How do I take screenshot in Hyprland? I went through the Hyprland Wiki but I am not able to get to take screenshots in my archlinux.
How do I solve this?
How do I screenshot?
For a more complete utility, try our own screenshotting utility: Grimblast.
doroga
(29 rep)
May 19, 2023, 05:11 PM
• Last activity: Jun 14, 2024, 06:44 PM
1
votes
3
answers
3171
views
How to allow apps to take screenshots in wayland when denied first time?
I used to use flameshot in my Fedora on Wayland(Gnome). When i first launched it via "flameshot gui" the system asked whether i allow flameshot to take screenshots or something like that i clicked yes and everything worked. This time when i installed fedora, flameshot and launched it i accidentally...
I used to use flameshot in my Fedora on Wayland(Gnome). When i first launched it via "flameshot gui" the system asked whether i allow flameshot to take screenshots or something like that i clicked yes and everything worked.
This time when i installed fedora, flameshot and launched it i accidentally clicked "Esc" and the prompt was closed. So i tried launching it again, but no prompt was showed again, instead i only see this error.
$ flameshot gui
flameshot: error: Unable to capture screen
flameshot: error: Unable to capture screen
flameshot: info: Screenshot aborted.
How can i allow flameshot to take screenshots again? I tried reinstalling the app, but it didn't work. I can theoretically reinstall the whole OS, but that just seem a bit of an overkill.
Hayk
(11 rep)
Aug 24, 2023, 07:39 AM
• Last activity: May 31, 2024, 01:21 PM
1
votes
1
answers
94
views
Flameshot does not work at Fedora Workstation 39
For Fedora Workstation 39, installed through VirtualBox, was installed `Flameshot` with the `sudo dnf install flameshot` command. Even when the OS was re-started, when through _Show Apps_ for the `Flameshot` icon: 1. is accomplished double left click nothing happens 2. With right click appears the c...
For Fedora Workstation 39, installed through VirtualBox, was installed
Flameshot
with the sudo dnf install flameshot
command. Even when the OS was re-started, when through _Show Apps_ for the Flameshot
icon:
1. is accomplished double left click nothing happens
2. With right click appears the contextual menu and doing click at the _Open launcher_ item, after of some seconds, appears at the top of the screen, just below of the clock, a small Window with the _Flameshot Error - Unable to capture screen_ message and below other Window with some settings and including the _Take new screenshot_ button. If the mentioned button is clicked this (2) case happens again.
If with the Right Click for the mentioned contextual menu:
* is selected the Configure
item then is opened the expected window
* Is selected the Take screenshot
item happens the point 2 but without the second window
What is missing? Some extra configuration? Some extra package to install? or is it a bug?
Manuel Jordan
(2108 rep)
Mar 11, 2024, 01:30 AM
• Last activity: Mar 11, 2024, 07:14 AM
1
votes
2
answers
43
views
Is there a way to capture screen when menu bars are opened?
On GNOME, I would like to capture a screen to show a special situation where I am on _IDEA IntelliJ_, when two menus are opened. Main Window → Menu Bar 1 → Menu Bar 2 But as soon as I open one of these menu bars, nor the Windows key to call the Capture tool, nor the Print Screen Key will work (there...
On GNOME, I would like to capture a screen to show a special situation where I am on _IDEA IntelliJ_, when two menus are opened.
Main Window → Menu Bar 1 → Menu Bar 2
But as soon as I open one of these menu bars, nor the Windows key to call the Capture tool, nor the Print Screen Key will work (there's no image captured in the
images
folder).
As if the opening of one menu made GNOME coming entirely modal.
Provided I close the menus, I can use capture and print screen again. But it's not what I want...
Does a way exist to do a print screen in any situation?
Marc Le Bihan
(2353 rep)
Nov 13, 2023, 07:25 AM
• Last activity: Nov 13, 2023, 07:40 AM
0
votes
1
answers
66
views
Full screen screenshot shows two neighbouring screens in one workspace for just one monitor, one of them an empty desktop
Could it be that Linux thinks by default that there is a second monitor, even if none is attached? I might also have forgotten about having changed the settings myself long time ago. When I'm pressing the PrtScn ("Print Screen") button, it's taking a screenshot of two screens that are in the workspa...
Could it be that Linux thinks by default that there is a second monitor, even if none is attached? I might also have forgotten about having changed the settings myself long time ago.
When I'm pressing the PrtScn ("Print Screen") button, it's taking a screenshot of two screens that are in the workspace, one with my opened applications that I see on the monitor and one empty desktop. When I check the workspaces with CtrlAltUp, I see that I am in just one workspace, the other three are empty.
Strangely, if I take a screenshot again now that I played around with a WLAN connected TV and switched workspaces / virtual desktops with CtrlAltRight/Left randomly, and after adding more applications, having many applications opened, I get only the one screen that I am looking at in that screenshot - this seems to work now. I do not know how to get back the error in question, but I know that I had it for many months so that I could not use the built-in screenshot app at all but had to change to flameshot.
One could say that this is fixed without knowing why, but I leave this question opened so far until it gets closed by votes. There might be other users with the same problem.
I have Linux Mint 20.04, but I think that this is a question for any Linux OS.
questionto42
(587 rep)
Sep 10, 2023, 05:06 PM
• Last activity: Oct 19, 2023, 06:27 PM
4
votes
1
answers
731
views
What is the replacement for the xwd utility (X Window Dump) with Wayland (or even RHEL9)
I have old software that uses the program xwd to save graphics files (to make movies, or figures in papers). xwd exists as a utility in RHEL8 (and Rocky Linux 8) but in Rocky Linux 9 (and one presumes RHEL9) this no longer exists. Under Wayland, it appears this is going to be not available at all (a...
I have old software that uses the program xwd to save graphics files (to make movies, or figures in papers).
xwd exists as a utility in RHEL8 (and Rocky Linux 8) but in Rocky Linux 9 (and one presumes RHEL9) this no longer exists.
Under Wayland, it appears this is going to be not available at all (as it's a security issue?) I'm guessing there has to be some way (hopefully not Gnome, KDE, or... specific) to save a graphics image of a window.
Is there a generic "replacement" for the functionality of xwd?
To be clear, I'm still using X11 on RL9, as I'm also using NVIDIA's gpu libs. But I will eventually need to get this working on Wayland also.
Schatzi
(141 rep)
Sep 19, 2023, 01:39 AM
• Last activity: Sep 21, 2023, 07:39 PM
3
votes
4
answers
6075
views
Xfce screenshooter and clipboard manager
I moved from Xfce4 to i3 recently but I still use `xfce4-screenshooter`. It works properly and I had no problems with it except that I can't save to clipboard. On [this page][1] it is written: > **Copy to the clipboard** > The **Copy to the clipboard** option allows you to > paste the screenshot in...
I moved from Xfce4 to i3 recently but I still use
xfce4-screenshooter
. It works properly and I had no problems with it except that I can't save to clipboard.
On this page it is written:
> **Copy to the clipboard**
> The **Copy to the clipboard** option allows you to
> paste the screenshot in another application, such as a word processor.
> This option is only available when a clipboard manager is running.
Althrough I didn't have clipman
while I was using Xfce, I was able to use option *copy to clipboard*. I want to know what program (clipboard manager) should I run at the start of every i3 session.
knowledge
(133 rep)
Sep 1, 2018, 05:19 PM
• Last activity: Aug 25, 2023, 12:38 AM
0
votes
1
answers
32
views
How to grab a screenshot of a 4x4 screen composite display?
I'm supervising a number of headless displays, and in order for me to see, remotely, what a screen is currently displaying without actually going there and look at it, I'm using `scrot` to take a screenshot every once in a while. However, one of our displays is a 4x4 (that is, 16-monitor) huge displ...
I'm supervising a number of headless displays, and in order for me to see, remotely, what a screen is currently displaying without actually going there and look at it, I'm using
scrot
to take a screenshot every once in a while. However, one of our displays is a 4x4 (that is, 16-monitor) huge display, and if I use scrot
, all I get is the upper left 16th of the display - I would like to view all of it. Any ideas?
OZ1SEJ
(239 rep)
Aug 11, 2023, 10:39 AM
• Last activity: Aug 11, 2023, 11:01 AM
6
votes
2
answers
4707
views
gnome-screenshot doesn't autosave but interactively asks for a save directory
I've specified an `auto-save-directory` in `dconf-editor` under `org.gnome.gnome-screenshot` however it still asks me for a save directory every time I take a screenshot. ---------- In prior Linux Mint versions (17, 17.3, ...) it went like this: I press Print , the screen goes white, and then I cont...
I've specified an
auto-save-directory
in dconf-editor
under org.gnome.gnome-screenshot
however it still asks me for a save directory every time I take a screenshot.
----------
In prior Linux Mint versions (17, 17.3, ...) it went like this: I press Print, the screen goes white, and then I continue doing what I was doing (with a screenshot being made and put into the auto-save-directory)
In 18 however a dialog pops up after it goes white and asks me interactively what I want to name the screenshot and what folder I want to put it in.
I find this very annoying since I put them all in the same folder and don't bother with filenames since the current date and time are usually descriptive enough (plus they're chronologically sorted). Can I change the behavior of gnome-screenshot
or are there any alternative programs?
xjcl
(361 rep)
Dec 10, 2016, 01:44 PM
• Last activity: May 27, 2023, 09:23 AM
42
votes
11
answers
78825
views
How can I easily make screenshots of screen regions on Arch Linux with i3 WM?
About a month ago I switched from Ubuntu 14.04 LTS to Arch and I'm quite happy with this decision. However, I miss some features with my new distro, especially Shift + printscr which in Unity allows selection of a screen region to be captured. I use i3 WM. So, my question is: how can I configure Uni...
About a month ago I switched from Ubuntu 14.04 LTS to Arch and I'm quite happy with this decision. However, I miss some features with my new distro, especially Shift+printscr which in Unity allows selection of a screen region to be captured.
I use i3 WM. So, my question is: how can I configure Unity-like screenshot behaviour to be able to snap screen regions or windows with a keyboard shortcut or something (without digging into window id and console stuff)?
ddnomad
(2068 rep)
Oct 1, 2015, 06:56 PM
• Last activity: May 17, 2023, 08:31 AM
1
votes
0
answers
1112
views
"Unable to use GNOME Shell's builtin screenshot interface" when running cronjob
I have a script that takes screenshots and saves them to a GDrive-connected folder: ``` #!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin SHELL=/bin/bash #This takes and stores the picture: gnome-screenshot -f /run/user/1000...
I have a script that takes screenshots and saves them to a GDrive-connected folder:
#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
SHELL=/bin/bash
#This takes and stores the picture:
gnome-screenshot -f /run/user/1000/gvfs/google-drive:host=gmail.com,user=sequestranaut/0AFiS_dr3-R8XUk9PVA/1g82k8rd0L54vmYTHzrqoR_4Ys7Rg_1w1/$(date '+%e-%m-%a-%T')
#This clears the folder:
if [ $(ls /run/user/1000/gvfs/google-drive:host=gmail.com,user=sequestranaut/0AFiS_dr3-R8XUk9PVA/1g82k8rd0L54vmYTHzrqoR_4Ys7Rg_1w1/* 2/dev/null | wc -l) -gt 799 ]
then rm -f /run/user/1000/gvfs/google-drive:host=gmail.com,user=sequestranaut/0AFiS_dr3-R8XUk9PVA/1g82k8rd0L54vmYTHzrqoR_4Ys7Rg_1w1/*
fi
I've tested the script and verified it works if launched normally from Terminal. The exit code for running it is zero, it behaves as expected when run from a shell, execute permissions exist for all users, but for some reason I can't get it to run thru crontab:
*/1 * * * /home/iain/Scripts/ScreenshotScript.sh
*/1 * * * * /home/iain/Scripts/test.sh
The other cronjob listed above works just fine. It appends the output of the date command to a text file on my Desktop with no issue, so I don't think it's an issue with crontab itself.
I get an error message each time the ScreenshotScript that says this:
(gnome-screenshot:110460): GLib-GIO-CRITICAL **: 15:07:01.783:
g_dbus_connection_call_sync_internal: assertion 'G_IS_DBUS_CONNECTION
(connection)' failed
** Message: 15:07:01.783: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.
I thought the issue was the $DISPLAY variable, so I changed that by putting this at the top of the script:
if [[ -z "$DISPLAY" ]]
then
DISPLAY=":0"
export DISPLAY
fi
But that didn't change anything.
Furthermore, I tried running the script in X11 instead of Wayland (my current display server), but I still got the same error.
Can anyone point me in the right direction?
ee_un
(11 rep)
Apr 4, 2023, 03:53 PM
• Last activity: Apr 4, 2023, 04:28 PM
1
votes
2
answers
173
views
disable infobox when taking screenshots with xfce screenshooter
I want to take screenshots very quickly and when I press the print key xfce-screenshooter takes a screenshot and saves it automatically in my pictures folder. The problem is every time I take a screenshot there pops up an infobox on the screen which says I have taken a screenshot. So when I take the...
I want to take screenshots very quickly and when I press the print key xfce-screenshooter takes a screenshot and saves it automatically in my pictures folder. The problem is every time I take a screenshot there pops up an infobox on the screen which says I have taken a screenshot. So when I take the next screenshot the box is on the screenshot picture which is annoying. I haven´t found a way to disable this feature. Does anyone has any idea how I can disable this feature so my pictures are free of this infobox?
Kauabanga
(121 rep)
Apr 3, 2023, 12:33 PM
• Last activity: Apr 3, 2023, 12:49 PM
Showing page 1 of 20 total questions