Never mind, even after the fix it doesn't work: I tried xdg-screensaver
suspend with the window id of an existing window and it still dims the
screen after a while.

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

Title:
  xdg-screensaver broken in kubuntu (KDE_SESSION_VERSION is 5, not 4
  anymore)

Status in xdg-utils package in Ubuntu:
  New

Bug description:
  In line 420 /usr/bin/xdg-screensaver checks for the value of 
KDE_SESSION_VERSION.
  If it is 4, it uses the dbus methods, otherwise, thinking it is kde 3, it 
uses dcop.
  Unfortunately now KDE_SESSION_VERSION is 5 and xdg-screensaver falls back to 
dcop (which doesn't exists anymore):

  $ xdg-screensaver suspend 0x2600007
  /usr/bin/xdg-screensaver: 652: /usr/bin/xdg-screensaver: dcop: not found

  
  Changing it to check for 5 instead of 4 at least it appears to work (barring 
bug #310351)

  Note that the rest of xdg-utils also check KDE_SESSION_VERSION, so
  they will probably fail too, but I didn't try them.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: xdg-utils 1.1.0~rc1-2ubuntu10 [modified: usr/bin/xdg-screensaver]
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Tue Jun 23 19:39:45 2015
  PackageArchitecture: all
  SourcePackage: xdg-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1468030/+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