bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get ID of x-window


From: Patrick
Subject: Re: Get ID of x-window
Date: Thu, 14 Aug 2014 07:51:27 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0

Hi Egmont !

Right now I am thinking about something lightweight like xterm. I will likely deploy without a full desktop to reduce the footprint, I am even considering using Raspberry PI boards/Beagle boards.

It will work with an HP Pavilion 23tm touch monitor with very large font(around 28) but I want it to be easily accessible on a variety of terminals/monitors without touch screen so parents can just try it out with a mouse first.

I don't know what portable device to deploy on yet but I was thinking that once the child had mastered a touch display they might be able to use a much much smaller screen with a stylus.

I will definitely feedback if I can provide an useful information.

Thanks again for your help today, I am excited ! I am going to GPL the project. It's for my own family's use now but if it turns out really well I might be able to make some money consulting too-Patrick




On 14/08/14 07:35 AM, Egmont Koblinger wrote:
Hi Patrick,

Indeed, if you have total control over the whole system, this approach might work.  Good luck!

May I ask: what graphical terminal emulator are you planning to choose?  Nowadays I'm contributing a lot to Gnome-Terminal/VTE, and recently I got to fix an accessibility bug (the screen reader would sometimes omit the first word) , there's one or two more to go in the bugtracker.  Unfortunately I don't have any experience in this topic, don't know how to test things and such.  If you happen to choose gnome-terminal (or any other terminal based on newest VTE) and rely on its a11y features, we can probably help each other if you encounter any bugs.

egmont


On Thu, Aug 14, 2014 at 1:27 PM, Patrick <address@hidden> wrote:
Thanks Egmont

The application is for an assisted speech device for disabled children. I will need to control everything, what OS, which font, which terminal and even which monitor but I think it can be done and if it fails a text only environment will still work. I would just like to make it useful for very young children that cannot recognize sight words.

Have a great day




On 14/08/14 07:20 AM, Egmont Koblinger wrote:
Hi,

$WINDOWID might be what you're looking for.

Note that whatever you do, it'll probably be an ugly hack that just happens to work with your favorite terminal at a hardcoded font size.  E.g. how would your X app figure out the terminal's font size?

Also, keep in mind that there are terminals that have multiple tabs and your one might not be the visible one (e.g. gnome-terminal -- also beware that it's known in gnome-terminal that if you drag-n-drop a tab to another gnome-terminal window then $WINDOWID becomes incorrect because it can't be updated); there are terminals with split screen feature (e.g. gnome terminator) and then how do you figure out the offset; etc...

e.


On Thu, Aug 14, 2014 at 2:47 AM, Patrick <address@hidden> wrote:
Hi Everyone !

I have been tinkering around with xwininfo and wmctrl but I was wondering if there was a better way to get the ID of the window that an ncurses application was running it?

With a little xcb I think I can write images to an ncurses application. I think I could allocate a given X Y space and just write around that space with ncurses.

Thanks


_______________________________________________
Bug-ncurses mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses





reply via email to

[Prev in Thread] Current Thread [Next in Thread]