Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PACKAGERS: Changed build system; new su program options in /etc #577
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:
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)
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.