OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: daniel3000 on November 09, 2006, 05:46:14 pm
-
Hello,
does anyone know a command line tool, preferably based on GTK, which allows to present BUI dialogs to the user with some limited interaction?
I.e. a tool which can be used from within a shell script to let the user interact with the shell script without letting the user ever see that it IS a shell script?
Simple ialogs like "some text [OK]" and "some text [Yes] [No]" would be enough.
Thanks a lot!
daniel
-
Hello,
does anyone know a command line tool, preferably based on GTK, which allows to present BUI dialogs to the user with some limited interaction?
I.e. a tool which can be used from within a shell script to let the user interact with the shell script without letting the user ever see that it IS a shell script?
Simple ialogs like "some text [OK]" and "some text [Yes] [No]" would be enough.
Thanks a lot!
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=145937\"][{POST_SNAPBACK}][/a][/div]
xdialog is what you want then it's in the feed I believe.
-
Great, thanks! :-)
-
I have a problem. Maybe someone can help? I have no knowledge about the font system in X, just read a few web pages about it but could not solve the problem:
The font in a msgbox of Xdialog is very small and fixed-width. I'd rather like to have a proportional and larger font.
So I used the Xdialog parameter --rc-file ~/.gtkrc.xdialog and created the file ~/.gtkrc.xdialog:
style "Default" {
fontset = "-misc-*-*-*-*-*-*-200-*-*-*-*-ISO8859-1"
}
class "*" style "Default"
I used xfontsel to determine that font string in the rc file.
This gives a larger font, but it looks like wrongly decoded Unicode (i.e. alternating characters with dotted boxes like this).
T_h_i_s_ _i_s_ _a_ _m_s_g_._
(underscore representing a rectangular box)
So I changed ISO8859-1 to UTF-8 which made no difference.
Then I found on the web some additional fonts to install here (http://fluxbox.sourceforge.net/docbook/de/html/app-artwiz.html).
Basically, I did this:
  # cd /usr/X11R6/lib/X11/fonts
  # tar xjf /tmp/artwiz-fonts.tar.bz2
  # cd fluxbox-artwiz-fonts
  # mkfontdir
  # chkfontpath -q -a /usr/X11R6/lib/X11/fonts/fluxbox-artwiz-fonts:unscaled
(the last command chkfontpath was not available on pdaXrom, so I omitted it).
Restarting X and xfontsel: The new fonts are NOT shown.
So I am at two dead ends here:
1. How to fix the unicode problem?
2. How to install new fonts?
Any pointers are welcome! Thanks a lot!
daniel
-
Even that (https://www.oesf.org/forums/index.php?showtopic=4552&view=findpost&p=31808) did not help.
Xdialog works fine, except that the fonts are too small and I am not able to configure it to use another font.
Is there an alternative to Xdialog I could try?
Thanks
daniel