Interfaces that talk across multiple computers, how?
The way I done something similar was to create one webpage on the server that contained all the elements you wish to control as a large screen then just show that part on which ever screen asked. Like
//Control.html?screen=1
//Control.html?screen=2 etc.
that way only ONE webpage exists, and that can keep up with all the variables and displays in a single 'program'
I wrote a single page 'shopping cart' that only showed the subset needed.
//Control.html?screen=1
//Control.html?screen=2 etc.
that way only ONE webpage exists, and that can keep up with all the variables and displays in a single 'program'
I wrote a single page 'shopping cart' that only showed the subset needed.
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
some ideas
Some Ideas
check splash screen in:
http://murga-linux.com/puppy/viewtopic.php?t=38608
In this same page check to for:
How to store window size/placement
window borderless
http://www.murga-linux.com/puppy/viewto ... 490#701490
black background use one image for background black.
SVG images you can create anything or panel with hot keys look this link:
http://en.wikipedia.org/wiki/File:Oscilloscope.svg
http://www.svgopen.org/2005/papers/Maki ... SVGFormat/
http://commons.wikimedia.org/wiki/File: ... _panel.svg
check splash screen in:
http://murga-linux.com/puppy/viewtopic.php?t=38608
In this same page check to for:
How to store window size/placement
window borderless
http://www.murga-linux.com/puppy/viewto ... 490#701490
black background use one image for background black.
SVG images you can create anything or panel with hot keys look this link:
http://en.wikipedia.org/wiki/File:Oscilloscope.svg
http://www.svgopen.org/2005/papers/Maki ... SVGFormat/
http://commons.wikimedia.org/wiki/File: ... _panel.svg
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
Other Ideas
Other Ideas.
See this code:
This window fill all my desktop.
You must fit the line:
height-request or width-request at you window desktop.
Anyway If for example you create a window without borderless that contains an SVG image with black background using a pixmap to fill the entire window and you simultaneously create a background image desktop of the same black color, do not you'll have to worry about the size of the window not appreciate the difference between the background-desktop and window program.
All this is an idea that I have never tried this.
I nerver argue with anybody, I am here for enjoy Puppy, for help and if I can ever help someone.
See this code:
Code: Select all
#! /bin/bash
export DIALOG='
<window title="Window" height-request="1800" width-request="2440">
<vbox>
<frame>
<text>
<label>trying fit the window to the window desktop.</label>
</text>
</frame>
<hbox>
<button ok>
</button>
</hbox>
</vbox>
</window>'
gtkdialog4 --program=DIALOG
You must fit the line:
Code: Select all
<window title="Window" height-request="1800" width-request="2440">
Anyway If for example you create a window without borderless that contains an SVG image with black background using a pixmap to fill the entire window and you simultaneously create a background image desktop of the same black color, do not you'll have to worry about the size of the window not appreciate the difference between the background-desktop and window program.
All this is an idea that I have never tried this.
I nerver argue with anybody, I am here for enjoy Puppy, for help and if I can ever help someone.
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
other try
starhawk check this code.
Save in one text file for example test.sh
# chmod 777 test.sh
# ./test.sh
The problem is the contour line of the window but this can be solved by picking a black theme in Gtk + 2.0 Change theme.
See you
Code: Select all
export IMG23=/tmp/img23.svg
trap 'rm -rf $IMG23' EXIT
echo ' <svg id="svg1">
<rect
width="980.74536133"
height="980.74542236"
x="0.0"
y="0.0"
style="font-size:12;fill:#000000;fill-opacity:1.00;fill-rule:evenodd;stroke-width:3pt;"
id="rect563" />
</svg>' > $IMG23
export DIALOG='
<window title="Example Window" decorated="false">
<vbox>
<eventbox>
<pixmap>
<variable>PICTURE</variable>
<input file>'$IMG23'</input>
</pixmap>
<action signal="button-press-event">Exit:</action>
</eventbox>
</vbox>
</window>
'
gtkdialog --program=DIALOG
# chmod 777 test.sh
# ./test.sh
The problem is the contour line of the window but this can be solved by picking a black theme in Gtk + 2.0 Change theme.
See you
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
CONTINUE
If this is the problem the solution how I told you:
I am using JWM.
The problem is the contour line of the window but this can be solved by picking a black theme in Gtk + 2.0 Change theme.
I am using JWM.
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
lol
Do not worry often happens to me too.
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
Hi starhawk you try this.
Hi starhawk you try this.
I'm also interested in making control panels for my electronic equipment, so I started thinking about what you said.
Thanks to the code of the wonderful people on the forum "Gtkdialog tips" I could do this small example that can be a beginning to create more complex panels.
I have adapted the code for this small panel.
With the following results.
I'm also interested in making control panels for my electronic equipment, so I started thinking about what you said.
Thanks to the code of the wonderful people on the forum "Gtkdialog tips" I could do this small example that can be a beginning to create more complex panels.
I have adapted the code for this small panel.
With the following results.
- Attachments
-
- PANEL.png
- (10.03 KiB) Downloaded 302 times
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
Hi starhawk you try this.
I hope he can be transferred to other computers without problems since it may different settings do not work desktops.
You have to download the compressed file, decompress and get into the /PANEL directory and run by:
./panel.sh
You may need to give permission
chmod 777 panel.sh
And itch with the mouse in the panel buttons.
I hope it useful for you, and tell me if it works.
Greatings.
You have to download the compressed file, decompress and get into the /PANEL directory and run by:
./panel.sh
You may need to give permission
chmod 777 panel.sh
And itch with the mouse in the panel buttons.
I hope it useful for you, and tell me if it works.
Greatings.
- Attachments
-
- panel.tar.gz
- (1.44 KiB) Downloaded 236 times
Last edited by mister_electronico on Tue 05 May 2015, 11:55, edited 1 time in total.
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
no no no
mistake ... post.
Re: Hi starhawk you try this.
Very clever. Works for me. Although I do notice that it requires a long press on the mouseclick button - if I do my normal click it does not respond so I have to hold my finger on the button a little bit longer than usual.mister_electronico wrote:I hope it useful for you, and tell me if it works
- mister_electronico
- Posts: 969
- Joined: Sun 20 Jan 2008, 20:20
- Location: Asturias_ España
- Contact:
try this
Try this, change timer time in the line of program code, I put 100 of time to ensure that work on slower computers, but you can put in 80, 60, 50 or less and the click of mouse will be faster.
Thanks for check it and reply.
Code: Select all
<timer visible="false" milliseconds="true" interval="100"
Re: try this
Thanks. Just responded on other thread.mister_electronico wrote:Thanks for check it and reply.