!!! This is for Rocky Linux 10 with GNOME 47 !!!

When nautilus is launched with root privileges, it intentionally imposes a 7-second startup delay as a safety measure to discourage graphical operations under the root account. While this serves as a proactive warning, it may create unnecessary obstacles for some experienced Linux administrators.

To resolve this, I have modified the source code of nautilus downloaded from the Rocky Linux repositories and rebuilt customized RPM packages. The rebuilt version eliminates the artificial delay, allowing immediate file manager access when running as root. It is quite easy to do so, see "https://growl1234.readthedocs.io/linux/rocky/root.html" (in Chinese) for detail.

Since the system don't include "nautilus-devel" by default, simply replacing the existing "nautilus" and "nautilus-extensions" packages with the modified versions is enough. The command is "rpm -ivh --reinstall nautilus-47.1-1.el10.x86_64.rpm" and "rpm -ivh --reinstall nautilus-extensions-47.1-1.el10.x86_64.rpm". 

If you're not familiar with Linux, it is best to avoid login as root. In that case, these RPM packages won't be useful for you.

[The English text is translated with the help of AI. Below is original text in Chinese.]

当以root用户运行nautilus（Linux系统GNOME图形界面下的文件资源管理器）时候，它会针对性地延迟7秒钟启动，目的是警示并迫使用户不在root下运行图形界面，这对于一部分已有一定使用经验的Linux使用者并不友好。我对从Rocky Linux仓库下载的nautilus源代码进行了修改，并重新构建了rpm安装包，该安装包不存在这一问题，替换掉原来的nautilus后可以在root帐户下立即、无障碍地打开文件窗口。修改源代码相当简单，详见“https://growl1234.readthedocs.io/linux/rocky/root.html”。

通常情况下，系统不自带“nautilus-devel”，因此只需要覆盖安装“nautilus”和“nautilus-extensions”两个rpm包即可，指令分别是"rpm -ivh --reinstall nautilus-47.1-1.el10.x86_64.rpm"和"rpm -ivh --reinstall nautilus-extensions-47.1-1.el10.x86_64.rpm"。 

如果你对Linux经验不足，一般不建议贸然使用root用户，因此这几个rpm安装包也派不上用场。

