From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,b641e8218b12329e,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,b641e8218b12329e,start X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: CDE stratup action Date: 1998/12/10 Message-ID: <366FD2C3.9AD53F6A@ev.co.yu>#1/1 X-Deja-AN: 420807304 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EPS JP Elektrovojvodina Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.unix.questions 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.