Page MenuHomeSolus

GSmartControl can't update drive database due to missing "xterm"
Closed, ResolvedPublic

Description

When attempting to run "Options" : "Update Drive Database" in GSmartControl, the execution fails with the following error message.

Error Updating Drive Database
Failed to execute child process "xterm" (No such file or directory)

See https://dev.getsol.us/T1220 as it relates.

Revisions and Commits

Event Timeline

This offends me:

#ifndef _WIN32
    update_binary = "xterm -hold -e " + update_binary;
#endif

    hz::scoped_ptr<GError> spawn_error(0, g_error_free);
    if (!g_spawn_command_line_async(update_binary.c_str(), &spawn_error.get_ref())) {
        gui_show_error_dialog("Error Updating Drive Database", spawn_error->message, this);
    }

They are using xterm to run the command. I'm fairly certain that's unnecessary. Let's try patching that out, shall we?

Should sort you until next sync:

sudo eopkg it https://mirrors.rit.edu/solus/packages/unstable/g/gsmartcontrol/gsmartcontrol-1.1.3-4-1-x86_64.eopkg