[Improvement Request] Prettier Shutdown

Asked by Alex Baggott

Currently, notify-osd instances and open windows get mangled on Log Out/Shutdown/Restart. Also, the user isn't prompted to save and close programs when this happens. Speaking as an OED selling machines which run 14.04 LTS, it would be much nicer to have any notify-osd messages disappear/fade out and for users to be prompted by their open programs before seeing them close.

Perhaps something of this nature could be run before Unity exits:

start-stop-daemon --stop --name notify-osd
WIN_IDs=$(wmctrl -l | awk '!/unity/ && !/Desktop/ && !/Hud/ && !/XdndCollectionWindowImp/ {print $1}')
for i in $WIN_IDs; do
 wmctrl -ic "$i"
done
while [ -n "$WIN_IDs" ]; do
 sleep 0.1
WIN_IDs=$(wmctrl -l | awk '!/unity/ && !/Desktop/ && !/Hud/ && !/XdndCollectionWindowImp/ {print $1}')
done

A desirable additional feature would be for the desktop to exit in a nice fade out (or other) effect.

I'm not a developer and I lack the skills to implement this, despite my efforts to make a hack/workaround, so would anyone be interested in implementing something like this?

Question information

Language:
English Edit question
Status:
Answered
For:
Unity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alex Baggott (alex-baggott) said :
#2

I'd like to keep this open.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

To reach the developers' attention for your improvement request, you better create a bug report.

Can you help with this problem?

Provide an answer of your own, or ask Alex Baggott for more information if necessary.

To post a message you must log in.