[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

macbook pro - new install - issues



Hi

First of all, I'm  a new debian user.  I've recently installed debian jessie
on my macbookpro 8,2 from 2011. I installed the system using debootstrap
from another ubuntu install in the same computer. I have the system running,
but I have some issues, the first of which is critical, without fixing it I
cannot use debian. Some info:

miguel@miguel-MacBookPro:~$ cat /etc/apt/sources.list
deb http://ftp.pt.debian.org/debian/ jessie non-free contrib main 
deb http://security.debian.org/ jessie/updates non-free contrib main  
deb http://http.debian.net/debian/ jessie-backports main

miguel@miguel-MacBookPro:~$ uname -a
Linux miguel-MacBookPro 4.1.0-0.bpo.2-rt-amd64 #1 SMP PREEMPT RT Debian
4.1.6-1~bpo8+1 (2015-09-09) x86_64 GNU/Linux

I managed to get debian booting using grub-efi from a luks container with a
single btrfs filesystem which also includes /boot with only a single
password prompt (from grub) using key files. The computer doesn't have osx
installed, and boots the grub-efi directly (due to the setting in the NVRAM
variables). This is particularly tricky in this computer since the radeon
graphics card is non-functional (except through efi stub booting), only
intel i915 driver should be used and during early boot the screen is
completely black, therefore if anything goes wrong it's impossible to read
the error message. If anyone is interested in this config I can describe it. 

I use i3 launched from gdm. The issues are also present in gnome desktop in
any case (which was installed via the gnome-desktop task).

1 - This mac has a portuguese keyboard layout. The portuguese keyboard
layout is not working on gnome and gdm. Although it appears in the list of
keyboard layouts on the top right corner in gdm, typing in the keyboard
always outputs characters according to the us layout.

I configured the keyboard using

dpkg-reconfigure keyboard-configuration

current settings are

cat /etc/default/keyboard 

XKBLAYOUT="pt"
XKBVARIANT="mac"
BACKSPACE="guess"
XKBMODEL="apple"
XKBOPTIONS="lv3:ralt_switch"

When in gdm I try to change between us and pt layouts this error appears in
journalctl:

Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: (EE) Error loading
keymap /var/lib/xkb/server-0.xkm
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: The XKEYBOARD keymap
compiler (xkbcomp) reports:
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Multiple definitions of the FOUR_LEVEL_KEYPAD key type
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Earlier definition ignored
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: > Error:            No
Symbols named "mac" in the include file "macintosh_vndr/pt"
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: >                   Exiting
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Abandoning symbols file "default"
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: Errors from xkbcomp are
not fatal to the X server
Out 21 12:04:31 miguel-MacBookPro gnome-session[1833]: (gnome-shell:1864):
mutter-WARNING **: Couldn't upload new XKB keyboard description
Out 21 12:04:31 miguel-MacBookPro gdm-Xorg-:0[1816]: (EE) Error loading
keymap /var/lib/xkb/server-0.xkm

When I restart the gdm service this error message can be seen:

ut 21 12:23:00 miguel-MacBookPro dbus[864]: [system] Successfully activated
service 'org.freedesktop.locale1'
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: The XKEYBOARD keymap
compiler (xkbcomp) reports:
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Compat map for group 2 redefined
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Using new definition
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Compat map for group 3 redefined
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Using new definition
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Compat map for group 4 redefined
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Using new definition
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: Errors from xkbcomp are
not fatal to the X server
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: The XKEYBOARD keymap
compiler (xkbcomp) reports:
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Multiple definitions of the FOUR_LEVEL_KEYPAD key type
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Earlier definition ignored
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Error:            No
Symbols named "mac" in the include file "macintosh_vndr/pt"
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                   Exiting
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Abandoning symbols file "default"
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: Errors from xkbcomp are
not fatal to the X server
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: (EE) Error loading
keymap /var/lib/xkb/server-0.xkm
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: The XKEYBOARD keymap
compiler (xkbcomp) reports:
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Compat map for group 2 redefined
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Using new definition
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Compat map for group 3 redefined
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Using new definition
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: > Warning:         
Compat map for group 4 redefined
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: >                  
Using new definition
Out 21 12:23:06 miguel-MacBookPro gdm-Xorg-:0[1816]: Errors from xkbcomp are
not fatal to the X server
Out 21 12:23:06 miguel-MacBookPro /etc/gdm3/Xsession[2417]:
(gkbd-keyboard-display:8530): Gtk-CRITICAL **: gtk_widget_set_allocation:
assertion 'gtk_widget_g
Out 21 12:23:06 miguel-MacBookPro /etc/gdm3/Xsession[2417]: Gtk-Message:
GtkDialog mapped without a transient parent. This is discouraged.

I have also configured the keyb layout for the terminal by doing

dpkg-reconfigure console-data

This is working correctly: in tty1 when I type it is using the portuguese
layout.

I have a usb pen running debian testing, Im not sure if because of using
testing, or because of a difference in configuration, in that installation I
don't have this problem, I can use the portuguese layout in gdm and gnome.

2 - Fonts. 

The fonts on my debian install are almost unreadable to my eyes. My previous
OS was ubuntu 14. This doesnt seem to be configuration issue, as the usb pen
independent installation also has the same issue. The fonts seem to be
thinner and with unequal thickness. 

images with comparison of my previous ubuntu install to debian can be seen
here: https://imgur.com/a/K5HEb . The first two are debian, second two are
ubuntu.

I can be quite accomodating with changes, but my current font setting in
debian is genuinelly hard to read, I feel I'm strayining my eyes. This can't
be good to my eyes. Is there  a way to get something which is closer to how
ubuntu looks ?

3 - screen saver / screen turning off

In gnome control center / power settings I have set "screen turn off" to
never, yet, if Im not using the computer for a while the screen will go
black. I dont see any screen saver options in the control center. Back in
ubuntu this used to be enough not have the screen go black or turn off. Why
is the setting in the control center being ignored ?

4 - gnome-contro-center and then choosing screen, it says it is unable to
obtain information. Again, this doesn't happen in my other debian install
(in the usb pen) using testing.

I would apreciate any helping in trying to fix these issues. Despite the
issues, I quite like the distribution, thanks for making it !!

Best regards,
Miguel Negrao



Reply to: