On Wed, 6 Feb 2008 02:09:37 -0800 Dan Kegel wrote:

> I have a crappy little commandline utility that's
> getting a lot of use from novices, so I figured
> I'd use xmessage or its moral equivalent to add
> a trivial GUI to help those who cannot deal with
> commandlines.   All it does it put up a menu of
> available actions and an ok/cancel button.
> 
> The hideous result can be seen here:
>   http://kegel.com/wine/winetricks
> 
> Depending on the desktop environment, I do one of
>     zenity --title "$title" --text "$text" --list --checklist --column
> "$col1name" --column "$col2name" --height 400 $args | tr '|' '\012'
>     kdialog --title "$title" --separate-output --checklist "$text" $args
>     xmessage -print -file /tmp/x_showmenu.txt -buttons "Cancel,$args"
> | sed 's/Cancel//'
> 
> It was a pain to figure out, it's fragile,
> and it's not even remotely pleasing to use.
> 
> It'd be nice if there were some utility xdg-dialog that
> unified the various xmessage replacements out there,
> and handled this use case nicely,
> without going overboard.
> 
> Not bloody likely, but I thought I'd ask.

There's Xdialog.  Is that too simplistic for what you are doing?

I only use it to remind me to take a work break every N minutes.

---
~Randy
_______________________________________________
Desktop_architects mailing list
Desktop_architects@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/desktop_architects

Reply via email to