sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #00874
Re: sony-VGN-Zseries-janitor - Error when run as normal user (Karmic)
Hi Raphael,
thanks for the quick fix. It works, too. :)
As terminal I use Guake (guake-terminal.org) for most of my daily
needs, Guake is a convenient drop-down terminal for Gnome which can be
found in the universe repositiories.
Funny thing is that -- with sudo -- the janitor script runs inside the
Guake the active terminal session. WIthout sudo -- as regular user --
a new xterm session is spawned.
To see what happens when using gnome-terminal I just re-ran the script
there. Same thing: an xterm window pops up. Using sudo, the script
runs inside the gnome-terminal.
On Guake "echo $COLORTERM" returns nothing (or an empty string). On
gnome-terminal "echo $COLORTERM" returns "gnome-terminal".
Cheers
Mike
2009/11/27 Raphael Gradenwitz <raphael@xxxxxxxxxxxxxxxxx>:
> Hi Mike,
>
> Am Freitag, den 27.11.2009, 10:15 +0100 schrieb Mike:
>> I just tried to run the sony-VGN-Zseries-janitor script as a regular
>> user on an up-to-date Karmic (Ubuntu 9.10) installation. This gives
>>
>> user@archangel:~$ sony-VGN-Zseries-janitor
>> xterm: bad command line option ""
>> usage: xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
>> (...)
>> Type xterm -help for a full description.
>>
>> and the script seems not run.
>>
>> If I instead use
>>
>> $ sudo sony-VGN-Zseries-janitor
>>
>> then it works.
>
> Thank you for Bugreport:
>
> [x] Fixed
>
> Simply rerun the script twice. After it upgradet itself it will work.
>
>
> Question:
> What is the output from
>
> echo $COLORTERM
>
> on your system?
>
> The script normaly runs with 'gnome-terminal' which most users have
> installed and the xterm alternative was not realy tested.. now it is ;-)
>
> Regards,
>
> Raphael
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~sony-vaio-z-series
> Post to : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~sony-vaio-z-series
> More help : https://help.launchpad.net/ListHelp
>
References