LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-05-2006, 06:26 AM   #1
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
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?
 
Old 08-06-2006, 07:35 AM   #2
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
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.
 
Old 08-07-2006, 03:42 AM   #3
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Original Poster
Rep: Reputation: 38
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.
 
Old 08-07-2006, 08:45 AM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
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)
 
Old 08-07-2006, 08:48 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
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?
 
Old 08-07-2006, 10:06 AM   #6
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Original Poster
Rep: Reputation: 38
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?

Last edited by kalleanka; 08-07-2006 at 10:11 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote desktop software to control desktop GUI? Phaethar Linux - Software 3 06-27-2008 09:30 AM
KDE Gnome Desktop Menu Edits (right click on desktop) jdier Linux - Software 11 08-03-2006 05:05 AM
Add launchers to desktop in Java Desktop System omega71122 Solaris / OpenSolaris 6 01-31-2006 05:15 PM
Loss of desktop functionality after setting new desktop from firefox in fc2/gnome. dr_zayus69 Linux - Software 3 03-09-2005 09:29 AM
CD-ROM.desktop on KDE desktop / mounting drives as users theabyyss Linux - General 2 02-22-2002 09:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration