Use a different window manager with gnome3?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I just installed Ubuntu 17.10 over the weekend (I just switched from Arch) and I've been using the stock gnome3 based "Ubuntu on Xorg" desktop environment, but my primary window manager on Arch was StumpWM.



I like the notification system, auto-detection of devices like printers, and the overall "just works" that Ubuntu/Gnome provides, but I still miss the way StumpWM manages my windows.



I remember when I last used Gnome maybe 10 years ago or so that you could easily switch from Metacity/Sawfish to whatever window manager you choose, but I haven't figured out how to do that with gnome3. I've tried to create a new stumpwm.desktop file under /usr/share/xsessions/gnome-stump.desktop with the following:



[Desktop Entry]
Name=StumpGnome
Comment=Gnome with StumpWM managing windows
TryExec=gnome-session
Exec=gnome-session --session=stumpwm
Type=Application


I also have the following in /usr/share/gnome-session/sessions/stumpwm.session



[GNOME Session]
Name=StumpWM
RequiredComponents=org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;stumpwm


However, when I try to log in to the StumpGnome session I just get a black screen and then I'm taken back to the GDM prompt. I think this might have something to do with Wayland vs Xorg, but I'm not sure how to verify that because I don't know where the relevant logs would be.



I have three questions. First and most importantly, how do I use StumpWM as the window manager with gnome3? Second, how do I specify that I'd like to use Xorg instead of Wayland for an Xsession desktop entry? Lastly, where can I find the logs relevant to failed desktop environment initialization?



Thanks a lot.







share|improve this question
























    up vote
    1
    down vote

    favorite












    I just installed Ubuntu 17.10 over the weekend (I just switched from Arch) and I've been using the stock gnome3 based "Ubuntu on Xorg" desktop environment, but my primary window manager on Arch was StumpWM.



    I like the notification system, auto-detection of devices like printers, and the overall "just works" that Ubuntu/Gnome provides, but I still miss the way StumpWM manages my windows.



    I remember when I last used Gnome maybe 10 years ago or so that you could easily switch from Metacity/Sawfish to whatever window manager you choose, but I haven't figured out how to do that with gnome3. I've tried to create a new stumpwm.desktop file under /usr/share/xsessions/gnome-stump.desktop with the following:



    [Desktop Entry]
    Name=StumpGnome
    Comment=Gnome with StumpWM managing windows
    TryExec=gnome-session
    Exec=gnome-session --session=stumpwm
    Type=Application


    I also have the following in /usr/share/gnome-session/sessions/stumpwm.session



    [GNOME Session]
    Name=StumpWM
    RequiredComponents=org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;stumpwm


    However, when I try to log in to the StumpGnome session I just get a black screen and then I'm taken back to the GDM prompt. I think this might have something to do with Wayland vs Xorg, but I'm not sure how to verify that because I don't know where the relevant logs would be.



    I have three questions. First and most importantly, how do I use StumpWM as the window manager with gnome3? Second, how do I specify that I'd like to use Xorg instead of Wayland for an Xsession desktop entry? Lastly, where can I find the logs relevant to failed desktop environment initialization?



    Thanks a lot.







    share|improve this question






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I just installed Ubuntu 17.10 over the weekend (I just switched from Arch) and I've been using the stock gnome3 based "Ubuntu on Xorg" desktop environment, but my primary window manager on Arch was StumpWM.



      I like the notification system, auto-detection of devices like printers, and the overall "just works" that Ubuntu/Gnome provides, but I still miss the way StumpWM manages my windows.



      I remember when I last used Gnome maybe 10 years ago or so that you could easily switch from Metacity/Sawfish to whatever window manager you choose, but I haven't figured out how to do that with gnome3. I've tried to create a new stumpwm.desktop file under /usr/share/xsessions/gnome-stump.desktop with the following:



      [Desktop Entry]
      Name=StumpGnome
      Comment=Gnome with StumpWM managing windows
      TryExec=gnome-session
      Exec=gnome-session --session=stumpwm
      Type=Application


      I also have the following in /usr/share/gnome-session/sessions/stumpwm.session



      [GNOME Session]
      Name=StumpWM
      RequiredComponents=org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;stumpwm


      However, when I try to log in to the StumpGnome session I just get a black screen and then I'm taken back to the GDM prompt. I think this might have something to do with Wayland vs Xorg, but I'm not sure how to verify that because I don't know where the relevant logs would be.



      I have three questions. First and most importantly, how do I use StumpWM as the window manager with gnome3? Second, how do I specify that I'd like to use Xorg instead of Wayland for an Xsession desktop entry? Lastly, where can I find the logs relevant to failed desktop environment initialization?



      Thanks a lot.







      share|improve this question












      I just installed Ubuntu 17.10 over the weekend (I just switched from Arch) and I've been using the stock gnome3 based "Ubuntu on Xorg" desktop environment, but my primary window manager on Arch was StumpWM.



      I like the notification system, auto-detection of devices like printers, and the overall "just works" that Ubuntu/Gnome provides, but I still miss the way StumpWM manages my windows.



      I remember when I last used Gnome maybe 10 years ago or so that you could easily switch from Metacity/Sawfish to whatever window manager you choose, but I haven't figured out how to do that with gnome3. I've tried to create a new stumpwm.desktop file under /usr/share/xsessions/gnome-stump.desktop with the following:



      [Desktop Entry]
      Name=StumpGnome
      Comment=Gnome with StumpWM managing windows
      TryExec=gnome-session
      Exec=gnome-session --session=stumpwm
      Type=Application


      I also have the following in /usr/share/gnome-session/sessions/stumpwm.session



      [GNOME Session]
      Name=StumpWM
      RequiredComponents=org.gnome.SettingsDaemon.A11yKeyboard;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Clipboard;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Mouse;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;stumpwm


      However, when I try to log in to the StumpGnome session I just get a black screen and then I'm taken back to the GDM prompt. I think this might have something to do with Wayland vs Xorg, but I'm not sure how to verify that because I don't know where the relevant logs would be.



      I have three questions. First and most importantly, how do I use StumpWM as the window manager with gnome3? Second, how do I specify that I'd like to use Xorg instead of Wayland for an Xsession desktop entry? Lastly, where can I find the logs relevant to failed desktop environment initialization?



      Thanks a lot.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 23 at 17:59









      732

      1093




      1093




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          As GNOME Shell is the window manager, no, you can't really replace the WM and run GNOME Shell (ie GNOME 3).



          You are trying to create a session in the same way you would have with GNOME 2.x 10 years ago. This does not work with modern systemd and such. You will have to create a systemd target for the session you wish to define, and do something like this in your gnome-stump.desktop:



          Exec=/usr/lib/gnome-session/run-systemd-session gnome-stump-session.target



          You can browse the normal targets in /usr/lib/systemd/user/ as a reference.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027539%2fuse-a-different-window-manager-with-gnome3%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            As GNOME Shell is the window manager, no, you can't really replace the WM and run GNOME Shell (ie GNOME 3).



            You are trying to create a session in the same way you would have with GNOME 2.x 10 years ago. This does not work with modern systemd and such. You will have to create a systemd target for the session you wish to define, and do something like this in your gnome-stump.desktop:



            Exec=/usr/lib/gnome-session/run-systemd-session gnome-stump-session.target



            You can browse the normal targets in /usr/lib/systemd/user/ as a reference.






            share|improve this answer
























              up vote
              2
              down vote













              As GNOME Shell is the window manager, no, you can't really replace the WM and run GNOME Shell (ie GNOME 3).



              You are trying to create a session in the same way you would have with GNOME 2.x 10 years ago. This does not work with modern systemd and such. You will have to create a systemd target for the session you wish to define, and do something like this in your gnome-stump.desktop:



              Exec=/usr/lib/gnome-session/run-systemd-session gnome-stump-session.target



              You can browse the normal targets in /usr/lib/systemd/user/ as a reference.






              share|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                As GNOME Shell is the window manager, no, you can't really replace the WM and run GNOME Shell (ie GNOME 3).



                You are trying to create a session in the same way you would have with GNOME 2.x 10 years ago. This does not work with modern systemd and such. You will have to create a systemd target for the session you wish to define, and do something like this in your gnome-stump.desktop:



                Exec=/usr/lib/gnome-session/run-systemd-session gnome-stump-session.target



                You can browse the normal targets in /usr/lib/systemd/user/ as a reference.






                share|improve this answer












                As GNOME Shell is the window manager, no, you can't really replace the WM and run GNOME Shell (ie GNOME 3).



                You are trying to create a session in the same way you would have with GNOME 2.x 10 years ago. This does not work with modern systemd and such. You will have to create a systemd target for the session you wish to define, and do something like this in your gnome-stump.desktop:



                Exec=/usr/lib/gnome-session/run-systemd-session gnome-stump-session.target



                You can browse the normal targets in /usr/lib/systemd/user/ as a reference.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 23 at 18:51









                dobey

                31.9k33484




                31.9k33484



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027539%2fuse-a-different-window-manager-with-gnome3%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491