Score:3

Ubuntu 21.04 shutter did not work without X11 server

us flag

I installed shutter 0.97 version

sudo add-apt-repository ppa:linuxuprising/shutter
sudo apt-get update
sudo apt install shutter

and

sudo apt install gnome-web-photo

but faced with error when try to screen selection

can't take screenshots without X11 server

how to fix it ?

N0rbert avatar
zw flag
Does this answer your question? [Cannot use screen capture apps in Wayland](https://askubuntu.com/questions/1036570/cannot-use-screen-capture-apps-in-wayland)
Score:7
us flag

I found a solution. In this file sudo nano /etc/gdm3/custom.conf uncomment this line WaylandEnable=false save and exit. Then run this command in the terminal sudo systemctl restart gdm3 Happy Ubuntu :)

Ned Burgher avatar
br flag
***IMPORTANT*** Please note that the PPA has changed. See https://launchpad.net/~shutter/+archive/ubuntu/ppa Thank you - this worked for me on a greenfield install of Ubuntu 21.04.
Luís Assunção avatar
im flag
You saved my day! :) Thanks.
Pamphile avatar
cn flag
I can confirm this also works in Ubuntu 21.10.
ke flag
Worked for me on Ubuntu 21.10. Don't be like me not closing your apps. Or the restart command will do it for you :)
Matias Falcone avatar
br flag
Amazing! Thanks!
shuba.ivan avatar
us flag
confirm it on ubuntu 22.10
Score:0
cn flag

Here's my work-around: Ubuntu 22.04: How to rapidly take a screenshot, save it as a JPG, and edit it using the Shutter program to add highlighting: use the new Ubuntu 22.04 screenshot tool, but edit it in Shutter.

Score:0
jp flag

This fix also works for 21.10. Shutter was working, then my 21.10 system did an update update and Shutter reported the can't take screenshots without X11 server

Score:0
cn flag

Maybe add next time that systemctl restart gdm3 restarts your system completely.

David avatar
cn flag
How is this an answer to the question that was asked?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.