Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203200

Re: Making a modal window

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Making a modal window
Date 2018-12-09 19:50 +0100
Message-ID <x3cjn-S5-7@gated-at.bofh.it> (permalink)
References <x3c01-Ld-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


J.Arun Mani wrote: 
> Hello,
> [I'M UNSURE WHETHER IT IS THE RIGHT PLACE TO ASK THIS QUESTION. IF NOT PLEASE GUIDE ME TO THE RIGHT PLACE]
> I'm making a project(using Python3) which opens whenever someone opens their computer (assume Linux-Debain based) and asks them some details. The user should not be allowed to use the computer without giving the details. The project is based on GTK3 and is for Debian based OS. I need help in the following-
> How can I make the application modal? That is, make sure that the user cannot access any thing in desktop without giving the details (the application is a compulsory one, thus one should not be able to close or minimise it).
> 
> I researched on this a bit and found the answers leading to Desktop Managers. But I'm stuck how to start with them. So need some help here.
> 

What degree of sophistication are you trying to guard against?

For example, if you need to guard against a six-year-old, it's
sufficient to make your program run before the window manager,
and only start a window manager if it is happy.

If you need to guard against a high-school student, you will need to
put the computer in an inaccessible room and only offer access via a
remote keyboard, mouse and screen. You'll need to disable ctrl-alt-delete
processing to prevent reboots, and ctrl-alt-Fx console
switching.

Maybe you should discuss your threat model in more depth.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Making a modal window "J.Arun Mani" <J.ArunMani@protonmail.com> - 2018-12-09 19:30 +0100
  Re: Making a modal window Dan Ritter <dsr@randomstring.org> - 2018-12-09 19:50 +0100
    Re: Making a modal window Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-09 20:50 +0100
    Re: Making a modal window Dan Ritter <dsr@randomstring.org> - 2018-12-10 13:50 +0100
  Re: Making a modal window Michael Lange <klappnase@freenet.de> - 2018-12-09 23:00 +0100
  Making a modal window Rusi Mody <rustompmody@gmail.com> - 2018-12-10 06:50 +0100
    Re: Making a modal window Gene Heskett <gheskett@shentel.net> - 2018-12-10 07:50 +0100
      Re: Making a modal window John Hasler <jhasler@newsguy.com> - 2018-12-10 15:20 +0100
        Re: Making a modal window Gene Heskett <gheskett@shentel.net> - 2018-12-10 16:10 +0100
    Re: Making a modal window Brian <ad44@cityscape.co.uk> - 2018-12-10 12:30 +0100
      Re: Making a modal window Greg Wooledge <wooledg@eeg.ccf.org> - 2018-12-10 15:00 +0100
      Re: Making a modal window Dave Sherohman <dave@sherohman.org> - 2018-12-10 15:30 +0100
        Re: Making a modal window Brian <ad44@cityscape.co.uk> - 2018-12-10 16:00 +0100

csiph-web