Hi Robert,
switching to x2go-user context as being OT on x2go-project.
On Do 25 Aug 2016 06:48:53 CEST, Robert Dinse wrote:
Can't figure out where mate has start up scripts. The mate-session start up is a binary. There is an /etc/mate/xrandr directory with
no contents and no man page. It does not source .bashrc or .profile.
On Debian and Ubuntu machines, we inject some MATE branding in
/etc/X11/Xsession.d/, basically by injecting another path into
$XDG_DATA_DIRS (/usr/share/mate).
In that directory, you can find some tweaks for default applications
and such (debian-mate-default-settings or ubuntu-mate-default-settings
by package name).
For autostarting applications, MATE strictly follow the XDG specs by
freedesktop.org.
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
On 26.08.2016 09:42 PM, Mike Gabriel wrote:
On Debian and Ubuntu machines, we inject some MATE branding in
/etc/X11/Xsession.d/, basically by injecting another path into
$XDG_DATA_DIRS (/usr/share/mate).In that directory, you can find some tweaks for default applications
and such (debian-mate-default-settings or ubuntu-mate-default-settings
by package name).For autostarting applications, MATE strictly follow the XDG specs by
freedesktop.org.
A more simple way would be to create a script in ~/bin/, for instance called "resize.sh" with this content:
#!/bin/sh sleep 30s xrandr -s 1680x1050
(Maybe you'll need to adjust the sleeping time, but that's for your experimentation.)
Then make sure it's executable via "chmod +x ~/bin/resize.sh".
Then use System -> Preferences -> Startup Applications in MATE and then add a new entry calling this script exactly.
Mihai
This works for the host machines that no customers login to but not for
the guest machines that are used by many customers with different screen dimensions.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 26 Aug 2016, Mihai Moldovan wrote:
Date: Fri, 26 Aug 2016 22:04:15 +0200 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com> Cc: x2go-user@lists.x2go.org Subject: Re: [X2Go-User] Upcoming Deprecation of EOL Distributions
On 26.08.2016 09:42 PM, Mike Gabriel wrote:
On Debian and Ubuntu machines, we inject some MATE branding in /etc/X11/Xsession.d/, basically by injecting another path into $XDG_DATA_DIRS (/usr/share/mate).
In that directory, you can find some tweaks for default applications and such (debian-mate-default-settings or ubuntu-mate-default-settings by package name).
For autostarting applications, MATE strictly follow the XDG specs by freedesktop.org.
A more simple way would be to create a script in ~/bin/, for instance called "resize.sh" with this content:
#!/bin/sh sleep 30s xrandr -s 1680x1050
(Maybe you'll need to adjust the sleeping time, but that's for your experimentation.)
Then make sure it's executable via "chmod +x ~/bin/resize.sh".
Then use System -> Preferences -> Startup Applications in MATE and then add a new entry calling this script exactly.
Mihai