a_shen ([personal profile] a_shen) wrote2017-04-25 05:28 pm
Entry tags:

technical post: installing linux


on HP laptop Elitebook 840 G3, and some comments

I was afraid that linux won't install since it is not officially supported (it was sold with "Free DOS", I did not try it). Still things are much better than they could be.

It has 1Tb HD and 256 G flash drive, 32 G memory

Works without known problems:
- USB boot (I used Ubuntu 17.04)

- WiFi during installation and later use

- hi-resolution screen: the size of fonts is very reasonable out of the box

- external VGA output on the notebook at on the dock

- external displayport output on the notebook at on the dock

- usb ports on the dock (for mouse)

- sound on the notebook (including headphone/mic with 3-wire 3.5mm connector); btw, the sound is better than I expected from such a small device

- connection with external USB sound card (Audiogram) OK, do not checked the delays yet

- touchpad, buttons

-external USB mouse

- input language change

- suspend

- shutdown

-combination of internal screen and VGA external screen (dual display; see below about inconvenience)

-combination of internal screen and Displayport screen (with the same resolution as the internal one, dual display) both with the dock connector and the internal connector

- texlive installed without problems

Does not become hot. Slightly faster that Macbook pro 2011 and several times faster than macmini.

Keyboard is OK, but I do not know whether is it robust, feels a bit delicate. The trackpoint cap easily goes off when touched.

some problems:

- skype sometimes works normally (after installation as described with 32 bit library), but sometimes misses the calls for unclear reason, do not know what happens

- sometime an error message appears about nautilus, do not know why

- some programs produce almost unreadable messages due to the high screen density. Also using the external monitor together with the internal screen creates a problem, since for (my) external monitor the density is much less, so the fonts become huge when the window is opened or moved on the external monitor. Do not see a clear way to use different fonts for different screens...

- bluetooth audio adapter (Logitech) sometime does not connect

Does not work:

- suspend when notebook is closed (one should do this explicitly)

UPDATE: solved by editing /etc/systemd/logind.conf having now two uncommented lines "HandleLidSwitch=suspend" and "HandleLidSwitchDocked=suspend"

- audio output on the dock

- sometimes (rarely, probably this is connected with dock usage) the screen hangs, only mouse works (reboot using alt+F? works)

- skype does not seem to work with standard microphone+headphone connector (3.5 mm four-contact one), and (it seems) with Bluetooth audio

Did not try yet:

4k display

multidisplay configuration (the dock has several Displayport outputs)

Willing to test something if requested...
aphar: (lambda)

[personal profile] aphar 2017-04-25 03:53 pm (UTC)(link)
> trackbad cap

"trackpad cap"?
what's that?
Edited 2017-04-25 15:53 (UTC)
aphar: (lambda)

Re: some rubber

[personal profile] aphar 2017-04-25 04:10 pm (UTC)(link)
in my experience trackpoints are very hard to control (i.e., move the mouse pointer to the location I need).
Edited 2017-04-25 22:17 (UTC)

multiple screens

[personal profile] aphar 2017-04-25 04:13 pm (UTC)(link)
I make sure that every application knows its screen and never leaves it, then configure it appropriately for that screen resolution.
This breaks down when I travel and have only one screen.
Emacs, for one, can be taught to adapt to the screen it inhabits.

Re: multiple screens

[personal profile] aphar 2017-04-25 04:26 pm (UTC)(link)
all my "permanent" windows (emacs, terminal, chrome) are always maximized.
I switch between them with Alt-TAB.
I arrived at this arrangement gradually, and I really like it now.

[personal profile] bamalip 2017-04-25 05:09 pm (UTC)(link)
- skype sometimes works normally (after installation as described with 32 bit library)

You can download and try a new 64-bit Skype from it's (microsoft) site.
https://www.skype.com/en/download-skype/skype-for-computer/

- suspend when notebook is closed (one should do this explicitly)

It should be configurable via 'gnome-tweak-tool' application (you need to install it) on 'Power' page.

Re: multiple screens

[personal profile] alexey_muranov 2017-04-25 09:38 pm (UTC)(link)
I suspect you might be interested in Xmonad :).

GNOME

[personal profile] alexey_muranov 2017-04-25 09:53 pm (UTC)(link)
You know that Canonical stops developing Unity and is going to switch to GNOME for Ubuntu 18.04, right?

https://insights.ubuntu.com/2017/04/05/growing-ubuntu-for-cloud-and-iot-rather-than-phone-and-convergence/

So, it probably makes sense to start getting used to Ubuntu GNOME.
aphar: (lambda)

Re: multiple screens

[personal profile] aphar 2017-04-25 10:20 pm (UTC)(link)
I played with window managers (gwm & scwm) 20 years ago ;-)

unreadable messages

[personal profile] alexey_muranov 2017-04-26 10:25 am (UTC)(link)
some programs produce almost unreadable messages due to the high screen density.

I do not have this problem (on Ubuntu GNOME). I set Fonts Scaling Factor to 1.25 in GNOME Tweak Tool and i believe it adjusted the font size everywhere, except for web pages in Firefox. For Firefox i installed NoSquint Plus plugin and it solved the problem.

Note also that not all GNOME settings can be edited through GNOME Tweak Tool, but you can modify them using dconf Editor (a GUI application) or with dconf command from the command line.

For example, in GNOME, window close-minimize-maximize buttons are on the right, like in Windows. To have them on the left, like in Mac OS, it is enough to do

dconf write /org/gnome/desktop/wm/preferences/button-layout "'close,minimize,maximize:appmenu'"

To reset to the default position:

dconf reset /org/gnome/desktop/wm/preferences/button-layout

Re: tested

[personal profile] bamalip 2017-04-26 01:10 pm (UTC)(link)
у меня суспендится (тоже убунту 17.04)

обратите внимание, что там две опции: реакция на закрьітие
(1) при питании с батареи и
(2) при подключенном состоянии

Re: tested

[personal profile] bamalip 2017-04-26 03:05 pm (UTC)(link)
Извините если что, просто напомнил :)

HP известна проблемами с оригинальным хардвером, скорее всего нужен драйвер для реакции на закрытие крышки.

Re: GNOME

[personal profile] alexey_muranov 2017-04-26 03:26 pm (UTC)(link)
Strange... I believed that differences between Ubuntu and Ubuntu GNOME were rather superficial. Let me know if i can help somehow... (I have Ubuntu GNOME 17.03 on an ASUS laptop, i upgraded to it from 16.04.2).

Re: tested

[personal profile] bamalip 2017-04-26 03:29 pm (UTC)(link)
скорее всего (понятно, что надо смотреть логи) либо Вы забыли установить gnome-shell, либо менеджер gdm не отконфигурирован.

зайдите в консоль по Ctrl-Alt-F1 и выполните
sudo apt install gnome gnome-shell
sudo dpkg-reconfigure gdm

последний должен показать текстовое меню со списком из уже установленных менеджеров
Edited 2017-04-26 15:42 (UTC)

Re: tested

[personal profile] bamalip 2017-04-26 04:20 pm (UTC)(link)
дистанционное изгнание порчи вещь ненадежная, к сожалению.

если GRUB при загрузке показывает меню, то можно выбрать отказоустойчивый режим загрузки, и зайти в консоль в нем.
если не получится, то можно загрузиться с установочного образа, смонтировать файловую систему ноута в chroot и ковырять пакеты, как написано выше.

самый простой способ, однако, переустановить с нуля, но это Вы и без меня понимаете :)

Re: tested

[personal profile] amishaa 2017-04-27 12:59 pm (UTC)(link)
Если я не ошибаюсь, grub на запуске вызывается зажатием shift'а.