You are not logged in.

#1 2012-02-09 10:48:38

ocho
Member
Registered: 2012-02-07
Posts: 3

Proper shutdown of dwm and applications?

Hi. I'm new in the Arch World and I'm setting up a small desktop environment for my Netbook.

Most things behave the way I want it except when it comes to shutdown. It seems it is not working good with 'dwm'.
For example: Firefox keeps asking to restore last session because it was not properly closed or something similar.

Do I have to close every single window by myself in 'dwm' for a proper shutdown?
Or are there better solutions?

Offline

#2 2012-02-09 11:14:14

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Proper shutdown of dwm and applications?

If I remember correctly (been a while since I last used dwm), the standard shortcut to cleanly close windows should be Shift-Alt-C.


Burninate!

Offline

#3 2012-02-09 16:34:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Proper shutdown of dwm and applications?

I close every app (which usually means just the text editor and the browser) before quiting dwm - apart from terminals & shells.

Offline

#4 2012-02-09 18:14:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Proper shutdown of dwm and applications?

Yes - there is nothing built in to dwm by default.

You could always write a script to shutdown firefox etc and then exit and configure it to a keybind in config,h


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-02-10 16:13:14

ocho
Member
Registered: 2012-02-07
Posts: 3

Re: Proper shutdown of dwm and applications?

Thanks for your answers. But next question is, how would I 'shutdown firefox' via script?

Offline

Board footer

Powered by FluxBB