LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-16-2005, 09:46 PM   #1
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
MS "Active Desktop" functionality for Linux?


Does anyone know of a way to incorporate something like Windows' (R) "Active Desktop" into a linux desktop environment (ie Gnome w/Nautilus)?

I need the ability to provide users with a integrated webpage that recieves "Tip of the Day"s from a local webserver posted on their desktop in a way that isn't intrusive and will give them something to look at while waiting for apps to load (as opposed to the traditional pop-up MOTDs that you could execute with startup scripts, etc, that no one ever actually reads).

In Winblows, "Active Desktop" fits the bill and has been one of the few features that I haven't found a replacement for in GNU/Linux.

This service is really important to many of my users and I want to carry it forward, if at all possible, on some linux thin-clients which are being set up to help ease "The Transitition".

If there are any suggestions of how to meet the same end thru a different means, I am open to hearing them.
 
Old 01-16-2005, 11:45 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Perhaps look at writing/modifying a desklet and use gDesklets. Might even find something that suits you out of the box
 
Old 01-17-2005, 12:41 AM   #3
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Original Poster
Rep: Reputation: 15
Thanks for the suggestion, I went to the gDesklets website. I saw some things that could probably be modified to suite my needs, but I don't have the skill to do so, as of yet. :'(

Any other ideas?


[Update]
I found this, but I don't understand the code or know how to 'install' it, or even if it works. Looks like an (?)abondoned(?) or less-active project, as it is 'hidden'
http://cvs.gnome.org/viewcvs/gdeskle...r/?hideattic=0

I would be willing to EMPLOY someone for a nominal fee to finish the code / present it to me in a way that I can install it. If there are any takers, perhaps we can arrange something thru PAYPAL? I mean, I'm sure someone will create a mini-browser desklet eventually, but I wouldn't mind giving some motivational green. :-D

Last edited by CoolAJ86; 01-17-2005 at 01:12 AM.
 
Old 01-17-2005, 03:49 AM   #4
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Mrgh.. had writted a monstous post when firefox died on me.. hmph.. Well, here we go again, a shorter version this time, my fingers are sore from all that typing for nothing.. (:

I researched using php as a wallpaper, but not with good results.. It would be perfect if it worked.. (;

So, heres a bubblegum solution, that would work, but it aint pretty in the sense that it uses lots of app dependencies and ugly shellscripts.. (;
Stem by step, here we go, the procedure that I, or someone else deploying this could write:

1. get the path of the current wallpaper from the windowmanager, gnome in this case? It prolly is stored in some config file

2. Take a copy of the current wallpaper into a temporary location, like /tmp/original_name_of_wallpaper.png and convert it to a pnm image (not neccesary if we use imagemagick)

3. You write the tip of the day into a simgle file, or a directory where the current is randomized or something similar, up to you how ye want it to work.. (:

4. use imagemagick or other similar utilities like pbmtext & pnmcomp & ppmtogif, to embed the text from your tip directory directly into the image

5. Now that the image is ready, we replace the original wallpaper file with our newly generated.. Ofcourse take a backup of it before that.. (;

6. And lastly, when this all works, assemble it into a single script and crontab it for every night for eg.. The problem is, that most window managers (all ive come across) dont check for the wallpaper in the midst of the session at all, so the change in the source image wont be apparent before you restart the window manager.. Now, this isnt a problem if it is shutdown for the night or so, but it becomes one if the comp is allways on and allways logged onto gnome, or if you need to get your notes visible rightaway instead of at the next logon..

This is just a skeleton, but I have all the scripts ready from my toying round a year back, so it could be deployed.. But as I said, its pure bubblegum.. (; There surely is a better and less complicated way..

Last edited by Artanicus; 01-17-2005 at 03:50 AM.
 
Old 01-17-2005, 10:10 AM   #5
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Original Poster
Rep: Reputation: 15
That's a great idea, and thank you soooo much for your efforts (I do wish firefox wouldn't crash on those darn javascript uber-pop-ups....). Maybe with a `killalll -HUP nautilus` you could force a desktop update in mid session. If you wanted to write that and share it with me, I'd be happy to use it and concievably send some motivational green your way.

When I get back at work tomorrow, I'll take a screenshot of one of the windows machines and post a link here so you can see how the functionality of this thing should work.

I took a look at the code behind these gDesklets. It doesn't look too complicated, but it still isn't intuitive - to me, that is. If I could figure out how to modify one that displays web content - like that ebay one, so that it displays the specific page that I'm interested in on our webserver, and allows the clicking of links (say that the MOTD was brief, but more info was available, I want a link to that).
 
Old 01-17-2005, 10:20 AM   #6
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
well, the quick solution that I drafted could only provde simple text embedded into the image.. so no links that way unfortunately.. ):

It would be a pleasure to make it work.. (: I dont have access to paypal or anything like that, and think of it as the community sticking together.. (:

I cant promise you itll be pretty, but something I can work out with good install instructions.. (;

Ill be waiting for the screencaps.. (:
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DHCP has some "empty" active leases Avatar Linux - Networking 1 12-11-2004 01:11 PM
Authenticating to Samba share using "Active Directory Server" hlslaughter Linux - Software 36 07-23-2004 11:59 AM
"nobody's x11 desktop (linux:1)" VNC? beetlejelly Linux - Newbie 8 06-08-2004 05:04 PM
Logitech® Cordless Desktop® Optical --- How to use "The Extra Buttons" in Linux lhj Linux - Hardware 12 10-09-2003 08:19 PM
How to active "X Window" or "X Server"..?? mhd_Ahmed Linux - Newbie 1 05-21-2003 02:51 PM


All times are GMT -5. The time now is 12:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration