Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conf location #254

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A slick-looking LightDM greeter

- The default configuration is stored in dconf under the schema x.dm.slick-greeter.
- Distributions should set their own defaults using a glib override.
- Users can create and modify /etc/lightdm/slick-greeter.conf, settings in this files take priority and overwrite dconf settings.
- Users can create and modify /etc/lightdm/lightdm.conf.d/slick-greeter.conf, settings in this files take priority and overwrite dconf settings.

A configuration tool is available at https://github.com/linuxmint/lightdm-settings

Expand All @@ -26,7 +26,7 @@ A configuration tool is available at https://github.com/linuxmint/lightdm-settin

----

Configuration file format for /etc/lightdm/slick-greeter.conf
Configuration file format for /etc/lightdm/lightdm.conf.d/slick-greeter.conf

[Greeter]
# LightDM GTK+ Configuration
Expand Down
2 changes: 1 addition & 1 deletion data/slick-greeter.8
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Show help options.
.SH Configuration File-Format
.TP
.TP
.B /etc/lightdm/slick-greeter.conf
.B /etc/lightdm/lightdm.conf.d/slick-greeter.conf
.TP
Available configuration options are listed below.
.TP
Expand Down
2 changes: 1 addition & 1 deletion src/settings.vala
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@
public static void apply_conf_settings ()
{
try {
var path = "/etc/lightdm/slick-greeter.conf";
var path = "/etc/lightdm/lightdm.conf.d/slick-greeter.conf";
var gsettings = new Settings (SCHEMA);
var keyfile = new KeyFile ();

if (FileUtils.test (path, FileTest.EXISTS))

Check failure on line 120 in src/settings.vala

View workflow job for this annotation

GitHub Actions / build / build (mint22, linuxmintd/mint22-amd64, Mint 22, true) / Mint 22

FileTest ==> file test
{
keyfile.load_from_file (path, KeyFileFlags.NONE);
}
Expand Down
Loading