antiX 19 LightDM IceWM Nitrogen Loses Wallpaper on Reboot/Logout

Forum Forums New users New Users and General Questions antiX 19 LightDM IceWM Nitrogen Loses Wallpaper on Reboot/Logout

  • This topic has 12 replies, 3 voices, and was last updated Jun 18-8:18 pm by rej.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #61781
    Member
    rej

      Hi-

      I am running IceWM with LightDM and Nitrogen – it puts the Wallpaper on the desktop but on logout loses it.

      Startup “nitrogen –restore &” does not restore it.

      Does it conflict with the wallpaper option in the control center?

      Or cannot restore wallpaper by any means in IceWM LightDM?

      Thank you.

      #61810
      Forum Admin
      Dave
        Helpful
        Up
        0
        ::

        What startup file did you put the command in?

        Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

        #61822
        Member
        rej
          Helpful
          Up
          0
          ::

          Hi Dave-

          /home/rj/.icewm/startup

          #61831
          Forum Admin
          Dave
            Helpful
            Up
            0
            ::

            OK. Does the command work if you run it manually in terminal?
            Do other items in the startup file run?

            A few things
            Maybe post the contents of /home/rj/.icewm/startup; you may have a malformed line prior to the nitrogen one.
            Make sure lightdm is running icewm-session not icewm. Otherwise the startup file is not even called.
            If I recall correctly the startup file will need to have execute permissions. Make sure it does and/or try with execute permissions if it does not have them.

            Any particular feature in nitrogen vs the default wallpaper app that you are looking for? Otherwise you could add desktop-session-wallpaper & to the icewm startup file to use the default one.

            Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

            #61900
            Member
            rej
              Helpful
              Up
              0
              ::

              Thanks so much for your help!

              OK. Does the command work if you run it manually in terminal?

              •No [does not restore the wallpaper]

              Do other items in the startup file run?

              • No none of them run.

              A few things
              Maybe post the contents of /home/rj/.icewm/startup; you may have a malformed line prior to the nitrogen one.

              #!/bin/bash
              #Turn on xscreensaver
              xscreensaver &
              # Auto suspend after 15 min
              xautolock -time 10 -locker "sudo /usr/sbin/pm-suspend" -detectsleep &
              sleep 1 &&
              nitrogen --restore &

              Make sure lightdm is running icewm-session not icewm. Otherwise the startup file is not even called.

              • Not sure where that is –

              [usr-share-xsessions] icewm-session (File)?

              [Desktop Entry]
              Encoding=UTF-8
              Type=XSession
              Name=IceWM Session
              Name[da]=IceWM-session
              GenericName=Window Manager
              GenericName[da]=Vindueshåndtering
              GenericName[fr]=Gestionnaire de Fenêtres
              GenericName[pt]=Gestor de Janelas
              Comment=This session logs you into IceWM
              Comment[az]=Bu iclas sizi IceWM'a daxil edəcək
              Comment[be]=Гэтая сэсыя завядзе вас у IceWM
              Comment[ca]=Aquesta sessió entra en IceWM
              Comment[cs]=Toto sezení vás přihlásí do IceWM
              Comment[cy]=Mae'r sesiwn hwn yn eich mewngofnodi i IceWM
              Comment[da]=Denne session logger dig ind på IceWM
              Comment[de]=Diese Sitzung meldet Sie an IceWM an
              Comment[el]=Αυτή η συνεδρία σας εισάγει στο IceWM
              Comment[es]=Con esta sesión accede a IceWM
              Comment[fi]=Tämä istunto kirjaa sisään IceWMen
              Comment[fr]=Cette session vous connectera dans IceWM
              Comment[he]=תצורת הפעלה זו מחברת אותך ל IceWM
              Comment[hi]=यह सत्र गनोम में लॉगिन होगा
              Comment[hu]=Ez a munkamenet a IceWM-ba jelentkeztet be
              Comment[it]=Sessione di lavoro con IceWM
              Comment[ja]=IceWM セッションにログインします
              Comment[ko]=IceWM세션으로 로그인합니다
              Comment[ms]=Sesi ini akan log anda  ke IceWM
              Comment[nl]=Deze sessie meldt u aan bij IceWM
              Comment[nn]=Denne økta loggar på IceWM
              Comment[no]=Denne sesjonen logger deg inn til IceWM
              Comment[pl]=Sesja logowania do IceWM
              Comment[pt]=Esta sessão inicia-o no IceWM
              Comment[pt_BR]=Logar no ambiente IceWM
              Comment[ro]=Această sesiune vă va loga în IceWM
              Comment[sk]=Toto sedenie vás prihlási do prostredia IceWM
              Comment[sl]=Ta seja vas prijavi v IceWM
              Comment[sq]=Kjo seancë do t'ju fusë në IceWM
              Comment[sr@Latn]=Ova sesija vas prijavljuje na IceWM
              Comment[sr]=Ова сесија вас пријављује на IceWM
              Comment[sv]=Denna session loggar in dig i IceWM
              Comment[tr]=Bu oturum ile IceWM'a giriş yaparsınız
              Comment[uk]=Сеанс роботи в середовищі IceWM
              Comment[vi]=Session này cho bạn đăng nhập vào IceWM
              Comment[zh_CN]=此会话使您登录到 IceWM
              Comment[zh_TW]=選取這個作業階段後會進入 IceWM 環境
              Icon=icewm
              TryExec=/usr/bin/icewm-session
              Exec=icewm-session
              NoDisplay=false
              Hidden=false
              Categories=WindowManager;Application;System;
              StartupNotify=false
              X-GNOME-Autostart-Notify=false
              X-GNOME-Autostart-Phase=WindowManager
              X-GNOME-Provides=windowmanager
              X-GNOME-WMName=icewm
              DesktopNames=ICEWM
              X-LightDM-DesktopName=icewm
              
              [Window Manager]
              Name=icewm
              SessionManaged=true
              StartupNotification=false

              If I recall correctly the startup file will need to have execute permissions. Make sure it does and/or try with execute permissions if it does not have them.

              • It looks as though it has executable permissions.

              Any particular feature in nitrogen vs the default wallpaper app that you are looking for? Otherwise you could add desktop-session-wallpaper & to the icewm startup file to use the default one.

              •Using LightDM, the wallpaper option in the control center doesn’t function (black or “debian” background). I also prefer Nitrogen, because it has many features and is fast.

              • This reply was modified 1 year, 10 months ago by rej.
              #61905
              Anonymous
                Helpful
                Up
                0
                ::

                tested, launched via commandline in antix 19 Full:

                rox-icewm session —v

                demo@antix1:/home/demo
                $ nitrogen --restore
                UNKNOWN ROOT WINDOW TYPE DETECTED (ROX-Filer), please file a bug

                icewm session —v

                no error message, and (but) no effect

                fluxbox session —v
                space-fluxfox —v
                zzzfm-fluxbox session —v

                nitrogen works, successfully restores its last saved wallpaper image

                $ apt show nitrogen
                Package: nitrogen
                Version: 1.6.1-2
                [..]
                APT-Sources: http://ftp.us.debian.org/debian buster/main amd64 Packages

                So, rej, you can file a bug report here:
                https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=nitrogen;dist=unstable

                #61912
                Member
                rej
                  Helpful
                  Up
                  0
                  ::

                  Thanks Skidoo-

                  I have Nitrogen working with the same setup in MX19 IceWM with LightDM.

                  Is Rox-Filer associated with LightDM? Or is the posted result from SLiM?

                  I am wondering if there is something in antiX configuration preventing it from overriding the default wallpaper settings.

                  It might not be possible to use Nitrogen in antiX IceWM.

                  #61913
                  Forum Admin
                  Dave
                    Helpful
                    Up
                    0
                    ::

                    I am wondering if there is something in antiX configuration preventing it from overriding the default wallpaper settings.

                    It might not be possible to use Nitrogen in antiX IceWM.

                    No there is not. Or at least there should be no reason for it to work not.
                    It should by all means work so I am not sure why it does not work for you. antiX had used nitrogen in the past.

                    If it is not working from terminal there is another issue at play. Most likely not a startup issue.
                    Is the save file still there after logout / login? Is it still a valid configuration?
                    ~/.config/nitrogen/bg-saved.cfg

                    Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

                    #61914
                    Member
                    rej
                      Helpful
                      Up
                      0
                      ::

                      If it is not working from terminal there is another issue at play. Most likely not a startup issue.
                      Is the save file still there after logout / login? Is it still a valid configuration?
                      ~/.config/nitrogen/bg-saved.cfg

                      Yes-

                      [xin_-1]
                      file=/home/rj/Pictures/user acct icon scaled 320 tiling.png
                      mode=1
                      bgcolor=#000000

                      I changed the WM to SLiM and now everything in startup works, except for Nitrogen.

                      Screenblanking also now works in SLiM, but did not in LightDM.

                      Nitrogen no longer works at all.

                      rj@antix19rj:~
                      $ sudo nitrogen
                      
                      (nitrogen:5792): GLib-GIO-ERROR **: 00:31:07.064: Settings schema 'org.gnome.desktop.background' does not contain a key named 'draw-background'
                      Trace/breakpoint trap
                      rj@antix19rj:~
                      $ 

                      It would set the wallpaper in LightDM, just not save it.

                      Nothing in SLiM.

                      I had tested the Bullseye Alpha and found that the same issue will be present with imported “plain text documents” changing into “executable” when copied to antiX SLiM and hoped that since LightDM doesn’t do that, I could use Nitrogen to have wallpaper and use it that way.

                      #61917
                      Forum Admin
                      Dave
                        Helpful
                        Up
                        0
                        ::

                        Maybe try renaming the wallpaper so that there are no spaces in the name.

                        Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

                        #61924
                        Anonymous
                          Helpful
                          Up
                          0
                          ::

                          rej,

                          it’s known issue, not antiX -specific, affecting even users of “gnome, under manjaro”
                          https://github.com/l3ib/nitrogen/issues/131

                          Toward chasing a solution, here’s a startpage.com search query:

                          GLib-GIO-ERROR Settings schema org.gnome.desktop.background “background”

                          #61928
                          Member
                          rej
                            Helpful
                            Up
                            0
                            ::

                            Thanks Skidoo-

                            GLib-GIO-ERROR Settings schema org.gnome.desktop.background “background”

                            That issue comes up only with SLiM for me, not LightDM. Nitrogen works perfectly in antiX IceWM with LightDM otherwise. My problem is getting the “Startup” file to work with LightDM. The entire “Startup” file does not function in LightDM, but it does in SLiM. Nitrogen does not function at all in SLiM and perhaps that where the bug is.

                            “Fails to set the background image” is not a problem I am having – it does set the background image. It doesn’t restore it, because everything in my “Startup” is not working.

                            #61929
                            Member
                            rej
                              Helpful
                              Up
                              0
                              ::

                              Thank you Dave-

                              Maybe try renaming the wallpaper so that there are no spaces in the name.

                              Yes – I had remembered that from testing beta 19 and it did not work.

                              I am pretty certain that if I could get “Startup” to work in LightDM, it would solve the problem.

                              Is there any place else to put “Startup” for LightDM apart from /home/rj/.icewm?

                            Viewing 13 posts - 1 through 13 (of 13 total)
                            • You must be logged in to reply to this topic.