Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Creating DSL extension questions, First attempt a building an extension< Next Oldest | Next Newest >
dtf Offline

Group: Members
Posts: 196
Joined: Nov. 2005
Posted: April 16 2006,12:09 QUOTE

I am attempting to enhance the cups.dsl extension by adding support for hpijs drivers with foomatic scripts and additional ppd filters.  I found the "Creating a Compressed Extension from Source" wiki which answered most questions but I have a couple of others.

What I did was take the current cups.dsl extension and expand it in /home/dsl/cups.  Then I copied in the additional products to the appropriate mirrored directories off my /home/dsl/cups directory.

/usr/bin/hpijs to /home/dsl/cups/usr/bin/hpijs
/usr/bin/foomatic-gswapper to /home/dsl/cups/usr/bin/foomatic-gswapper
/usr/bin/foomatic-rip to /home/dsl/cups/usr/bin/foomatic-rip
/usr/share/perl/5.8.0/ to /home/dsl/cups/usr/share/5.8.0/

ln -s /usr/bin/foomatic-rip ./usr/lib/cups/filter/foomatic-rip

Also I loaded hpijs PPD files downloaded from in


Following the instructions from the document, I created a tar file and then compressed it using gzip.  I named this cups_hpijs.dsl (sorry for the lack of creativity here).

My first question is.  Is this the correct procedure for a *.dsl extension or did I miss something?

I then rebooted with the norestore option.  After the system came up I opened Emelfm, found my newly created cups_hpijs.dsl package and click myDSL.

I started the cupsd by hand, added root passwd, configured my hp printer and printed a test sheet.  So it seems to have worked for the most part.  The only issue I have is the myDSL submenu does not get added to the DSL menu. I do find

root@box:/tmp/ cat cups
[submenu] (Cups) {}
  [exec] (start) {sudo /etc/init.d/cupsys start}
  [exec] (stop) {sudo /etc/init.d/cupsys stop}
  [exec] (restart) {sudo /etc/init.d/cupsys restart}
  [exec] (reload) {sudo /etc/init.d/cupsys reload}
  [exec] (force-reload) {sudo /etc/init.d/cupsys force-reload}
  [exec] (Cups Admin) {/usr/local/firefox/firefox http://localhost:631}

but this is not added to /home/dsl/.fluxbox/menu nor does it appear in the menu when I bring it up.

So am I missing something or did I skip a step?  It seems I am fairly close to what I want but would like to resolve this issue.

Any help is appreciated. Thanks
Back to top
Profile PM 
roberts Offline

Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 16 2006,15:09 QUOTE

Trying renaming the menu file in /tmp from cups to cups_hpijs

Since these is no place to specifiy the menu file name, it is assumed to be the base of the extension name and must be unique from all others.

I would suggest to place the extra cups files in /opt and not /home/dsl. That way it should work for those you want to run with multiple users.
Back to top
Profile PM WEB 
1 replies since April 16 2006,12:09 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Quick Reply: Creating DSL extension questions

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code