Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-03-02 22:44:02

johnywhy
Member
Registered: 2011-10-09
Posts: 151

[Solved]: Command with Redirect or Pipe in Launcher Without a Script?

hi

i'd like to execute a command in launcher without creating a script.

the command is:

echo 12750000  > /sys/class/backlight/intel_backlight/brightness

works fine in terminal. Fails in launcher. I think maybe the redirect causes the fail. Seeing same problem on piped commands.

How to make it work in a Launcher?

thx

Last edited by johnywhy (2018-07-30 19:26:14)


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

#2 2018-03-02 22:46:44

johnywhy
Member
Registered: 2011-10-09
Posts: 151

Re: [Solved]: Command with Redirect or Pipe in Launcher Without a Script?

Solved smile

sh -c "echo 12750000  > /sys/class/backlight/intel_backlight/brightness"


Mint 19 xfce, 4.15.0-29-generic #31-Ubuntu SMP, x86_64 x86_64 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB