LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-01-2008, 01:18 PM   #1
deep_inda_jungl
LQ Newbie
 
Registered: Dec 2003
Distribution: mint4
Posts: 24

Rep: Reputation: 15
Cant pass command line args in flwm.desktop


Hello. I would like to start flwm with "flwm -fg green -bg black" but I can't put the args in the flwm.desktop in /usr/share/xsessions

Is there a way I can pass these args to flwm using gdm?
 
Old 05-02-2008, 03:05 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
It should work, by either using the exec command, and/or by enclosing the commands in backticks (those funny little quote-like things on the key beside the "1" key).

(I am not sure myself of the exact syntax, but I have been where you are before with similar commands, and simply experimented for a moment till I got it again)...

So, in your xsessions file, try something like:

exec `flwm -fg green -bg black`

or simply (without the exec):

`flwm -fg green -bg black`

Does it work?

Sasha!
 
  


Reply

Tags
gdm, xsession


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to pass command-line parameter to shell script? Kropotkin Linux - Newbie 12 07-25-2011 09:24 AM
Pass command line instructions during install? Clayton8 Linux - Newbie 7 11-07-2007 03:15 AM
file contents to command line args hawkmauk Linux - General 3 11-21-2006 01:27 PM
C command line args in linux YankeeFan Linux - Newbie 5 06-11-2006 08:22 AM
command line args in a countdown Squeak2704 Programming 1 04-26-2004 12:27 PM


All times are GMT -5. The time now is 08:29 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
Open Source Consulting | Domain Registration