link to script
Haldor Riddering
haldor.riddering at gmail.com
Sun Jul 9 03:55:56 UTC 2006
Tez wrote:
> Haldor Riddering wrote:
>> Tez wrote:
>>> Haldor Riddering wrote:
>>>> Okay to get tvout working on my laptop I have to run a command
>>>>
>>>> so anyways I made a little script :
>>>> #!/bin/bash
>>>> echo 6 > /proc/acpi/asus/disp
>>>>
>>>>
>>>> that works fine if I \sh tv.sh in a terminal.
>>>>
>>>> so anyways I was wanting to add a desktop icon to make this work but
>>>> can't figure out how to get it going.
>>>> can anyone give me a hand with this.
>>>>
>>>> cheers
>>>> Haldor
>>>>
>>> Right click on the desktop, click "Create new"-->"Link to Application"
>>> Type in a name, and optionally choose a icon, click on the "Application"
>>> tab and in the "Command" box put "kdesu /path/to/tv.sh
>>> Then (as long as the script is executable) you can just click on that.
>>>
>>> Tez
>>>
>>>
>>>
>> okay so how do I make it executable?
>>
>>
> In a console, cd to where the script is, then type:
> sudo chmod +x tv.sh
>
> That will make it executable.
>
> Tez
>
>
>
Thanks that did it :)
More information about the kubuntu-users
mailing list