Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 15
Launching application + variables in FVWM


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.



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

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

+ "&Xterm%term.png%"	Exec xterm -e /usr/bin/bash &
+ "&Links%links.png%"	Exec links -g -driver x &
+ "&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
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?




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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 AM.

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