Saving panel settings

Brian J. Tarricone bjt23 at cornell.edu
Fri Apr 22 19:10:10 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Tansom wrote:
> On Thu, 2005-04-21 at 16:21 -0700, Brian J. Tarricone wrote:
>
>>The panel intentionally does not save its settings except on a clean
>>exit...
> 
> Yes I can see that as a sensible way to work, I was just looking for a
> means to save the settings manually.
> 
>>As a solution, after you've made changes you want to save, just run
>>'pkill -USR1 xfce4-panel' from a terminal.  That will cause it to
>>restart cleanly, and save its config as a side-effect.
> 
> That would cover my needs. Is this the same action as is taken when you
> right click on the panel and choose the Restart option from the menu?

Yes, I believe so; Jasper can verify that.

> If
> so then I'm covered without having to resort to the CLI - much as I like
> using the CLI for many things, opening it up for a quick command is not
> so appealing! That said it's probably not too difficult to create a
> button to do the job for me :)

The reason I pointed out a CLI way of doing it was because you had
mentioned having to remote-reboot the machine... I thought that was your
main use-case ^_^.

> I should probably look into a means of classing X as a service not to be
> killed...

Check 'man 3 malloc'.  I believe there's a note near the bottom of the
man page about how Linux handles memory overcommitting, and a way to
disable the OOM killer entirely.  In that case, the app that requested
memory and failed will most likely crash, unless it's smart and is
written to handle that condition gracefully (not likely).

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFCaS/y6XyW6VEeAnsRAr8MAJsFDDUMnlVflabjdIuFB1p/bbOLLgCgrtP4
Wockbpk4/Zjn5X2vctkkFmM=
=BCBB
-----END PGP SIGNATURE-----



More information about the Xfce mailing list