Page 1 of 1

gnome-commander-1.16.0 - 2 pane gtk file manager

Posted: Wed May 24, 2023 11:35 pm
by plinej

https://gcmd.github.io/download.html

Download 64 bit version compiled in Vanilladpup 10:
https://archive.org/download/plinej-pac ... x86_64.pet

I had to edit gnome-cmd-owner.cc to get this to run as root user.

lines 105-117

Code: Select all

    //if (!self->is_root())
    //{
        map <uid_t, set<gid_t> >::iterator x = user_groups.find(self->uid());

        if (x!=user_groups.end())
            for (set<gid_t>::const_iterator i=x->second.begin(); i!=x->second.end(); ++i)
                self->group_names = g_list_prepend (self->group_names, (gpointer) self->groups[*i]);
    //}
    //else
    //    for (map <gid_t, set<uid_t> >::const_iterator i=group_members.begin(); i!=group_members.end(); ++i)
    //        self->group_names = g_list_prepend (self->group_names, (gpointer) self->groups[i->first]);

    //self->group_names = g_list_sort (self->group_names, (GCompareFunc) compare_names); ;

Re: gnome-commander-1.16.0 - 2 pane gtk file manager

Posted: Thu May 25, 2023 5:50 am
by dimkr

Why not just apt install gnome-commander?


Re: gnome-commander-1.16.0 - 2 pane gtk file manager

Posted: Thu May 25, 2023 10:16 am
by plinej

@dimkr, tried but segmentation fault as root. Had to hack the source code and compile myself.