PACKAGERS: Changed build system; new su program options in /etc #577

IgnorantGuru opened this Issue Sep 4, 2015 · 1 comment


None yet

1 participant


A few changes were just pushed to next, due for 1.0.4 release, which packagers and others will want to note.

The build system now installs /etc/spacefm/spacefm.conf (if it is not present). Packages should of course be configured to not overwrite a user-modified copy of this file.

If your system has an alternate location for /etc, you can now use the new configure --sysconfdir option to set it like this:

./configure --sysconfdir=/etc

Note that if you change --sysconfdir, SpaceFM will look in the specified dir for fstab, mtab, udevil.conf, and other files normally located in /etc.

New terminal_su and graphical_su options have been added to /etc/spacefm/spacefm.conf. This is intended to replace and provide more flexibility than the old --with-preferable-sudo configure option. Note that if graphical_su is set, it will override the --with-preferable-sudo setting. (Closes #516)

README and the user's manual have been updated to reflect the above changes.

@IgnorantGuru IgnorantGuru added this to the 1.0.4 milestone Sep 4, 2015

Also, if anyone knows the usage of systemd's new su command, I'll add it as a default. I looked but didn't see sufficient details, and I don't use systemd. Run SpaceFM in a terminal and observe the output when you run a command as root using '/bin/su' as your Terminal SU. Then give me what you think the comparable command should be for machinectl. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment