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
DtWsmGetWorkspacesOccupied(library call)								  DtWsmGetWorkspacesOccupied(library call)

NAME
DtWsmGetWorkspacesOccupied -- get the workspaces in which a window resides SYNOPSIS
#include <Dt/Wsm.h> Status DtWsmGetWorkspacesOccupied( Display *display, Window window, Atom **ppaWorkspaces, int *pNumWs); DESCRIPTION
The DtWsmGetWorkspacesOccupied function works with the CDE workspace manager, dtwm(1), and returns the list of workspaces in which this window resides. Each element of the list is the name of a workspace (converted to an X atom). The display argument is the X display. The window argument is the window of interest. The *ppaWorkspaces argument is the address of a pointer to receive the pointer to a list of workspace names (converted to X atoms). The pNumWs argument is the address of an integer to receive the number of elements in the list of workspaces returned in *ppaWorkspaces. RETURN VALUE
Upon successful completion, the DtWsmGetWorkspacesOccupied function returns Success and the workspace manager returns in *ppaWorkspaces a list of atoms identifying the occupied workspaces, and returns in pNumWs the number of occupied workspaces; otherwise, it returns a value not equal to Success. APPLICATION USAGE
If the DtWsmGetWorkspacesOccupied function is not successful, failure may be due to a memory allocation error or failure to find the cor- rect workspace information (that is, the CDE workspace manager, dtwm(1), is not running). The application must use XtFree(3) to free data returned in *ppaWorkspaces. SEE ALSO
Dt/Wsm.h - DtWsm(5), XtFree(3), dtwm(1). DtWsmGetWorkspacesOccupied(library call)