totalcmd wine(Linux) toggle normal user or superuser script

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
pale
Junior Member
Junior Member
Posts: 6
Joined: 2009-03-31, 10:39 UTC

totalcmd wine(Linux) toggle normal user or superuser script

Post by *pale »

this scripit is simple!!
what it does, is when you press buton on toolbar it will kill totalcmd in normal user mode and start it in super user mode, then monitor if instance from superuser mode is killed and start a default one in normal user mode.

so here it goes

download script here:

Code: Select all

http://netload.in/dateipeeTqadLNL/tcroot.tar.gz.htm
untar it and place it under /usr/bin/:

Code: Select all

tar xzvf tcroot.tar.gz -C /usr/bin
then fire up totalcmd, and under button bar add a new one then put stored location of tcroot script in my example is in /usr/bin/
so button command will looke like this

Code: Select all

G:\usr\bin\tcroot
note: change G: to your corresponding letter of root / drive in wine.
that's it.

if anyone have suggestions or any better remake of this script please add it

Ghisler thanx once again for this wonderfull app
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50843
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice idea! I wanted to add something similar for tcmadmin, but Wine refuses to run as admin here on Ubuntu. Any ideas?

Btw, is it possible somehow to communicate with a Linux App from a Windows App, e.g. via pipes?
Author of Total Commander
https://www.ghisler.com
Post Reply