Try adding a new line to that file:

XDG_PICTURES_DIR="$HOME"

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1876887

Title:
  taking screenshots fails with gnome-shell error after upgrade to 20.04

Status in gnome-shell package in Ubuntu:
  Incomplete

Bug description:
  After upgrading from ubuntu desktop 19.10 to 20.04, taking screenshots
  using the 'PrntScrn' keyboard-button fails with the following gnome-
  shell error logged in journalctl:

  Mai 05 11:27:17 work-pc2 gnome-shell[1683]: JS ERROR: Error: Argument
  'filename' (type filename) may not be null
  
_resolveRelativeFilename/path<@resource:///org/gnome/shell/ui/screenshot.js:73:26
  _resolveRelativeFilename@resource:///org/gnome/shell/ui/screenshot.js:73:11
  _createStream@resource:///org/gnome/shell/ui/screenshot.js:102:9
  ScreenshotAsync@resource:///org/gnome/shell/ui/screenshot.js:220:35
  
_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:371:35
  _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:404:34

  $ dpkg -l |grep gnome-shell
  ii  gnome-shell                                3.36.1-5ubuntu1
  ii  gnome-shell-common                         3.36.1-5ubuntu1
  ii  gnome-shell-extension-appindicator         33-1
  ii  gnome-shell-extension-desktop-icons        20.04.0-1
  ii  gnome-shell-extension-ubuntu-dock          67ubuntu20.04.5
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  DisplayManager: gdm3
  DistroRelease: Ubuntu 20.04
  GsettingsChanges:
   
  InstallationDate: Installed on 2020-01-17 (108 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  Package: gnome-shell 3.36.1-5ubuntu1
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
  RelatedPackageVersions: mutter-common 3.36.1-3ubuntu3
  Tags:  focal
  Uname: Linux 5.4.0-28-generic x86_64
  UpgradeStatus: Upgraded to focal on 2020-04-28 (6 days ago)
  UserGroups:
   
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1876887/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to