Does ubuntu work on the 4k display? I'm planning to buy lenovo thinkpad laptop with 4k screen. But I have concern about whether scaling works as expected or not.
mystdeim's questions
I have a modern Philips TV with Android (it's connected to my local network). I can simply cast the screen of my Android phone but Is it possible to use TV as the second monitor for my laptop with Ubuntu 20.04 via wi-fi?
I'm planning to upgrade my PC and I'm considering buying a PCIe SSD drive and booting from it. I've read there was a problem booting with some PCIe drives. Is it possible?
- My motherboard: GIGABYTE GA-X58A-UD3R (rev. 1.0)
- OS: Ubuntu 19.10 x64
Please look at output:
deploy@li445-201:~$ sudo ls -al /var/log/nginx/
total 152
drw-rw-r-- 2 root adm 4096 Mar 26 16:08 .
drwxrwxr-x 14 root syslog 4096 Mar 26 06:25 ..
-rw-r--r-- 1 root root 0 Mar 26 16:08 access.log
-rwxrwxrwx 1 www-data adm 108849 Mar 26 06:10 access.log.1
-rw-rw-r-- 1 www-data adm 14206 Mar 25 06:17 access.log.2.gz
-rw-rw-r-- 1 www-data adm 14067 Mar 24 05:31 access.log.3.gz
-rw-r--r-- 1 root root 0 Mar 26 16:08 error.log
-rw-rw-r-- 1 www-data adm 2522 Mar 24 17:13 error.log.1
I try to read log file by deploy user:
deploy@li445-201:~$ cat /var/log/nginx/access.log.1
cat: /var/log/nginx/access.log.1: Permission denied
Why I can't read log file? I've set even 777 permission on it
I have wifi adapter TEW-646UBH. It works perfectly with ubuntu 14.04, but after upgrade to 16.04 Adapter freezes sometimes, especially after active downloading
This is output of lsusb
:
rnovikov@romanovi-desktop:~$ lsusb
Bus 002 Device 008: ID 20f4:646b TRENDnet
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 005: ID 0a5c:2190 Broadcom Corp.
Bus 007 Device 004: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass)
Bus 007 Device 003: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass)
Bus 007 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
When I do this command:
~ sudo aptitude purge nvidia-375
The following packages will be REMOVED: nvidia-375{p} 0 packages upgraded, 0 newly installed, 1 to remove and 4 not upgraded. Need to get 0 B of archives. After unpacking 300 MB will be freed. Do you want to continue? [Y/n/?] y
(Reading database ... 518122 files and directories currently installed.) Removing nvidia-375 (375.20-0ubuntu0~gpu16.04.1) ...
Removing all DKMS Modules Error! There are no instances of module: nvidia-375
375.20 located in the DKMS tree. Done.
Traceback (most recent call last):
File "/usr/bin/quirks-handler", line 26, in <module>
import Quirks.quirkapplier ImportError: No module named 'Quirks' dpkg: error processing package nvidia-375 (--purge): subprocess installed pre-removal script returned error exit status 1 Processing triggers for libc-bin (2.23-0ubuntu4) ...
Errors were encountered while processing: nvidia-375 E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
How to fix?
After some update I got this error when I try to start software-properties-gtk:
~ /usr/bin/software-properties-gtk
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gdk, Gtk, Gio, GLib
/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py:40: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gdk, Gtk, Gio, GLib
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 37, in <module>
from softwareproperties.gtk.SoftwarePropertiesGtk import SoftwarePropertiesGtk
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 54, in <module>
from UbuntuDrivers import detect
ImportError: No module named 'UbuntuDrivers'
What package do I need? I try to find UbuntuDrivers without success
During my work I need to set up many tunnels. What is the best practice to manage it? Sometime tunnels can lost connection I want to auto reconnect it, maybe there is good thing to do it automatically
For example I want to print long dash
I read that it's possible to do with numpad and code of Unicode of character, so I tried doing Alt+Shift+u + code, but without success.
How to install Juniper on ubuntu 16.04x64?
I install 32bit java:
There are 4 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 auto mode
1 /home/romanovi/opt/jdk1.8.0_91-i386/bin/java 2 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
3 /usr/lib/jvm/java-8-openjdk-i386/jre/bin/java 1080 manual mode
* 4 /usr/lib/jvm/java-8-oracle/jre/bin/java 1 manual mode
What should I do next?
Can I resume Ubuntu after suspend by shortcut from keyboard?
I have a docking station with thinkpad and an external monitor. My laptop is always closed, so I need to open it and close again to resume system, it's annoying.
Sometimes my system (Ubuntu 14.04 64bit with the latests proprietary drivers from repositories) hangs, artefacts appear on the screen and systems doesn't respond on any commands from keyboard or mouse. I connected to my machine with ssh and run dmesg, output:
[100002.771845] NVRM: Xid (PCI:0000:04:00): 6, PE007e 00dc 00ffffff 00000000 00000000 00000000
[100002.773784] NVRM: Xid (PCI:0000:04:00): 6, PE007e
[100002.775644] NVRM: Xid (PCI:0000:04:00): 6, PE007e 00dc 00ffffff 00000000 00000000 00000000
How to fix this problem? I tried use nouveau, but in this case suspend doesn't work.
After restart computer global menu in nautilus disappeared. Ubuntu 14.04