Latest Ubuntu related questions

Score: 0
rogersjoshmac avatar
Set next boot to kernel
br flag

I'm trying to automate a way to set the next boot to be the stock ubuntu kernel. Using a script called list_kernels.sh which I found on stackoverflow, I can get the number of the menu including the submenu. However, when I run grub-reboot *number* I get the following:

root@prod150:~# /tmp/list_kernels.sh 
0: Ubuntu
  0>0 Ubuntu, with Linux 4.9.24
  0>1 Ubuntu, with Linux 4.9.24 (recovery mode)
   ...
Score: 2
Steam crashes on 21.04
pl flag

I don't use steam very often, but know it worked previously on this machine. Recently it's stopped working, crashing on launch. I'm running Kubuntu 21.04 on X11 (not wayland). Things I have already tried:

  • Reboot
  • Ensure I am up to date via apt
  • steam --reset - which gets steam working for one launch, then fails on next launch
  • Remove steam and reinstall steam-installer
  • Ensure I have i386 arch enabl ...
Score: 0
goldenfishy avatar
hdmi problem don't work
in flag

I have a laptop Lenovo G500 and a laptop Asus X541U. Both have dual boot win 10 / ubuntu. The problem is HHDMI for both. I can't use hdmi for tv smart or for projector. when i connect the cable just see the desktop for linux mint ,without icons and is it freeze. help me with some tricks and info.

Score: 0
On starting up laptop WiFi works then after 5 minutes it stops working
in flag

This happened after an upgrade from 18.04 to 20.04.

Here is result of sudo lshw -C network:

  *-network
       description: Wireless interface
       product: Ralink corp.
       vendor: Ralink corp.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlo1
       version: 00
       serial: 84:4b:f5:09:eb:9b
       width: 32 bits
       clock: 33MHz
       capabilities: pm m ...
Score: 1
Any way to pause a task and then restart within a pipe
tm flag

I use a command like btrfs restore -iv /dev/sdc1 /RESTORED

estimated time of running it is few days

In every hour of running I see a lot of prompts like:

We seem to be looping a lot on /path/to/some/file, do you want to keep going on?
(y/N/a)

I'd like to say N to all remaining prompts, but there is no such option (according to man btrfs-restore and btrfs )

I think I need this: yes N | btrfs restore -iv ...

Score: 0
Installed VS Code via snap, now it won't open
in flag

I have looked all over the internet for how to fix this

Installed code via

sudo snap install code --classic

Now when I search for code from the start button menu it shows up, but when I click it nothing happens.

also my code command in terminal gives me this error:

/ has 'other' write 40777

I'm new to Ubuntu, and have no idea what is wrong,

Thanks for your time

Score: 0
Cas avatar
when using ?! in perl regex, bash interprets it as search through command history
in flag
Cas

Simple problem but I can't fix it.

I have the following perl regex:

echo ... | grep -P "(?i)(v(ersion)?)\s?(?!0)\d(\.|,)\d{1,}"

This is supposed to match every string that describes a version of something (e.g. V2,0 or version 1.2). But it doesn't match when the version starts with V0.... However, when I execute this, I get an error -bash: !0: event not found because !<string> is used to search thr ...

Score: 1
Can't mount ext4 partition via SATA to USB cable
pk flag

I'm stuck mounting an SSD, which is pre-formatted as ext4, via SATA to USB cable. However it gives the error:

mount: wrong fs type, bad option, bad superblock on /dev/sdc,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

This problem does not happen when plugging the SSD directly to the drive bay of the laptop. The probl ...

Score: 0
user1350789 avatar
can’t start the ubuntu system after open computer
us flag

so last week i had the same problem, that i can’t get in to the computer after opening the computer. We took the computer to some experts and they reinstalled the ubuntu system. Im using the computer for two days now but the same problem came out again. I simply cant get into the login page, whenever i turn it off then on it always is at the same page, where there is only the lenovo and ubuntu logo. I ...

Score: 0
Kc Showalter avatar
DNS Errors On Dual Boot Machine
vn flag

I'm wanting to get more into using Linux as my daily OS, so I figured I'd dual boot Windows 10 and Ubuntu (custom PC with a 3700X and a 5700XT, if it matters). However, I can't do much because most websites won't load, citing a DNS error. First thing I tried was switching from 21.04 down to the most recent LTS build, which didn't solve the issue. I've tried different servers; the public ones and the one ...

Score: 0
arnaav1 avatar
no games except terraria work
br flag

i know, weird, but true.

So, as the title suggests, only terraria works, I've tested csgo, star conflict, Unturned and adventure capitalist. these games show a black screen for some time then crash, except in csgo, the logo fades in then fades out, then black screen but no crashing(waited more than an hour, still black screen)

Terraria was the first game i downloaded on Linux.

System:

Intel Core i5 460M ...

Score: 1
yaylitzis avatar
Domain name isn't available on local network, but outside it is!
au flag

In our local network we have an Ubuntu Server 20.4, where it hosts a web application. I configured my router and the DNS of the domain, I installed Lets'Encrypt certificate and I have succeed that https://mydomain.com to show my web application.

My issue is that when I try to see the domain https://mydomain.com from inside the local network, the browser responds that `This site can’t be reached, but wh ...

Score: 3
demog avatar
How to lower the critical temperature of the CPU, so thermal throttling starts earlier
is flag

I have an old Laptop with a broken heat sink, which leads the CPU to heat up to 80°C during small workloads, and briefly reaches 100°C during higher workloads (e.g. during system updates and compiling code). When running lm_sensors, i recently found out that the critical(as well as maximum) temperature of my CPU is set to 100°C, meaning thermal throttling is not really doing anything unless the tempe ...

Score: 0
Fred avatar
Ubuntu backup restore stuck at very large file
ch flag

I had to do a fresh install of Ubuntu on my computer and I'm now trying to restore my deja dup backups from my local NAS (via WiFi). This worked well until it hit a very large binary file (~ 100 GB) where it got stuck for hours (I kept it running over night but no progress).

I found a couple of older threads that mention that I just have to wait long enough. According to Nautilus, the last modifi ...

Score: 2
gordonr avatar
Second monitor resolution stopped working since recent upgrade to Ubuntu 21.04
us flag

Summary:

My second monitor resolution has stopped working since recent upgrade to Ubuntu 21.04. From my (very limited) understanding, it looks like it no longer reads the text I have had in the .xprofile file.

Details:

I recently upgraded to Ubuntu 21.04. I have an second monitor (an old Dell) attached to the laptop. This monitor works best at 1920x1080. For the last couple of years, the only way I ...

Score: 1
Vic avatar
Kubuntu and LibreOffice keyboard shortcuts
in flag
Vic

I am running Kubuntu 21.04 and LibreOffice v7.0.6 (latest stable release) and some keyboard shortcuts work while others don't. I am using normal US keyboard. For example,

  • Ctrl+Shift+[ -- doesn't
  • Ctrl+Shift+] -- doesn't
  • Ctrl+Shift+E -- does

I am able to assign the above shortcuts for example to KDE apps and they work, just not in LibreOffice. I upgraded to the latest version of Plasma, 5.22 and the i ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.