How to Install Slim

Forum Forums General Software How to Install Slim

  • This topic has 7 replies, 5 voices, and was last updated Oct 19-8:15 pm by calciumsodium.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #65812
    Member
    calciumsodium

      With the help of @Xecure, the following are instructions for installing slim on an antiX system that already has slimski installed. For the purposes of testing, these instructions have worked for me on the antiX21-B2-runit system.

      With zzzfm or rox-filer (launched with sudo), go to /etc/sv/ folder and see if there is a slim folder. If there isn’t (or it is empty):

      0. create the /etc/sv/slim folder.
      1. Go to /etc/sv/slimski folder and copy over the run and finish files to /etc/sv/slim (if those files are not there).
      2. Edit the run file and change the NAME and DAEMON variables at the top (from “slimski” to “slim” in NAME and /usr/bin/slim for DAEMON).

      Next, enable the slim service (if not already enabled).
      sudo ln -sf /etc/sv/slim /etc/service/slim

      Now, about installing slim, the best option is install it with the extra themes package:
      sudo apt install slim slim-themes-extras-antix
      It will ask to which Display Manager you want to set. Select Slim.

      Then reboot.

      Note:
      The Login Manager launched from the Control Centre (Control Centre > Session > Login Manager), lets you switch to any display manager installed (at any time) by clicking the “Change” button. So in case you want to compare differences between the Login Managers, you just need to change it with the program and reboot.

      Note:
      You can change slim settings in two files:
      (1)
      /etc/slim.conf
      (You may want to change default user in this file. You can also change autologin in this file as well.)

      and

      /usr/share/slim/themes/antiX/slim.theme (if you are using the antiX theme)
      (You can change the position of the login screen in this file.)

      Hope this helps.

      • This topic was modified 1 year, 8 months ago by calciumsodium.
      #65813
      Member
      PPC
        Helpful
        Up
        0
        ::

        I’m glad you found a way to use your prefered piece of software. Thanks for sharing the how-to!

        P.

        #65817
        Member
        Xecure
          Helpful
          Up
          0
          ::

          Nice tutorial.

          For anyone with sysvinit instead of runit, they only need to install the slim packages. The installation script that launches the screen to choose Display manager is the only thing needed. The init service script for slim will take over on the next reboot.

          Note:
          You can change slim settings in two files:
          (1)
          /etc/slim.conf
          (You may want to change default user in this file. You can also change autologin in this file as well.)

          You can also enable/disable autologin/default-user and change the slim theme from the Login Manager app. I set it up so it would work with both slim and slimki. The only difference is that you can test the theme with slimski but not with slim (this testing before using is a slimski feature).

          antiX Live system enthusiast.
          General Live Boot Parameters for antiX.

          #65822
          Member
          olsztyn
            Helpful
            Up
            0
            ::

            With the help of @Xecure, the following are instructions for installing slim on an antiX system that already has slimski installed. For the purposes of testing, these instructions have worked for me on the antiX21-B2-runit system.

            Thank you calciumsodium for this tutorial… I might go back to Slim myself if it shaves me a bit of memory footprint (and bloat? – do not know)…
            A question or two though:
            – Is there an aesthetic Slim theme that would be an equivalent of the Default scheme used in slimski? Asking for username and then for password, not both in the same dialog…
            – Slim is just in English? And this is what made antiX owner to implement slimski, which has multiple languages?

            Thanks and Regards…

            Live antiX Boot Options (Previously posted by Xecure):
            https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

            #65823
            Forum Admin
            anticapitalista
              Helpful
              Up
              0
              ::

              I’ll answer question 2 – yes and yes (non English speakers using antiX requested the change).

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #65830
              Member
              Xecure
                Helpful
                Up
                0
                ::

                To not continue to pollute the “Bloat” topic, I will answer some things about slimski vs slim.

                There is the exact same delay after logging in to slim before the wallpaper appears (and covers the slim background) as it happens in slimski.
                This phenomenon is NOT related to the login manager, but it is related to the desktop-session delay. Try it. The only difference is the text over the background in slimski vs slim. The “delay” is the exact same. You will see the slim/slimski background for 2-X seconds until it is covered by the session’s wallpaper.
                This is NOT a bug. Maybe reducing the desktop-session startup delay to 1s will reduce the time the slim(ski( background remains on screen.

                The last change I added to slimski simply regenerates the background and covers everything else as soon as you hit Enter, so the delay is should be exactly the same.

                – Is there an aesthetic Slim theme that would be an equivalent of the Default scheme used in slimski? Asking for username and then for password, not both in the same dialog

                aesthetic is only related to background and panel. Nothing else. Original slim themes before antiX 19 contained the same method of first username, then password method. You could copy the default (or any one to your liking) slimski theme to /usr/share/slim/themes/ and rename the slimski.theme file to slim.theme, edit its contents to match the same variable names (sessiontype_* variables to session_* names) as any slim theme, and then switch the theme and try it out in next reboot (and see how it fairs).

                • This reply was modified 1 year, 8 months ago by Xecure.

                antiX Live system enthusiast.
                General Live Boot Parameters for antiX.

                #65833
                Member
                olsztyn
                  Helpful
                  Up
                  0
                  ::

                  You can also enable/disable autologin/default-user and change the slim theme from the Login Manager app. I set it up so it would work with both slim and slimki.

                  If Login Manager app will also work with Slim (and not just with slim-ski) this is great news. I did not know. Thanks much for this foresightful design…

                  Live antiX Boot Options (Previously posted by Xecure):
                  https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters

                  #69237
                  Member
                  calciumsodium
                    Helpful
                    Up
                    0
                    ::

                    For anyone with sysvinit instead of runit, they only need to install the slim packages. The installation script that launches the screen to choose Display manager is the only thing needed. The init service script for slim will take over on the next reboot.

                    For those running sysvinit, installing slim is as easy as what @Xecure had mentioned.

                    Just use this command:
                    sudo apt install slim slim-themes-extras-antix
                    It will ask to which Display Manager you want to set. Select Slim.

                    Then reboot.

                    Note: I wanted to do autologin, so I modified the /etc/slim.conf file by uncommenting the autologin and the default user. When slim first gets installed, it sets the default user as demo. You will have to manually change this to whatever username you are using in this file. For example:

                    # Automatically login the default user (without entering
                    # the password. Set to "yes" to enable this feature
                    auto_login          yes
                    
                    # default user, leave blank or remove this line
                    # for avoid pre-loading the username.
                    default_user        username

                    For the purposes of testing, this methods works on the antix21 b2-sysvinit 32-bit system.
                    Hope this is useful to anyone who is interested in installing slim.

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