My printer is attached via ethernet to my LAN. When I install it I get two copies shown. Why is that?
graffe's questions
My ubuntu 20.04.2 machine is constantly crashing whenever I use more than a small amount of RAM. If I for example have a Jupyter notebook open in chrome and do some CPU intensive computation the whole system will often freeze completely so I can't even move the mouse. I can "fix it" using Alt-sysrq-f but this is really not ideal.
It seems it might be the OOM killer that is causing the problem. What are the standard settings (swapiness etc) for a 16GB linux box so I can just copy them and see if that fixes things? It is currently driving me crazy.
free -h
total used free shared buff/cache available
Mem: 13Gi 3.0Gi 7.9Gi 119Mi 2.8Gi 10Gi
Swap: 2.0Gi 0B 2.0Gi
sysctl vm.swappiness
vm.swappiness = 10
grep -i swap /etc/fstab
/swapfile none swap sw 0 0
ls -la /usr/share/gnome-shell/extensions/
total 20
drwxr-xr-x 5 root root 4096 Apr 23 2020 .
drwxr-xr-x 7 root root 4096 Mar 26 09:01 ..
drwxr-xr-x 2 root root 4096 Aug 14 2020 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 Dec 17 09:28 [email protected]
drwxr-xr-x 3 root root 4096 Nov 24 12:06 [email protected]
ls -la /var/crash
total 66968
drwxrwsrwt 2 root whoopsie 4096 Mar 31 18:51 .
drwxr-xr-x 14 root root 4096 Apr 23 2020 ..
-rw-r----- 1 user whoopsie 68556347 Mar 31 18:51 _usr_share_teams_teams.1000.crash
-rw-r--r-- 1 user whoopsie 0 Mar 31 18:51 _usr_share_teams_teams.1000.upload
-rw------- 1 whoopsie whoopsie 37 Mar 31 18:51 _usr_share_teams_teams.1000.uploaded
Output of top
top - 16:55:35 up 1 min, 1 user, load average: 2.35, 0.79, 0.28
Tasks: 364 total, 3 running, 361 sleeping, 0 stopped, 0 zombie
%Cpu(s): 5.4 us, 1.1 sy, 0.0 ni, 90.9 id, 2.1 wa, 0.0 hi, 0.5 si, 0.0 st
MiB Mem : 13939.7 total, 9030.9 free, 2293.8 used, 2615.0 buff/cache
MiB Swap: 4096.0 total, 4096.0 free, 0.0 used. 11294.8 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4035 user 20 0 6268860 205524 110728 S 24.2 1.4 0:05.56 skypefo+
3579 user 20 0 826360 233764 152592 S 5.3 1.6 0:04.88 chrome
1630 user 20 0 5359780 307316 118844 S 4.3 2.2 0:08.09 gnome-s+
4116 user 20 0 5626104 113272 91952 S 4.3 0.8 0:00.56 skypefo+
3618 user 20 0 649480 137168 91180 S 4.0 1.0 0:02.42 chrome
1299 user 20 0 1433488 90628 56156 S 2.6 0.6 0:02.52 Xorg
3834 user 20 0 36.4g 142796 88768 S 2.3 1.0 0:04.01 chrome
3877 user 20 0 2200908 115344 79896 S 2.3 0.8 0:07.09 skypefo+
2258 user 20 0 2747244 134668 94496 S 1.3 0.9 0:01.39 teams
2401 user 20 0 2741456 414736 115904 S 1.3 2.9 0:18.69 teams
4045 user 20 0 816792 53108 40540 R 0.7 0.4 0:00.55 gnome-t+
65 root 20 0 0 0 0 I 0.3 0.0 0:00.16 kworker+
240 root 20 0 0 0 0 I 0.3 0.0 0:00.23 kworker+
241 root 20 0 0 0 0 I 0.3 0.0 0:00.13 kworker+
663 root -2 0 0 0 0 S 0.3 0.0 0:00.55 gfx
1106 root 20 0 335928 19916 16752 S 0.3 0.1 0:01.09 Network+
4087 user 20 0 12160 4032 3268 R 0.3 0.0 0:00.04 top
sudo lshw -C memory
gives https://paste.ubuntu.com/p/4jS9HFBqN3/
I set up a wifi hotspot without a password and see that the Wifi Hotspot is active from the menu.
On my android phone I can also see the network. But it just fails if I try to connect to it.
Is there any way to diagnose what is going wrong?
Information requested in a comment:
dpkg -l wpa*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-================-============-==============================================
un wpagui <none> <none> (no description available)
ii wpasupplicant 2:2.9-1ubuntu4.1 amd64 client support for WPA and WPA2 (IEEE 802.11i)
I have a new AMD 3400g PC running Ubuntu 20.04. I was looking at dmesg where I see this repeated eight times:
[ 5.534686] EDAC amd64: Node 0: DRAM ECC disabled.
[ 5.534688] EDAC amd64: ECC disabled in the BIOS or no ECC capability, module will not load.
Either enable ECC checking or force module loading by setting 'ecc_enable_override'.
(Note that use of the override may cause unknown side effects.)
How can I fix this?
Hardware
Gigabyte A320M-S2H AMD Socket AM4 Motherboard
AMD Ryzen 5 3400G with Radeon Vega Graphics
Output of lshw -c memory:
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: F51c
date: 07/02/2020
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen
int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: 9
slot: System board or motherboard
size: 16GiB
*-bank:0
description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-T
ranslator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=
UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c
3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator
: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Cont
ent-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156e
a57a) [empty]
product: Unknown
vendor: Unknown
physical id: 0
serial: Unknown
slot: DIMM 0
*-bank:1
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
product: DDR4 3000
vendor: A-DATA Technology
physical id: 1
serial: B91D0500
slot: DIMM 1
size: 8GiB
width: 64 bits
clock: 2666MHz (0.4ns)
*-bank:2
description: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL
NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a)Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>PO-Revision-Date: 2012-02-05 00:26+0000Last-Translator: Andi Chandler <Unknown>Language-Team: English (United Kingdom) <[email protected]>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2020-07-09 17:42+0000X-Generator: Launchpad (build 4809fcb62f445aaa3ae919f7f6c3cc7d156ea57a) [empty]
product: Unknown
vendor: Unknown
physical id: 2
serial: Unknown
slot: DIMM 0
*-bank:3
description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2666 MHz (0.4 ns)
product: DDR4 3000
vendor: A-DATA Technology
physical id: 3
serial: 6C1C0500
slot: DIMM 1
size: 8GiB
width: 64 bits
clock: 2666MHz (0.4ns)
*-cache:0
description: L1 cache
physical id: b
slot: L1 - Cache
size: 384KiB
capacity: 384KiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: c
slot: L2 - Cache
size: 2MiB
capacity: 2MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: d
slot: L3 - Cache
size: 4MiB
capacity: 4MiB
clock: 1GHz (1.0ns)
capabilities: pipeline-burst internal write-back unified
configuration: level=3
I am trying to install gmic on 16.04. I tried to follow the instructions from here which explicitly mentions 16.04 but I get:
gmic : Depends: libcurl4 but it is not installable
Is there any way to install gmic on 16.04?
cat /etc/apt/sources.list|grep -v \#
deb http://gb.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ xenial universe
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb https://packages.microsoft.com/repos/vscode stable main
I would like to set my DNS server to 8.8.8.8. I followed online instructions and went to Network Connections->Wired Connection 1->Edit->Ipv4 Settings and put 8.8.8.8 into Additional DNS servers. This does put 8.8.8.8 as a secondary DNS server. I can check this using nmcli dev show
.
How can I make
8.8.8.8
my primary DNS server instead?
I get loads of error messages like this in dmesg
[613107.890167] type=1400 audit(1402488663.041:108): apparmor="DENIED"
operation="exec"
profile="/usr/bin/evince-thumbnailer//sanitized_helper"
name="/usr/share/texlive/texmf-dist/web2c/mktexnam" pid=9841
comm="mktexpk" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
It seems this is some problem with my LaTeX install. Does anyone know how to fix it?
I am trying to find an implementation of checkers/draughts that works. I did "sudo apt-get install kcheckers" and when I run it I get a window that I can't expand (so it works but just in a small window). On the terminal I see
Your Locale: "en_GB"
Prefix path: /usr
Loading Qt translations failed.
Loading KCheckers translations failed.
How can I use a video as my desktop wallpaper? I would like to have it like normal wallpaper so the icons etc. sit on top of it, just as in a static wallpaper picture.
A similar question was asked at How do I set a VLC instance to run as a Live Wallpaper but no answer was given that support icons, for example, it seems.
The multiple clipboards for copy and paste are driving me crazy. Is there some way to make ctrl-c, mouse highlight and menu dropdown->copy all do the same thing so I don't get something different depending on how I paste?
I would like to run an application on a remote ubuntu machine using vnc. Currently I have to
- ssh into the remote machine and run x11vnc
- Run vinagre locally
- Start the application in the vinagre vnc window
How can I turn this into a single command line operation? I can combine 1 and 2 into a bash script but how do I do 3 from the command line too?
/boot has become 100% full somehow.
df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ubuntu-root 191078052 31758960 149612804 18% /
udev 3997520 8 3997512 1% /dev
tmpfs 1602244 856 1601388 1% /run
none 5120 0 5120 0% /run/lock
none 4005600 1792 4003808 1% /run/shm
none 102400 28 102372 1% /run/user
/dev/sda1 233191 218740 2010 100% /boot
mount
/dev/mapper/ubuntu-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda1 on /boot type ext2 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
vmware-vmblock on /run/vmblock-fuse type fuse.vmware-vmblock (rw,nosuid,nodev,default_permissions,allow_other)
gvfsd-fuse on /run/user/foo/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=foo)
How can I make the space allocated to /boot bigger?
There is a related question How do I free up more space in /boot? but that is not what I want to do.
Added.
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007f9dc
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 390721535 195109889 5 Extended
/dev/sda5 501760 390721535 195109888 8e Linux LVM
Disk /dev/mapper/ubuntu-root: 198.8 GB, 198784843776 bytes
255 heads, 63 sectors/track, 24167 cylinders, total 388251648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubuntu-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu-swap_1: 1006 MB, 1006632960 bytes
255 heads, 63 sectors/track, 122 cylinders, total 1966080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubuntu-swap_1 doesn't contain a valid partition table
In inkscape using Extensions->Render->LaTeX formula you can enter LaTeX into your Inkscape image. The default font is huge however. How can you change it to something smaller?
Alternatively, is there a better way to enter LaTeX in an inkscape image that is easy to install in quantal?
How can I get acroread to remember the printing settings I chosse? In particular, I set double sided printing each time and it forgets it next time.
I want to use a pac-file-url to set the web proxy rules for chromium in lubuntu. Chromium reads its settings from the system wide OS settings. I read How do I set systemwide proxy servers in Xubuntu, Lubuntu or Ubuntu Studio? but I am not clear on the following question.
How do I specify the pac-file-url in the system wide settings in lubuntu?
I am trying to set up a web proxy for chromium on my 12.10 lubuntu box. In firefox I simply add the address of the autoconfigure script http://ipaddress/autoconfig
in the "Automatic proxy configuration" box in preferences->network->settings and it works perfectly.
In chromium I have tried various possible solutions, all of which have failed so far. What is the right way to do this?
The solution given below works but uses the same proxy for all web pages and requires you to use a command line argument when you run chromium.
Is there a way to do the equivalent of what firefox does? That is load the autoconfigure script (a javascript file) telling chromium which URLs should use the proxy (see e.g. http://en.wikipedia.org/wiki/Proxy_auto-config )?
That is I would like chromium to only use the proxy for selected pages. I would also like to be able easily to turn the proxy on and off.
When I click on a word attachment in an email I have received in gmail from chromium, it always opens the file using abiword. How can I persuade it to use libreoffice instead? I am using lubuntu 12.10.
I have an ASrock 880GM-LE FX motherboard with an AMD 8350 cpu. I set up sensors by saying Y to everything and now when I run sensors I get
w83627dhg-isa-0290
Adapter: ISA adapter
Vcore: +0.91 V (min = +0.00 V, max = +1.74 V)
in1: +0.00 V (min = +1.78 V, max = +0.50 V) ALARM
AVCC: +3.36 V (min = +2.98 V, max = +3.63 V)
+3.3V: +3.36 V (min = +2.98 V, max = +3.63 V)
in4: +1.68 V (min = +1.97 V, max = +1.78 V) ALARM
in5: +1.70 V (min = +2.03 V, max = +0.48 V) ALARM
in6: +1.86 V (min = +1.90 V, max = +0.89 V) ALARM
3VSB: +3.46 V (min = +2.98 V, max = +3.63 V)
Vbat: +3.42 V (min = +2.70 V, max = +3.30 V) ALARM
fan1: 0 RPM (min = 1506 RPM, div = 128) ALARM
fan2: 2860 RPM (min = 1430 RPM, div = 8)
fan3: 0 RPM (min = 1506 RPM, div = 128) ALARM
fan5: 0 RPM (min = 1506 RPM, div = 128) ALARM
temp1: +43.0°C (high = -103.0°C, hyst = +91.0°C) sensor = thermistor
temp2: +40.5°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
temp3: +32.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
intrusion0: ALARM
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +21.1°C (high = +70.0°C)
(crit = +70.0°C, hyst = +67.0°C)
fam15h_power-pci-00c4
Adapter: PCI adapter
power1: 32.21 W (crit = 125.19 W)
I have
sensors --version
sensors version 3.3.1 with libsensors version 3.3.1
How can I update the information sensors is using to get something more informative as its output?
I installed Ubuntu onto a USB key using pendrivelinux.com. I need to boot off the pen drive now but the bios doesn't support this. I can still boot into Linux without X support ( broken X is one of the reason I want to boot off the pen drive to reinstall) on the computer directly. Is there some way to boot off a USB key from a running installation of linux or some other way of doing this?