Registered Member
|
Hello every one
not sure if this connected with plasma but it is all about widget mentioned above I want to add new menu item ( i even succeed in one ) but it fails to lunch I want to add MPIDE item ( https://github.com/chipKIT32/chipKIT32-MAX/downloads ) it took a time for me to install it and now i able to launch it from console as regular user if i launch it as root there throws some exceptions when i added MPIDE to menu and also checked 'run in console' I saw the same behavior as when I launched it as root Is kickoff widget launch applications as root? And how make this menu item launchable? |
Manager
|
post the output in the "run in console" console window
no, apps are not run as root unless you specify it to be |
Registered Member
|
|
Manager
|
does not look like a KDE issue, looks like a pathing issue - see line 131
when you run it successfully in command line what folder are you in? as it works from command line not menu I would suggest filling in the work path (advanced tab) in menu editor they have a Linux startup troubleshouting FAQ/thread http://www.chipkit.org/forum/viewtopic.php?f=6&t=18 |
Registered Member
|
Yeah I saw it when launching as root or before i installed rxtx
also i set the working directory in menu item as directory which script in |
Manager
|
set work path to the folder you run it successfully in using command line
|
Registered Member
|
you mean this?
cd /home/yaroslav/mpide-0023-linux-20120903 && /home/yaroslav/mpide-0023-linux-20120903/mpide steal do not work what the difference between launching from console and launching from kickoff? |
Registered Member
|
Is it not hard for you to try MPIDE on your machine?
|
Manager
|
change the working path to /home/yaroslav/mpide-0023-linux-20120903/
|
Manager
|
using the above in the work path won't work because it would be looking for a folder path and you're providing multiple commands, might work if used in the command field the problem you're experiencing is probably due to the command, mpide, searching for things using a relative path from where the command was executed |
Registered Member
|
i launch mpide from console from /home/yaroslav/mpide-0023-linux-20120903 and it works
i tried those multiple commands and i tried just command with setting working dir in dialog but its not working it seems like kickoff widget lunches program with some tricks when i first time launch it from console and it gave the same mistake as now the problem was that there was no path in LD_LIBRARY_PATH to /usr/lib/jni also mpide use a lot of java so may be kde do some tricks with jvm i use sun jvm |
Manager
|
|
Registered Member
|
lucky!!!!!
can you run mpide as root? |
Registered Member
|
it might be a problem of mpide cause i can not launch as root
i also ask about that issue in chipkit forum but it steal did not help |
Manager
|
you don't want to run any app other than an admin task as root as it's bad form and dangerous
using kdesu no work but su -c ./mpide does if started in the mpide dir, assume has to do with env variables and pathing |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]