Latest Ubuntu related questions

Score: 1
Adrian avatar
Problems with Qtile due to GNOME
sv flag

I recently installed qtile according to the docs and when running qtile start I got the following message:

not starting; existing window manager GNOME Shell

Now, I digged a bit more and found this, which, after doing everything it said, still isn't working. I am at a loss on what is required to make it work... Maybe I should ditch GNOME somehow? Any input is welcome, thanks.

Edits

Ubuntu version: 2 ...

Score: 0
Bahaeldin0 avatar
Installing yo & generator-code on xubuntu
im flag

So I have been trying to install yo & generator-code for xubuntu to try making some vs code extensions, I installed nodejs & npm via sudo apt-get then did sudo npm install -g yo generator-code then when I tried to run yo -v or yo code I get the following error

    filePatterns: lookups.flatMap(prefix => [`${prefix}/*/index.ts`, `${prefix}/*/index.js`, `${prefix}/*/index.cjs`, `${prefix}/*/in ...
Score: 1
There are some errors with avahi-daemon when I try to upgrade Xubuntu 21.04
af flag

I have Xubuntu 21.04 64-bit. Every time I do "apt upgrade" I have error messages:

Setting up avahi-daemon (0.8-5ubuntu3.1) ...
invoke-rc.d: syntax error: unknown option "--skip-systemd-native"
dpkg: error processing package avahi-daemon (--configure):
 installed avahi-daemon package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of a ...
Score: 0
UnluckyToe avatar
When I reboot my Dell laptop (which only has Ubuntu), I get stuck on this screen that says "Minimal BASH-like line editing..."
us flag

I have been using a Dell laptop which has Ubuntu for over a year now. Today, when I opened it, I'm stuck on this screen with this message:

GNU GRUB version 2.04
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub>

Now, I have tried multiple solutions from the web, StackOverflow, As ...

Score: -3
Why do backticks work for highlighting code in Discord, but Armenian commas don't?
kz flag

When I send code in Discord using this:

```py
print("hello world!")
```

it appears in a box with code highlighted as you can see in the picture below. However, when I use Unicode U+055d (Armenian comma) for the code fences (՝՝՝ ՝՝՝) :

՝՝՝py
print("hello world!")
՝՝՝

and send it, the code doesn't get highlighted. It also does not appear in the box as you can see in the picture.

enter image description here

Score: 0
mdraid - changing array name of / array (active)
us flag

Is there any way to change mdraid metadata (v1.2) of an active array?

I have Ubuntu server installed on RAID1 array (/ is the array itself). At the time of installation I had 4 drives - previous Ubuntu RAID1 array and set of new SSDs I assembled to array and was installing onto. Ubuntu installer detected old array and as a result (because host:1 was taken by it) installer named my newly created array ...

Score: 0
emk2203 avatar
`ffmpeg` doesn't recognize input from pipe for merging mp4 via concat demuxer
in flag

I want to merge mp4 files via the concat demuxer and cannot get it to work with a script.

I am using the script from another AskUbuntu answer, called concatmp4 here:

#!/usr/bin/env bash

if [ $# -lt 1 ]; then
    echo "Usage: `basename $0` input_1.mp4 input_2.mp4 ... output.mp4"
    exit 0
fi

ARGS=("$@") # determine all arguments
output=${ARGS[${#ARGS[@]}-1]} # get the last argument (output file)
 ...
Score: 0
I unmounted ext4 (Ubuntu OS) with gparted. Now it is unallocated. What is happening?
br flag
nfs

A quick summary:
I have 500 GB SSD. There is only Ubuntu 20.04 installed in it. I wrote win10.iso file inside of its EFI System Partition with dd command. After that I couldn't boot. Then I boot Ubuntu from usb. boot-repair told me to open 1mb (or something like that) space. I followed some instructions yet I failed. I would like the save the at least home folder. Half of the SSD was used. EFI part ...

Score: 0
catmousedog avatar
VS code: Enabling word wrap in snippets
nr flag

I added some snippets for glsl, but I can't fully read them since they don't wrap. Is there anyway to enable word wrap in the snippets? I tried enabling Word Wrap in the settings, but to no avail.

snippet text not wrapping

Score: 0
Bruno avatar
Setting default theme for Plank on Ubuntu 20.04 using Cubic
mo flag

I am trying to create a custom distro based on Ubuntu using Cubic. I have installed Plank and it works fine when using the Try Distro screen when booting into the vm that Cubic provides. I have copied over some plank theme files into the right directory but I don't know how to set the default theme for plank from the terminal.

I have tried the following:

gsettings set net.launchpad.plank.dock.settings ...
Score: 0
Enable touchpad scroll button on Fujitsu S752
fr flag

I have a Fujitsu Lifebook S752 and it's got a nice up-down button for scrolling located between LMB and RMB on the touchpad. It did not work on Ubuntu 20.10 and neither on 21.04. It works fine in Windows.

I am not sure if it is due to the driver or the buttons not being mapped. From my testing they don't do anything.

I have no experience toying with drivers or button mapping, so I have no idea where ...

Score: 1
VII avatar
Cron job seems to be running but no output and got killed after a while
fr flag
VII

I am trying to run my python scripts with crontab. I have 2 python scripts in the same directory. The first one file1.py has just 1 line print(1). The second file file2.py begins with print(2) but then a long code to query and update data in my SQL database.

My setup in crontab -e is something like this (I set up the files to run every minute and save the output to cron.log

* * * * * cd /path/to/files & ...
Score: 0
Özen Özer avatar
Ubuntu Send Logs to Syslog Server Port Problem
cn flag

I have a problem. I configured /etc/rsyslog.conf file to our syslog server. But Ubuntu server send logs to TCP 514 port therefor our syslog server cannot take this logs.

Our config;

# /etc/rsyslog.conf configuration file for rsyslog
#
# For more information install rsyslog-doc and see
# /usr/share/doc/rsyslog-doc/html/configuration/index.html
#
# Default logging rules can be found in /etc/rsyslog.d/50 ...
Score: 1
Cas avatar
Ubuntu server suddenly doesn't have access to outside of the network anymore
in flag
Cas

I have a server with TrueNAS Core installed and an Ubuntu server vm running on it. I rebooted the vm and now suddenly it can't reach the outside. When I do ping www.google.com, it says ping: www.google.com: Temporary failure in name resolution. When I do ping 172.217.168.196, it works. So the dns part isn't working. When I do cat /etc/netplan/00-installer-config.yaml, this is the output:

# This is ...
Score: 1
garykapoor7 avatar
Live Server in VS Code Ubuntu does not automatically open the browser tab. Need Help
ng flag

I am using VS Code in Linux. The OS Details are given below

NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"

Here's a brief description of what the issue is -

  • I installed the Live Server Extension developed by Ritwick Dey. It's a popular VS Code Extension. I tried to use it with a simple index.html file.

  • It started localhost with the default port 5050.

  • Now the problem is that I need to manual ...

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.