Connecting Bluetooth Mouse to Ubuntu 24.04.2

From the UI Settings of Bluetooth, I don’t know why the mouse bluetooth was not listed, but other Computers/Monitors/Speakers being listed.

Source: https://askubuntu.com/questions/1536735/failed-to-pair-wireless-mouse-on-24-04

~$ bluetoothctl
Waiting to connect to bluetoothd…
Agent registered
…
[bluetooth]# devices
…
Device 34:88:5D:E5:78:67 Bluetooth Mouse M336/M337/M535
…
[bluetooth]# pair 34:88:5D:E5:78:67
Attempting to pair with 34:88:5D:E5:78:67
[CHG] Device 34:88:5D:E5:78:67 Connected: yes
…
[Bluetooth Mouse M336/M337/M535]# [CHG] Device 34:88:5D:E5:78:67 Paired: yes
[Bluetooth Mouse M336/M337/M535]# Pairing successful
[bluetooth]# trust 34:88:5D:E5:78:67
[CHG] Device 34:88:5D:E5:78:67 Trusted: yes
Changing 34:88:5D:E5:78:67 trust succeeded
[bluetooth]# connect 34:88:5D:E5:78:67
Attempting to connect to 34:88:5D:E5:78:67
[CHG] Device 34:88:5D:E5:78:67 Connected: yes
…
Connection successful
…
[Bluetooth Mouse M336/M337/M535]# exit



Installing PHP 5.4 on Ubuntu 14.04 (Trusty)

Update repository:

$ sudo apt-get install software-properties-common
$ wget https://www.dotdeb.org/dotdeb.gpg
$ sudo apt-key add dotdeb.gpg
$ sudo echo "deb http://packages.dotdeb.org squeeze-php54 all" > /etc/apt/source.list.d/dotdeb_php54.list
$ sudo add-apt-repository ppa:bitcoin/bitcoin
$ sudo apt-get update
$ apt-cache policy php5
php5:
  Installed: (none)
  Candidate: 5.5.9+dfsg-1ubuntu4.17
  Version table:
     5.5.9+dfsg-1ubuntu4.17 0
        500 http://id.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     5.5.9+dfsg-1ubuntu4 0
        500 http://id.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
     5.4.45-1~dotdeb+6.1 0
        500 http://packages.dotdeb.org/ squeeze-php54/all amd64 Packages
     5.4.43-1~dotdeb+6.1 0
        500 http://packages.dotdeb.org/ squeeze-php54/all amd64 Packages
     5.4.42-1~dotdeb+6.4 0
        500 http://packages.dotdeb.org/ squeeze-php54/all amd64 Packages
     5.4.41-1~dotdeb+6.1 0
        500 http://packages.dotdeb.org/ squeeze-php54/all amd64 Packages

Harusnya si PHP 5.4 udah nongol tuh 5.4.45-1~dotdeb+6.1.

$ sudo apt-get install php5-common=5.4.45-1~dotdeb+6.1
$ sudo apt-get install php5-fpm=5.4.45-1~dotdeb+6.1
$ sudo apt-get install php5-mysql=5.4.45-1~dotdeb+6.1

Kalo pakce CLI:

$ sudo apt-get install php5-cli=5.4.45-1~dotdeb+6.1
$ php --version
PHP 5.4.45-1~dotdeb+6.1 (cli) (built: Sep  4 2015 23:33:03) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

Sumber:

Ubuntu 14.04.3 (LTS) Display Problem on AMD or Intel

I have recently found my workstation being crazy, it sometimes has the resolution too low, sometime the display blank, and then repeatedly hang after a few moments.
After googling and found that there is a problem with Mesa-GL driver -utopic, so the workaround is to fallback into -vivid package.

The Workstation info:

$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation B85 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

$ uname -r
3.19.0-42-generic

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"

Replace -utopic into -vivid packages:

sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid
libwayland-egl1-mesa-lts-vivid libgl1-mesa-glx-lts-vivid libglapi-mesa-lts-vivid libgles1-mesa-lts-vivid libegl1-mesa-lts-vivid
xserver-xorg-dev-lts-vivid mesa-common-dev-lts-vivid libxatracker-dev-lts-vivid libgles2-mesa-dev-lts-vivid libgles1-mesa-dev-lts-vivid libgl1-mesa-dev-lts-vivid libgbm-dev-lts-vivid libegl1-mesa-dev-lts-vivid

Some of Sources