summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gnome-session: don't validate shell before using itno-login-shouldnt-log-inRay Strode2021-10-191-4/+1
| | | | | | | | | | Users sometimes set their shell to an invalid shell to prevent login from proceeding. GNOME on Wayland still allows login in these cases. This commit makes the behavior match expectations by skipping shell validity checks when deciding to run though a login shell.
* Update Belarusian translationmasterŹmicier Turok2021-08-271-193/+124
|
* Update Bulgarian translationAlexander Shopov2021-07-101-293/+383
|
* Update Russian translationAlexey Rubtsov2021-06-281-45/+54
|
* Update Slovak translationDušan Kazik2021-06-111-34/+55
|
* Update Portuguese translationHugo Carvalho2021-06-021-43/+29
|
* Update Occitan translationQuentin PAGÈS2021-05-091-98/+154
|
* Update Catalan translationJordi Mas2021-05-071-1/+1
|
* Update Nepali translationPawan Chitrakar2021-05-011-112/+190
|
* Release 40.1.140.1.1benzea/fix-screensaver-initial-syncBenjamin Berg2021-04-272-1/+7
|
* presence: Fix error detection when syncing initial screensaver stateBenjamin Berg2021-04-271-1/+1
| | | | | | | The preview bugfix in commit f51153498246 was incorrect as it tested for the variant to be non-NULL to detect an error (rather than NULL). Fix this.
* Release 40.140.1Benjamin Berg2021-04-272-1/+8
|
* util: Unset LC_* variables as they may be unset at login timeBenjamin Berg2021-04-271-0/+16
| | | | | | | | | | | Otherwise, a switch from a mixed locale where LANG != REGION(/FORMAT) to a non-mixed environment where LANG == REGION(/FORMAT) may result in LC_* surviving in systemd and the change not getting applied. Similar issues might occur when other DEs are setting these variables before a login into GNOME happens. Closes: #85
* presence: Do not auto-start the GNOME Shell screensaver serviceBenjamin Berg2021-04-271-2/+45
| | | | | | | | | | | | | | As is, we are requesting the screensaver proxy to be started too early in the login process. One issue that this is causing that login may hang for a long time, other possible issues appear to be that the screensaver service is not running at all in the end. Note that gnome-settings-daemon will request the startup later on. Thanks to Xiaoguang Wang <xwang@suse.com> for finding this issue and suggesting a fix! Closes: #88
* Release 40.040.0Benjamin Berg2021-04-122-1/+7
|
* util: Remove undesired variables from activation environmentSimon McVittie2021-03-291-0/+2
| | | | | | | | | | | | | | | Commit 646b9bc0 (included in 3.33.92) prevented one run of gnome-session from uploading environment variables into `systemd --user` that should not leak into a different login session, such as XDG_SESSION_ID. However, non-GNOME session managers (and in particular the forks of gnome-session found in Cinnamon and MATE) might still upload those environment variables. The other session managers should be fixed, similar to 646b9bc0, but we can mitigate this for GNOME sessions by actively unsetting the undesired variables, instead of just not setting them. Signed-off-by: Simon McVittie <smcv@collabora.com> Resolves: https://gitlab.gnome.org/GNOME/gnome-session/-/issues/86
* Update Vietnamese translationNgọc Quân Trần2021-03-201-36/+79
|
* Update Norwegian Bokmål translationKjartan Maraas2021-03-131-5/+7
|
* Update Galician translationFran Dieguez2021-02-241-25/+10
|
* meson: Update to 40.beta40.betaBenjamin Berg2021-02-231-1/+1
|
* Update NEWS for 40.betaBenjamin Berg2021-02-231-0/+17
|
* meson: Use major version as API versionBenjamin Berg2021-02-231-7/+1
| | | | | | This is only used for the gettext package. We could possibly just the version from the gettext package entirely. But, leave as is for now and simply use the GNOME release instead.
* Separate out the logout and suspend inhibitsMichael Terry2021-02-235-94/+65
| | | | | | | | | | | | Previously, asking to inhibit suspend ended up inhibiting both sleeping and shutting down. And asking to inhibit logout did neither. With this change, we inhibit only sleeping if suspend is requested and start inhibiting shutdown when logout is requested. This matches the documentation for those Gtk inhibit flags better. https://gitlab.gnome.org/GNOME/gnome-session/-/issues/69
* Revert "Remove superfluous OnFailure= directives in target units"Benjamin Berg2021-02-238-0/+18
| | | | | | | | | Target units can indeed fail if a dependency fails. As such, it makes sense to have the OnFailure= in there. systemd just incorrectly warned about it for a while. See https://github.com/systemd/systemd/commit/94d1ddbd7cd15b1073757eb5ae0645c83f0b414c This reverts commit 11ae5b4cf00e44ba4024506835bd7cafdbf5f023.
* Revert "meson: Do not use a post_install workaround to install wayland-session"Marco Trevisan (Treviño)2021-02-102-8/+19
| | | | | | | | | Looks like that using a file-to-be-generated doesn't work as expected, so reverting previous patch. Sorry for the troubles. This reverts commit 1da09ac5bb5099e9a43cad9b8e98022f27c533c3.
* meson: Do not use a post_install workaround to install wayland-sessionMarco Trevisan (Treviño)2021-02-102-19/+8
|
* Update Punjabi translationA S Alam2021-01-311-53/+72
|
* util: Disable capturing of subpatternsBenjamin Berg2021-01-141-2/+2
| | | | | | | | | | | It seems that the pattern we use will create a subpattern match for every character of the value. This appears to then result in a stack overflow when matching very long values. It might be an idea to limit the overall length of an environment variable that is uploaded. But, this should fix the issue of crashes. Fixes: #42
* util: Never try to autostart systemdBenjamin Berg2020-12-031-4/+4
| | | | | systemd cannot be auto-started. Doing this avoids warnings during login of the gdm user where we (intentionally) cannot use systemd.
* main: Warn about failures to update the environmentBenjamin Berg2020-12-031-2/+10
| | | | Closes: #71
* main: Use already defined error from main function.Benjamin Berg2020-12-031-1/+1
|
* util: Log variables excluded from environment uploadBenjamin Berg2020-12-031-12/+10
| | | | See: #71
* util: Only accept common space charactersBenjamin Berg2020-12-031-2/+2
| | | | | | | | | | Specifically, systemd only permits " \t\n" and we should stick to the same set of permitted space characters. See also https://github.com/systemd/systemd/issues/17378 Closes: #70
* Stop dbus-daemon instead of restarting itSimon McVittie2020-12-032-4/+4
| | | | | | | | | | | | | | | On systems where dbus-daemon is a systemd user service, it is always socket-activatable, so it will be restarted on-demand by dbus.socket. On systems where it is not, neither StopUnit nor TryRestartUnit will do anything. Either way, there doesn't seem much point in immediately restarting it. If the job contradicts jobs that are already queued, fail with a warning instead of replacing those jobs. Related to #74. Signed-off-by: Simon McVittie <smcv@collabora.com>
* data: Fix indirect conflict with exit.target via app.sliceBenjamin Berg2020-12-032-4/+6
| | | | | | | | | | | | systemd v247 now puts services into app.slice by default. But app.slice will have a conflict with exit.target, which in turn means that we still get a conflict with exit.target indirectly. Fix it by adding the appropriate Slice=-.slice into gnome-session-restart-dbus.service. Also update the note in gnome-session-shutdown.service to point out the requirements. Closes: #74
* Update Norwegian Bokmål translationKjartan Maraas2020-11-301-23/+32
|
* Update Chinese (Taiwan) translationCheng-Chia Tseng2020-10-121-27/+35
|
* Update Bengali (India) translationAkarshan Biswas2020-10-111-9/+15
|
* Update Greek translationEfstathios Iosifidis2020-09-301-36/+44
|
* Update Hebrew translationYosef Or Boczko2020-09-281-55/+41
|
* Update Dutch translationNathan Follens2020-09-141-36/+46
|
* Update Latvian translationRūdolfs Mazurs2020-09-121-35/+58
|
* meson: Update to 3.38.03.38.0Ray Strode2020-09-111-1/+1
|
* NEWS: Update for releaseRay Strode2020-09-111-0/+6
|
* Update Italian translationMilo Casagrande2020-09-101-40/+50
|
* Updated Danish translationAlan Mortensen2020-09-071-38/+49
|
* Update Hungarian translationBalázs Meskó2020-09-061-35/+43
|
* Update Portuguese translationJuliano Camargo2020-09-061-49/+75
|
* meson: Generate *.session.conf for all the sessions with required componentsMarco Trevisan (Treviño)2020-08-312-14/+17
| | | | | | | As per previous commit we fill the gnome-session's session.conf based on a list of required components, we can also avoid hardcoding things even more, and generate config files for all the configured desktop sessions with required components.
* data: Leave to meson the duty of keeping the lists in syncMarco Trevisan (Treviño)2020-08-314-31/+53
| | | | | | | | | | | | | Don't leave to humans what machines can do, the gnome.session.desktop.in.in is filled with an hard-to-maintain single-line semicolon separated list of components, that then are repeated in the gnome systemd gnome.session.conf. And these are meant to be kept in sync. Meson can help us in this, so let's just keep a single list in meson and use it to generate the various formats we need. Using a map to keep the components so that this can be easily adapted and possibly new sessions can be defined