Hello all,
I am configuring an old UpBoard (SBC) with Trinity as Desktop. I plan that this machine will be used by people who know little (or nothing) about Linux and maybe even computers.
The point is: when I right-click the desktop and choose "logout", I get a lot of possibilities: Logout, Shutdown, Restart, Freeze, Suspend, Hibernate and Hybrid suspend.
I'd like to have only the three first ones.
Would removing TDEPowersave do that (Powersave is no use as this SBC does not have any battery)? Or is there any otherway to configure that (maybe in TDM, as running with lightdm offered only "logout")?
Thierry
Anno domini 2026 Wed, 21 Jan 23:09:18 +0100 Thierry de Coulon via tde-users scripsit:
Hello all,
I am configuring an old UpBoard (SBC) with Trinity as Desktop. I plan that this machine will be used by people who know little (or nothing) about Linux and maybe even computers.
The point is: when I right-click the desktop and choose "logout", I get a lot of possibilities: Logout, Shutdown, Restart, Freeze, Suspend, Hibernate and Hybrid suspend.
I'd like to have only the three first ones.
Would removing TDEPowersave do that (Powersave is no use as this SBC does not have any battery)? Or is there any otherway to configure that (maybe in TDM, as running with lightdm offered only "logout")?
Did you succeed?
Nik
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
On Thursday 22 January 2026 22:26:04 Dr. Nikolaus Klepp via tde-users wrote:
Did you succeed?
Nik
No. Removing tdepowersave changes nothing. Reverting to lightdm changes nothing.
I've searched the various rc files, nothing.
I also noticed that the logout screen is not translated (in French). I never notices it as I use my desktop in English, but there I installed the French localisation but that screen has English buttons.
Thierry
Anno domini 2026 Sat, 24 Jan 21:50:00 +0100 Thierry de Coulon via tde-users scripsit:
On Thursday 22 January 2026 22:26:04 Dr. Nikolaus Klepp via tde-users wrote:
Did you succeed?
Nik
No. Removing tdepowersave changes nothing. Reverting to lightdm changes nothing.
I've searched the various rc files, nothing.
I also noticed that the logout screen is not translated (in French). I never notices it as I use my desktop in English, but there I installed the French localisation but that screen has English buttons.
You could disable the logout dialog so that when the user closes his session it always ends with tdm/loghtdm/xdm and then use the *xm dialog to shutdown or press the power button to shut down in the first place. I did choose this aproach for all my systems.
Nik
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
On Sunday 25 January 2026 08:42:37 Dr. Nikolaus Klepp via tde-users wrote:
You could disable the logout dialog so that when the user closes his session it always ends with tdm/loghtdm/xdm and then use the *xm dialog to shutdown or press the power button to shut down in the first place. I did choose this aproach for all my systems.
Nik
How do you do that?
I've unticked the "offer shutdown options" in the session manager. It does remove everything but "logout", but then the user is back at the login screen and needs to find how to shutdown.
There is no power button on this "machine" (it's an UpBoard, for information), so that solution is not available.
I've tried modifying /etc/sudoers to let the user run poweroff, but it does not work (MX-25, Trixie based).
Thierry
Anno domini 2026 Sun, 25 Jan 10:22:11 +0100 Thierry de Coulon via tde-users scripsit:
On Sunday 25 January 2026 08:42:37 Dr. Nikolaus Klepp via tde-users wrote:
You could disable the logout dialog so that when the user closes his session it always ends with tdm/loghtdm/xdm and then use the *xm dialog to shutdown or press the power button to shut down in the first place. I did choose this aproach for all my systems.
Nik
How do you do that?
I've unticked the "offer shutdown options" in the session manager. It does remove everything but "logout", but then the user is back at the login screen and needs to find how to shutdown.
in ./share/config/ksmserverrc:
[General] confirmLogout=false excludeApps= loginMode=default offerShutdown=true screenCount=1 shutdownType=2
[Logout] doFancyLogout=false showLogoutStatusDlg=false
Manually: First you set the default behavior of the logout dialog to "shutdown", then you use it once. In the next session select no logout dialog, use it once. Next session should shutdown when you logout (or what ever you choosed in step 1). In the config "shutdownType" defines logout or shoutdown.
sudo: could you post the lines in /etc/sudoers?
Nik
There is no power button on this "machine" (it's an UpBoard, for information), so that solution is not available.
I've tried modifying /etc/sudoers to let the user run poweroff, but it does not work (MX-25, Trixie based).
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
On Sunday 25 January 2026 13:27:14 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2026 Sun, 25 Jan 10:22:11 +0100
Thierry de Coulon via tde-users scripsit:
On Sunday 25 January 2026 08:42:37 Dr. Nikolaus Klepp via tde-users wrote:
You could disable the logout dialog so that when the user closes his session it always ends with tdm/loghtdm/xdm and then use the *xm dialog to shutdown or press the power button to shut down in the first place. I did choose this aproach for all my systems.
Nik
How do you do that?
I've unticked the "offer shutdown options" in the session manager. It does remove everything but "logout", but then the user is back at the login screen and needs to find how to shutdown.
in ./share/config/ksmserverrc:
[General] confirmLogout=false excludeApps= loginMode=default offerShutdown=true screenCount=1 shutdownType=2
[Logout] doFancyLogout=false showLogoutStatusDlg=false
Manually: First you set the default behavior of the logout dialog to "shutdown", then you use it once. In the next session select no logout dialog, use it once. Next session should shutdown when you logout (or what ever you choosed in step 1). In the config "shutdownType" defines logout or shoutdown.
Yes! Your solution works. Combined with autologin this is perfect for my users, they don't need to know more about the OS.
sudo: could you post the lines in /etc/sudoers?
%USER ALL=(ALL) NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
Or
%USER ALL=(ALL) NOPASSWD /sbin/halt, /sbin/reboot, /sbin/poweroff
I found both, so I tried both. Anyway, I still get "you must ne root" if I type poweroff.
Thank you,
Thierry
Nik
There is no power button on this "machine" (it's an UpBoard, for information), so that solution is not available.
I've tried modifying /etc/sudoers to let the user run poweroff, but it does not work (MX-25, Trixie based).
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydes ktop.org
Anno domini 2026 Sun, 25 Jan 14:54:31 +0100 Thierry de Coulon via tde-users scripsit:
On Sunday 25 January 2026 13:27:14 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2026 Sun, 25 Jan 10:22:11 +0100
Thierry de Coulon via tde-users scripsit:
On Sunday 25 January 2026 08:42:37 Dr. Nikolaus Klepp via tde-users wrote:
You could disable the logout dialog so that when the user closes his session it always ends with tdm/loghtdm/xdm and then use the *xm dialog to shutdown or press the power button to shut down in the first place. I did choose this aproach for all my systems.
Nik
How do you do that?
I've unticked the "offer shutdown options" in the session manager. It does remove everything but "logout", but then the user is back at the login screen and needs to find how to shutdown.
in ./share/config/ksmserverrc:
[General] confirmLogout=false excludeApps= loginMode=default offerShutdown=true screenCount=1 shutdownType=2
[Logout] doFancyLogout=false showLogoutStatusDlg=false
Manually: First you set the default behavior of the logout dialog to "shutdown", then you use it once. In the next session select no logout dialog, use it once. Next session should shutdown when you logout (or what ever you choosed in step 1). In the config "shutdownType" defines logout or shoutdown.
Yes! Your solution works. Combined with autologin this is perfect for my users, they don't need to know more about the OS.
Nice :)
sudo: could you post the lines in /etc/sudoers?
%USER ALL=(ALL) NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
Or
%USER ALL=(ALL) NOPASSWD /sbin/halt, /sbin/reboot, /sbin/poweroff
I found both, so I tried both. Anyway, I still get "you must ne root" if I type poweroff.
%user ALL=(ALL:ALL) NOPASSWD: /sbin/poweroff
and then as member of group user: sudo /sbin/poweroff
Nik
Thank you,
Thierry
Nik
There is no power button on this "machine" (it's an UpBoard, for information), so that solution is not available.
I've tried modifying /etc/sudoers to let the user run poweroff, but it does not work (MX-25, Trixie based).
Thierry ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydes ktop.org
On Sunday 25 January 2026 14:59:53 Dr. Nikolaus Klepp via tde-users wrote:
%user ALL=(ALL:ALL) NOPASSWD: /sbin/poweroff
and then as member of group user: sudo /sbin/poweroff
Nik
But then the user must use the password.
I'm trying to recycle this UpBoard I had purchased some years ago to be used by people who know nothing about Linux (and not much about compters) to run a single program.
With your solution it (should) works: They start the computer by connecting the poweradapter, the computer automatically logs in the (only) user. I've written a small bash script so that they can automatically create a new instance of that unique program (that will be used once a year) and creates an icon on the desktop.
They just have to click on that icon, use the program and shutdown the computer. I hope they manage that :)
Thierry