ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I will ask again. How do I write directly on the desktop? I need to put some text, buttons there that are static. I use gtk but i could do it with x dirctly. anyone?
I want to create a n icon that is stastic so it cant be moved or changed. I also want to write some instructions (text) that sticks to the desktop. I thogth that would be simple but im stuck. This is for a kiosk.
Maybe post a mockup from GIMP? Maybe it would be better to explain why you want to draw to the root window (like you are trying to create your own Window Manager)
OK as I understand it I need to set _NET_WM_STATE_BELOW in the WM for the icon-widget. I use jwm. I tried to use "gtk_window_set_keep_below (window, TRUE)" but fore some reason I get a warning "warning: passing argument 1 of ‘gtk_window_set_keep_below’ from incompatible pointer type" for the gboolean type and I have glib. Realy strange. I will try to do it with atoms now.
By the way this "_NET_WM_TYPE_DESKTOP" is it only for the desktop or can I use it and still get things shown above the desktop background?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.