Latest Ubuntu related questions

Score: -1
fixit7 avatar
Sudo timeout not working
kp flag

I added this to sudoers, but I am still being prompted for a password.

Defaults:USER timestamp_timeout=600

Am I doing something wrong?

Score: 1
HSF avatar
Can't boot Ubuntu after replacing Motherboard
cn flag
HSF

After replacing my motherboard (from ASUS to ASROCK) I can't seem to boot into my Ubuntu SSD, it just seems to be gone. I have one W10 SSD and another Ubuntu 20.04 SSD and I used to have a boot swap enabled that'd let me choose between them, but after replacing my motherboard I had to reinstall W10 but I read that I could keep my Ubuntu intact. W10 runs just fine, and I know the Ubuntu SSD is working an ...

Score: 0
Snoopy137 avatar
Problem with environment variable
sh flag

I have a problem with environment variables, I have set the GRAALVM_HOME for version 22.3 but for some reason it keeps detecting 22.1 I have use the /etc/profile.d/jdk_home.sh file to set myh preference but as for what I can see the file /etc/profile.d/apps-bin-path.sh is doing something before that overrides my preference. This is the terminal output

linux@alandec:~$ native-image --version
GraalVM ...
Score: 1
Google Drive opens in VS Code
us flag

I added my Google account in the Online services in Ubuntu Unity 22.10. My Google drive showed up in the launcher, and was working fine until I installed VS Code. Now, clicking on the Google drive folder is opening VS Code (which is failing to show my files in Google drive).

How to fix this? I want to open my Google Drive with my file manager (nemo).

Score: 0
peq42 avatar
Turn my Unity Game into a .deb file?
kz flag

I wanna publish my game for ubuntu(and other debian based distros) in a simpler way and for that, I wish to make a .deb installer for it. Despite my best efforts tho, I can't find ANY easy tutorial and/or tool for that(mainly nothing that works from windows 10).

Anyone knows of tools and/or ways of doing so in an easy way?

I don't mind installing a virtual machine to make the .deb, tho doing through ...

Score: 1
Mitch Kelly avatar
Gnome Web crashes/freezes when logging into google account from settings menu
af flag

I am trying to add a google account to my ubuntu 22.04 installation. The account I want to add is my university email which is maintained via google and has a google drive associated with it etc. My aim is to have shell incorporation of the google drive. I have a regular gmail account that I've connected with no issue and I have in the past been able to link the university based account in 20.04 without ...

Score: 0
user62914 avatar
Keep PulseAudio sinks after restart, help with the configuration file
cn flag

I'm trying to solve a problem : I need 2 sinks with custom names to stream. One sink is for the music and the other is for the sounds of the game I play.

To have this sinks up at startup, I added 2 commands in 'Startup Applications':

pactl load-module module-null-sink sink_name=brave_game

pactl load-module module-null-sink sink_name=brave_music

So here is my problem : the sinks are cloned each time  ...

Score: 0
Hikarico avatar
Not functioning desktop
gy flag

My desktop would just shows nothing but a empty wallpaper. But I find it seems to act correct when I use it as before.(e.g.press the power button,and use arrow key to select yes).I thought it might be a mistake with my system,so I just reinstated the Ubuntu 22.10 but the problem still exists.Then I reset the BIOS and erased the whole disk, switched to 22.04LTS,but the problem is still there.How could I ...

Score: 0
fixit7 avatar
ubuntu-security-status listing is sparse
kp flag

This is for UM 20.04.

The listing is sparse compared to what I got in 18.04?

ubuntu-security-status
2230 packages installed, of which:
1676 receive package updates with LTS until 4/2027
Score: 0
89_Simple avatar
installing libmysqlclient21 gives error
sa flag

I am trying to install libmysqlclient21 on databricks as shown below

%sh
sudo apt-get update
sudo apt-get update -y --fix-missing
sudo apt-get install -y libmysqlclient21 

But I get the below error:

enter image description here

Score: 0
J.scorned avatar
What is causing wildly differing DL/UL speeds from open speedtest
sa flag

As explained by the title, I get results such as DL:245 UL:4828 attached screenshot.

Can someone help me to understand why? enter image description here

Score: 0
Jxek avatar
Ubuntu 22.04 failing to progress at "Copying package lists..." with "stdin: Invalid argument"
cn flag

I am trying to install Ubuntu 22.04 on my HP laptop, as I no longer want to use Debian nor dual boot with Windows.

I am using the ubuntu-22.04.1-desktop-amd64.iso image.

I am able to boot this image from two different USBs on an older HP laptop, but not my current HP laptop. So there is no problem with the ISO or the USBs.

I have had boot-related problems with Linux with this laptop in the past, and wi ...

Score: 0
ararune avatar
Snap CLion IDE exits on run
tf flag

I installed snap package of CLion IDE, when I launch it from ULauncher it exits upon clicking run, however when I run it from the terminal it seems to work just fine, what could be the cause of this?

Using Ubuntu 22.10. (The same happens with WebStorm, however I've been using IntelliJ Ultimate and it works great, all of them are snap packages)

Score: 0
user1649676 avatar
Use liveUSB to access main SSD Kubuntu files?
ml flag

I had an issue with /tmp becoming full preventing me from opening Kubuntu because of an xsession error). I used a liveUSB but I'm unable to access my persistent files from the main Kubuntu install.

How do I set up sudo permissions to be able to access those?

Score: 0
Deniz Grollmusz avatar
linux-headers for 5.4.0 charge 38gb
ps flag

I'm trying to update my kernel's headers (Linux 5.4.0)

sudo apt-get install build-essential linux-headers-`uname -r`  

but apparently, it wants to install allll kinds of headers for all kinds of kernels... and charges 38gb. (see here)
Going for

sudo apt install linux-headers-$(uname -r)

exits with the error

E: Unable to locate package linux-headers-5.4.0
E: Couldn't find any package by glob 'linux- ...
Score: 0
J0N0 avatar
What is the default Ubuntu launcher called and how is it configured?
ye flag

I'm not after suggestions to use tweaks or alacarte.

I'm running 18.04 but about to install 22.XX. Where are the .desktop files for the default launcher, how should they be manually edited and how are they added and removed dynamically?

Cheers, bitrat

Score: 1
Octave avatar
Kernel configuration settings not applied by systemd script (making the recommandation of powertop permanent)
us flag

Problem statement

I try to make the tuning recommandations provided by PowerTop permanent by writing kernel settings in a script executed in a oneshot systemd service. Scripts contains line such as

[...]

echo 'auto' > '/sys/bus/i2c/devices/i2c-6/device/power/control';

[...]

But for some reason, settings are not applied after startup. Running a systemctl start powertop manually in a terminal after lo ...

Score: 0
geegee avatar
ubuntu 18: how to clean nvidia drivers? PKCS#7 signature not signed with a trusted key after switching gpu
pt flag

well well well thought to get myself a nice AMD 6800 xt. I read this forum first to be sure how to switch from a nvidia card to an AMD card.

It said that the best way to get rid of nvidia drivers was: apt purge nvidia-*

so i did... but then i got the PKCS error and a blank screen.

i tried all the suggestions i could find in this website but nothing worked like cleaning packages, reconfigure, reinstalli ...

Score: 1
J'e avatar
validate a deb package before trying to install it
us flag
J'e

TL;DR How do a verify that a deb file is complete and without error?

I have an incomplete download of a deb package that will error out on install. Before trying to install it, I would like to check if it's valid. As noted in how-to-inspect-and-validate-a-deb-package-before-installation, I can use dpkg-deb --info <deb file> however this gives all the info but does not show any errors on my file. ...

Score: 1
Hesham Khalil avatar
is it normal that i didn't encounter any thing related to the mokutil during the process of installing nvidia driver on ubuntu 22.10 with secureboot?
in flag

i installed ubuntu 22.10 with secure boot and nvidia drivers.

I know about the dkms bug

steps to reproduce

1-during installation i didn't install third party drivers

2-i updated the system then restart

3-i enabled the proposed repo and installed the updated "dkms" package (sudo apt install dkms)

4- disabled proposed repo and reboot

5-I installed the nvidia driver with gui (proprietary ,tested) and reboo ...

Score: 0
Lev Kakalashvili avatar
Ubuntu 22.10 Cannot install pgadmin4
cw flag

I follow this instruction

sudo nano /etc/apt/sources.list.d/pgdg.list
# add the following line:
deb http://apt.postgresql.org/pub/repos/apt/ kinetic-pgdg main
sudo wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt update
sudo apt install pgadmin4

but I still get: package `pgadmin4` has no installation candidate

May be is there other solution?

lev@l ...
Score: 0
iCy avatar
Change screen resolution after installing Ubuntu in safe graphics mode
ir flag
iCy

I installed ubuntu in safe graphics mode because I kept getting Input signal out of range error, I got a new monitor today and I'm trying to change the resolution to 1920x1080 but I can't do that.

I have tried: changing the resolution through

xrandr

But I get the following error xrandr: Failed to get size of gamma for output default Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 76 ...

Score: 0
Artur Meinild avatar
Using UTF-16 syntax to include Unicode characters in Bash prompt (PS1)?
vn flag

There is an existing post on Unix & Linux about including Unicode characters in the Bash prompt, but the method it gives for using the UTF-16 code (syntax \uXXXX) doesn't work for me.

Let's take this arrow as an example:

Unicode Character 'BLACK RIGHTWARDS ARROWHEAD' (U+27A4)

enter image description here

As I can see, there should be 3 ways to do Unicode characters in the Bash PS1 prompt:

  • UTF-8 Octal value - in this cas ...
Score: 3
Screen blanking but not turning off on Raspberry pi 4 running Ubuntu 22.04.1 image
US flag

I am using a Raspberry Pi 4B and an HDMI monitor (since tested on both an old 4GB model from launch and my newer 8GB model). The pi is running the Ubuntu 22.04.1 Raspberry Pi desktop image from the Ubuntu website (freshly downloaded and reinstalled yesterday, just to make sure).

Last I checked (admittedly sometime before April 2022, when I moved to Ubuntu), a RaspiOS image* would turn off the scr ...

Score: 0
Carl Ponder avatar
Add "task switcher" to desktop panel
cf flag

I upgraded from Ubuntu 18.04 to 22.04. I used to have an icon on the bottom-panel that showed a list of all the application windows that were active on the desktop. That was particularly useful for finding apps that were still running but whose windows had been minimized.

I can't figure out how to enable this with the 22.04 image. Note that I don't want an icon for each application-window to be s ...

Score: 0
Alex Dembo avatar
Laptop gets hot but CPU and GPU utilisation stats show near-zero usage
zm flag

Until recently my laptop under Ubuntu wasn't even starting fan. Now, while idle it makes quite a lot of noise and feels hot under the keyboard. I have i7-1165G7 and Mesa Intel® Xe Graphics (TGL GT2). I checked htop and intel_gpu_top and both show cpu/gpu utilisation under 1%. I checked the system monitor, no signs of CPU load too. The laptop is 4 months old, and shouldn't have a lot of dust, still vacu ...

Score: 0
zifjon avatar
ubuntu boots but no video output when graphics card plugged in (onboard gives no output aswell)
mm flag

ive just bought a gt 220 and i wanted to test it out i plugged everything in and... nothing i can hear ubuntu boot ive tried using all the ports even onboard aswell but it refuses to give any output but when i pulled the gpu out it gave output on onboard graphics the gpu had 2 year warranty so i dont believe its broken

i think its something with the driver

pc specs: intel pentium gt 220 4gb dual cha ...

Score: 0
cb49747 avatar
How to get GNOME to stop asking for a password everytime I insert a dvd
cn flag

Hello I set up a ubuntu server (22.04.1) with plex running and gnome (42.4)

This is working really well. However, everytime I put a dvd in, it asks me for a password. it is driving me crazy. The user logged in is listed as a administrator.

Any idea how to turn that off?

Chris

Score: 1
Solo avatar
Launch .desktop file from bash script and await exit
ba flag

I need to execute a .desktop file with a java version different from what I usually use. To do that, I decided to write a bash script that uses update-alternatives to set the java version to the required one, start the application and to reset the java version after the application has been exited.

I use gtk-launch to launch the application, but it does not wait for it to exit. Thus the java version r ...

Score: 0
Domingo avatar
Hide Text on Window Title Headers (Gnome)
so flag

I need to hide the text on the window title headers, which usually shows the application name. It is disruptive to me because I have many window applications running in parallel on the same screen and I know their names already.

This is particularly for an application called Blender, which I think is non-GTK.

I guess an easy way to do it is editing ~/.config/gtk-3.0/gtk.css and giving the text a  ...

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.