From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,b641e8218b12329e X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,b641e8218b12329e X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: CDE stratup action - SOLVED Date: 1998/12/17 Message-ID: <3678D46F.C84A1FBA@ev.co.yu>#1/1 X-Deja-AN: 423202402 Content-Transfer-Encoding: 7bit References: <366FD2C3.9AD53F6A@ev.co.yu> 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 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.