The white paper provides some simple modifications that you can make on select HP Compaq Linux thin
clients. Linux is a very powerful and flexible operating system that you can customize in many ways. The
more you understand how the Linux operating system works, the better you can tailor the operating system to meet your needs.
This white paper covers the following specific topics related to customization:
1. Using the HP Linux thin client Altiris manageability scripts.
2. Modifying the right-click menu to remove non-root access to the Linux console.
3. Modifying the right-click menu to add a custom application command.
4. Modifying the global key set for XFCE to remove access to the manual Linux RUN command.
5. Manually adding additional keyboard layouts to the HP Linux thin client.
6. Manually adding additional Linux libraries for additional application support.
This paper assumes that the IT Professional has basic knowledge of navigating directory structures using
the Linux console, editing files using the “vi” editor, and an understanding of how to set file permissions
through the Linux console. A listing of some basic vi editor commands is provided in Appendix A.
Modifying the right-click menu
The right-click menu is displayed while holding down the right mouse button while the mouse pointer is on
the HP Compaq Linux thin client workspace or desktop area. The information displayed on the right-click
menu varies based on whether you are logged in as root user (administrator) or non-root user. By default,
the right-click menu content changes depending on the user type. By default, the right-click menu for nonroot user is the same for all non-root users on the same system; however, you can configure the right-menu
differently for two non-root users.
2
Linux configuration files that control the right-click menu
The files that control the content of the right-click menu are located in the /etc/xfce4 subdirectory. The file
directory is shown below:
drwxrwxr-x4 rootroot1024 Mar 8 18:08 .
drwxrwxr-x20 rootroot1024 Mar 14 02:04 ..
drwxrwxr-x2 rootroot1024 Jan 4 23:50 applets
-rw-rw-rw-1 rootroot41 Apr 15 2005 blank.menu.xml
-rw-rw-rw-1 rootroot53 Apr 15 2005 ff.menu.xml
-rw-rw-rw-1 rootroot2014 Mar 14 01:04 menu.xml
-rw-rw-rw-1 rootroot1747 Mar 7 19:04 menu.xml.cma
-rw-rw-rw-1 rootroot2012 Mar 14 01:06 menu.xml.cman.root
Note that the non-root files control all non-root users for that system. You can customize non-root files per user by
appending the system defined user name to the end of the file. For example, a custom non-root user file for user
“Bob” can be created by creating and modifying the file “menu.xml.cman.Bob”.
3
The basic structure of each of these files is similar but varies depending on the current startup shell (XFCE,
HP Connection Administrator, Citrix ICA Client) and the current logged in user. A partial display of the
menu.xml.cman file is shown below.