CDE loging window resize?


 
Thread Tools Search this Thread
Operating Systems Solaris CDE loging window resize?
# 1  
Old 02-16-2006
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 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...
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. UNIX for Advanced & Expert Users

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

NAME
DtWsmAddWorkspaceFunctions -- add workspace functions for a window SYNOPSIS
#include <Dt/Wsm.h> void DtWsmAddWorkspaceFunctions( Display *display, Window window); DESCRIPTION
The DtWsmAddWorkspaceFunctions function enables workspace functions for a window. When workspace functions are enabled, the default window menu for the window displayed by the CDE workspace manager, dtwm(1), shows entries that allow the window to occupy a different set of workspaces, occupy all workspaces, or be removed from the current workspace. The display argument is the X display. The window argument is the window to have its workspace functions enabled. RETURN VALUE
The DtWsmAddWorkspaceFunctions function returns no value. APPLICATION USAGE
The application must call the DtWsmAddWorkspaceFunctions function before mapping the window. The CDE workspace manager, dtwm(1), only looks at the workspace function information at the time the workspace manager manages the window. If the CDE workspace manager, dtwm(1), is currently managing the window, the application must withdraw the window (see XWithdrawWindow(3)), add the workspace functions, and map the window once again. By default, the workspace manager enables workspace functions. The application should call DtWsmAddWorkspaceFunctions to restore the workspace functions removed by the DtWsmRemoveWorkspaceFunctions(3) function. SEE ALSO
Dt/Wsm.h - DtWsm(5), XWithdrawWindow(3), dtwm(1), DtWsmRemoveWorkspaceFunctions(3). DtWsmAddWorkspaceFunctions(library call)