LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   desktop? (https://www.linuxquestions.org/questions/programming-9/desktop-470987/)

kalleanka 08-05-2006 06:26 AM

desktop?
 
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?

How do I get the desktop window? to start with?

FLLinux 08-06-2006 07:35 AM

I don't think you can draw directly on the desktop. Maybe explain what you are trying to do so we can see what might help.

kalleanka 08-07-2006 03:42 AM

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.

tuxdev 08-07-2006 08:45 AM

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)

bigearsbilly 08-07-2006 08:48 AM

xroot-tail writes to the desktop
what window manager you use?

If you don't use a window manager nothing can be moved at all.
maybe that's a simple answer?

kalleanka 08-07-2006 10:06 AM

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?


All times are GMT -5. The time now is 07:58 AM.