Discussion:
[Grml] Having a way to set default X session manager
Michael Whapples
2009-08-02 23:30:29 UTC
Permalink
Hello,
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.

Would it be possible to add such a feature?

Michael Whapples
Michael Prokop
2009-08-02 23:32:56 UTC
Permalink
Post by Michael Whapples
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.
Would it be possible to add such a feature?
How about running:

update-alternatives --config x-window-manager

and using x-window-manager as window manager in ~/.xinitrc then?

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20090803/3144a8d2/attachment.pgp
Michael Prokop
2009-08-05 11:37:07 UTC
Permalink
Post by Michael Prokop
Post by Michael Whapples
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.
Would it be possible to add such a feature?
update-alternatives --config x-window-manager
and using x-window-manager as window manager in ~/.xinitrc then?
JFTR: Michael mailed me off-the-list and I implemented the according
parts so x-window-manager is our default setting in ~/.xinitrc now.
See http://bts.grml.org/grml/issue716 for details (bug will be
closed by upload of a new grml-live version which implements the
update-alternatives handling for x-window-manager).

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mur.at/pipermail/grml/attachments/20090805/fa93b068/attachment.pgp
Michael Prokop
2009-08-05 11:37:07 UTC
Permalink
Post by Michael Prokop
Post by Michael Whapples
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.
Would it be possible to add such a feature?
update-alternatives --config x-window-manager
and using x-window-manager as window manager in ~/.xinitrc then?
JFTR: Michael mailed me off-the-list and I implemented the according
parts so x-window-manager is our default setting in ~/.xinitrc now.
See http://bts.grml.org/grml/issue716 for details (bug will be
closed by upload of a new grml-live version which implements the
update-alternatives handling for x-window-manager).

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20090805/fa93b068/attachment-0002.pgp>
Michael Prokop
2009-08-05 11:37:07 UTC
Permalink
Post by Michael Prokop
Post by Michael Whapples
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.
Would it be possible to add such a feature?
update-alternatives --config x-window-manager
and using x-window-manager as window manager in ~/.xinitrc then?
JFTR: Michael mailed me off-the-list and I implemented the according
parts so x-window-manager is our default setting in ~/.xinitrc now.
See http://bts.grml.org/grml/issue716 for details (bug will be
closed by upload of a new grml-live version which implements the
update-alternatives handling for x-window-manager).

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20090805/fa93b068/attachment-0003.pgp>
Michael Whapples
2009-08-02 23:30:29 UTC
Permalink
Hello,
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.

Would it be possible to add such a feature?

Michael Whapples
Michael Prokop
2009-08-02 23:32:56 UTC
Permalink
Post by Michael Whapples
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.
Would it be possible to add such a feature?
How about running:

update-alternatives --config x-window-manager

and using x-window-manager as window manager in ~/.xinitrc then?

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20090803/3144a8d2/attachment-0002.pgp>
Michael Whapples
2009-08-02 23:30:29 UTC
Permalink
Hello,
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.

Would it be possible to add such a feature?

Michael Whapples
Michael Prokop
2009-08-02 23:32:56 UTC
Permalink
Post by Michael Whapples
Currently when GRML is installed to HD it creates the user home
directory with a .xinitrc file with a window manager (looking closer at
alternatives it seems this really should be called x session manager).
This makes it impossible for a system wide default window manager to be
set. I remember that slackware offered a feature where a default system
window manager could be set and such a feature would be useful in GRML.
Obviously should a user want to use something other than the default
then they can do so by running grml-x or manually create the ~/.xinitrc
file.
Would it be possible to add such a feature?
How about running:

update-alternatives --config x-window-manager

and using x-window-manager as window manager in ~/.xinitrc then?

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://ml.grml.org/pipermail/grml/attachments/20090803/3144a8d2/attachment-0003.pgp>
Loading...