You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



unable to remove the suspend an hibernate buttons from user logout

Author (Read 5524 times)

0 Members and 1 Guest are viewing this topic.

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #9 on: September 23, 2018, 01:16:40 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Point 2 - gksu is being deprecated. We started replacing it with pkexec some time ago. https://itsfoss.com/gksu-replacement-ubuntu/
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #8 on: September 22, 2018, 12:45:33 PM »
 

trinidad

  • Moderator
  • Platinum Level Poster
  • *****
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
@Jerry

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.
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #7 on: September 21, 2018, 01:52:09 PM »
 

Vera

  • PayPal Supporter
  • Forum Regular
  • *****
  • 140
    Posts
  • Reputation: 16
  • Enjoying Linux Lite.
    • View Profile

  • CPU: Intel Quad Core 1.6GHz

  • MEMORY: 8Gb

  • VIDEO CARD: AMD Radeon
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!
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #6 on: September 20, 2018, 09:35:19 AM »
 

trinidad

  • Moderator
  • Platinum Level Poster
  • *****
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
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.
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #5 on: September 20, 2018, 09:20:52 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Works fine here, all updated:

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



Take a look at the code if you like, try the commands via cli. Look for suspicious output.
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #4 on: September 20, 2018, 09:15:35 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Code: [Select]
apt policy lite-tweaks
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #3 on: September 20, 2018, 09:09:53 AM »
 

trinidad

  • Moderator
  • Platinum Level Poster
  • *****
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
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.
 

Re: unable to remove the suspend an hibernate buttons from user logout
« Reply #2 on: September 19, 2018, 11:15:21 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
You didn't mention what version of LT and LL.

Sent from my Mobile phone using Tapatalk

 

unable to remove the suspend an hibernate buttons from user logout
« Reply #1 on: September 19, 2018, 01:20:01 PM »
 

trinidad

  • Moderator
  • Platinum Level Poster
  • *****
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
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.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section