LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 08-26-2004, 05:23 PM   #1
malbery
Member
 
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).

Code:
merlyn@ogre:~/bin$ pwd
/home/merlyn/bin
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
/home/merlyn/bin/mudii

The script (if necessary) is:
Code:
#!/bin/bash

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
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

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

Original Poster
Rep: Reputation: 15
Quote:
try
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?
 
  


Reply


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 11:35 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


All times are GMT -5. The time now is 05:58 AM.

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