LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-28-2005, 04:20 AM   #1
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Rep: Reputation: 15
Launching application + variables in FVWM


Hi

I would like to know the way to execute a more complex launching of an application in FVWM since I need to pass an environment variable at the same time.

this standard syntax works great as you'd expect:

+ "&W. Writer" Exec exec oowriter

But I need to do something like this:

+ "&W. Writer" Exec exec LANG=ko_KR.eucKR XMODIFIERS=@mi=Ami oowriter

I read the man page and even tried Piperead instead of exec , which only messed up my mouse. Quotes around the command didn't work either.

Setting the LANG environment variable globally causes unwanted side effects in other apps, so that's not a valid solution for me.

Suggestions?

thanks

Peff
 
Old 06-28-2005, 05:52 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Why is "exec" in there twice? I only use it once in all my menus, such as:

Code:
+ "&Xterm%term.png%"	Exec xterm -e /usr/bin/bash &
+ "&Links%links.png%"	Exec links -g -driver x http://www.google.com &
+ "&Hotsync%hotsync.png%"	Exec aterm -name bterm -tr -fg green -g 158x10+0-0 -e pilot-xfer -p /dev/ttyS0 -s /home/dominic/Stuff/Exe/Palm  &

Last edited by oneandoneis2; 06-28-2005 at 05:53 AM.
 
Old 06-28-2005, 08:36 AM   #3
Peff
Member
 
Registered: Nov 2003
Distribution: Slackware 10.2
Posts: 37

Original Poster
Rep: Reputation: 15
Exec is in there twice, as FVWM requests it to avoid doubling the number of process running. Per the man page, it is reccomended although not necessarily needed. Hence, I heed the man page advice so it is in there.

I noticed your commands issued have options added, which I have no problems with FVWM executing either. it is the setting of environment variables before the actual command (oowriter in my case) that is causing trouble.

So, with that, any more suggestions? Anyone? Buehler?

thanks

Peff
 
  


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
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 08:04 PM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 04:50 PM
launching a program from a C++ application Error1312 Programming 7 02-25-2004 08:18 AM
Launching application when gnome startups appel Linux - Software 3 08-02-2003 10:06 PM
launching an application when X starts... DKnight Linux - Newbie 13 06-08-2003 07:43 AM


All times are GMT -5. The time now is 05:24 PM.

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