CDE loging window resize?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users CDE loging window resize?
# 1  
Old 02-28-2006
CDE login window resize?

I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did:

1) made the directory /etc/dt/config/C
2) cp /usr/dt/config/C/Xresources /etc/dt/config/C
3) I edited /etc/dt/config/C/Xresources and ensured the following lines were present in MISC block of the file:

Dtlogin*logo*bitmapFile: /usr/snadm/etc/admintool.xpm
Dtlogin*greeting.labelString: Access and use of this machine \nis
restricted to authorized users

4) saved the file and quit

However, the xpm file that is using is warning text and it is to large to display under the normal viewing of, I believe is, 237 by 237 pixels. Is there a way to resize the CDE login screen to accommodate the xpm file? I believe there should be a way because when I enter my user name and then when it asked me to enter my password, and I enter the wrong password and after I click “ok” to the error message then the CDE login window resizes perfectly and the xpm file is seeing in its entirety.

Any suggestions would be greatly appreciated...

Last edited by rtoba; 03-01-2006 at 12:57 PM.. Reason: Mispelled
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

CDE, annoying file manager window. How to get rid of that

Hello, CDE workspace. How to get rid of annoying popping up file manager window which appears every time after logging in. For example.any suggestions, I would be appreciate. (3 Replies)
Discussion started by: wolfgang
3 Replies

2. 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

3. 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

4. Programming

Resize current window with Curses

Hi. I am beginning with Unix C Curses Library and i would like to know if it's possible to resize my current window. In other words, i am working with a Putty Client over my Windows system and with a telnet/ssh connection to linux. I want to build a small linux application using C Curses... (10 Replies)
Discussion started by: pogdorica
10 Replies

5. UNIX for Dummies Questions & Answers

Preventing the terminal window to resize

I am running Terminal (xterm) on FreeBSD and XFCE. When opening a new terminal window so that an additional tab appears, the window resizes to become taller and partially hiding behind the task bar. I noticed that Xubuntu has fixed this feature and the window does not resize when opening a second... (0 Replies)
Discussion started by: figaro
0 Replies

6. UNIX Desktop Questions & Answers

Resize the default window size

Hi, How can I resize the terminal window's default size in CDE (Solaris)? Regards, Sharif. (1 Reply)
Discussion started by: sharif
1 Replies

7. Forum Support Area for Unregistered Users & Account Problems

Loging On

Followed Link To Activate And Couldn't (0 Replies)
Discussion started by: jamal7
0 Replies

8. Solaris

Multiple Hosts on Solaris CDE window

I forgot how to configure multiple host servers on the my CDE windows in Solaris. I'll appreciate any help Thanks, Remi (2 Replies)
Discussion started by: Remi
2 Replies

9. Solaris

CDE loging window resize?

I was asked to display a banner on the CDE login window and I have successfully accomplished that task. This is what I did: 1) made the directory /etc/dt/config/C 2) cp /usr/dt/config/C/Xresources /etc/dt/config/C 3) I edited /etc/dt/config/C/Xresources and ensured the following lines were... (0 Replies)
Discussion started by: rtoba
0 Replies

10. Programming

curses & window resize issues

I am writing a program to display a database to the screen(xterm) and want to allow the window resize signal to increase/decrease the amount data that is displayed. I have a signal handler function for catching the SIGWINCH event and calling a function to reallocate the space for the windows... (0 Replies)
Discussion started by: kwaz
0 Replies
Login or Register to Ask a Question
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)