Screen is a pretty complex monster. There is a command to list sessions...
You might be able to incorporate that output into your scripts.
See man screen
I know this command. But I don't know how to check if there is a screen with a specified name in this list... Do you know?
And do you know how to combine my startscripts? It's more important to me to start all servers with one command
Hi,
I wanna write my own mini shell as a part of my project. Whole coding is to be donw in C for linux platform. I have got background of linux as well as C but now can anybody please suggest me the sources from where i can find information about how to start ? I have to implement some basic... (4 Replies)
I have to write a program in C++ using several functions. The program consists of ticket sales how many if you are an adult, junior, or toddler and if there are any discounts. I have the program working up to the pricing function. when i put the discount in the equation it <strike>do</strike>... (1 Reply)
Hi,
I have a startscript on solaris 10 which does not work properly.
#!/sbin/sh
PIDFILE=/opt/app_y/PID.log
case $1 in
'start')
/usr/local/bin/app_y -C /opt/app_y/local.cfg
echo $! > $PIDFILE
;;
esac
exit $?
The problem is that the PIDFILE is empty.... (3 Replies)
Hi
We are running an IBM P570 with AIX and Unidata.
The disk monitor in nmon is showing that one of our logical volumes is hitting 100% most of the time, and that 98% of it is write.
I am trying to identify the top processes in terms of disk IO, obviously particularly write so that we... (4 Replies)
I have one sample file that contains one question and multiple choice with answer. I need to print the question and answer in another file. Answer is printed next to one of the correct choice.
e.g.
1. Capital of USA
(A) USA
(B) Washington
(C) New York (B)
(D) New Delhi
so i want the... (4 Replies)
Hey everyone
Can anyone please write me a script to display numbers in descending order dynamically i.e if the user enter a number say 100 then the output should be like 100 99 ....so on till 0
I tried using the logic as for ((i =1; i<=100; i--) but the it goes into a infinite loop since even the... (7 Replies)
Hi,
I am setting up a hacmp oracle cluster with 2 resource groups - one on each node.
Binaries are local - so is configuration but its the same on both nodes - so are the startscripts.
If I start the cluster, each DB comes up nicely on its homenode.
Now I have the problem that when I... (1 Reply)
I am new for script writing. I have a file named as name.dat and contain numbers with different rows and columns. I want to sum numbers at one row with that of at another row; like row1 + row101 + row 201, with corresponding columns. Any one can help me to write a script for this operation.
... (1 Reply)
In the attached bash in the convert function the out_position.txt in not being writing to the annovar directory and I can not figure out why. Thank you :). (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT SUSE
gtk2::gdk::screen
Gtk2::Gdk::Screen(3) User Contributed Perl Documentation Gtk2::Gdk::Screen(3)NAME
Gtk2::Gdk::Screen
HIERARCHY
Glib::Object
+----Gtk2::Gdk::Screen
METHODS
window = $screen->get_active_window
Since: gtk+ 2.10
$screen->broadcast_client_message ($event)
o $event (Gtk2::Gdk::Event)
colormap = $screen->get_default_colormap
$screen->set_default_colormap ($colormap)
o $colormap (Gtk2::Gdk::Colormap)
screen or undef = Gtk2::Gdk::Screen->get_default
display = $screen->get_display
fontoptions or undef = $screen->get_font_options
Since: gtk+ 2.10
$screen->set_font_options ($options)
o $options (Cairo::FontOptions or undef)
Since: gtk+ 2.10
integer = $screen->get_height
integer = $screen->get_height_mm
boolean = $screen->is_composited
Since: gtk+ 2.10
list = $screen->list_visuals
Returns a list of Gtk2::Gdk::Visual's.
string = $screen->make_display_name
integer = $screen->get_monitor_at_point ($x, $y)
o $x (integer)
o $y (integer)
integer = $screen->get_monitor_at_window ($window)
o $window (Gtk2::Gdk::Window)
rectangle = $screen->get_monitor_geometry ($monitor_num)
o $monitor_num (integer)
integer = $screen->get_monitor_height_mm ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
string or undef = $screen->get_monitor_plug_name ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
integer = $screen->get_monitor_width_mm ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
integer = $screen->get_n_monitors
integer = $screen->get_number
double = $screen->get_resolution
Since: gtk+ 2.10
$screen->set_resolution ($dpi)
o $dpi (double)
Since: gtk+ 2.10
colormap = $screen->get_rgb_colormap
visual = $screen->get_rgb_visual
colormap or undef = $screen->get_rgba_colormap
Since: gtk+ 2.8
visual or undef = $screen->get_rgba_visual
Since: gtk+ 2.8
window = $screen->get_root_window
integer = $screen->get_screen_number
Since: gtk+ 2.2
scalar = $screen->get_setting ($name)
o $name (string)
boolean = $screen->supports_net_wm_hint ($property)
o $property (Gtk2::Gdk::Atom)
Since: gtk+ 2.2
colormap = $screen->get_system_colormap
visual = $screen->get_system_visual
list = $screen->get_toplevel_windows
Returns a list of Gtk2::Gdk::Window's.
integer = $screen->get_width
integer = $screen->get_width_mm
string = $screen->get_window_manager_name
Since: gtk+ 2.2
list = $screen->get_window_stack
Since: gtk+ 2.10
PROPERTIES
'font-options' (gpointer : readable / writable / private)
The default font options for the screen
'resolution' (double : readable / writable / private)
The resolution for fonts on the screen
SIGNALS
composited-changed (Gtk2::Gdk::Screen)
size-changed (Gtk2::Gdk::Screen)
monitors-changed (Gtk2::Gdk::Screen)
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Gdk::Screen(3)