DE0-nano-SoC screen resolution for SSH X

43 views
Skip to first unread message

Alexey Volkov

unread,
Jan 8, 2018, 2:03:35 PM1/8/18
to Machinekit
Hello All

I have run into a issue of setting the default screen resolution for DE0-nano-SoC running Machinekit thru SSH -X.
I am using RPi3 with 7" Touch Screen as a terminal. The problem is what the SSH windows is way bigger than the screen resolution (800X480) and it extends beyond the desktop.
I can't figure out how to set a default screen resolution (hence IMHO windows size for SSH).
I have tried to change uEnv.txt to force the resolution like video=HDMI-A-1:720x480@60 or video=HDMI-A-1:720x480M@60 but with no success. Any ideas?
By the way, did I edit the right one: in a boot folder?
Also, did anybody tried to use QtQuickVcp based remote interface on this platform? Any clients for low resolution touch displays?

Best regards,
Alexey
 

Charles Steinkuehler

unread,
Jan 9, 2018, 10:45:34 AM1/9/18
to machi...@googlegroups.com
On 1/8/2018 1:03 PM, Alexey Volkov wrote:
> Hello All
>
> I have run into a issue of setting the default screen resolution for
> DE0-nano-SoC running Machinekit thru SSH -X.
> I am using RPi3 with 7" Touch Screen as a terminal. The problem is what the
> SSH windows is way bigger than the screen resolution (800X480) and it
> extends beyond the desktop.
> I can't figure out how to set a default screen resolution (hence IMHO
> windows size for SSH).

The UI window starts at it's minimum size. The Axis UI in particular
is pretty large, and is not designed for a wide/short display. IIRC,
it really wants a minimum 800 x 600 display.

--
Charles Steinkuehler
cha...@steinkuehler.net

Alexey Volkov

unread,
Jan 9, 2018, 12:51:51 PM1/9/18
to Machinekit
Hello Charles

Yes, Axis got fairly big main window. But on typical linux system you can define the remote computer resolution so then you open the SSH session it uses remote computer screen resolution to open the windows on the terminal side. This makes possible to have a remote access to the systems with high screen resolution from the terminal with smaller resolution. But for DE0 the command defining SSH tesolution does not exist and I can’t change screen resolution at the boot as well.

Alexey Volkov

unread,
Jan 9, 2018, 12:54:32 PM1/9/18
to Machinekit

Charles Steinkuehler

unread,
Jan 9, 2018, 2:34:16 PM1/9/18
to machi...@googlegroups.com
If your screen (local *OR* remote) is too small, the Axis window will
be larger than the screen. That's just how it works. Defining a
smaller physical or remote screen size will not make the Axis window
any smaller, it's minimum size is encoded in the window layout.

To get a smaller window, you will need to use a different UI or
customize the Axis UI to shrink it's minimum size.

--
Charles Steinkuehler
cha...@steinkuehler.net

Alexey Volkov

unread,
Jan 9, 2018, 2:38:34 PM1/9/18
to Charles Steinkuehler, machi...@googlegroups.com
Hello Charles

I see. Thanks for the info. I was expecting the system to create smaller window with the scroll bars or something like this.

Seems like I would have to re-write the interface or create one of my own.

Best regards,
Alexey

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to a topic in the Google Groups "Machinekit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/machinekit/uIu6ATFWDOQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages