The time now is Tue 18 Jun 2013, 22:59
All times are UTC - 4 |
| Author |
Message |
akash_rawal

Joined: 25 Aug 2010 Posts: 215 Location: Pune, Maharashtra, India
|
Posted: Sat 21 Jan 2012, 13:21 Post_subject:
|
|
Upgraded to version 2.2
Changelog:
- Fixed frequent crashes with progressbars (Still not so good, it still crashes occasionally)
- Now using real transparency if compositing manager is used.
_________________ If there's an open source project in your hand,
Don't aim for popularity, it's out of your hand.
Aim for perfection, as that's the best thing you can.
|
|
Back to top
|
|
 |
akash_rawal

Joined: 25 Aug 2010 Posts: 215 Location: Pune, Maharashtra, India
|
Posted: Sat 21 Jan 2012, 13:34 Post_subject:
|
|
| Geoffrey wrote: |
still the same result, no transparency, but the fancy picture shows ok, oh and now when I add -g command, the command is run but the desklet never appears
|
-g option is meant to select gtkdialog executable.
e.g. if you have both gtkdialog4 and gtkdialog3, gtkdialog-desklet selects gtkdialog4. To make it use gtkdialog3 instead, you can pass option -g gtkdialog3
Transparency is not yet supported with background image. I will add support for alpha channel in background image someday, but I have no plans to do it soon.
_________________ If there's an open source project in your hand,
Don't aim for popularity, it's out of your hand.
Aim for perfection, as that's the best thing you can.
|
|
Back to top
|
|
 |
akash_rawal

Joined: 25 Aug 2010 Posts: 215 Location: Pune, Maharashtra, India
|
Posted: Sun 22 Jan 2012, 05:46 Post_subject:
|
|
Upgraded to version 2.3
Changelog:
- Completely fixed crashing issues with progressbars (The problem was that gtkdialog was multithreaded. This led to frequent race conditions with gtkdialog-desklet)
_________________ If there's an open source project in your hand,
Don't aim for popularity, it's out of your hand.
Aim for perfection, as that's the best thing you can.
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Sun 22 Jan 2012, 09:54 Post_subject:
|
|
Dear akash_rawal,
Compiles in and works really nicely in Lucid. Very clever programming, I must say. Thanks. I think we should have a section on the forum devoted to gtkdialog-desklets. I can't wait to write some myself. I can see conky being replaced by such a desklet, and heaps of other nice desktop apps.
With kind regards,
vovchik
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2199 Location: UK
|
Posted: Sun 22 Jan 2012, 13:21 Post_subject:
|
|
| akash_rawal wrote: | | Upgraded to version 2.3 |
Seems to work fine - on Akita (pup420/wary51x mongrel), using a special gtkdialog4 from techno, built without glade deps, if that matters...
Will be great to see what widgets come out of this!
Good work akash_rawal.
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Sun 22 Jan 2012, 20:09 Post_subject:
|
|
| sc0ttman wrote: | Will be great to see what widgets come out of this! |
Yeah?
I have been sitting on this for a few weeks as I had issues with gtkdialog-desklet and have since been very busy. But now they are mostly solved.
Note that it runs even without gtkdialog-desklet, but only supports rox-desktop ATM, it would be easy to add other support. Also requires that resizepng is installed.
It should run on anything gtkdialog-desklet supports with one issue, font colour is unsupported, [ feature request akash_rawal? ]. The desklet way is certainly faster.
weatherCOM
Plenty of "grokking" ( @techno) involved.
| Description |
the grokfest, supports different screen location, all sorts of things. gunzip and chmod, run from wherever. best to run "weatherCOM -h" to get a handle on it. REQUIRES >= +gtkdialog-0.8.0 and either +gtkdialog-desklet or +resizepng
|

Download |
| Filename |
weatherCOM.gz |
| Filesize |
4.51 KB |
| Downloaded |
281 Time(s) |
| Description |
WITH gtkdialog-desklet, has a font colour limitation |
| Filesize |
110.91 KB |
| Viewed |
1027 Time(s) |

|
| Description |
gunzip, chmod 755, mv to $PATH
|

Download |
| Filename |
resizepng.gz |
| Filesize |
2 KB |
| Downloaded |
283 Time(s) |
| Description |
WITHOUT gtkdialog-desklet, needs resizepng |
| Filesize |
113.69 KB |
| Viewed |
1034 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
Geoffrey

Joined: 30 May 2010 Posts: 934 Location: Queensland Australia ɹǝpu∩uʍop
|
Posted: Mon 23 Jan 2012, 02:30 Post_subject:
|
|
Nice one 01micko,
I've been waiting to see some development with this, it still is a bit buggy with xfce but seem to work ok with true transparency.
Here it is on Saluki, looks brilliant, thanks for this, we might see a bit more of it now, I feel inspired but you beat me to it with the weather, as that was the only thing I could think of that I felt was needed.
|
|
Back to top
|
|
 |
akash_rawal

Joined: 25 Aug 2010 Posts: 215 Location: Pune, Maharashtra, India
|
Posted: Mon 23 Jan 2012, 13:35 Post_subject:
|
|
Great widget 01micko. Well done.
Strangely I couldn't get the correct font color even in the gtkdialog mode, or else I was about to suggest using a custom gtkrc file for gtkdialog-desklet too.
If custom gtkrc files work for gtkdialog then they should work too for gtkdialog-desklet as it no longer depends on gtkrc files for transparency.
But <span> tag still works. However it stops working after refreshing label widget.
I am attaching screenshot of my own calendar widget. It is a work in progress, on changing months <span> tags stop working.
| Description |
|
| Filesize |
177.28 KB |
| Viewed |
976 Time(s) |

|
_________________ If there's an open source project in your hand,
Don't aim for popularity, it's out of your hand.
Aim for perfection, as that's the best thing you can.
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2199 Location: UK
|
Posted: Mon 23 Jan 2012, 14:47 Post_subject:
|
|
| 01micko wrote: | | sc0ttman wrote: | Will be great to see what widgets come out of this! |
Yeah? |
Yeah, lol.. Looks great!
But personally, I cannot for the life of me understand the need for weather widgets on a PC, on a phone, tablet, etc,...
I just look out the window... But then again, that is my answer to "seeing things in HD" as well
But on a serious note, that looks great for those who use such things,
if I could organise my time better, I would have a go at some widgets as well..
But being an *totally* uncreative type, I can't think of any
I do know a tiny bit of gtkdialog/*ash though, so if anyone has requests,
I might give one of them a go and see what happens!
Didn't techno make a stocks n shares gtkdialog thing?
Might be a nice applet...
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 841
|
Posted: Mon 23 Jan 2012, 17:23 Post_subject:
|
|
Wow! Crawling through a 200k load of html to tease out pertinent weather details - now that's the kind of person I want organizing my search party if ever I go missing.
01micko, really a fantastic effort.
A minor change to the regular gtkdialog part-
| Code: | #normal gtkdialog
WINDOW='<window title="$WIDGETNAME" type-hint="7" resizable="false" decorated="false">' | to remove the window cover.
This must be a style trend coming on. No more carry-on linux luggage. If you need an icon, either just make it on the fly or grab one from the cloud.
Regards,
s
|
|
Back to top
|
|
 |
akash_rawal

Joined: 25 Aug 2010 Posts: 215 Location: Pune, Maharashtra, India
|
Posted: Wed 25 Jan 2012, 10:48 Post_subject:
|
|
| akash_rawal wrote: |
Strangely I couldn't get the correct font color even in the gtkdialog mode, or else I was about to suggest using a custom gtkrc file for gtkdialog-desklet too.
|
Well I failed to notice the font color was set to black, and so I thought that.
| Code: |
#line 43:
COLOR=000000
|
I changed this to FFFFFF and now it works like your screenshot. Exactly the same way
| Description |
Modified weatherCOM code (.gz extension is fake, remove it)
|

Download |
| Filename |
weatherCOM.gz |
| Filesize |
14.52 KB |
| Downloaded |
271 Time(s) |
| Description |
|
| Filesize |
11.98 KB |
| Viewed |
902 Time(s) |

|
_________________ If there's an open source project in your hand,
Don't aim for popularity, it's out of your hand.
Aim for perfection, as that's the best thing you can.
|
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2449
|
Posted: Wed 25 Jan 2012, 12:57 Post_subject:
|
|
On a similar note, for apps that use a terminal window there's Eterm in transparent mode. I use that for cpu-usage.
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Tue 31 Jan 2012, 09:08 Post_subject:
|
|
Dear puppians,
I think gtkdialog-desklets is a great thing that we should be exploring more actively. During my explorations, Newton's Third Law of Motion came to mind:
| Quote: | | To every action there is always an equal and opposite reaction. |
So I wrote a snippet to kill them, too:):
| Code: | #!/bin/bash
tasks=$(ps | grep " -f /tmp/gtkdialog-desklets" | grep -v grep)
for i in "$tasks"; do
task_no=$(echo "$i" | cut -c -5)
kill $task_no
done |
I am certain that technosaurus can render all of this tersely, without external calls to anything except, perhaps, "ps", so let's wait for his contribution...
With kind regards,
vovchik
|
|
Back to top
|
|
 |
akash_rawal

Joined: 25 Aug 2010 Posts: 215 Location: Pune, Maharashtra, India
|
Posted: Fri 13 Apr 2012, 15:16 Post_subject:
|
|
Upgraded to version 3.0
Changelog:
- Package renamed to gtk2desklet
- Now works with many GTK2 programs, not just gtkdialog.
- The module now has wrapper-free operation. The gtkdialog-desklet script is now just a deprecated wrapper. Make the program load module directly instead (see first post)
- No temporary directories used anymore
- GTK theme refreshing is now handled using signals (just send SIGUSR1 signal to the program, something like kill -s USR1 <process-id>)
_________________ If there's an open source project in your hand,
Don't aim for popularity, it's out of your hand.
Aim for perfection, as that's the best thing you can.
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: Fri 13 Apr 2012, 17:08 Post_subject:
|
|
Dear akash_rawal,
I love it. And we should try to get more of us interested in using this little gem. All I can say is "hats off"!. Brilliant.
Thanks and kind regards,
vovchik
|
|
Back to top
|
|
 |
|
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|