3
votes
1answer
342 views

How to run python script at login screen?

I use a python script to set brightness to zero. #!/usr/bin/python import dbus bus = dbus.SessionBus() proxy = bus.get_object('org.gnome.SettingsDaemon', ...
0
votes
2answers
1k views

how can I shutdown from the command line using lightdm? [duplicate]

Possible Duplicate: How do I restart /shutdown from a terminal? In gdm I could use os.system("gdm-control --reboot && openbox --exit") In a Python script. What would the ...
7
votes
2answers
5k views

Programmaticaly change lightdm autologin session type

I have problem with lightdm setting autologin session type (using my config tool). Lightdm logs into previously selected session. I see that autologin-session is UNIMPLEMENTED in version 1.2.1. Maybe ...
1
vote
0answers
407 views

Get available languages and change default lightdm lang with Python [closed]

I need to get list of available languages and related Country (e.g. en_US - United States) using Python. Then I would like to change default system language using Python. There is language switcher ...