Sponsored Content
Special Forums UNIX Desktop Questions & Answers CDE: Docking menu in front panel. Post 302217566 by spufi on Wednesday 23rd of July 2008 04:16:05 AM
Old 07-23-2008
Question CDE: Docking menu in front panel.

Hi community,

Situation: at work I maintain the CDE dtRootMenu for our team. It holds all the different machines, divided in submenu's for development / acceptance / production and within each submenu several defined ssh sessions to said machines.

From a centralised server, they push a CDE desktop to their (Exceed) X-window, set as single Window Mode (so the entire CDE is within 1 Windows-window).
Now, it would be easier for them to put Exceed in Multiple Window Mode, so they have the option to use the default Windows "Alt-tab" behaviour to easily switch between dtterms. Setting Exceed to Multiple Window Mode will set this straight, but that way they lose the dtRootMenu, since this option doesn't show the CDE-backdrop.

Now, since a couple of weeks I've been trying to locate a way to "stick" the dtRootMenu to the frontpanel, like any "ordinary" panelmenu, but without any luck :s

Does anyone know how I could manage this? Cause that way the front panel will solidly dock itself to the windows desktop in Multiple Window Mode and yet will still allow my collegues to use the defined menus.
I've already found some docs describing how to create a custom launcher for a different clock or whatever, but as we're speaking about 60+ unix servers, I don't wanna go through create these by hand (could script it I guess, but somehow I feel there is (or should be) a much easier way).

Thanks in advance.

Last edited by spufi; 07-23-2008 at 05:17 AM.. Reason: Some adjustments.
 

8 More Discussions You Might Find Interesting

1. AIX

CDE menu

Hi all, is any one knows how can i change menus on my front panel (I need to load the default)? for example : when im entering in a session I've got a application menu ( /etc/dt/appconfig/types/en_US) and i need the default one ( /usr/dt/appconfig/types/C) to be load. I've sold that problem... (1 Reply)
Discussion started by: gabim
1 Replies

2. Linux

dual head setup for laptop in docking station

I have a thinkpad laptop which I run in a docking station at work. I have two LCD monitors, unfortunately one is wide screen and the other isn't. I want to get dual head working, but have not been successful. I've verified the setup works in Windows so its not a HW issue. Here is my latest... (0 Replies)
Discussion started by: osulinux
0 Replies

3. AIX

What's the purpose of rj45-like connector on front panel of p5 55A server ?

Hi, What is the purpose of this connector ? I attached picture of it. In docs it is called "Ethernet connector". thanks Vilius (1 Reply)
Discussion started by: vilius
1 Replies

4. UNIX Desktop Questions & Answers

How to migrate Solaris 10 CDE config to HP-UX CDE.

Hello, Do you guys by any chance know what is the best (if any ) way to move CDE configuration from a SOLARIS 10 machine to HP-UX? Just the config (actions, text files etc). Thanks in advance! (0 Replies)
Discussion started by: binary0x01
0 Replies

5. Shell Programming and Scripting

Menu in Menu script issue

Problem: I am trying to create a menu in a menu script and I am running into an issue with the calculator portion of the script. I am first presented with the ==Options Menu== which all 5 options working correctly. Now comes the fun part. I select option 1 which takes me to my ==Calculator... (1 Reply)
Discussion started by: iDdraig
1 Replies

6. Solaris

Connect to SunOS CDE from another CDE

I have two CDE desktop accounts on different server (called this CDE#1, CDE#2) on the same network. However, my current setup is connecting to the Solaris CDE#1,CDE#2 via Citrix. My plan is to connect to CD#1 and then somehow connect to CDE#2. How do I do this? I am just a regular user... (0 Replies)
Discussion started by: tthach830
0 Replies

7. Shell Programming and Scripting

Need help in create menu with 3 sub menu using the case command

hi all i am a newbie to this is there any examples on creating a main menu with 3 sub menu main menu -> option a , b and c a menu -> option 1 ,2 and 3 b menu -> option 1 ,2 c menu -> option 1 ,2 i am getting headache as my code kept getting unexpected EOF ---------- Post... (0 Replies)
Discussion started by: chercm
0 Replies

8. UNIX for Beginners Questions & Answers

Gnome 3.28.3 menu item dissapears under the system menu

I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome. Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
DtWsmGetWorkspaceInfo(library call)									       DtWsmGetWorkspaceInfo(library call)

NAME
DtWsmGetWorkspaceInfo -- get detailed workspace information SYNOPSIS
#include <Dt/Wsm.h> int DtWsmGetWorkspaceInfo( Display *display, Window root, Atom aWorkspace, DtWsmWorkspaceInfo **ppWsInfo); DESCRIPTION
The DtWsmGetWorkspaceInfo function works with the CDE workspace manager, dtwm(1), and returns detailed information on a specific workspace. The display argument is the X display. The root argument is the root window of the screen of interest. The aWorkspace argument is the workspace name (converted to an X atom). The *ppWsInfo argument is the address of a variable to receive the returned pointer to the workspace information data. The DtWsmWorkspaceInfo structure contains at least the following members: Atom workspace The workspace name (con- verted to an X atom). unsigned long bg The pixel ID used for the background color of the backdrop. unsigned long fg The pixel ID used for the foreground color of the backdrop. Atom backdropName The backdrop file name (converted to an X atom). The file must be in either X Bitmap file format (with extension .bm) or X Pixmap file format (with extension .pm). The workspace man- agement services look for the file along the same path used for searching icons. The directory /usr/dt/backdrops is the default directory if the file cannot be found along the icon search path. int colorSetId The colorset number used for this workspace, which affects the backdrop color and the button color for this workspace on the front panel. char *pchTitle The title displayed in the button for this workspace on the front panel. This string is interpreted in the locale in which the CDE workspace manager, dtwm(1), is running. The title is different from the workspace name. The workspace name, when con- verted from an X atom, is used as the identifier for a workspace in the workspace manager function calls. The CDE workspace manager, dtwm(1). also uses the workspace name as a resource name; thus, the characters used in a workspace name are restricted to the charac- ters in the X Portable Character Set. The workspace name for a workspace created from the front panel is generated automatically by the CDE workspace manager, dtwm(1). Window *backdropWindows A pointer to an array of windows that make up the backdrop. int numBackdropWindows The number of elements in the backdropWindows array. RETURN VALUE
Upon successful completion, the DtWsmGetWorkspaceInfo function returns Success and the workspace manager returns in *ppWsInfo a pointer to a DtWsmInfo structure that contains information about the workspace aWorkspace; otherwise, it returns a value not equal to Success. APPLICATION USAGE
If the DtWsmGetWorkspaceInfo function is not successful, failure may be due to a memory allocation error or failure to find the correct workspace information (that is, the CDE workspace manager, dtwm(1), is not running). The application must use the DtWsmFreeWorkspaceInfo(3) function to free the data returned in *ppWsInfo. The *backdropWindows pointer may be useful for applications that are interested in some events on the root window. Since the backdrop covers the root window, the backdrop catches the button events before they reach the root. SEE ALSO
Dt/Wsm.h - DtWsm(5), dtwm(1), DtWsmGetWorkspaceList(3), DtWsmFreeWorkspaceInfo(3). DtWsmGetWorkspaceInfo(library call)
All times are GMT -4. The time now is 06:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy