Comments (6)
See --auto-refresh-delay=DELAY
in
man xpra
Is this what you are after?
I don't understand why you would want to use it, how does this help with latency? Also I don't understand what this means in this context: "when switching the desktop, I can see the screen"
from xpra.
2011-11-24 11:49:45: pmarek commented
Yes,
--auto-refresh-delay=DELAY
looks exactly right - but can this be configured in winswitch? Per host, or perhaps even per application?And I meant that on CTRL-F1 I can see the new desktop immediately (with all open windows), but only after a fraction of a second the xpra-relayed window gets its updated content.
Sorry if I'm not clear enough.
from xpra.
This cannot be configured at present in winswitch, it is automatically set based on the connection speed defined for this server, look for get_auto_refresh_delay
in xpra_client_base.py : from 5 seconds for "modem" speed to 0.5 for "lan" and "0.2" for local.
What does CTRL-F1 do? Is this a desktop overview thing? Is it tied to compiz or something else? What do I need to see this?
Why do the windows refresh at all? Does this happen without ssh in the last hop?
How is this different from normal use? Or does this also happen during normal use?
from xpra.
2011-11-25 07:36:28: pmarek commented
Well, there's some misunderstanding then.
IIUC for LAN the window should get refreshes automatically every half second?Either this is disabled, or it just doesn't work.
CTRL-F1 switches to the first virtual desktop (of which I have four); on each desktop I've got certain applications running (by my own convention), and the xchat is on desktop 1. So CTRL-F1 switches to this first desktop; this switching is instantaneous, but about ⅓ to ½ a second later the xchat window gets refreshed (tabs at the bottom get colored red, for channels with unread messages - when I leave the desktop, the tabs are normally black, because I've looked at them).
No, there's no compiz involved (AFAIK); the desktop effects are all disabled.
You need at least 2 virtual desktops; having the window get changes (eg. an 'while sleep 1 ; do date ; done' in an xterm) should be enough.Well, this is "normal" use; I'd just like to get the window refreshed every, say, 1 minute, so when I finally switch to this desktop all the tabs are already colored red, instead of switching half a second later.
from xpra.
Well, there's some misunderstanding then.
IIUC for LAN the window should get refreshes automatically every half second?
Only if 2 conditions are satisfied:
- if there are other refreshes, the full-window refresh will not occur
- the window must be visible...
CTRL-F1 switches to the first virtual desktop
OK, this is the bit I was missing: CTRL-F1 does nothing here, now that you mention that you are switching virtual desktops this makes more sense.
The window is being hidden by the local window manager so Xpra ignores all redraws until the window is shown again, hence the delay.
Changing this behaviour may be difficult, but I'll see what I can do.
Could be dealt with as part of #41: "unmapped" windows could have their window-source tuned to only send updates at most 1 time per N second to those clients that do not show the window, then we would need a new window state: "unmapped but not in task-list yet gets updated"... (no paint or events, just backing updates)
from xpra.
See also #3473
from xpra.
Related Issues (20)
- libyuv: add scaling support to YUV input before converting to RGB
- GLib-GIO-CRITICAL *and other issues* HOT 19
- With layout set to gr (locally/remote), there are warning errors (and keys don't pass through) HOT 2
- tip: clipboard usage via xclipboard HOT 2
- probe-error:not painted on screen HOT 5
- Unable to use (copilot) tab-completion in PyCharm HOT 1
- Something "very weird" happens, and the Session Info window cannot be click-drag-moved HOT 2
- Use more native file picker/save dialogs HOT 3
- run_scaled parsed is wrong making it impossible to use it as intended. HOT 2
- WinKey is not "pass through" HOT 1
- Copying 🥳 from Windows to Ubuntu works, from Ubuntu to Windows it gives `ð¥³` HOT 2
- switch to asyncssh
- send more than one clipboard target to greedy clients
- xpra client v6 can not attach to the v5 server HOT 2
- Server crash when using IntelliJ IDEA HOT 7
- Can't attach microsoft edge session locally. HOT 2
- clopboard copy returns python "byte" string HOT 3
- Failed to copy from linux to windows HOT 4
- Failed to connect to socket /tmp/dbus-gXpCRTJe1M: Connection refused HOT 7
- blank window in lxqt desktop when attach locally HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpra.