in reply to How to Populate multiple Solaris gnome windows with a Perl/TK widget
FWIW, there are 2 types of shells within bash, the -i and -l options. There are a different set of rc files which get run, depending on whether it's a 'login' shell or an 'interactive' shell. For bash, read man bash and look for the INVOCATION section. It tells you which file will be read for a login, and you can probably put your launching statement in that file.
Of course, you probably need a graphical logon for it to work, because Tk needs a X server to talk to. But there are tests you can do, to see whether you are in X or not.
Just as another "coffee-room-comment", maybe you should look at Gtk2-perl , instead of Tk, if you are using gnome. There are bindings to the gnome libs withing Gtk2-perl, and may be helpful to you, like "taskbar" apps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Populate multiple Solaris gnome windows with a Perl/TK widget
by w3ntp (Beadle) on Jun 02, 2005 at 20:23 UTC | |
by zentara (Cardinal) on Jun 03, 2005 at 12:17 UTC | |
by w3ntp (Beadle) on Jun 03, 2005 at 17:08 UTC | |
by zentara (Cardinal) on Jun 03, 2005 at 18:24 UTC |