Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 3 Adding and Administering Applications

Changing the Text Editor and Terminal Emulator

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

Both the text editor and terminal emulator applications can be started by choosing a control in the Front Panel, or by double-clicking an icon in Application Manager.

These applications are also started by other desktop activities.

  • The text editor application opens when the user selects a text file in File Manager and chooses Open from the Selected menu. The default text editor is dtpad.

  • A terminal emulator runs when a user chooses Open Terminal from File Manager's File menu, or when an action opens a terminal emulator window. The default terminal emulator is dtterm.

You can configure the desktop to use a different text editor or terminal emulator application in these situations.

To Change the Default Text Editor or Terminal Emulator

  1. If the change is system-wide, log in as root.

  2. Create an action for the new text editor or terminal emulator application.

  3. Place the configuration file containing the new action in the proper directory:

    • System-wide: /etc/dt/appconfig/types/language

    • Personal: HomeDirectory/.dt/types

  4. If it doesn't already exist, create the appropriate user-prefs.dt file by copying /usr/dt/appconfig/types/language/user-prefs.dt to:

    • System-wide: the /etc/dt/appconfig/types/language directory

    • Personal: the HomeDirectory/.dt/types directory

  5. Edit the TextEditor or Terminal action in the system-wide or personal user-prefs.dt file. Modify the MAP_ACTION line to map the action to the new action.

    For example, change the line:

    MAP_ACTION Dtpad

    to:

    MAP_ACTION TextPad
  6. Save the user-prefs.dt file.

  7. Double-click Reload Actions in the Desktop_Tools application group to reload the actions database.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.