You are not logged in.

#1 2009-07-15 14:17:49

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

How to run custom scripts with KRunner

Hi!

I'd like to run my custom scripts, kept within ~/linux/bin, with KRunner. Is there any way to enter just script name instead of whole path? Something like editing $PATH in .zshrc maybe?

Cheers
vi3dr0


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

#2 2009-07-15 14:21:55

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: How to run custom scripts with KRunner

Yeah, I'd say that should do it.

Offline

#3 2009-07-15 16:49:22

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

Re: How to run custom scripts with KRunner

Well, we must've misunderstood. It's definetely not working, I meant that's the way to make it work in zsh, and maybe it's similar for KRunner.


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

#4 2009-07-15 18:26:25

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: How to run custom scripts with KRunner

from a quick google-trip it seems Krunner doesn't always respect $PATH.

as a workaround found here you might [re]set you're $PATH in a script inside ~/.kde/env/ to see if that takes affect for KRunner

my link wrote:

If you would like to affect the global environment of your KDE session, and are not using a custom session, you can place files in ~/.kde/env. Files ending in ".sh" are read and executed in the same shell that is reading and executing the startkde script.

Offline

Board footer

Powered by FluxBB