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
Pages: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: Help Required Installing .deb package, BitDefender< Next Oldest | Next Newest >
sword Offline





Group: Members
Posts: 4
Joined: July 2005
Posted: July 27 2005,18:52 QUOTE

Thanks - as you recommend I will avoid using 'root'.

Are you aware of any tools I could use to generate a UI and script for launching the application? Will your icon builder be useful for this purpose?

Again thanks for you help.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 27 2005,19:25 QUOTE

If you want to launch something from an icon, just about any command can be done that way.  Since this is a commandline program, it will need to be run in a terminal.  If you are in X this would be an X terminal (aterm in DSL 1.3, rxvt prior to 1.3).
The command could be something like this:
aterm -e bdc --update
or if it needs root:
aterm -e sudo bdc --update

As far as an interface, that would require a bit of scripting, unless someone has built one already.  Lua FLTK is a perfect way to build simple interfaces in DSL, but it requires Lua scripting knowledge...it is not a UI generator.  Most of the DSL-specific gui tools in DSL are LuaFLTK scripts.

One thing you might notice is the behavior of term applications depending on how they are started.  If you open a shell and then launch a program, the shell will stay open.  If you open a shell with a program as an argument (aterm -e something), the shell will immediately close after the program finishes.  This might actually be what is happpening from emelfm, but i couldn't say for sure unless I saw what was happening.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
6 replies since July 24 2005,21:30 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Help Required Installing .deb package

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