Bug 162417

Summary: Please make sudo'ed Krusader (root-mode) to use configurations from actual user running, not from root
Product: [Applications] krusader Reporter: Sasha Unspecified <sasha2048>
Component: generalAssignee: Shie Erlich <manson>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: alex.bikadorov, seajey.serg
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sasha Unspecified 2008-05-21 17:48:00 UTC
Version:            (using KDE 3.5.9)
Installed from:    Ubuntu Packages

Please make sudo'ed Krusader (root-mode) to use configurations from actual user running, not from root.

It's unhandy to make all the configuations twice (one time for actual user, and second time for root; especially when there are several actual users on desktop that use root mode, and each one wants his own krusader options).

It is possible by reading some enviroment variable, e.g. "SUDO_USER".
I.e. "
  if(CurrentUser()=='root' && EnvVarDefined('SUDO_USER'))  LoadConfigFor(EnvVar('SUDO_USER'));
  else  LoadConfigFor(CurrentUser());
"
(I understand that it merely depends on params of sudo, but it'll be good to make krusader always load actual-user's.)


Or, at least, make the Alt+K (Tools | Start root mode krusader) to run sudo'ed krusader with original configuations (e.g. by passing some command line parameter to it).
Comment 1 Sergei Andreev 2008-11-04 13:34:15 UTC
+1
Comment 2 Alex Bikadorov 2017-05-26 18:38:45 UTC
Merging. Some users want different configurations, some others want the same.

*** This bug has been marked as a duplicate of bug 373720 ***