how to get focus for my app at login screen.

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Apr 3 20:42:05 UTC 2008


Michal wrote:
> Hallo Group Members.
> 
> I am using kde 3.5.8 on my fc6.
> 
> just when I get KDE login screen (where user puts its login/password),
> I switch to text console, login as root, then: # export DISPLAY=:.0.0
> 
> then:
> # kdialog --textbox "enter Your text: "
> 
> this appears on login screen, and that's what I expect.
> 
> But unfortunatelly I cannot get focus to enter some text. clicking on
> mouse buttons works ok, but I cannot "activate" a line where text is
> inserted, hence I cannot insert it.
> 
> I also run:
> # fvwm2 &
> 
> beforehand, in hope that this is a lack of window manager problem, but
> it didn't help.
> 
> have You got idea on how to do this.
> 
> regards,
> Michal.
> 
> ps. to run application at login screen, I created /etc/X0.hosts, with
> following contents:
> 
> localhost.localdomain
> 
What are you trying to do? I suspect that you are using the wrong 
method for what you are trying to do. One thing to keep in mind is 
that the screen is controlled by the display manager (xdm, kdm, or 
gdm.) I am somewhat suprised you were even able to get kdialog to 
connect to the X server.

Mikkel
-- 

   Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080403/de1df1a1/attachment-0001.sig>


More information about the fedora-list mailing list