9 More Discussions You Might Find Interesting
1. Programming
Hi there,
I am trying to run a .sh file with plink from vb.net.
I am now able to run the .sh on vb.net but i have a problem because the .sh script require user input:
The .sh is prompting a few question and require user to input y/n to proceed.
I am trying... (3 Replies)
Discussion started by: yun
3 Replies
2. Shell Programming and Scripting
Please tell me how to write a bash script that asks the user to enter a word and that passes the entered word to a variable.
echo "Type a word and press the Enter key:"
myVar=`cat`
echo "You entered $myVar"
The above code is very awkward, because it requires the user to enter... (2 Replies)
Discussion started by: LessNux
2 Replies
3. Ubuntu
Hi everyone.
Apologies if I am posting in the wrong area.
I would like to find out a bit about how ubuntu/linux handles text boxes. In particular I would like to develop an application that launches another application (on screen keyboard) when any text box is clicked. The goal is to get... (4 Replies)
Discussion started by: Huss
4 Replies
4. Shell Programming and Scripting
Hi,
I am trying to ssh into a remote machine and then enter a vserver on the remote machine. I am using here document to carry out these commands on the remote machine. My here document looks like this
ssh username@remotemachine << HERE
sudo vserver vservername enter
HERE
however the sudo... (0 Replies)
Discussion started by: mnanavati
0 Replies
5. Solaris
Hi Guys,
I have one requirement like if we run install.sh file it should have to create a zone and install oracle in that zone with out any user interaction. So the complete code should be automated.
Almost 90% of the code I completed but i am having some doubts
1) After the zone creation... (1 Reply)
Discussion started by: vijaysachin
1 Replies
6. Programming
Hi all,
I am struck at this point and needed some help in ruby
I wanted to write a script that accepts the no of VNICs the user wants to create and
then ask for the name of each Vnic he wants
then use these names to create the corresponding Vnics
Eg: suppose that there are 2 Vnics to be... (0 Replies)
Discussion started by: wrapster
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
My ssytem is mounted on a rack and not connected with any console. When I rebooted it remotely, it didn't go thru the bootup process. when I connect my laptop to the system locally and found that it was waiting for user interaction. Do you know how to disable it, so that it will boot... (1 Reply)
Discussion started by: stancwong
1 Replies
8. Shell Programming and Scripting
Can any body help me to write a scripting program for entering a password at run time with out user interaction. (1 Reply)
Discussion started by: kumar_d
1 Replies
9. UNIX for Dummies Questions & Answers
Don't want to use useradd command to create a new user
I am doing manual addition of accounts. Actually I am writing a script and I am working on RedHat7.1 system. What I am trying to do is run the script and pass all the values of the username password and group as command line parameters. Now... (2 Replies)
Discussion started by: syedifti
2 Replies
SPLASHY-THEME.XML(5) Splashy POSIX boot splash system SPLASHY-THEME.XML(5)
NAME
Splashy - a user-mode, POSIX and LSB compliant, boot splashing system for UNIX.
SYNOPSIS
/etc/splashy/themes/*/theme.xml - Splashy theme configuration file
DESCRIPTION
/etc/splashy/themes/*/theme.xml describes the theme's behaviour
The theme on which the file will have effect is the one which is contained in the same directory as this theme.xml file
This configuration file is an XML file where all values are enclosed in tags
A tag is anything enclosed between < and >. An opening tag has the form "<tag>" while a closing tag has its name preceded with a backslash
() character as in "< ag>"
Tags can be considered as folders. Each tag either contains tags or contains a value
The value of the final tag affects in the field defined by its parents tags
The following tag folders are supported:
<splashy>
This is the main container. All tags must be contained inside this tag
The following values are allowed in it: <theme>, <progressbar>, <background>, <textbox>, <autoverboseonerror>, <progressbaronboot>,
<progressbaronshutdown>
<theme> Defines the theme's metadata information
The following values are allowed in it: <name>, <version>, <description>, <urls>, <author>
<progressbar>
Defines how the theme's progress bar should look like and behave
The following values are allowed in it: <x>, <y>, <width>, <height>, <red>, <green>, <blue>, <alpha>, <border>
<border>
Defines how the border should be displayed
The following values are allowed in it: <show>, <red>, <green>, <blue>, <alpha>
<background>
Defines how the background image in the theme should look
The following values are allowed in it: <boot>, <shutdown>, <errorimg>, <width>, <height>
<textbox>
Defines how the textbox should be displayed
The following values are allowed in it: <enable>, <x>, <y>, <width>, <height>, <background>, <border>, <text>
<text> Describes how the text should look like
The following values are allowed in it: <font>, <red>, <green>, <blue>, <alpha>
<font> Describes the font to use for text
The following values are allowed in it: <file>, <height>
The following values are supported:
<name> Name of the theme
<version>
Version of the theme
<description>
Brief description about the theme
<urls> Official URL(s) of the theme or the author
<author>
Name or nickname of the theme's author
<x> Vertical starting possition of the element in pixels counting from the top of the display
<y> Horitzontal starting possition of the element in pixels counting from the left of the display
<width> Width of the element in pixels
<height>
Height of the element in pixels
<red> Amount of red to colour the element. The value must be in the range 0-255
<green> Amount of green to colour the element. The value must be in the range 0-255
<blue> Amount of blue to colour the element. The value must be in the range 0-255
<alpha> Level of transparency the element. The value must be in the range 0-255
<show> Display or hide the element. Possible values are 'yes' and 'no'
<boot> Complete path to a file containing the image to show as background on boot
<shutdown>
Complete path to a file containing the image to show as background on shutdown
<errorimg>
Complete path to a file containing the image to show as backgraund when an error occurs
<enable>
Display or hide the element. Possible values are 'yes' and 'no'
<file> Complete path to a file containing the data refered by the parent tag
<autoverboseonerror>
Switch to console if error happens. Possible values are 'yes' and 'no'
<progressbaronboot>
Display a progress bar while the system boots. Possible values are 'yes' and 'no'
<progressbaronshutdown>
Display a progress bar while the system shuts down. Possible values are 'yes' and 'no'
EXAMPLES
The following is a complete and valid splashy theme configuration file:
<splashy>
<theme>
<!-- theme name is case sensitive. use directory name -->
<name>default</name>
<version>1.0</version>
<description>Default splashy theme</description>
<urls>http://splashy.alioth.debian.org/themes</urls>
<author>Splashy Team</author>
</theme>
<progressbar>
<!-- here are tags to set the bar... x coordinate,
y coordinate, width and height are for the progress bar.
Remember that x, y, width and height are expressed in percentage -->
<x>10</x>
<y>90</y>
<width>80</width>
<height>5</height>
<!-- here you can set the color of the progressbar...
set the amount of red, green, blue and alpha channel.
Remember that the max value is 255 and the minumun value is 0-->
<red>255</red>
<green>156</green>
<blue>0</blue>
<alpha>255</alpha>
<!-- whether or not you want a border around the progressbar. default: no -->
<border>
<show>yes</show>
<red>0</red>
<green>0</green>
<blue>0</blue>
<alpha>255</alpha>
</border>
</progressbar>
<!-- conventional path: /etc/splashy/themes + theme-name -->
<background>
<boot>background.jpg</boot>
<shutdown>background.jpg</shutdown>
<errorimg>error.jpg</errorimg>
<!-- resolution of the images. this value affects where
the progressbar will be drawn. If VALUE <= 0, then percentages
of the screen width and hight will be assumed -->
<width>0</width>
<height>0</height>
</background>
<textbox>
<!-- whether you want the textbox always
shown or no. If no, it will be shown only on error,
see autoverboseonerror -->
<enable>yes</enable>
<!-- here are tags to set the text area... x coordinate,
y coordinate, width and height are for the text area.
Remember that x, y, width and height are expressed in percentage
or pixel units -->
<x>20</x>
<y>50</y>
<width>60</width>
<height>40</height>
<!-- here you can set the color of the text area...
set the amount of red, green, blue and alpha channel.
Remember that the max value is 255 and the minumun value is 0-->
<background>
<red>0</red>
<green>0</green>
<blue>0</blue>
<alpha>127</alpha>
</background>
<!-- whether or not you want a border around the progressbar. default: no -->
<border>
<show>yes</show>
<red>0</red>
<green>0</green>
<blue>0</blue>
<alpha>255</alpha>
</border>
<text>
<!-- font file to use, path relative to theme -->
<font>
<file>FreeMono.ttf</file>
<height>10</height>
</font>
<!-- here you can set the color of the text/font...
set the amount of red, green, blue and alpha channel.
Remember that the max value is 255 and the minumun value is 0-->
<red>128</red>
<green>128</green>
<blue>32</blue>
<alpha>255</alpha>
</text>
</textbox>
<autoverboseonerror>yes</autoverboseonerror>
<progressbaronboot>yes</progressbaronboot>
<progressbaronshutdown>yes</progressbaronshutdown>
</splashy>
NOTES
Values are refered by their tag name prefixed with all of its parent tag's names. For example: "/splashy/theme/name"
All values must be defined. Otherwise unpredictable things may happen
FILES
/etc/splashy/themes/*/theme.xml
Main theme configuration. Defines the theme's layout
/etc/splashy/themes/
Location where splashy themes are stored
SEE ALSO
splashy(1), splashy_config(1), splashy_config(1), splashy-config.xml(5)
AUTHORS
Jacobo Vilella <jacobo221@gmail.com>
perl v5.12.1 2010-07-05 SPLASHY-THEME.XML(5)