9 More Discussions You Might Find Interesting
1. Debian
Hello,
I am running Debian 6.0 on a Sun Ultra 5 and the openbox window manager. The window is way larger than the screen and minimized icons go off the screen and I can't get them back. The mode is set to 1280x1024 in the Screen section of xorg.conf and Virtual is also set to 1280x1024 which is... (4 Replies)
Discussion started by: snorkack59
4 Replies
2. Shell Programming and Scripting
Hi Guys !
can anyone help me to write the code doing same thing without using awk. is it possible using cut command?
awk '{c++} END {for(k in c} print k "\t\t" c;}' file_name | sort -nrk 2 | column -t
thanks in advance
BR
Ewa (4 Replies)
Discussion started by: me_newbie
4 Replies
3. AIX
Hello,
Running X on AIX local display - want to change resolution.
On Linux for example I used xrandr.
?
thanks
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
4. Solaris
Hi all!
On my SPARC mashine I have changed the screen resolution from default to: output-device screen r1024x768x75, because the OBP picture too big (e.g. Sun Logo and OBP text).
Now, after the system booting I have the problem with OpenWindows picture (e.g. the window manager does not display... (2 Replies)
Discussion started by: wolfgang
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
i am one of the newbies with linux. i just install the Enterprise AS on my ibm z60t. I am trying to change the color setting to hight resolution, unfortunately, it does not work. it works only with the 256 color setting.
It seems the widescreen or the vga card of my notebook does not... (3 Replies)
Discussion started by: sanlen
3 Replies
6. UNIX for Dummies Questions & Answers
I would like to know how to change the display resolution in UnixV4.0D.
Can anyone please help me.
Regards,
Avgust (1 Reply)
Discussion started by: avgust
1 Replies
7. UNIX Desktop Questions & Answers
Hello all,
I need to fix some resolution in an AIX, how can I do it? It cannot be altered at system reboot, in the other words, I'm setting an display resolution, but when I do a reboot this configuration will be losted. I need somethig like this: Set a configuration and it cannot be changed... (0 Replies)
Discussion started by: nando_zambone
0 Replies
8. Shell Programming and Scripting
Hi!
I have for example a script/file:
+1 echo "toto"
+2 echo "abcdef
+3 echo "dqmsl" $r "dsqlfj"
+4 cat titi | tr \t' ';'
+5 exit
---------------------------------------
I try to find a solution who say:
<ERROR>
The character " has been forgotten a the line 2
The character... (7 Replies)
Discussion started by: Castelior
7 Replies
9. Solaris
Hi,
I would like to know how to change the display resolution in solaris on sparc.
Can anyone please help me.
Regards,
Raja (3 Replies)
Discussion started by: RajaRC
3 Replies
DISPER(1) User Commands DISPER(1)
NAME
disper - on-the-fly display switcher
SYNOPSIS
disper [options] (-l|-s|-c|-e|-p|-i)
DESCRIPTION
Disper re-routes your screen output to one or more connected displays. For example when giving a presentation, all one wants is that the
beamer, which has just been connected, is able to show whatever you prepared.
There is the option to either clone all detected displays, or extend the desktop to them. Resolutions are automatically detected by
default. For cloning, the highest resolution supported by all displays devices is chosen; for extending every display device gets its pre-
ferred or highest supported resolution. For special setups requiring more detailed control, one can still use the vendor-supplied display
configuration utilities.
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-v, --verbose
show what's happening
-q, --quiet
be quiet and only show errors
-r RESOLUTION, --resolution=RESOLUTION
set resolution, e.g. "800x600", or "auto" to detect the display's preferred resolution, or "max" to use the maximum resolution
advertised. For extend it is possible to enter a single resolution for all displays or a comma-separated list of resolutions (one
for each display). Beware that many displays advertise resolutions they can not fully show, so "max" is not advised.
-d DISPLAYS, --displays=DISPLAYS
comma-separated list of displays to operate on, or "auto" to detect; the first is the primary display.
-t DIRECTION, --direction=DIRECTION
where to extend displays: "left", "right", "top", or "bottom"
--scaling=SCALING
flat-panel scaling mode: "default", "native", "scaled", "centered", or "aspect-scaled"
--plugins=PLUGINS
comma-separated list of plugins to enable. Special names: "user" for all user plugins in ~/.disper/hooks; "all" for all plugins
found; "none" for no plugins.
--cycle-stages=CYCLE_STAGES
colon-separated list command-line arguments to cycle through
ACTIONS
Select exactly one of the following actions
-l, --list
list the attached displays
-s, --single
only enable the primary display
-S, --secondary
only enable the secondary display
-c, --clone
clone displays
-e, --extend
extend displays
-p, --export
export current settings to standard output
-i, --import
import current settings from standard input
-C, --cycle
cycle through the list of cycle stages
FILES
~/.disper/config
Default command-line options to include at each disper invocation. Multiple lines are concatenated, and lines starting with # are
ignored. A typical example might include:
# enable all plugins in ~/.disper/hooks
--plugins=user
# cycle over clone and extend
--cycle-stages='-c : -e'
~/.disper/hooks/
Directory containing user hooks. These can be enabled with the --plugins option.
/usr/share/disper/hooks/
Directory containing system hooks. User hooks take preference of system hooks or plugins.
CYCLE
There is a possibility to cycle between different setups with a single disper invocation using the option --cycle. The options to cycle
through are specified by the option --cycle-stages, which consists of a colon-separated list of disper options. To alternate, for example,
between clone and extend, one could use
disper --cycle-stages='-e : -c' --cycle
Currently the last selected stage is stored in the file ~/.disper/last_cycle_stage. This means that when display configuration is modified
by something else than disper (for example by restarting the computer), cycling will continue from where it was last time, not necessarily
from the current display configuration. This is something that may change in the future.
PLUGINS
It is possible to execute user-supplied hooks on display switch, for example to display a notification or change the wallpaper. Which ones
are enabled is specified by the --plugins option. System hooks are located in /usr/share/disper/hooks/ while user hooks should be placed in
~/.disper/hooks/.
Each hook is an executable file (which includes scripts). The following environment variables are available when invoked:
DISPER_VERSION
Version of disper ().
DISPER_LOG_LEVEL
Log level: 0 (quiet), 1 (normal) or 2 (verbose).
DISPER_STAGE
Execution stage: prepare or switch. Most plugins will only need to act on the switch stage, which is just after the display switch
has happened. Please make sure to execute an action only on switch for future compatibility. (There are ideas for import and export
as well.)
DISPER_DISPLAYS
Space-separated list of displays that have output. These names may be slightly different from what disper uses internally because
they have to be valid environment variable names. (e.g. DFP_0 CRT_0)
DISPER_LAYOUT
One of: clone, top, right, bottom or left.
DISPER_BB_RESOLUTION
Size of full bounding box (e.g. 1024x768).
For each of DISPER_DISPLAYS the resolution of the corresponding display is supplied as well. If only DFP-0 would be attached, DISPER_DIS-
PLAYS would contain just DFP_0 and the following variables would be set as well:
DISPER_RESOLUTION_DFP_0
Resolution of display DFP-0 (e.g. 1024x768).
If you want to write your own hook you can also look at the ones supplied with disper in /usr/share/disper/hooks/.
AUTHOR
Written by Willem van Engen.
SEE ALSO
xrandr(1), nvidia-settings(1)
disper 0.3.0 May 2011 DISPER(1)