T.R | Title | User | Personal Name | Date | Lines |
---|
594.1 | one way | SMURF::PBECK | Paul Beck | Thu Jan 30 1997 09:45 | 5 |
| Dunno about pointers, but what I did was rename /usr/dt/bin/dtterm
to dtterm_save and create a softlink called /usr/dt/bin/dtterm
pointing to /usr/bin/X11/dxterm. I haven't been bugged by dtterm
since (but it's still there if I ever wanted it for some reason).
|
594.2 | here's one way | UNXA::BEUTE | No good deed ever goes unpunished... | Thu Jan 30 1997 13:29 | 42 |
|
>>I understand from the documentation that there is a way to change
>>the default terminal emulator from dtterm to dxterm. However,
>>when I tried to do this (following the manual instruction stuff),
>>I failed miserably.
Aside from Paul's method in .-1, this is the way I would do it, more
within the 'spirit' of CDE. The instructions are simple:
1) create a copy of /usr/dt/appconfig/types/C/dt.dt in $HOME/.dt/types
and rename it to something like dxterm.dt
2) Edit dxterm.dt to remove all but the following block:
ACTION Dtterm
{
LABEL Terminal
ARG_COUNT 0
ICON Dtterm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/dt/bin/dtterm -ls
DESCRIPTION The Terminal (Dtterm) action runs the desktop Terminal \
Emulator application.
}
3) Edit this fragment to change the executable from dtterm to /usr/bin/X11/
dxterm, save, and exit.
4) Logout/log back in again.
At this point, clicking the Terminal icon or using the Open Terminal
option from either the File manager or App manager->File pulldown menus
will launch dxterm.
>>Is there a pointer to more complete, specific instructions on how
>>to do this?
It'd help if you tried to explain the mechanism you tried to use, but
failed. There are a few different techniques you could use, the one
above is just one option.
Chris
|
594.3 | thanks -- will try again | DECWET::CARRUTHERS | Life gets easier when you realize you can't have everything. | Thu Jan 30 1997 15:43 | 47 |
| Thanks for both .1 and .2. I will try .2 and then .1 if I get more
desperate.
As for what I had done previously -- I tried to follow the instructions
in chapter 3, "Changing the Text Editor and Terminal Emulator" in the CDE
Advanced User's and System Administrator's Guide (starts on page 49 on my
copy). I did this while multiplexing job assignments, so perhaps I did
not read carefully enough. Basically:
- I created a file dxterm.dt which had the following:
ACTION Dxterm
{
LABEL Terminal
ARG_COUNT 0
ICON Dtterm
TYPE COMMAND
WINDOW_TYPE NO_STDIO
EXEC_STRING /usr/bin/X11/dxterm -ls
DESCRIPTION The Terminal (DXterm) action runs the desktop
Terminal Emulator application.
}
- I placed this in /usr/var/.dt/appconfig/types/C since I wanted
the change to be universal for the system
- I then copied user-prefs.dt to /usr/var/.dt/appconfig/types/C,
left it intact except for editting it as follows:
# The default term for Common Desktop Environment (CDE) is Dtterm.
ACTION Terminal
{
LABEL Terminal
TYPE MAP
MAP_ACTION Dxterm
DESCRIPTION The Terminal action runs the user preferred \
terminal emulator.
}
- Finally I tried to Double-click Reload Actions in the
Desktop_Tools application group (no success) and then
logout/login (still no success).
I did all this because I wanted to do it "right" according to CDE
in case I ever had any other customizations to make.
|
594.4 | bug/feature? | UNXA::BEUTE | No good deed ever goes unpunished... | Fri Jan 31 1997 11:18 | 33 |
|
>>I did all this because I wanted to do it "right" according to CDE
>>in case I ever had any other customizations to make.
OK, thanks for the explanation. It's been a while since I went through
that manual, didn't realize that section was in there, and hadn't tested
it.
Even if you do everything right there, you probably don't wind up with
the total end result you wanted. This is worth a QAR either against
CDE_DOC for the explanation in the manual, or in CDE_ACTIONS for not
allowing the work to be done as documented. That'll require a closer
examination by someone else.
The method described DOES work, but only to a degree. After you do
those steps, if you use the App/File manager File pulldown menu to
launch a terminal ("Open Terminal"), you'll get dxterm. If you use
the command
$/usr/dt/bin/dtaction Terminal
you'll get dxterm. BUT, there are still other actions/icon mappings
which tie the "Dtterm" icon to dtterm. For example, the PUSH_ACTION
record in the front panel record has an action defined of "Dtterm".
If this were changed to "Terminal", it'd launch dxterm.
So, if you really wanted to make that change systemwide, you could
take the action file I suggested in .2 and move it to /etc/dt/appconfig/types/C
and it'll work for all users. The user-prefs.dt file would be unnecessary.
Thanks for spotting the hole, and please QAR it.
Chris
|
594.5 | | LEXSS1::GINGER | Ron Ginger | Mon Feb 03 1997 14:23 | 7 |
| I have been trying this as well.
I followed the steps to change the application registration, but it
still didnt come up on the front pannel. I had to change a .fp file.
Also, when the dxterm starts, I do not get my .profile sourced. How do
I fix that? I do have DTSOURCEPROFILE = true.
|
594.6 | need -ls flag for dxterm | UNXA::BEUTE | No good deed ever goes unpunished... | Mon Feb 03 1997 16:27 | 7 |
|
>> Also, when the dxterm starts, I do not get my .profile sourced. How do
>> I fix that? I do have DTSOURCEPROFILE = true.
Make sure you invoke "dxterm -ls".
|