View previous topic :: View next topic |
Author |
Message |
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Mon Jan 13, 2003 3:28 am Post subject: Idesk 0.5 -- SVG support and more |
|
|
http://www.timmfin.net/idesk/idesk-0.5.0.tar.gz
Beta, alpha or some form of a release that is _not_ final.
Look at the README for more extensive documentation. You are going to need pkg-config and librsvg to compile it. The SVG support is as fully functional as the png files were, but some SVG files don't seem to work. One that certainly works, and is a favorite of mine is www.timmfin.net/idesk/tux2.svg. Additional information in the README file.
Other additions include icon snapping and a nifty snap shadow effect (if you enable it). I'll just list the new config file to show you all the new features.
Code: | table Config
FontName: tahoma
FontSize: 8
FontColor: #ffffff
Locked: false
Transparency: 150
Shadow: true
ShadowColor: #000000
ShadowX: 1
ShadowY: 2
Bold: false
ClickDelay: 300
SingleClick: false
IconSnap: true
SnapWidth: 55
SnapHeight: 100
SnapOrigin: BottomRight
SnapShadow: true
SnapShadowTrans: 200
end |
Ahh, nothing better than a huge tux to click on .
[img:851fc45ee1]http://www.timmfin.net/idesk/idesk_tux_small.jpg[/img:851fc45ee1]
Please email us with suggestions, bugs, etc.
http://linuxhelp.hn.org/idesk.php
Last edited by timmfin on Tue Jan 14, 2003 4:30 pm; edited 2 times in total |
|
Back to top |
|
|
hhaamu Apprentice
Joined: 23 Aug 2002 Posts: 253 Location: Finland
|
Posted: Mon Jan 13, 2003 10:43 am Post subject: |
|
|
Yay! I'll go test this!
btw, what window manager are you using on the screenshot? My guess would be *box. |
|
Back to top |
|
|
uxbod Guru
Joined: 30 Dec 2002 Posts: 474 Location: UK
|
Posted: Mon Jan 13, 2003 10:44 am Post subject: |
|
|
What application is the CPU, LAN monitor etc in the top right hand corner? Looks nice |
|
Back to top |
|
|
nikai Apprentice
Joined: 02 Oct 2002 Posts: 270 Location: Kitzbühel, Austria
|
Posted: Mon Jan 13, 2003 12:31 pm Post subject: |
|
|
uxbod wrote: | What application is the CPU, LAN monitor etc in the top right hand corner? Looks nice |
From left to right:
wmcpuload wmmemload wmnetload
PS: Just in case you've got problems running them in your window manager, they've got a nice "-bw" option for "broken window managers" |
|
Back to top |
|
|
hhaamu Apprentice
Joined: 23 Aug 2002 Posts: 253 Location: Finland
|
Posted: Mon Jan 13, 2003 2:43 pm Post subject: |
|
|
Hmm, the new version segfaults with .xpm files:
Code: | $ /usr/local/bin/idesk
libpng error: Not a PNG file
Can't load: /usr/share/icons/hicolor/48x48/apps/ooo_gulls.xpm bailing -- oowriter
Segmentation fault |
Works fine if I take the .xpm icon away. |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Mon Jan 13, 2003 3:20 pm Post subject: Re: Idesk 0.5 -- SVG support and more |
|
|
timmfin wrote: | Ahh, nothing better than a huge tux to click on .
|
What about this:
[img:1cc0aebf94]http://leedev.net/~bazik/pictures/vector/t_penguin.png[/img:1cc0aebf94]
Available as SVG from my homepage: http://0x1337.net/linux/ |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Mon Jan 13, 2003 4:34 pm Post subject: |
|
|
hhaamu: Currently only png and svg files are supported.You can take your xpm file and save it to a png in gimp. I believe that Xpm files only have a simple transparency mechinism as in gif files (the will have jaggedy edges). But maybe xpm support will get in there soon.
hhaamu: Yup, its fluxbox. I'm using the daft style with a few personal edits.
bAZiK: nice icon, but it seems to have a few problems as well. You can only the black outline of the penguin and thats it. Here is some text I just found:
Quote: | > thx for your help. the radial gradient looks much better. obviously it
> has something to do with the gradients, that puzzles librsvg - i made
> a second version with plain color - and it displays ok in nautilus.
This is AFAIK librsvg bug, but I have not heard authoritative answer
myself yet. The piece of SVG spec, that causes given confusion is
default unit system for gradients:
- SVG default is, and sodipodi uses objectBoundingBox
- librsvg expects everything to be userSpaceOnUse
I'll try to add userSpaceOnUse option for next release of sodipodi. I
have filed bugreport once against librsvg, but do not know, whether
it is fixed in recent versions or not. |
I'll see what I can do. |
|
Back to top |
|
|
Mindstab Apprentice
Joined: 02 Jan 2003 Posts: 271 Location: Vancouver, Canada
|
Posted: Mon Jan 13, 2003 10:11 pm Post subject: |
|
|
I've been considering useing iDesk myself. My biggest question is, where are people getting icons from? Is htere anywhere I can find a good set of all use icons for various apps, including games? |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
|
Back to top |
|
|
hhaamu Apprentice
Joined: 23 Aug 2002 Posts: 253 Location: Finland
|
Posted: Tue Jan 14, 2003 1:09 pm Post subject: |
|
|
Mindstab wrote: | Is htere anywhere I can find a good set of all use icons for various apps, including games? |
I took mine from http://art.gnome.org/
They work very nicely, and if they aren't enough, I use the icons from Gnome and KDE. (some programs come with an icon, too. Check your /usr/share/pixmaps folder if you have already some) |
|
Back to top |
|
|
pens Tux's lil' helper
Joined: 01 Jan 2003 Posts: 121 Location: Irvine, CA
|
Posted: Fri Jan 17, 2003 6:50 am Post subject: |
|
|
Anyone know what is causing this error? I've gotten it in this version and the version of idesk in portage.
Code: | In file included from XCaption.h:10,
from XIcon.h:12,
from XDesktopContainer.h:67,
from XDesktopContainer.cpp:6:
/usr/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/include/X11/Xft/Xft.h:353: parse error before `*' token
/usr/include/X11/Xft/Xft.h:392: parse error before `*' token
/usr/include/X11/Xft/Xft.h:398: parse error before `*' token
/usr/include/X11/Xft/Xft.h:407: type specifier omitted for parameter `FT_UInt'
/usr/include/X11/Xft/Xft.h:407: parse error before `,' token
/usr/include/X11/Xft/Xft.h:417: parse error before `*' token
/usr/include/X11/Xft/Xft.h:460: parse error before `*' token
XDesktopContainer.cpp:10:45: gdk-pixbuf-xlib/gdk-pixbuf-xlib.h: No such file or directory
make: *** [XDesktopContainer.o] Error 1
|
|
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Fri Jan 17, 2003 3:30 pm Post subject: |
|
|
pens wrote: | Anyone know what is causing this error? I've gotten it in this version and the version of idesk in portage.
Code: | In file included from XCaption.h:10,
from XIcon.h:12,
from XDesktopContainer.h:67,
from XDesktopContainer.cpp:6:
/usr/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/include/X11/Xft/Xft.h:353: parse error before `*' token
/usr/include/X11/Xft/Xft.h:392: parse error before `*' token
/usr/include/X11/Xft/Xft.h:398: parse error before `*' token
/usr/include/X11/Xft/Xft.h:407: type specifier omitted for parameter `FT_UInt'
/usr/include/X11/Xft/Xft.h:407: parse error before `,' token
/usr/include/X11/Xft/Xft.h:417: parse error before `*' token
/usr/include/X11/Xft/Xft.h:460: parse error before `*' token
XDesktopContainer.cpp:10:45: gdk-pixbuf-xlib/gdk-pixbuf-xlib.h: No such file or directory
make: *** [XDesktopContainer.o] Error 1
|
|
Try to use this XFT.h:
http://24.157.217.161/Xft.h
Its the same error as I got before I changed mine to this (with compiling Fluxbox tough) |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Fri Jan 17, 2003 3:36 pm Post subject: |
|
|
Yes, I do know what is causing the error, Xft2. I'm in the process of fixing some of these library problems, but this is still a bit new to me. One thing you can probably do to fix things temporarily is use the old Xft header, thats what I used to have to do.
First grab this file: http://www.timmfin.net/idesk/Xft.420.h
Next su to root, and goto the "/usr/include/X11/Xft/" directory.
Backup the old Xft.h by "cp Xft.h Xft.h_Xft2".
Move the Xft you downloaded to this directory.
Then "cp Xft.420.h Xft.h".
This will give you Xft 1 headers and should be a temporary solution. The problem is that this will make other compilations use the old include file as well, so I would recomend changing the file back after compiling idesk. |
|
Back to top |
|
|
pens Tux's lil' helper
Joined: 01 Jan 2003 Posts: 121 Location: Irvine, CA
|
Posted: Fri Jan 17, 2003 4:59 pm Post subject: |
|
|
Is this an idesk problem or an xft2 problem? |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Fri Jan 17, 2003 6:11 pm Post subject: |
|
|
Well technically it is an idesk problem, since Idesk is not complying with the changed Xft headers, but it is kinda of annoying that Xft2 and Xft1 need different headers to compile. I don't get the problem anymore though. I used to have to do the include file switch, but I thought I fixed it by including the freetype header before the xft2 header. That works on my machine, don't know why it doesn't on yours.
Edit: I just looked at the xft header files myself and I think that the next verison of Xft includes a compatibility wrapper, that could have been what fixed my problem without me knowing it. Emerge the new xft and try that.
Code: | ACCEPT_KEYWORDS="~x86" emerge -p xft |
|
|
Back to top |
|
|
pens Tux's lil' helper
Joined: 01 Jan 2003 Posts: 121 Location: Irvine, CA
|
Posted: Fri Jan 17, 2003 7:55 pm Post subject: |
|
|
OK, it compiles now, but now when I start idesk, it seg faults on me. Any ideas? |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Fri Jan 17, 2003 8:39 pm Post subject: |
|
|
Have you setup an .ideskrc and and a .idesktop directory? Look in the readme file. There is no "nice code" yet to double check that those are created. Make sure you read the README file. |
|
Back to top |
|
|
pens Tux's lil' helper
Joined: 01 Jan 2003 Posts: 121 Location: Irvine, CA
|
Posted: Fri Jan 17, 2003 9:21 pm Post subject: |
|
|
Ok, it runs now. But when i double click on an icon, it doesn't do anything. |
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Fri Jan 17, 2003 9:46 pm Post subject: |
|
|
Well, progress is good. What is the command setting for that individual icon? |
|
Back to top |
|
|
pens Tux's lil' helper
Joined: 01 Jan 2003 Posts: 121 Location: Irvine, CA
|
Posted: Sun Jan 26, 2003 4:12 pm Post subject: |
|
|
Odd, idesk wouldn't launch any commands, with single-clicks or double clicks, so i deleted .ideskrc and made a new one. But now, idesk wont even start. I just get a seg fault every time. odd. any ideas? |
|
Back to top |
|
|
cbrese Tux's lil' helper
Joined: 12 Jul 2002 Posts: 126 Location: San Diego, CA
|
Posted: Sun Jan 26, 2003 4:36 pm Post subject: SVG |
|
|
This looks really cool. Where can I find out more about the svg support? Is svg just for icons? Can it be scripted? |
|
Back to top |
|
|
kraylus l33t
Joined: 07 Jun 2002 Posts: 648 Location: ft.worth.tx
|
Posted: Sun Jan 26, 2003 7:39 pm Post subject: |
|
|
pardon my ignorance but... what's an svg file? never heard of that image format. _________________ I used gentoo BEFORE it was cool. |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
|
Back to top |
|
|
timmfin Guru
Joined: 04 Sep 2002 Posts: 336 Location: Maryland, USA
|
Posted: Sun Jan 26, 2003 9:52 pm Post subject: |
|
|
cbrese: What do you mean about scripting? Right now it seems that gradients are not working, and some simple primitives do not show up. Icons that definately work are the nautilus ones because the same library that gnome uses renders the icons in idesk. |
|
Back to top |
|
|
L-Chamber n00b
Joined: 24 Jan 2003 Posts: 15 Location: New Zealand (Aotearoa)
|
Posted: Tue Jan 28, 2003 1:30 am Post subject: |
|
|
Has anyone written an ebuild for this version of idesk? I have a couple of problems when trying to compile from the tarball, unsure why. This is the error I get:
Code: | DesktopIconConfig.cpp: In method `void DesktopIconConfig::saveIcon(int, int)':
DesktopIconConfig.cpp:64: implicit declaration of function `int sprintf(...)'
make: *** [DesktopIconConfig.o] Error 1
|
I have idesk 0.3.x running at the moment. |
|
Back to top |
|
|
|