LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-02-2004, 12:02 AM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
idesk


i just finished installing idesk via slapt-get and created the .ideskrc directory in my home directory. now, everytime i try to run idesk, it comes up with an error and says that it couldn't find the config file or the config table. i've put the code in the config file but don't know whether the name of the config file is right. i'd really appreciate some input on this.

TIA
 
Old 06-02-2004, 04:23 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
.ideskrc is not a directory, it's a file. The config file containing the config table is called .ideskrc and is a text file.

Here's my .ideskrc:
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
  IconSnap: true
  SnapWidth: 55
  SnapHeight: 100
  SnapOrigin: BottomRight
  SnapShadow: true
  SnapShadowTrans: 200
  CaptionOnHover: false
end

table Actions
  Lock: control right doubleClk
  Reload: middle doubleClk
  Drag: left hold
  EndDrag: left singleClk
  Execute[0]: left doubleClk
  Execute[1]: right doubleClk
end
.

Hope this helps.
 
Old 06-02-2004, 11:30 PM   #3
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
i copied and pasted this text into the .ideskrc file and put it in the home directory. when i tried to run idesk from the CLI it comes up with the same error : ' Can't find config file or missing 'Config' table in the config file.'


so i created the .idesktop directory in my home directory and moved the file there. still no luck.
any info, i'd really appreciate it.

TIA
 
Old 06-03-2004, 03:03 AM   #4
Zargun
LQ Newbie
 
Registered: Oct 2003
Location: Mönchengladbach/Germany
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
I think the .ideskrc has to be in your home directory. The directory .idesktop will later contain the files you create for your icons.
Hope that helps.

Zargun
 
Old 06-03-2004, 04:32 AM   #5
chemtraX
LQ Newbie
 
Registered: Nov 2003
Distribution: slackware 9.1
Posts: 12

Rep: Reputation: 0
create a new <program_name>.lnk file in your .idesktop dir.

eg:
$ touch firefox.lnk

and put these lines in your firefox.lnk

Code:
table Icon
  Caption: firefox     <-- text that appears under the icon
  Icon: /usr/share/pixmaps/firefox.png    <-- path where you put the icon 
  X: 10   <-- X location of the icon
  Y: 180  <-- Y location of the icon
  Command[0]: mozilla-firefox  <-- this command will execute the binary
end
and that's all...if you need to create any extra icons..just repeat the above step with the new *.lnk file..each *.lnk file represent one icon in your desktop..then run idesk to see if it's working.

hope this will help..
 
Old 06-03-2004, 04:55 AM   #6
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Is the .ideskrc file owned by the user in whose $HOME directory it is placed? The .ideskrc file should not be in the .idesktop directory, it should just be in the $HOME folder.
 
Old 06-03-2004, 01:34 PM   #7
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
it worked!! thanks a lot guys. i really appreciate it.
 
Old 06-05-2004, 11:46 AM   #8
cyp
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 4

Rep: Reputation: 0
im trying to install Idesk, but when i type 'make' i get:

g++ -g -O2 -c Desk.cc -o Desk.o
In file included from Desk.h:9,
from Desk.cc:1:
/usr/include/X11/Xft/Xft.h:36:35: fontconfig/fontconfig.h: No such file or directory
In file included from /usr/include/X11/Xft/Xft.h:43,
from Desk.h:9,
from Desk.cc:1:
/usr/include/X11/Xft/XftCompat.h:33: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:34: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:35: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:89: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:91: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:95: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:102: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:103: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:104: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:105: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:163: `XftPattern' was not declared in this
scope
/usr/include/X11/Xft/XftCompat.h:163: `pat' was not declared in this scope
/usr/include/X11/Xft/XftCompat.h:163: syntax error before `*' token
In file included from Desk.h:9,
from Desk.cc:1:
/usr/include/X11/Xft/Xft.h:61: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:62: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:73: 'FcChar32' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:80: 'FcChar32' is used as a type, but is not defined
as a type.
/usr/include/X11/Xft/Xft.h:127: `FcFontSet' was not declared in this scope
/usr/include/X11/Xft/Xft.h:127: `set' was not declared in this scope
/usr/include/X11/Xft/Xft.h:127: syntax error before `char'
/usr/include/X11/Xft/Xft.h:130: `FcFontSet' was not declared in this scope
/usr/include/X11/Xft/Xft.h:130: `set' was not declared in this scope
/usr/include/X11/Xft/Xft.h:130: syntax error before `char'
/usr/include/X11/Xft/Xft.h:137: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:137: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:140: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:140: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:199: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:208: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:217: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:226: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:235: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:302: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:309: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:316: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:323: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:330: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:336: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:360: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:366: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:369: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:373: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:373: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:377: type specifier omitted for parameter `FcPattern
'
/usr/include/X11/Xft/Xft.h:377: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:386: syntax error before `)' token
/usr/include/X11/Xft/Xft.h:392: type specifier omitted for parameter `FcBool'
/usr/include/X11/Xft/Xft.h:392: syntax error before `,' token
/usr/include/X11/Xft/Xft.h:405: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:413: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:420: type specifier omitted for parameter `FcChar32'
/usr/include/X11/Xft/Xft.h:420: syntax error before `)' token
/usr/include/X11/Xft/Xft.h:426: syntax error before `char'
/usr/include/X11/Xft/Xft.h:435: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:446: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:516: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:529: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:542: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:555: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:568: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:581: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:594: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:607: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:620: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:627: syntax error before `*' token
In file included from /usr/include/png.h:332,
from Desk.h:11,
from Desk.cc:1:
/usr/include/pngconf.h:255: syntax error before `.' token
/usr/include/pngconf.h:256: syntax error before `again'
Desk.cc: In member function `void Desk::LoadOptions()':
Desk.cc:47: `FC_WEIGHT_BOLD' undeclared (first use this function)
Desk.cc:47: (Each undeclared identifier is reported only once for each function
it appears in.)
Desk.cc:49: `FC_WEIGHT_MEDIUM' undeclared (first use this function)
Desk.cc:52: `FC_FAMILY' undeclared (first use this function)
Desk.cc:52: `FcTypeString' undeclared (first use this function)
Desk.cc:53: `FC_SIZE' undeclared (first use this function)
Desk.cc:53: `FcTypeDouble' undeclared (first use this function)
Desk.cc:54: `FC_WEIGHT' undeclared (first use this function)
Desk.cc:54: `FcTypeInteger' undeclared (first use this function)
make: *** [Desk.o] Error 1

and i dont know what to do, please help me
 
Old 06-05-2004, 12:00 PM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Most of your errors are probably proceeding from the first error:
Code:
/usr/include/X11/Xft/Xft.h:36:35: fontconfig/fontconfig.h: No such file or directory
Installing fontconfig (if somehow not previously installed, which seems odd) and then trying the iDesk compile again may succeed.
 
Old 06-05-2004, 12:08 PM   #10
cyp
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 4

Rep: Reputation: 0
i have installed fontconf now, so now when i type 'make' i only get this short error:

Code:
g++ -g -O2 -c Desk.cc -o Desk.o
In file included from /usr/include/png.h:332,
                 from Desk.h:11,
                 from Desk.cc:1:
/usr/include/pngconf.h:255: syntax error before `.' token
/usr/include/pngconf.h:256: syntax error before `again'
make: *** [Desk.o] Error 1
so what to do now

Thanx For The Help

Last edited by cyp; 06-05-2004 at 04:58 PM.
 
Old 06-05-2004, 08:30 PM   #11
cyp
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 4

Rep: Reputation: 0
Code:
cyppa@slackhoe:~/idesk-0.3.5$ make
g++ -g -O2 -c Desk.cc -o Desk.o
In file included from /usr/include/png.h:166,
                 from Desk.h:11,
                 from Desk.cc:1:
/usr/include/pngconf.h:125: syntax error before `.' token
/usr/include/pngconf.h:621: syntax error before `*' token
/usr/include/pngconf.h:631: syntax error before `*' token
In file included from Desk.h:11,
                 from Desk.cc:1:
/usr/include/png.h:302: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:303: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:304: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:305: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:400: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:401: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:409: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:410: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:539: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:540: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:562: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:563: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:568: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:603: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:604: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:605: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:616: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:617: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:618: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:619: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:620: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:621: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:622: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:623: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:632: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:633: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:664: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:665: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:701: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:702: 'png_uint_32' is used as a type, but is not defined as
   a type.
/usr/include/png.h:810: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:810: syntax error before `)' token
/usr/include/png.h:892: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:892: syntax error before `,' token
/usr/include/png.h:977: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:977: syntax error before `)' token
/usr/include/png.h:994: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:994: syntax error before `)' token
/usr/include/png.h:1245: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:1245: syntax error before `)' token
/usr/include/png.h:1258: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:1258: syntax error before `)' token
/usr/include/png.h:1261: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:1261: syntax error before `)' token
/usr/include/png.h:1297: syntax error before `(' token
/usr/include/png.h:1301: syntax error before `(' token
/usr/include/png.h:1310: syntax error before `(' token
/usr/include/png.h:1314: syntax error before `(' token
/usr/include/png.h:1338: syntax error before `(' token
/usr/include/png.h:1340: syntax error before `(' token
/usr/include/png.h:1342: syntax error before `(' token
/usr/include/png.h:1350: syntax error before `(' token
/usr/include/png.h:1352: syntax error before `(' token
/usr/include/png.h:1354: syntax error before `(' token
/usr/include/png.h:1356: syntax error before `(' token
/usr/include/png.h:1366: syntax error before `(' token
/usr/include/png.h:1376: syntax error before `(' token
/usr/include/png.h:1389: syntax error before `(' token
/usr/include/png.h:1399: syntax error before `(' token
/usr/include/png.h:1408: syntax error before `(' token
/usr/include/png.h:1415: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:1415: syntax error before `,' token
/usr/include/png.h:1418: syntax error before `(' token
/usr/include/png.h:1426: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:1426: syntax error before `,' token
/usr/include/png.h:1430: syntax error before `(' token
/usr/include/png.h:1442: syntax error before `(' token
/usr/include/png.h:1448: type specifier omitted for parameter `png_uint_32'
/usr/include/png.h:1448: syntax error before `,' token
/usr/include/png.h:1451: syntax error before `(' token
/usr/include/png.h:1458: syntax error before `(' token
/usr/include/png.h:1468: syntax error before `(' token
/usr/include/png.h:1481: syntax error before `(' token
/usr/include/png.h:1492: syntax error before `(' token
/usr/include/png.h:1502: syntax error before `(' token
make: *** [Desk.o] Error 1
cyppa@slackhoe:~/idesk-0.3.5$
 
Old 06-05-2004, 08:39 PM   #12
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
All that "png" stuff makes me suspect that you also don't have libpng installed, but that's just a hunch.

You could also get a Slackware package or even a Slackware build script for iDesk from this small SlackPack page. If nothing else, looking at the build script might tell you what is actually wrong/missing, as there's no real dependency information on the iDesk site (although it might be in the README or INSTALL files; I didn't download them to check).

Hope this helps.
 
Old 06-06-2004, 06:56 AM   #13
cyp
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 9.1
Posts: 4

Rep: Reputation: 0
ok, i installed the pkg now, but i dont really understand this

cyppa@cyppa:~$ idesk
Can't load: /home/cyppa/.idesktop/home.png bailing -- Home
Check to see if the image and path to image is valid
Can't load: /home/cyppa/.idesktop/home.png bailing -- Home
Check to see if the image and path to image is valid
Segmentation fault

what shall i do here??

i have created .idesktop and .ideskrc

and i did a lnk file in .idesktop with the name 'msn.lnk' and pico to it and there i put:

table Icon
Caption: MSN
Icon: /home/cyppa/Icons/amsn.png
X: 10
Y: 180
Command[0]: ./amsn
end

but when i type 'idesk' i get an error:

Unknown file format:
Segmentation fault

what shall i do ?

Last edited by cyp; 06-06-2004 at 10:15 AM.
 
Old 06-10-2004, 06:09 PM   #14
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
swaret --install idesk
 
Old 06-11-2004, 02:15 AM   #15
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Is the *.lnk file executable? Is the user running idesk the owner of the files and icons in question?
 
  


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
idesk millusionist Slackware 2 12-28-2004 04:23 AM
idesk DavidTempler Linux - Newbie 0 04-29-2004 09:48 AM
idesk i_gotzev Linux - Software 2 04-01-2004 03:19 AM
idesk... ambelos Linux - Software 0 02-23-2004 10:33 PM
Idesk !? kilgore_trout Linux - Software 1 09-06-2003 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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