Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #159567 > unrolled thread

macbook pro - new install - issues

Started byMiguel Negrão <miguel.negrao-lists@friendlyvirus.org>
First post2015-10-21 15:00 +0200
Last post2015-10-23 16:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  macbook pro - new install - issues Miguel Negrão <miguel.negrao-lists@friendlyvirus.org> - 2015-10-21 15:00 +0200
    Re: macbook pro - new install - issues Miguel Negrão <miguel.negrao-lists@friendlyvirus.org> - 2015-10-21 18:00 +0200
      Re: macbook pro - new install - issues Ryan Nowakowski <tubaman@fattuba.com> - 2015-10-23 16:20 +0200

#159567 — macbook pro - new install - issues

FromMiguel Negrão <miguel.negrao-lists@friendlyvirus.org>
Date2015-10-21 15:00 +0200
Subjectmacbook pro - new install - issues
Message-ID<qm19M-3rA-23@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#159585

FromMiguel Negrão <miguel.negrao-lists@friendlyvirus.org>
Date2015-10-21 18:00 +0200
Message-ID<qm3XY-7C9-19@gated-at.bofh.it>
In reply to#159567
Miguel Negrão <miguel.negrao-lists <at> friendlyvirus.org> writes:

> 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 can confirm that upgrading to testing fixes this issue. How can I discover
what package is causing this issue ? Will whatever fixed this be backported
to jessie ? I would prefer to run jessie if possible (kept version before
upgrading to testing in a btrfs snapshot).

Btw, the font rendering is slightly better in testing (gtk apps mostly). It
is more blurry than ubuntu or stable. Inside iceweasel it still looks the same.

Thanks
Miguel Negrão

[toc] | [prev] | [next] | [standalone]


#159674

FromRyan Nowakowski <tubaman@fattuba.com>
Date2015-10-23 16:20 +0200
Message-ID<qmLmi-3Q4-11@gated-at.bofh.it>
In reply to#159585
On Wed, Oct 21, 2015 at 03:53:59PM +0000, Miguel Negrão wrote:

> Miguel Negrão <miguel.negrao-lists <at> friendlyvirus.org> writes:

> 

> > 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 can confirm that upgrading to testing fixes this issue. How can I discover

> what package is causing this issue ? Will whatever fixed this be backported

> to jessie ? I would prefer to run jessie if possible (kept version before

> upgrading to testing in a btrfs snapshot).



Typically only security fixes and some other time critical stuff[1] is

backported to stable.  You could figure out what package has the issue

and backport it yourself to Jessie.



1. https://wiki.debian.org/StableUpdates



> Btw, the font rendering is slightly better in testing (gtk apps mostly). It

> is more blurry than ubuntu or stable. Inside iceweasel it still looks the same.



You can try adding this to your ~/.fonts.conf.  Apparently by default

iceweasel uses non-true type fonts:



    <fontconfig>

    ...

      <!-- Helvetica is a non true type font, and will look bad. This

           replaces it with whatever is the default sans-serif font -->

      <match target="pattern">

        <test name="family" qual="any" >

          <string>Helvetica</string>

        </test>

        <edit mode="assign" name="family" >

          <string>sans-serif</string>

        </edit>

      </match>

    ...

    </fontconfig>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web