LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to remove the suspend an hibernate buttons from user logout
#1
I have installed Linux Lite literally hundreds of times. I have yet to encounter an unsurmountable issue. Here I am suddenly puzzled. I simply cannot get the Lite Tweaks UI to remove the suspend & hibernate buttons from the logout screen. OS runs perfectly, machine is Intel Dell and not exotic. For some reason tweaks is not requiring authentication for this option, and it is a desktop not a laptop, so somewhere in those configurations is where the issue lies. It's not possible to reboot and install without authentication in Debian, yet Lite Tweaks is seeming to attempt this concerning hiding the buttons.

TC


All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#2
You didn't mention what version of LT and LL.

Sent from my Mobile phone using Tapatalk

Reply
#3
Sorry Jerry. LL 4.0 fully updated, so I guess newest version of LT. I like to remove those buttons when I know the user is not computer savvy to prevent accidental suspensions/hibernations and unneeded phone calls to the office, and in this particular case even a road trip. A lot of refurb computers I give away out of my shop go to financially and intellectually challenged users, often completely new to computing. I may not understand the UI myself in this case. It seems to background the process with a small active load window hidden beneath the choice window. It offers restart after selecting the change but requires no authentication to run, and the change does not take effect. Knowing the quality of Linux Lite I suspect the UI is just confusing me, and I am not using it correctly. Thanks for the reply.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#4
Code:
apt policy lite-tweaks
Reply
#5
Works fine here, all updated:

Installed: 4.0-0010-linuxlite
  Candidate: 4.0-0010-linuxlite

[Image: pLFOniQ.png]

Take a look at the code if you like, try the commands via cli. Look for suspicious output.
Reply
#6
Thanks again Jerry. Now that I know it works, I can assume that something went wrong with the way I used the UI, or there is an error in the code on my end somewhere. I'll go through it later today. It kinda threw me. I'm very spoiled with the quality of Linux Lite. It is the very first time I've ever encountered a problem. I'll report back, but I bet something got borked during install, though that never happens to me either. Once or twice in a couple hundred, and only  exotic AMD stuff. Thanks again for replying to something that is probably operator error on my end.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#7
I had no idea that removing these buttons was even possible so I was thrilled to hear that I can do this with Lite Tweaks! I tried it on my LL 4.0 laptop and it all went smoothly.

The only thing that tripped me up a little is that I then realized I need to do it for each user, not just the main user. I have 3 users on this laptop, and initially I didn't realize I'd need to log into all 3 accounts and use the Lite Tweaks on all 3. But after I did that, it worked perfectly! This is ideal because I don't want any of the users to accidentally put it into hibernate or suspend when they are trying to shut down or log out.
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!
Reply
#8
[member=2]Jerry[/member]

1) Well I did go through the shell code and the dpkg logs and it all looked pretty nice to me, and running from the CLI did not error but stalled/hung, so finally last night I compared it to another running system and it matched perfectly. System log was next and that's where the errors showed up, several others in fact, including settings that were not passed on reboots. As I said the shell code seemed without error, so rather than immediately conclude the system was borked, I realized it could be the disk, and there it was, several bad sectors at the head of the disk, of course multiplying themselves with each change requiring a reboot to take effect. What was actually happening was when I ran lite-tweaks the changes were taking so long to initialize because of the bad sectors that they were not recorded in time for the reboot. Replaced the disk, installed again from the same USB, and all is well now.

2) I am curious if gksu is the best way to go here with the lite-tweaks code. I'm assuming that's because of the specific UI call.

3) Also it might make more sense to require sudo for h/s buttons option as the log-off screen window setting would then be the same on multi-user setups. That makes more sense because skilled users would know how to use the CLI anyway, and the options would then be hidden from dilettante users.

I enjoyed the journey anyway, and this was the last of any older Intel machines I have on hand until next month, so what's left around here is only Debian and AMD cpus. Feels a little empty, but kinda refreshing too.Thanks again for the reply.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#9
Point 2 - gksu is being deprecated. We started replacing it with pkexec some time ago. https://itsfoss.com/gksu-replacement-ubuntu/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)