Dtlogin add Window manager

To add other Window managers like (wmaker ,KDE, sawfish ... etc) to dtlogin can be done by creating following three files

1) /usr/dt/config/C/Xresources.d/Xresources.< window_manager >
2) /usr/dt/config/Xsession.< window_manager >
3) /usr/dt/config/Xinitrc.< window_manager >

Before creating files please note that you need to preserve permission while copying file.
(eg: cp -Ppr /usr/dt/config/C/Xresources.d/Xresources.jds /usr/dt/config/C/Xresources.d/Xresources.wmaker)

In above files replace < window_manager > with your custom name eg ( /usr/dt/config/C/Xresources.d/Xresources.wmaker )

Now lets look at files.
In Xresources.wmaker replace altDtName, altDtKey and altDtStart with appropriate file name
=========
#cat /usr/dt/config/C/Xresources.d/Xresources.wmaker
Dtlogin\*altDtsIncrement:        True

Dtlogin\*altDtName:      Window Maker
Dtlogin\*altDtKey:       /usr/local/bin/wmaker
Dtlogin\*altDtStart:     /usr/dt/config/Xsession.wmaker
Dtlogin\*altDtLogo:      JDS_s10
==========

After completing changes create Xsession.wmaker by copying ( cp -rPp /usr/dt/config/Xsession2.jds /usr/dt/config/Xsession.wmaker ). In Xsession.wmaker all you need to do is change the location of Xinitrc.wmaker.

And finally copy ( cp -rPp /usr/dt/config/Xinitrc.jds /usr/dt/config/Xinitrc.wmaker ). In Xinitrc.wmaker Make sure that you update the LD_LIBRARY_PATH,PATH and exec < binary_location > , if your window manager libraries and binaries are in nonstandard path.

Now logout you current session and try loggin in. If any error try logging in fail safe mode and start your custom window manager which could help you in debugging the startup issues.

I have attached all the 3 files for reference.

1) Xresources.wmaker
2) Xsession.wmaker
3) Xinitrc.wmaker
Comments:

I use this method to add a new session for test the libX11.so. FYI: http://blogs.sun.com/weixue/entry/add_new_session_in_dtlogin Could you give me some comment about my method.

Posted by william on August 06, 2007 at 12:48 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

pradhap

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today