LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 07-06-2020, 09:41 PM   #16
questionsBot
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by cordx View Post
journactl -f
that command dose not work? Is there something I need to install?

< EDIT>
Found it journalctl -f

This dose not seem to trigger anything when I fold the screen back... nice try though.. that is basically what I am trying to do, this just didn't work.

Last edited by questionsBot; 07-06-2020 at 09:42 PM.
 
Old 07-06-2020, 09:42 PM   #17
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 696

Rep: Reputation: 158Reputation: 158
nope. i spelled it wrong. journalctl -f
 
Old 07-06-2020, 09:43 PM   #18
questionsBot
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cordx View Post
nope. i spelled it wrong. journalctl -f
This dose not seem to trigger anything when I fold the screen back... nice try though.. that is basically what I am trying to do, this just didn't work.
 
Old 07-06-2020, 09:46 PM   #19
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 696

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by questionsBot View Post
What was strange though is that in Kubuntu when I folded it backwards it said "touchpad disabled" as a popup. So while the keyboard still tryped and made the tablet mode unusable, it did recognize that it was folded and disabled the touchpad.

I tried a few of the distros and all of them had the touchpad disable, even if it didn't say so.
  • Kubuntu
  • LinuxLite
  • BodHi

Yes BodHi.. so the BodHi Live Boot did recognize the fold and used that to disable to touchpad... but like all of them, that did not disable the actual keyboard
trying the same method of watching journalctl -f with one of these systems may provide some output.
 
Old 07-06-2020, 10:22 PM   #20
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 696

Rep: Reputation: 158Reputation: 158
another couple of thoughts after posting that: if your bodhi installation isn't addressing whatever that event or switch might be, it may not be enough just to find out what another system calls it. if you manage to catch the event in journalctl and figure out what the switch/hardware is called, sudo lshw (lspci or lsusb also might help depending on the setup) may help you get some additional information about how it is set up in that system.
 
Old 07-06-2020, 10:43 PM   #21
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 696

Rep: Reputation: 158Reputation: 158
enigma9o7's comment
Quote:
Originally Posted by enigma9o7 View Post
I bet you can bind folding it to disable keyboard automatically... probably ACPI bindings? Or maybe key bindings. Both in settings panel under input. Then bind them to your script. See if it can "add" that action.
prompted me to search for "acpi binding for convertible laptop lid". the first listing was this page using a similar system (-ish: thinkpad x230 with 16.04). the premise is about the same except that person wanted to disable the touchpad instead of the keyboard. there is a clear explanation about how to capture the lid flipping event and then convert that into an acpi binding as enigma9o7 suggested.
 
Old 07-07-2020, 12:34 AM   #22
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 518

Rep: Reputation: 192Reputation: 192
Yeah I wasn't very clear. Go into settings panel/input/acpi bindings, and click add. then move the laptop lid as desired, to see if it can see that action. If so, then you can assign it to a command that calls your script.
 
1 members found this post helpful.
Old 07-07-2020, 12:41 AM   #23
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 696

Rep: Reputation: 158Reputation: 158
that definitely sounds like a much easier way to capture the event
 
Old 07-07-2020, 06:34 PM   #24
questionsBot
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
Yeah I wasn't very clear. Go into settings panel/input/acpi bindings, and click add. then move the laptop lid as desired, to see if it can see that action. If so, then you can assign it to a command that calls your script.
unfortunately it dose not do anything. I click and and fold the screen but nothing seems to occur.

Something must happen, as when you normally do it, the trackpad turns off. So there must be some event getting triggered? The funny thing was when I had the "Add" thing open, the trackpad turned off when I folded it back but didn't turn back on when I folded it back. it usually dose so I assumed it was because of the "add" thing running.
 
Old 07-07-2020, 08:14 PM   #25
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 696

Rep: Reputation: 158Reputation: 158
as the acpi bindings tool didn't work, i wanted to add that i tried the suggestion on the page i mentioned here:
Quote:
Originally Posted by cordx View Post
this page using a similar system (-ish: thinkpad x230 with 16.04). the premise is about the same except that person wanted to disable the touchpad instead of the keyboard. there is a clear explanation about how to capture the lid flipping event and then convert that into an acpi binding as enigma9o7 suggested.
the first tool used (acpi_listen) doesn't seem to exist (at least it isn't on my system and i couldn't find a package for it) for ubuntu 18.04. installing acpitool does also install acpid which might help if you decide to try this route or something similar.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print folded code CVAlkan Linux - Software 8 05-23-2018 09:32 AM
LXer: Big mistake, Google. Big mistake: Chrome OS to be 'folded into Android' LXer Syndicated Linux News 0 10-29-2015 11:33 PM
xrandr -o inverted causes black screen on Lenovo Yoga 2 Pro, Gnome 3.14.2 SignorX Linux - Laptop and Netbook 2 02-27-2015 01:46 PM
LXer: Yoga tablet is Android-powered and delivers up to 18 hours of juice LXer Syndicated Linux News 0 11-03-2013 03:24 AM
ls sorting problem: lower and upper case folded? mcwasi Linux - General 6 10-24-2007 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration