简体   繁体   中英

How to change window position in X11 Viewer

my VNC Viewer shows only half of the screen :/

I'm using JDownloader in combination with my.jdownloader as a deamon on my ubuntu 14.04 server for my personal downloads.

In my.jdownloader are many different settings possible. But I'd like to have the original gui, if i wanne change something special. I was going to use x11vnc. I installed and configured it, but when I'm successfully connecting to the VNC session, I only got half the GUI window.

Not that the VNC window isn't wide enought. NO! The window is just beginning at the middle of the VNC window, so the rest is moving out of the vnc screen.

Here are all configurations I use at the moment:

JDSTART  ="DISPLAY=:1 java -jar $JD2DIR/JDownloader.jar"
XVFBSTART="Xvfb :1"
X11START ="x11vnc -display :1 -xkb"

I can not grab and move the window and I don't know how to configure the window position. Can anyone help at that?

Here a screeny of my VNC Viewer window. 在此处输入图片说明

You can use xdotool, in terminal

  1. export DISPLAY=:1

  2. xdotool search --any "JDow"

  3. xdotool windowmove xxxxx 0 0 ( xxxx number from step 2 )

I'm looking something better than this, but, it is working

EDIT

You have to install window manager, for example blackbox, fluxbox, or flwm. Next add to your script this: blackbox -display :1

Found https://board.jdownloader.org/showthread.php?t=64399

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM