this post was submitted on 22 Aug 2024
171 points (98.3% liked)
Linux
47952 readers
1477 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm sure my command line game is weak. Do you have a solution for connecting to Bluetooth and for timing out to login screen and blanking it after a certain period?
Bluetooth can be managed with
systemctl
andbluetoothctl
.https://www.makeuseof.com/manage-bluetooth-linux-with-bluetoothctl/
In my experience I find just running
bluetoothctl
to enter the interactive mode easiest. You can enter commands without prependingbluetoothctl
. You can usehelp
at any stage. So you want to usesystemctl
to make sure Bluetooth is running, then enterbluetoothctl
. Make sure the device is discoverable and pairing is set to on. Start your [headphones/whatever] in pairing mode and rundevices
. When you see the device runpair <numbers/address>
. Only use the numbers. You may have to go into settings and select the device in the sound applet.My situation doesn't require a logout timer, but if I'm walking away from the PC I just use the shortcut Super + ESC. Alternatively, there's many ways you can create a basic Bash script that when invoked times down to a
systemctl suspend
command. Or possibly the hybrid-sleep option could do what you want. Seesystemctl -h
for possibilities.Blanking the login screen is something that will be implemented shortly. Maybe I'll work on a script for that because it annoys me too. Fortunately I rarely use it. I'll repost if I do this.
I really don't think the two years people are saying in this thread is realistic. The hard work and core is written. What is there is stable. I think they will get this completed much sooner. They do have a hardware business to support after all.
Thanks for the useful info. Still, I don't think I want to fool with it until it's available via GUI. That's just me.
And I hope you are right about the rest being quicker.