aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix background if image file is not readable.Cobinja2018-11-261-0/+18
| | | | | | | | | | | | | This fixes a bug, where we fell back to the defined background color, if reading an image file failed. If that file was a user background, we didn't fall back to the defined system background before using the color, now we do. Only if that one is not readable either, we fall back to the color. Ported from Slick Greeter: https://github.com/linuxmint/slick-greeter/commit/32f2bb5feebca3377c9fc202e0a6aac6ddb75212.patch
* src/background.vala: Fix for previous commit. Vala needs a bool expression ↵Mike Gabriel2018-09-061-1/+1
| | | | in if-clauses.
* src/background.vala: Fix FTBFS against Vala 0.42. This introduces a slight ↵Mike Gabriel2018-08-221-3/+8
| | | | behaviour change compared to the previous version, but actually in a direction we want it to be.
* Posix.Signal.<SIG>: Provide old-style Posix.SIG<SIG> API calls if built with ↵Mike Gabriel2018-06-213-0/+20
| | | | Vala API version << 0.40. (Fixes FTBFS on Debian 9).
* Use Posix.Signal.* rather than Posix.SIG*. (Vala 0.40 deprecations).Mike Gabriel2018-06-163-5/+5
|
* Add option to show GUI on a specific monitorCobinja2018-06-162-20/+32
| | | | | | | This adds the option "only-on-monitor". Default is "auto", which means "Follow the mouse", like it was without this option. Ported from slick-greeter by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/arctica-greeter.vala: Have MATE's marco WM as window manager for Arctica ↵Mike Gabriel2018-06-161-0/+32
| | | | Greeter. Makes handling windows opened via some of the indicators much more organic.
* src/user-list.vala: Rename gsettings key remote-service-fqdn to ↵Mike Gabriel2018-05-112-2/+5
| | | | remote-service-configure-uri. Support an empty string as value and show a more intelligent message if it's empty.
* Remote Logon configuration support: session name is now "remoteconfigure".Mike Gabriel2018-05-111-2/+2
|
* user-list.vala: fix missing parentheses from previous commitsMike Gabriel2018-05-081-2/+2
|
* src/user-list.vala: Rephrase username field text to "Account ID" (can be ↵Mike Gabriel2018-05-081-1/+1
| | | | email or user name).
* src/user-list.vala: Hide "Set up..." button, if uccsconfigure is a ↵Mike Gabriel2018-05-081-1/+1
| | | | non-supported remote login session.
* src/user-list.vala: Mention X2Go in remote logon help / setup hint.Mike Gabriel2018-05-081-2/+2
|
* src/user-list.vala: Add debugging to remote_login PAM prompt responding.Mike Gabriel2018-05-061-0/+5
|
* src/user-list.vala: Obtain PAM_FREERDP2 prompts from public API in ↵Mike Gabriel2018-05-043-4/+14
| | | | security/pam-freerdp2.h.
* src/user-list.vala: Obtain PAM_X2GO prompts from public API in ↵Mike Gabriel2018-05-043-4/+14
| | | | security/pam.x2go.h.
* src/user-list.vala: Follow-up fix for previous commit.Mike Gabriel2018-05-041-1/+1
|
* Use RLS/pam_x2go.so API v5. The PAM prompt now queries "remote command:", ↵Mike Gabriel2018-05-041-3/+3
| | | | not "x2gosession:".
* main-window: Calculate the really needed screen size properlyBjörn Esser2018-03-161-2/+22
|
* src/arctica-greeter.vala: Trigger UPower activation when greeter starts.Mike Gabriel2018-03-161-0/+13
|
* HiDPI: Do not enable it in test-mode.Mike Gabriel2018-03-161-9/+13
|
* Port HiDPI support from slick-greeter.Mike Gabriel2018-03-162-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Inspired by these slick-greeter commits: commit ffd43c4d425e70bc003b490dcddb8fbae1fffea7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Apr 8 14:13:23 2017 +0100 HiDPI: Allow to force HiDPI support ON or OFF commit 809f1b30a321ae12fdd3ba154791f9ead291acc7 Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 23:04:50 2017 +0100 HiDPI: Take the screen size in consideration HiDPI shouldn't be activated on large screens where the dpi is OK. commit 851fca4e5508471d6f388edcd0327c3fc5b2b12f Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Fri Apr 7 18:43:42 2017 +0100 Add HiDPI support Only support 1x and 2x scale ratios for now. Also add a setting so the user can disable HiDPI support.
* src/{user-list.vala,user-prompt-box.vala}: Fix segfault in newly introduced ↵Mike Gabriel2018-03-162-4/+4
| | | | debug message.
* Use Ubuntu logo for Unity session (has no since no longer Ubuntu default)Robert Ancell2018-03-161-0/+1
|
* src/arctica-greeter.vala: Clear the AT_SPI_BUS property on the root window ↵Michael Webster2018-03-121-0/+12
| | | | | | | on exit, so the user session components won't fail to connect. Based on fix for lightdm-gtk-greeter see: https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1670933
* greeter: Avoid expensive Python calls when it isn't needed.Ikey Doherty2018-03-121-0/+6
| | | | | | | | | | | | | | On non Debian/Ubuntu systems, the /etc/default/keyboard path does not exist. To prevent expensive Python startup (and hundreds/thousands of stats + follow-up loads) we'll reduce to an initial early stat, i.e. if the non-standard file exists only then will we exectute the helper stub. This is most useful on systems that employ systemd for the X11 keyboard configuration (`00-keyboard.conf` from systemd-localed) so that the X server already has the correct layout upon starting up. This approach also avoids unnecessary xkbcomp calls forcing recompilation of non-cached assets. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
* Fix build with vala 0.39Jeremy Bicha2018-02-271-2/+2
| | | | Inspired by https://github.com/linuxmint/slick-greeter/commit/3959b22a
* White-space cleanup. Removing superfluous EOL white-spaces.Mike Gabriel2017-12-075-13/+13
|
* Revert "a11y: Use HighContrast rather than HighContrastInverse."Mike Gabriel2017-10-301-1/+1
| | | | This reverts commit 6d087e792ebe9f27efeddef9209b7a85698088bf.
* a11y: Use HighContrast rather than HighContrastInverse.Clement Lefebvre2017-10-261-1/+1
| | | | | | | | | | Ported from slick-greeter: commit 591d9aab85c35511a7bc44e8cb2968840941b32c Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Wed Jun 7 21:30:36 2017 +0100 A11y: Fix HighContrast option
* Explicitly set the keyboard layoutMike Gabriel2017-10-263-0/+15
| | | | | | | | | | | | | | | Ported from slick-greeter: Author: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Sat Jun 10 15:57:49 2017 +0100 Explicitly set the keyboard layout The keyboard layout isn't properly set by default in some case. This affects wireless Logitech keyboards in particular, and it results in the greeter using an American layout instead of the layout chosen during the installation.
* Add support for numlockx.Clement Lefebvre2017-10-262-0/+17
| | | | | | | | | Ported from slick-greeter: From 82d912b8fe98e01c80a59e3c010b1bbb18c859b0 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre <clement.lefebvre@linuxmint.com> Date: Tue, 11 Jul 2017 16:57:23 +0200 Subject: [PATCH 1/1] Add support for numlockx
* src/settings.vala: White-space cleanup.Mike Gabriel2017-10-261-1/+1
|
* copyright holdership: Add myself as copyright holder and author to file ↵Mike Gabriel2017-10-2621-3/+60
| | | | headers of files I have worked on.
* src/arctica-greeter.vala: Fix debug message, we use MSD, not USD.Mike Gabriel2017-10-261-1/+1
|
* src/user-list.vala: Add debug message providing info about added users / labels.Mike Gabriel2017-10-251-0/+1
|
* src/user-list.vala: Use directory enumerator for getting a random number of ↵Mike Gabriel2017-10-231-7/+14
| | | | background image. Check if the returned directory entry is not a sub-directory. If so, then skip it.
* background: Don't realize() this immediately - only start the image ↵Michael Webster2017-10-232-17/+100
| | | | | | | | | | | | | | | | | | | | | | | | gathering thread during initialization. Wait for the main window to be realized before passing its cairo surface to the background object and drawing the background for the first time. We also need to make sure in our background's size_allocate function to abort if we're not really active yet (no GdkWindow realized, and no AnimateTimer yet). Moved some background init stuff from the main window to the background class for clarity, and removed the default_background setting - it is already grabbing the default color in Background's class init. Obtained (and modified) from the following slick-greeter commits: d2a7122d731c0f19f502a9efba1feee651bcfa7c d4a2a94eb7120393bb225b680fdfecf5c1d3c4ea 941ecbc5dcb4e7a072c1ca8816d9678f59a96418 Adaptations by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
* src/arctica-greeter.vala: Don't load any external application when launched ↵Mike Gabriel2017-06-201-64/+67
| | | | in test mode.
* src/menubar.vala: Disable all indicators in test mode.Mike Gabriel2017-06-201-18/+22
|
* src/settings_daemon.vala: sd_pid is a private property.Mike Gabriel2017-06-201-1/+1
|
* src/greeter-list.vala: Move get_active_entry() functionality from ↵Mike Gabriel2017-06-201-7/+11
| | | | ListDBusInterface to the GreeterList class.
* Fix Arctica Greeter preventing DE from applying cursor theme/size.Clement Lefebvre2017-06-201-0/+6
| | | | | | | | | See https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1024482 Arctica Greeter sets the mouse cursor on the root window. Without GKD_CORE_DEVICE_EVENTS set, the DE is unable to apply its own cursor theme and size.
* Don't draw the background before starting the session.Clement Lefebvre2017-06-201-23/+0
| | | | | | | | | | | | | | | | | Drawing the background on the root window causes the following issues: - The settings daemon sets the DE resolution and that can break the aspect of the background - Depending on configuration and distros, the background rendered by the greeter may or may not be the same as the users's. - Some DEs such as Cinnamon render a login animation, which looks good on a black screen but not when a background is drawn. Potential for regression: Minimal DEs and WM should be tested to ensure the default state of the root window is OK. We might have to clear that window or explicitly paint it black (or the background color chosen by the user).
* rebase debug PIDMike Gabriel2017-06-201-1/+1
|
* src/menubar.vala: Silence build warning due to usage call to deprecated ↵Mike Gabriel2017-06-201-1/+0
| | | | ensure_style() method.
* src/background.vala: No runtime warning on empty background image filename. ↵Clement Lefebvre2017-06-201-8/+10
| | | | Ported from slick-greeter.
* Add basic screenshot capability. Ported from slick-greeter.leigh123linux2017-06-201-0/+13
|
* debugging: Print out process PIDs for launched subprocesses.Mike Gabriel2017-06-202-0/+3
|
* Add support for validating session names (and proper fallback for ↵Clement Lefebvre2017-06-203-2/+48
| | | | uninstalled sessions). Ported from slick-greeter.