Latest Ubuntu related questions

Score: 1
Nvidia always switiching to the AMD renoir
de flag

I have new laptop Lenovo IdeaPad Gaming 3 15ACH6. I installed Nvidia-470 version as it is proprietary and tested. Everytime, I reboot laptop it is switched back to the AMD renoir. After that, my Steam games are lagging until I reload 470 driver again in Software&Updates. I am using 5.15.0-051500rc7-generic Kernel.
How can I switch constantly to Nvidia graphics ? Tried sudo prime-select nvidi ...

Score: 0
dot matix printer not recoganizing custom page size in Ubuntu 20.04
cn flag

I ran the below command It does not seem to recognize the width and height.

lp -d TVS_MSP-250CH -o media=Custom.10x6in test.txt

But do note if change the height from 6 to 3 there is a difference in the amount of paper ejected.

I have install the PPD file from the manufacturer.

Score: 1
Begus avatar
Dead icons in Ubuntu Dock
in flag

I am using Glade to develop a Gtk-3.0 app, in which the exit button (e.g. the window delete-event) does not destroy the application (on purpose, so I can hide it instead and run it in the background).

Now, if I use the glade-previewer to preview my window and subsequently press the exit button, the window closes and it looks like the glade-previewer process is killed, but somehow started again di ...

Score: 2
Unable to run Anbox snap on fresh installed Ubuntu 21.10 -(binder trouble)
us flag

To reproduce. install anbox snap install --devmode --edge anbox In my case, I installed on a fresh installed Ubuntu 21.10

Then I discovered that the binder module was not working as expected. Anbox devs could not figure this out: https://github.com/anbox/anbox/issues/1949

Please advise.

Score: 0
Tal avatar
Massive issue with Python
us flag
Tal

Me, being the idiot I am, deleted a few links to python. (I deleted the python3 link I think, as well as a few other write protected files) Now, whenever I make a typo in a command I get this: bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: No such file or directory

Whenever I do sudo apt update I get this:

E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/ ...
Score: 0
Dam' avatar
Nextcloud : Changes In Synchronized Folders Not Being Tracked Reliably
gb flag

I use nextcloud-desktop (version 3.3.6) from ppa:nextcloud-devs/client repositories on Ubuntu 20.04.

Every time I start the software, the notification about “Changes In Synchronized Folders Not Being Tracked Reliably” appears.

I tried the solution explained in the Nextcloud FAQ but it does not work.

I added :

fs.inotify.max_user_instances=8192

fs.inotify.max_user_watches=524288

in the /etc/sysctl.c ...

Score: 1
Paolo avatar
The panel encountered a problem while loading "IndicatorAppletCompleteFactory::IndicatorAppletComplete" error when using xrdp and mate
us flag

I am running an Ubuntu 20.04 image from AWS:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

I have installed xrdp and mate on this instance:

# Install xrdp
sudo apt-get install xrdp=0.9.12-1 -y

# Install mate
sudo apt-get install mate-desktop-environment=1.24.0+1 -y

# Configure xrdp to use mate ...
Score: 0
How to display error messages during .configure to the standard console?
ng flag

When compiling from source, we use .configure as the first step. .configure may call some other commands like cc which may fail and print error messages, like header not found or some other compile errors. But these error messages are not displayed on the standard console where I run .configure. This causes difficulty in troubleshooting because sometimes .configure will only tell you it fails. So,  ...

Score: 1
Ingela avatar
"failed to download odrs.gnome.org" 18.04
dk flag

enter image description hereAnd suddenly i have this problem. Tried the reinstall to no avail. I'm on 18.04 and "failed to download odrs.gnome.org" SSL handshake failed. Nothing wrong with my internet. Seems like we changed the repository? Since when did we change repository? How do i resolve this?

Score: 0
Running inotify im bg using nohup workig only once
dz flag

I am trying to run inotifywait with nohup so that inotifywait shall run despite of closing terminal. i tried with nohup but it run only once. Next time when i add file to the folder it is not being executed. Below is codesnip which i am using for inotify.

nohup inotifywait -m -r "/var/www/html/demo-ni-post/company" -e create -e moved_to |
while read dir action file; do
    python3 /var/www/html/dem ...
Score: 0
TopCoder2000 avatar
How do I set a static IP in Ubuntu 20.04.3 LTS?
pk flag

I'm trying to set up a lab computer as a ssh server following this guide. One of the steps is setting up a static IP address. So, I was glad to find this answer. Following it, I created /etc/netplan/50-cloud-init.yaml file, pasted

network:
    ethernets:
        enp0s3:
            addresses: [desired_ip_address/24]
            gateway4: my_router_ip_address
            dhcp4: no
            nameservers ...

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.