IBM/Lenovo ThinkPads

Forum rules
We believe in Hello and Thank You.
User avatar
kondor
runs Stable
Posts: 35
Joined: Thu Jan 29, 2015 6:11 am

Re: IBM/Lenovo ThinkPads

Unread post by kondor » Wed Sep 30, 2015 5:33 pm

Bacon, my friend, once again you have provided the germ of the solution!

xmodmap -e "keycode 9 = Super_L"
xmodmap -e "keycode 66 = Escape"

Does the trick! Now I just need to config PekWM to tile similarly to openbox. . .

FWIW, keycode 156 is linked to the 'Access IBM' key, but although it remaps to Escape using the above method, it just doesn't want to map to Super_L . . . or the free blowjobs, for that matter. ;)


LinuxBBQ never ceases to amaze me. Thanks for all the help!

User avatar
simgin
Meme Fodder
Posts: 1167
Joined: Sun Jan 06, 2013 12:07 am
Location: Bradford-on-Avon, UK

Re: IBM/Lenovo ThinkPads

Unread post by simgin » Thu Oct 01, 2015 1:03 am

Mmmmm, chlamydia, a fantastic spin by Julius. Still have it on an old lappy to remind me of Sardinia :D

Kondor, intro please, before Rosie pops in :)
cheers
simon
Someone told me that I am delusional, I almost fell off my unicorn.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: IBM/Lenovo ThinkPads

Unread post by rhowaldt » Thu Oct 01, 2015 2:31 am

Kondor, y u no make intro thread!??!
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
kondor
runs Stable
Posts: 35
Joined: Thu Jan 29, 2015 6:11 am

Re: IBM/Lenovo ThinkPads

Unread post by kondor » Thu Oct 01, 2015 6:18 am

Aw shyucks. I'm just a stupid noob around here -- I figured since this thread was in the /dev/null section I could say my hellos right here. Guess I'll go lurk a few intro threads to see what's appropriate.

User avatar
kondor
runs Stable
Posts: 35
Joined: Thu Jan 29, 2015 6:11 am

Re: IBM/Lenovo ThinkPads

Unread post by kondor » Fri Oct 02, 2015 11:42 pm

For the benefit of T40 users who may find it useful:
xmodmap -e "keycode 9 = Super_L"
xmodmap -e "keycode 66 = Escape"

Does the trick!
After using this for a couple of days, it doesn't *quite* do the trick. Because with this setup, capslock does both capslock *and* escape. At the same time. (evilmode WTFs a-go-go)

so I recommend this instead:

Code: Select all

xmodmap -e "keycode 9 = Super_L"
setxkbmap -option caps:escape
So far, so good over here.

But for any keymapping wizards out there, I'd like to tug your sleeve for additional tips, especially for rassling the 'Access IBM' key into submission.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: IBM/Lenovo ThinkPads

Unread post by machinebacon » Sat Oct 03, 2015 4:59 am

^ I can just add one thing: the Fn button is managed by the BIOS, no matter what xev says. Might be the same s(h)ituation for the Blue button too :/
..gnutella..

User avatar
kondor
runs Stable
Posts: 35
Joined: Thu Jan 29, 2015 6:11 am

Re: IBM/Lenovo ThinkPads

Unread post by kondor » Sat Oct 03, 2015 6:37 pm

That's a nice tidbit, Bacon, my man. I guess that means I'll never remap Fn to Ctrl . . .

Damn, this situation might make for a decent excuse to go full Stallman on the BIOS. :)

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: IBM/Lenovo ThinkPads

Unread post by machinebacon » Sat Oct 03, 2015 8:01 pm

^ He has an X60, not sure if the FSF blob will run on a T4x :) Apparently, only on a T60: http://www.libreboot.org/docs/hcl/index.html
..gnutella..

User avatar
doubledutch
killall X
Posts: 163
Joined: Sun Aug 10, 2014 1:25 pm

Re: IBM/Lenovo ThinkPads

Unread post by doubledutch » Tue Oct 06, 2015 1:35 pm


User avatar
kondor
runs Stable
Posts: 35
Joined: Thu Jan 29, 2015 6:11 am

Re: IBM/Lenovo ThinkPads

Unread post by kondor » Sat Oct 10, 2015 7:05 am

^ Yeah, but that one has a Super key, so, where's the challenge? ;)

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IBM/Lenovo ThinkPads

Unread post by dkeg » Tue Oct 20, 2015 11:18 pm

Picked up a couple X series. No test drive yet. Maybe tonight.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IBM/Lenovo ThinkPads

Unread post by dkeg » Wed Oct 21, 2015 1:11 am

fuck yeah, this thing is nice. Nothing installed yet, just running live Victory.

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: IBM/Lenovo ThinkPads

Unread post by wuxmedia » Wed Oct 21, 2015 7:46 am

PM'ed you my postal address :)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IBM/Lenovo ThinkPads

Unread post by dkeg » Wed Oct 21, 2015 11:55 am


Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: IBM/Lenovo ThinkPads

Unread post by wuxmedia » Wed Oct 21, 2015 1:53 pm

^ they are i7's ? O-o you lucky bugger !
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: IBM/Lenovo ThinkPads

Unread post by ivanovnegro » Wed Oct 21, 2015 6:07 pm

Nice Dkeg.

User avatar
darry1966
CLIt Licker
Posts: 398
Joined: Mon Mar 09, 2015 9:13 am
Location: New Zealand

Re: IBM/Lenovo ThinkPads

Unread post by darry1966 » Thu Oct 22, 2015 4:23 am

Very Nice.:)
LinuxBBQ is Sexy. Runs BBQ Stable.

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IBM/Lenovo ThinkPads

Unread post by dkeg » Fri Oct 23, 2015 11:50 am

This thing is sweet. Need to look into fan control and/or cpufreq settings.

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: IBM/Lenovo ThinkPads

Unread post by wuxmedia » Fri Oct 23, 2015 2:32 pm

what - you mean to say you're working that i7 too hard, with a BBQ spin...? c'mon dkeg :)
EDIT, ahh I read the thread where it's cool enough - but spins too much.
I recall dura mucking around with that, and powertop, doesn't thinkpad have a special program?
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IBM/Lenovo ThinkPads

Unread post by dkeg » Fri Oct 23, 2015 2:46 pm

It's actually just an i5 ... haha

I'm looking around. It shouldn't be in based on what I'm doing and the temp.

Work hard; Complain less

Post Reply