Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-17-2006, 06:11 AM   #1
LQ Newbie
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.1
Posts: 26

Rep: Reputation: 15
FVWM: graceful exit

Command "Quit" exits from FVWM. If any X Application has unsaved data, this data will be lost. How to change this behaviour? I would like that FVWM tries at first to close all opened windows and waits until all applications store unsaved data (incl. using the "Save data or not?"-application-specific-dialogs). Is it possible? I tried

DestroyFunc ExitFunction
AddToFunc ExitFunction
+ I All Close
+ I Quit

but "All Close" does not wait for the correct closing of all applications and returns immediately; afterthat "Quit" exits from FVWM and X. Application data is not saved...
Is there a way to check after "All Close" that all apps/windows are really closed and then execute "Quit" (or wait otherwise)?
Old 01-17-2006, 08:56 AM   #2
LQ Newbie
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
OK, i found the answer:

DestroyFunc FuncFvwmExit
AddToFunc FuncFvwmExit
+ I All Close
+ I FuncFvwmWaitExit

DestroyFunc FuncFvwmWaitExit
AddToFunc FuncFvwmWaitExit
+ I All Nop
+ I TestRc (NoMatch) Quit
+ I Schedule 500 FuncFvwmWaitExit

Thanx to anonymous from


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between exit 1 and exit kushalkoolwal Programming 6 10-20-2005 04:56 PM
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 09:04 PM
help in fvwm SciYro Linux - Software 0 03-24-2005 07:14 AM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 05:50 PM
Graceful shutdown.. howto? rohan208 Linux - General 5 05-16-2004 03:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration