Support for the Xfce Window Manager

Registered by pragmattica

In this post (http://ubuntuforums.org/showpost.php?p=7534391&postcount=13), a user reveals that they use Xfce on their desktop. It would be nice to support this WM. Perhaps a good way to start would be to download a Xubuntu live cd and see if Caffeine works. If it doesn't, it would be possible to run "qdbus" to see what busses are available. Perhaps Xfce has a different screensaver-related bus?

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
pragmattica
Completed by
pragmattica

Related branches

Sprints

Whiteboard

Works fine, except for one little thing. Once the timed period is up, two different notifications are displayed at the same time. This actually makes perfect sense.

When the time is up, the Activation() function is run. That is supposed to display one notification saying "Timed activation period has expired (" + timeDisplay(timer.interval) + ")", then it calls attemptToToggleSleepPrevention() which also has a notification saying "Cancelling timer (was set for " + timeDisplay(timer.interval) + ")". In gnome, only the last one is displayed. Probably because the two are called at virtually the same time. So, what we can do is to remove the notification in Activation(). That way the distributions with the old notifications will only get one message, and the distributions with the new notifications will also get one.

I'll submit a new branch with the fixes in a second.

After that, we can claim official support for XFCE.

Update (pragmattica, Aug. 3, 2009): The 0.2 version seems to work very will with Xubuntu 9.04.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.