[Konsole-devel] Bug#44029: is there a way to disable the close (x) button?
Waldo Bastian
bastian at kde.org
Mon Jun 17 21:40:43 UTC 2002
On Monday 17 June 2002 02:01 pm, pclathrop at yahoo.com wrote:
> Package: konsole
> Version: 1.0.2 (using KDE 3.0.0 )
> Severity: wishlist
> Installed from: RedHat RPMs
> Compiler: Not Specified
> OS: Linux
> OS/Compiler notes: Not Specified
>
> Hello My name is Paul and I work for a small company
> that has developed an application that will be used by
> non-linux savvy users.
>
> my question is:
>
> Is there a way to disable the 'x' or close button in
> Konsole?
The 'x' button sends a SIGHUP to the application running in konsole, which is
normally the shell. You can ignore SIGHUP in e.g. bash (the most commonly
used shell) with the following command:
trap '' SIGHUP
Cheers,
Waldo
--
bastian at kde.org | SuSE Labs KDE Developer | bastian at suse.com
More information about the konsole-devel
mailing list