erikw
Mon Jan 06, 2020 11:43:49 pm
Hi,
recently i changed my home (lenovo) laptop from W10 to zorinOS 15 core
linux on my desktop is just recently (after trying some other distros in VM for some time) so i'm kind of newbe with that
( my job is AIX/Unix sysadmin, so i'm not afraid of CLI ) but on the other hand, when not at work i want it simple and not too much troubles :p
I have been busy tweaking some styles and appearences
i've been searching a while now how i can edit the "log off"/lock/power off" (at the bottem right next to the search
but unfortunately haven't found how to do that savely
my goal: change lock funtion to suspend function
bc i dont want the laptop to suspend when closing lid of laptop i installed gnome tweak and disabled this option
i dont need the lock option, (i'm used to use super+l (made a shortcut for that under keyboard settings))
as workaround for suspend i also made shortcut (super+s) for suspend (with command systemctl suspend), but also want to be able to use the menu
the "power off" dialog doesn give suspend option neither
i found a file widget.js which seem to have that functionality
but before i break my system by editing it i'd like to know how to edit those functions and replace lock by suspend in a safe way
(and if not possible easily, how to add it to the "Power Off" dialog (now only has cancel, restart and "power off")
thanks in advance
recently i changed my home (lenovo) laptop from W10 to zorinOS 15 core
linux on my desktop is just recently (after trying some other distros in VM for some time) so i'm kind of newbe with that
( my job is AIX/Unix sysadmin, so i'm not afraid of CLI ) but on the other hand, when not at work i want it simple and not too much troubles :p
I have been busy tweaking some styles and appearences
i've been searching a while now how i can edit the "log off"/lock/power off" (at the bottem right next to the search
but unfortunately haven't found how to do that savely
my goal: change lock funtion to suspend function
bc i dont want the laptop to suspend when closing lid of laptop i installed gnome tweak and disabled this option
i dont need the lock option, (i'm used to use super+l (made a shortcut for that under keyboard settings))
as workaround for suspend i also made shortcut (super+s) for suspend (with command systemctl suspend), but also want to be able to use the menu
the "power off" dialog doesn give suspend option neither
i found a file widget.js which seem to have that functionality
but before i break my system by editing it i'd like to know how to edit those functions and replace lock by suspend in a safe way
(and if not possible easily, how to add it to the "Power Off" dialog (now only has cancel, restart and "power off")
thanks in advance