07-17-2009
headless mode does not work for me.. I tried it using JVM option -Djava.awt.headless=true
Wondering, is there any similar option for swings only? (Formula one has 2 components one is awt and other one is swing)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All:
An elementary Unix Question,
How can i set the display number and run a program in that display.
If i type the name of the executable the program opens in the console(display number 0), however, i want it to open in another display number. How can i do that.
Appreciate the help... (2 Replies)
Discussion started by: preetham
2 Replies
2. UNIX for Dummies Questions & Answers
hi, i am on mandrake 6.0, shell of root user is bash.
okay, i did the below
#display=localhost.localdomain:0.0
#export display
#xhost +localhost.localdomain
system replies xhost added..
i did a set and there was an entry there..
now i want to install oracle, so did a ./runInstaller
... (2 Replies)
Discussion started by: yls177
2 Replies
3. Solaris
Hi,
I used exceed and putty in the past to HP server with no problem to make
'set DISPLAY' work on my desktop. However now I have Solaris 9 on Sun server 480 and I only have putty. I can't bring the X window (eg xclock, etc) to my desktop.
I tried X11Fowarding, xhost, and so on, it doesn't... (5 Replies)
Discussion started by: jr_zhang
5 Replies
4. Shell Programming and Scripting
Hi All,
I use "export DISPLAY=same_host:0.0" to set my export DISPLAY and it is working fine for me..
Problem here is I have developed a script for which i should run export DISPLAY prior to running my script....
so my script should check whether export DISPLAY is set or not.. if... (6 Replies)
Discussion started by: smarty86
6 Replies
5. UNIX for Dummies Questions & Answers
Hi, I just updated /etc/passwd so that my default shell is zsh. After I save and make a new connection I can echo $SHELL and see /usr/bin/zsh, but my prompt still looks like bash and some env var that I setup in my local .zshrc file are not set. If I type zsh, then my prompt changes and I have my... (7 Replies)
Discussion started by: yankee428
7 Replies
6. Solaris
How do I set up my solaris 10 machine to display in text mode instead of graphics mode, permanently? (1 Reply)
Discussion started by: jastanle84
1 Replies
7. Solaris
My "problem" is that it's set correctly and I want to break it, but can't figure out where it's getting set in the first place.
I can see several places where $DISPLAY is referenced but at the point that the dollar sign is in front it's already an environment variable(I think).
I thought... (1 Reply)
Discussion started by: gctaylor
1 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
Our users use Putty on Windows servers to log on to UNIX via SSH and run GUI applications. Is there a way to automatically get the display numbers from xming or Exceed (that are running on Windows) to set the DISPLAY var properly on UNIX? X11 forwarding is not an option.
The closest I... (3 Replies)
Discussion started by: ejianu
3 Replies
9. Solaris
Hi,
When i invoke DBCA as oracle user , i get following
usircd01:KAM:/opt/oracle10/product/10.2.0/bin>./dbca
DISPLAY not set.
Set DISPLAY environment variable, then re-run.
usircd01:KAM:/opt/oracle10/product/10.2.0/bin>echo $ORACLE_SID CCE ... (6 Replies)
Discussion started by: Maddy123
6 Replies
10. Ubuntu
Hi, somewhat of a newbie with Linux, although I have been at it for about three weeks now.
Is there a way to wake up or initialize my scanner with a command in the terminal? (6 Replies)
Discussion started by: klrman
6 Replies
LEARN ABOUT DEBIAN
mprompt
MPROMPT(1) mprompt MPROMPT(1)
NAME
mprompt - simple prompt-based control for mpd
SYNOPSIS
mpompt [-s] [-m key=key] [-t n] [-f] [tty] [-T] [host]
DESCRIPTION
mprompt is a mpd client with a prompt-based interface. It is designed to be usable on a headless machine.
At the prompt, enter the name of a playlist, or part of the name of an album, artist, or song. Matching items will start playing. You can
also paste in urls to stream.
(If the perl String::Approx module is available, it will be used to handle typos, etc in the names you enter.)
Use the left and right arrow keys to adjust volume, and the up and down arrow keys to move through the playlist.
The Tab and Enter keys can both be used to pause and unpause playback. (Enter toggles pause only if nothing has been entered at the
prompt.)
Example of how to run mprompt in /etc/inittab:
1:2345:respawn:/usr/bin/mprompt /dev/tty1
OPTIONS
-s This option allows shell commands to be typed in to mprompt, to be run by whatever user it is running as. (Typically root if it is run
from /etc/inittab).
To enter a shell command, type a "!", followed by the command to run, followed by Enter.
-m key=key
This option allows remapping keys. Any key can be remapped to any other key, which is useful to support keyboard with unusual key
layouts, or missing keys.
For alphanumeric and punctuation keys, individual symbols can be remapped. For example, "-m a=b" will turn each entered "a" into "b".
For other keys, use the following names:
<return>
<tab>
<space>
<up>
<down>
<left>
<right>
<backspace>
For example, -m "n=<down>" will map the "n" key to the down arrow, causing that key to change to the next track; -m "<space>=<return>"
will make the space bar act as a pause.
It's possible to swap keys too. For example, -m "<down>=<up>" -m "<up>=<down>"
A single key can also be bound to a series of keystrokes. For example, -m "1=Mule Variations<return>" will cause the "1" key to play
the "Mule Variations" album, a nice choice.
-t n
Adds a timeout, a specified number of seconds after which the entry on the command line will be cleared. Useful for headless systems,
to avoid cat-on-keyboard confusing your later commands.
-T Enables terse output mode. This mode tries to avoid displaying excessive or complex things, with the intent that mprompt's output can
be piped into a speech synthesiser, such as espeak.
SEE ALSO
vipl(1) mptoggle(1) mpd(1)
AUTHOR
Copyright 2009 Joey Hess <joey@kitenet.net>
Licensed under the GNU GPL version 2 or higher.
http://kitenet.net/~joey/code/mpdtoys
perl v5.10.1 2010-03-06 MPROMPT(1)