Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

can't get a command line

Linux on ThinkPads
Post Reply
Message
Author
jozien
Posts: 8
Joined: Thu May 10, 2007 5:11 pm
Location: Toms River, NJ

can't get a command line

#1 Post by jozien » Fri Feb 06, 2015 2:06 pm

I just purchased a l540 ThinkPad and using linux mepis 11 or mint 17 KDE, can't get to a command line using "ctrl + alt +f1-f6"
I am now using a T60 ThinkPad and don't have this problem.
Been using linux for over 20 years and was able to use "ctrl + alt +f1-f6" to get a command line in all laptops or desktops I ever used.
Is there another way to get a command line? I prefer a command line over GUI.

Is this problem on other ThinkPads?
How to resolve it.

jozien

GomJabbar
Moderator
Moderator
Posts: 9872
Joined: Tue Jun 07, 2005 6:57 am

Re: can't get a command line

#2 Post by GomJabbar » Fri Feb 06, 2015 9:54 pm

There should be kernel parameters that you can enter on the boot line from GRUB, such as init=/bin/sh

https://wiki.archlinux.org/index.php/kernel_parameters

Take a look at that. You can also edit grub to change the default action (cli or gui).
DKB

twistero
Senior Member
Senior Member
Posts: 852
Joined: Sun Feb 26, 2012 2:25 am
Location: Princeton, New Jersey
Contact:

Re: can't get a command line

#3 Post by twistero » Mon Feb 09, 2015 10:03 pm

Are you sure you're pressing Ctrl + Alt + (say) F1, instead of Ctrl + Alt + mute? The F-keys are by default function keys, and you have to press Fn + mute to get F1, for example. So hold down Ctrl and Alt, then press Fn + mute(F1) and see what happens.
X60 tablet 6363-P3U, 3GB ram, 128GB SanDisk Extreme SSD, SXGA+ screen, Intel 6300
T61 Frankenpad in 15 inch T60 body, UXGA LED-lit AFFS LCD, T9300, 6GB RAM, NVidia NVS140m, Intel 6205, 128GB Crucial M4 SSD, 1TB HGST HDD + eBay caddy in Ultrabay
701c butterfly, 75MHz 486DX4, 40MB ram, 1GB CF card

jaspen-meyer
Senior Member
Senior Member
Posts: 837
Joined: Wed May 19, 2010 11:21 pm
Location: Pardubice, Czech Republic
Contact:

Re: can't get a command line

#4 Post by jaspen-meyer » Tue Dec 08, 2015 7:56 am

add a 'keyboard shortcut'. the desktop managers you mention have a file for adding keyboard shortcuts.
I haven't used Mint but perhaps it uses xfce.
in xubuntu's implementation of xfce keyboard shortcuts are here ~/.config/xfce4/xfconf/xfce-perchannel-xml
kde may be ~/.kde/share/config/khotkeysrc or ~/.kde/share/apps/kcmkeys

perhaps there's a glitch with your keyboard map.
the workaround is to figure out which keys x thinks you're pressing.
'xev' will show you what keys you're pressing

Code: Select all

~$ whatis xev
xev (1)              - print contents of X events
Output on my T400 from pressing left ctrl, left alt and f4 was

Code: Select all

KeyPress event, serial 37, synthetic NO, window 0x3a00001,
    root 0x9a, subw 0x0, time 1898682, (80,87), root:(631,423),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3a00001,
    root 0x9a, subw 0x0, time 1899659, (80,87), root:(631,423),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3a00001,
    root 0x9a, subw 0x0, time 1900089, (80,87), root:(631,423),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3a00001,
    root 0x9a, subw 0x0, time 1900336, (80,87), root:(631,423),
    state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x3a00001,
    root 0x9a, subw 0x0, time 1910324, (80,87), root:(631,423),
    state 0x0, keycode 70 (keysym 0xffc1, F4), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False
Other possible leads:
https://wiki.kubuntu.org/LaptopTesting/Keycodes
https://wiki.ubuntu.com/Hotkeys/Architecture
/usr/include/linux/input.h
T420 i7 3612QM seabios; T420 i7 3630QM; T400 Q9100 seabios; T61 P9600; T60 libreboot; x62; x60s libreboot, led; x24 xiphmont led

evening_hunger
Junior Member
Junior Member
Posts: 303
Joined: Thu Nov 26, 2015 2:55 pm
Location: Normandy, France

Re: can't get a command line

#5 Post by evening_hunger » Tue Dec 08, 2015 11:46 am

Perhaps he had a Fn<->Ctrl swap and didn't know about it?
T14amdR7-4750U/32GB/500gb.ssd/debian_testing (main driver)
X320/i7-2620M/8GB/256gb.ssd/FHD13.3''IPS/debian_testing (ex-main driver)
T30Pentium-M 4 1.8Ghz 512MB RAM - under restoration
X230/i5/8GB/500gb.hdd+256gb.m2ssd/IPS/debian_stable+win7
755CE, 486DX, approx 28MB RAM (Win95 JP)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 8 guests