Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-26-2004, 04:23 PM   #1
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Rep: Reputation: 15
"Non-KDE Application" script

Hi all,

I have a simple enough script that works from Konsole, but not as a "Non-KDE Application" button on my KDE bar (or whatever it is called). Any ideas how I can get it to work (or find out why it isn't working?). I clickthe button, it depresses, but no window appears. (I have other scripts setup in - I think - the same way, and they work).

merlyn@ogre:~/bin$ pwd
merlyn@ogre:~/bin$ ls -l mudii
-rwxr-xr-x  1 merlyn merlyn 462 2004-08-27 23:18 mudii
"Non-KDE Application Configuration dialogue" lists "Executable:" as

The script (if necessary) is:

set PATH=$PATH:/usr/java/j2sdk1.4.2_05/bin
cd /home/merlyn/workspace/mud2pjC

java -cp \
.:/usr/share/apps/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt.jar:/usr/share/apps/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt-mozilla.jar:/usr/share/apps/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/ws/gtk/swt-pi.jar \
-Djava.library.path=/usr/share/apps/eclipse/plugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86 \
 main.Main mud2pj.choice.cfg &
Thanks for your time.
Old 08-26-2004, 05:50 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
bash /pathtoscript/scriptname
as the command in the launcher
Old 08-26-2004, 07:43 PM   #3
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Original Poster
Rep: Reputation: 15
bash /pathtoscript/scriptname
as the command in the launcher
Hi foo bar foo,

I tried that. No improvement, it still does the same (pressed button, no window pops up). Does KDE log errors with launching such applications anywhere?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 10:35 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Compiling KDE 3.2.0 - "Can't open perl script "/dcopidlng/kalyptus" linuxgamer09483 Linux - Software 3 04-09-2004 08:25 PM
1. shell script "find and replace" on text 2. java GUI application randomx Programming 4 03-05-2004 01:01 PM

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration