This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to run a script before launching a KMenu item?

Tags: None
(comma "," separated)
Evil-Roach
Registered Member
Posts
6
Karma
0
for example:

When I clicked the KMenu Item "KDevelop(with py-cu110)", before launching KDevelop, I want to run
Code: Select all
source ~/pyenv/cu110/bin/activate
.

I tried to modify the command of the KMenu Item to
Code: Select all
source ~/pyenv/cu110/bin/activate && kdevelop
,
but I get "Can not find the program 'source' ".


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell