Wiki Table of Contents

Guide to smxi/sgfxi/inxi

On this page:

What is smxi?

smxi is a script written by a programmer named “h2” that enables users to keep their antiX OS installation up-to-date and running as a rolling release.

What can smxi do?

When run, smxi allows users to install a new kernel, install ATI and nVidia graphics drivers, run apt-get upgrade or apt-get dist-upgrade safely, change antiX to a Sid-based system, and lots more!

The script is self explanatory. For usage options, execute smxi -h.

How do you use smxi?

smxi is already installed in antiX and ready to run. smxi must be run outside of the X window system. To get out of X when on your desktop, press Ctrl-Alt-F1 to get to a terminal prompt. Log in as root, and then type:


smxi will stop X and ask a series of questions the first time it is run, including which system options you want to run (ie default, aptosid, sid). antiX developer anticapitalista suggests

  • selecting the continue-no-changes option
  • using apt-get (rather than aptitude)
  • choosing apt-get dist-upgrade

If you want to run smxi before booting to the desktop, add 3 to the end of the kernel line in GRUB’s menu entry for any antiX flavor (type e when on the menu to be able to edit it) and it will boot directly to the console. After smxi has completed its operations it will ask if you want to start the desktop.


smxi -G 

in a root terminal while inside a running X session allows certain features of smxi to run, such as removing unwanted kernels etc.

What about sgfxi? What does that do?

sgfxi is the script in smxi that deals with installing graphical drivers. As with smxi, it must be run out of X desktop by pressing Ctrl-Alt-F1 to get to a terminal prompt. Log in as root, and then type:


1. Follow the prompts for the first part, where you want to hit Return for “yes” or “OK” each time. After it has run, you may see one of two options:

  • if installing fglrx, the program recommends shutting down for 30 seconds, which you should do.
  • if installing nvidia, that recommendation will likely be missing but we recommend shutting down as well

2.For both drivers, when starting it up again, hit “e” when the GRUB screen comes up, and add a “3” (without quotes) to the end of the line beginning with “linux” and use F10 to boot This will bring you to a login prompt: enter “root” as the user, followed by root’s password, Then run sgfxi a second time to complete the installation.

3. When that finishes, you will have a choice to “start-desktop” or exit. You will either be left in the desktop or back at a login prompt, in which case login as root again and run startx manually. If however you are left with a black screen and a blinking cursor, use Ctrl-Alt-F1 to return to a prompt, login in as root again and type “reboot.”

What is inxi?

Also included in antiX is inxi, another script from h2. inxi is a convenient command line system information script. Run inxi -h for all the options available. To update, run inxi -U as root user to get the updated man page (may be disabled by default).

The most widely used command is probably one that provides a succinct system overview:

inxi -F

Other common commands include:

  • inxi -G, for graphic information
  • inxi -N, for network information
  • inxi -A, for audio information

Details can be found on the man page.

antiX also comes with a gui front end to inxi called inxi-gui. Find it in Control Centre-→Hardware-→PC Information or type inxi-gui in a terminal.

v. 20150620

Leave a Comment

MX Linux