Ubuntu 18.04 Audio Disabled After Suspension

Whenever I open my laptop from suspension, the audio does not work. I have tried restarting pulseaudio, which does not fix it. Pavucontrol detects that there is sound output, but I still cannot hear anything. The only solution currently is to restart my system.

All topic

How can I clear word highlighting in the current document (e.g. such as after searching for a word)?

When you search for a word in a file with something like /console.log, all of the instances of console.log are highlighted.

When you’re no longer interested in these, the highlighting can be distracting. My current strategy for removing the highlighting is to do something like /asntehua. Is there a proper way to remove this word highlighting?

All topic

Still cannot use `react-native link` after ejecting a Create React Native App

I started with a create-react-native app. Then, I wanted to add a dependency. So, I ran react-native link:

`react-native link` can not be used in Create React Native App projects. If you need to include a library that relies on custom native code, you might have to eject first. See https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md for more information.

So, I ran npm run eject and it successfully ejected. There are many changes to the package.json and some scripts have been added.

But, if I now run react-native link, I still get the same error!! How can I successfully run this command? How does it determine that I’m still using create-react-native?

I’m guessing there’s some flag somewhere that still says it’s using create-react-native, but I don’t know where it is. Any help is appreciated.

All topic

How to wrap lists after 5 element?

We have an unordered list that will display up to 10 items. How can we setup the list so that it will place the first five items on the left and put the next five items into the next column?

Here is the current and desired output. We tried to use CSS Flexbox, but cannot find a way to do it. Open to other ideas if flexbox cannot get it done.

Here is the current results and desired outputs.
output

ul {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
}
  • Assertively mesh
  • client-centered
  • niches and covalent networks
  • Uniquely e-enable
  • team driven benefits
  • rather than exceptional
  • architectures Continually
  • foster cutting-edge
  • open-source core
  • process-centric

All topic

Child Objects become ‘disconnected’ after updating directly

I have models as shown by a crude diagram below which are inside of each other
Launch -> Rocket -> Launch Agency
I pull data Launch from my API and everything populates nicely within the models. I use realm.copyToRealmOrUpdate(launches); and it works perfectly.
I then pull launch agencies too just incase there is an agency that doesn’t have a launch as I wish to display all agencies on another page. I pull all agencies and do the same realm.copyToRealmOrUpdate(agencies); – However upon doing this the Launch Agency field within a launch becomes null? Why would this occur? Am I doing something wrong?

Please Help I’m going mad!

All topic

WiFi not working after installing Ubuntu 18.04

I have a notebook Kanji Tamura Duo, on which I had Windows10 an everything worked just fine. Yesterday I installed Ubuntu 18.04 and the WiFi does not work. It lets me turn it on and then when I go to “Select Network” gets stuck on “no networks” (I know that there are networks available). I been looking on the internet but i couldn’t find a fix. I’ll include some of the outputs that I’ve tried in case they are useful.
I’ve already rolled back to Win10, I’m leaving the tread open since there are others with the same problem.

edelmiro@Distrito8:~$ sudo lshw -C network
[sudo] password for edelmiro: 
  *-network:0               
       description: Ethernet interface
       physical id: 1
       logical name: enp0s21f0u2
       serial: ea:a7:73:e1:fb:65
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.43 link=yes multicast=yes
  *-network:1
       description: Wireless interface
       physical id: 2
       bus info: usb@1:7
       logical name: wlx54c9dfb805ef
       serial: 54:c9:df:b8:05:ef
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8xxxu driverversion=4.15.0-20-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11

edelmiro@Distrito8:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge
Flags: bus master, fast devsel, latency 0

00:00.1 Signal processing controller: Intel Corporation Device 5a8c (rev 0b)
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at 91110000 (64-bit, non-prefetchable) [size=32K]
Capabilities: 
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device

00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
Subsystem: Intel Corporation Device 2212
Flags: bus master, fast devsel, latency 0, IRQ 123
Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: 
Kernel driver in use: i915
Kernel modules: i915

00:0e.0 Audio device: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster (rev 0b)
Subsystem: Device 1c6c:122a
Flags: bus master, fast devsel, latency 0, IRQ 25
Memory at 91118000 (64-bit, non-prefetchable) [size=16K]
Memory at 91000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: 
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl

00:0f.0 Communication controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Trusted Execution Engine
Flags: bus master, fast devsel, latency 0, IRQ 124
Memory at 91145000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: mei_me
Kernel modules: mei_me

00:12.0 SATA controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller (rev 0b) (prog-if 01 [AHCI 1.0])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 121
Memory at 9111c000 (32-bit, non-prefetchable) [size=8K]
Memory at 91142000 (32-bit, non-prefetchable) [size=256]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at 91141000 (32-bit, non-prefetchable) [size=2K]
Capabilities: 
Kernel driver in use: ahci
Kernel modules: ahci

00:15.0 USB controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI (rev 0b) (prog-if 30 [XHCI])
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI
Flags: bus master, medium devsel, latency 0, IRQ 120
Memory at 91100000 (64-bit, non-prefetchable) [size=64K]
Capabilities: 
Kernel driver in use: xhci_hcd

00:16.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at 91140000 (64-bit, non-prefetchable) [size=4K]
Memory at 9113f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #2 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at 9113e000 (64-bit, non-prefetchable) [size=4K]
Memory at 9113d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #3 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at 9113c000 (64-bit, non-prefetchable) [size=4K]
Memory at 9113b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #4 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at 9113a000 (64-bit, non-prefetchable) [size=4K]
Memory at 91139000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #5 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 31
Memory at 91138000 (64-bit, non-prefetchable) [size=4K]
Memory at 91137000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #6 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at 91136000 (64-bit, non-prefetchable) [size=4K]
Memory at 91135000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #7 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at 91134000 (64-bit, non-prefetchable) [size=4K]
Memory at 91133000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:17.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #8 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at 91132000 (64-bit, non-prefetchable) [size=4K]
Memory at 91131000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:18.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: bus master, fast devsel, latency 0, IRQ 4
Memory at 91130000 (64-bit, non-prefetchable) [size=4K]
Memory at 9112f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:18.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #2 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at 9112e000 (64-bit, non-prefetchable) [size=4K]
Memory at 9112d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:18.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #3 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: fast devsel, IRQ 6
Memory at 91143000 (64-bit, non-prefetchable) [size=4K]
Memory at 91144000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel modules: intel_lpss_pci

00:18.3 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #4 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller
Flags: bus master, fast devsel, latency 0, IRQ 7
Memory at 9112c000 (64-bit, non-prefetchable) [size=4K]
Memory at 9112b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:19.0 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #1 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at 9112a000 (64-bit, non-prefetchable) [size=4K]
Memory at 91129000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:19.1 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #2 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at 91128000 (64-bit, non-prefetchable) [size=4K]
Memory at 91127000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:19.2 Signal processing controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller
Flags: bus master, fast devsel, latency 0, IRQ 37
Memory at 91126000 (64-bit, non-prefetchable) [size=4K]
Memory at 91125000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:1b.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller (rev 0b) (prog-if 01)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDXC/MMC Host Controller
Flags: bus master, fast devsel, latency 0, IRQ 3
Memory at 91124000 (64-bit, non-prefetchable) [size=4K]
Memory at 91123000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1c.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller (rev 0b) (prog-if 01)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series eMMC Controller
Flags: bus master, fast devsel, latency 0, IRQ 39
Memory at 91122000 (64-bit, non-prefetchable) [size=4K]
Memory at 91121000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1e.0 SD Host controller: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDIO Controller (rev 0b) (prog-if 01)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SDIO Controller
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at 91120000 (64-bit, non-prefetchable) [size=4K]
Memory at 9111f000 (64-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1f.0 ISA bridge: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Low Pin Count Interface
Flags: bus master, medium devsel, latency 0
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.1 SMBus: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller (rev 0b)
Subsystem: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller
Flags: medium devsel, IRQ 255
Memory at 9111e000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]
Kernel modules: i2c_i801

All topic

Why did they break their cups after a toast?

In episode 17 when they’re about to welcome Satsuki’s mother, they’re having a toast and slam their cups to the ground. Why did they do it? Does this have anything to do with Japanese culture?

enter image description here

All topic

Why is this weird space appearing after my minus sign

I’m using MathJax-Node to turn TeX maths equations into both MathML and SVG on my server. Mostly this works fine. But when I render Tupper’s self-referential formula, a weird space appears after the second minus sign in the exponent: Rendered formula.

The space also appears on mathURL (which is where the above image comes from). When I examine the MathML generated, I can see that MathJax has explicitly inserted a mspace element.

The TeX I’m using is as follows:

frac12

Any idea what's going on here?

All topic

After instalation, boot error message: can not find any operational system

After a clean installation of Elementary Loki, there is an error message during the booting that does not allow me run Elementary. “Cannot find any operational system”. As I am not an expert, the only solution I found was change Legacy instead of UEFI inside the BIOS, and wallah! is working now.

However, although is working now I suppose something is wrong with my GRUB and I should fix it to be able to boot Elementary with UEFI. I would really appreciate any orientation about how to fix it.

This question it was already posted here Force UEFI installation? but unfortunately did not find a real solution.

*Some additional information: Elementary is the only OS I’m running in my laptop right now. However, previously the laptop was using Windows 10 that came in for default. My laptop is a Sony Vaio, S series.

All topic

Dual monitors won’t “wake up” after sleep

My laptop is set to go to sleep when not in use, but when I have it set to use Dual screens, after I “wake it up”, all I can see is the mouse on the second screen, flickering. If I unplug the VGA cable, the laptop screen wakes up, and I can see the log-in screen. Once I plug the VGA cable back in, the second screen “wakes up” too.

This problem does not occur on startup, and I have set the second screen to be my main display – but I do often disconnect the laptop to take it with me. I have also changed the settings to make the laptop screen my main display, and the issue still occurs, just on the laptop screen instead.

This has only just started happening, around the time of the last update (2017-06 Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB4022715)).

Running Windows 10 Home, Acer Aspire E 15. Let mem know if additional information is required.

All topic