* CDE stratup action
@ 1998-12-10 5:00 Nikola Milutinovic
1998-12-17 5:00 ` CDE stratup action - SOLVED Nikola Milutinovic
0 siblings, 1 reply; 2+ messages in thread
From: Nikola Milutinovic @ 1998-12-10 5:00 UTC (permalink / raw)
Hi all.
I have Digital UNIX 4.0D and Common Desktop Environment (CDE) as window
manager. I would like to do some actions automatically when I log on X
Windows and NOT when I login via telnet. Namely, I would like to set
background color of root X display and remap keyboard. And I need to
execute these two commands upon login:
/usr/bin/X11/xsetroot -solid rgb:33/66/99 # A very nice shade of blue
/usr/bin/X11/xmodmap ~/.dxkeycaps # Keyboard
In older, Motif Window Manager, all such commands were placed in
~/.X11Startup. Is there an equivalent for CDE? Or could someone tell me
if there is a resource which controls this (color of root X window).
I could make a hack in my .zprofile to recognize when I have logged in
from dtlogin and set the color, but that is so crude...
TYIA,
Nix.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: CDE stratup action - SOLVED
1998-12-10 5:00 CDE stratup action Nikola Milutinovic
@ 1998-12-17 5:00 ` Nikola Milutinovic
0 siblings, 0 replies; 2+ messages in thread
From: Nikola Milutinovic @ 1998-12-17 5:00 UTC (permalink / raw)
Nikola Milutinovic wrote:
>
> Hi all.
>
> I have Digital UNIX 4.0D and Common Desktop Environment (CDE) as window
> manager. I would like to do some actions automatically when I log on X
> Windows and NOT when I login via telnet. Namely, I would like to set
> background color of root X display and remap keyboard. And I need to
> execute these two commands upon login:
>
> /usr/bin/X11/xsetroot -solid rgb:33/66/99 # A very nice shade of blue
> /usr/bin/X11/xmodmap ~/.dxkeycaps # Keyboard
>
> In older, Motif Window Manager, all such commands were placed in
> ~/.X11Startup. Is there an equivalent for CDE? Or could someone tell me
> if there is a resource which controls this (color of root X window).
"When all else fails, Read The Fu***** Manual"
All commands that need to be executed after succesful CDE login or
logout should be put in the following files:
~/.dt/sessions/sessionetc - login
~/.dt/sessions/sessionexit - logout
Nix.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-12-17 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-10 5:00 CDE stratup action Nikola Milutinovic
1998-12-17 5:00 ` CDE stratup action - SOLVED Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox