Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 05: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, 06:50 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
bash /pathtoscript/scriptname
as the command in the launcher
Old 08-26-2004, 08: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 7 12-19-2015 02:03 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 10:00 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
Compiling KDE 3.2.0 - "Can't open perl script "/dcopidlng/kalyptus" linuxgamer09483 Linux - Software 3 04-09-2004 09:25 PM
1. shell script "find and replace" on text 2. java GUI application randomx Programming 4 03-05-2004 02:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 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