Latest Ubuntu related questions

Score: 1
hmmbhaskar avatar
'.*' regex properly not functioning in ubuntu of wsl
ci flag

There was a file with the following text:

foo bar baz
bar foo baz
baz foo bar
bar baz foo
foo baz bar
baz bar foo

I needed to get the 1st one foo bar baz and the 5th one foo baz bar as the output to the console.

Hence I tried the command grep '^foo.*' file But the output is not coming as expected. I tried the same thing inside the Ubuntu terminal installed in the virtual box and it is appropriat ...

Score: 2
djinnroh avatar
How to batch rename files (images) recursively based on CSV file
cz flag

before writing this post, I obviously searched the internet and found several solutions that could perhaps work. But I'm a complete newbie to command line programming or writing.

What I have : Thousands of image files stored in a parent directory with multiple sub-directories.

What I want to do: Rename all of these files including those in the sub-directories using a CSV file with a comma separator. ...

Score: 0
How to install KDE Gear 22.12 in Kubuntu 22.10?
br flag

"Selection mode" is supposed to be a new feature in KDE Gear 22.12 and I want that in 22.10.

Another new feature is Selection Mode. Hit the spacebar (or tap the hamburger menu and check the Select files and folders checkbox) and a light green bar will appear at the top of the file view (see video). You can now click or tap files and folders and quickly and easily select the ones you want to work with. ...

Score: 0
ash1066 avatar
ubuntu lagging and stuttering
US flag

I've been given a desktop to use at my university that runs ubuntu 20.04.5 LTS and have been recently experiencing some pretty severe lag. It's definitely not the specs of the machine. Dual Xeon E5-2643 v3s and 64gb of DDR3 ram with a Quadro K4200. Looking at system monitor it says it only uses a fraction of the processing power available and yet stutters like anything. Some frames of OS animations taki ...

Score: 0
Gabriel Cretin avatar
OpenLDAP sudo-ldap rules not working
cn flag

I have an OpenLDAP server on Ubuntu 22.04 with users associated to a posix group "group1".
I configured sudo-ldap so that sudo rights are managed by the server and sssd to cache and query sudo rights.
The problem is that the rules do not work, when I try a sudo command with either user1 or user3, I always get "user not authorized to run sudo command on ..."

I configured sudoRoles on the ldap with this  ...

Score: 1
Blake Mcdonald avatar
How do i fix this viewing error in FL studio 21 running on Ubuntu 22.04 LTS
dz flag

So I've gotten Fruity Loops 21 ( a digital audio workstation focused on music production ) to work on Ubuntu 22.04 LTS even though it runs natively to Windows/Mac. But one of the minor pet peeves I'm running into is that when I go to the Piano Roll tab while inside a project and then select the View subtab and enable the option "All Notes" under the Key Labels option the Piano Roll does not label the no ...

Score: 1
Gabriel Romeiro avatar
Dependencies to install wine
hr flag

I'm trying to install wine but it is asking for this dependency

$ sudo apt install --install-recommends winehq-stable

Reading package lists... Done
Building a dependency tree
Reading status information... Done
Some packages could not be installed. This could mean that
you requested an impossible situation or, if you are using the
unstable distribution, that some required packages were not
created  ...
Score: 0
HitLuca avatar
raspberry pi running Ubuntu Server suddently stops being reacheable on network, system time clock jumps backwards
cn flag

I hope this is the correct place to ask help for an intermittent issue I have been having for the past months:

My setup consists of a raspberry pi 4b running ubuntu server 22.04, which I use as NAS and DNS server (pihole). It works wonderfully except for very far between instances where it just isn't reacheable by network anymore. Since rpis don't have an internal clock which persists upon restar ...

Score: 0
TheDiamondCreeper avatar
I can't install any package using apt install
mw flag

I tried to install apktool recently using sudo apt install apktool but I keep getting this error, I am using kali linux release 2022.4

dpkg: error processing package python3-protobuf (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3
 hashcat-data
 criu
 python3-protobuf
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dp ...
Score: 0
Kurtis avatar
Ubuntu not enough storage space
nc flag

I don't have enough storage space in my home directory. How can I increase the storage without reinstalling Ubuntu? Here is what my partitions look like.

enter image description here

enter image description here

I don't know what it means. I don't need /dev/sda4, how can I add this storage to my home directory?

Score: -1
Mark avatar
Old Radeon GPU on Ubuntu 20.04
mx flag

I wanted to ask you since it's well known fact that old Radeon GPUs work well on 16.04, what needs to be done to make it work on 20.04 ? I've got rather old AMD Radeon R9 supposedly with 2GB which still can be good for basic computing. On the AMD support page I've found appropriate drivers however they require dependencies 20.04 doesn't come with.

The reason why I don't want to stick with open so ...

Score: 0
Error installing a Machine Learning program on Ubuntu 22.04
jp flag

I am trying to install at ML program called iLearnPlus. I followed all the instructions but am consistently getting this error:

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/amit/miniconda3/bin/platforms" ...
Cannot load library /home/amit/.local/lib/python3.8/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (/home/amit/miniconda3/bin/../ ...
Score: 0
Adriano Peluso avatar
flatpak software updates broken
is flag

Gnome Software can't carry out updates

I have the proprietary Nvidia driver installed

See the attached picture

a screenshot of Gnome Software claiming something I don't understand

Score: 0
kugelzwerg avatar
After downloading a file in firefox, the little "folder-button" to get to Download directly does not work in Ubuntu22.04
bo flag

The file downloads, it is listed in the "Downloads-list" in Firefox (little arrow in the menu bar), but when clicking on the folder symbol next to the downloaded file, the Download folder does not open. So I have to open it manually from my file manager to access my downloaded file.

Does anybody know a solution (or has the same problem)?

I installed Firefox as a snap, and also updated it already, bu ...

Score: 0
lnksz avatar
How to remap CapsLock fot Ctrl and Shift CapsLock to normal CapsLock
in flag

I am on 22.04 and seen in gnome-tweeks that there is an option to use the Caps Lock as Esc but Shift Caps Lock as normal Caps Lock.

How could I achieve the same but instead of Esc I want to have Ctrl per default.

enter image description here

Score: 3
How can I better understand what sleep states my laptop is achieving?
bt flag

I understand that there's loads of theoretical sleep states, but that for whatever reason most of them don't work/aren't available on a given laptop.

My laptop is set up to do hybrid sleep; that is do a suspend for 2 hours, then do a hibernate. It's great. When it works. But sometimes it doesn't; and the battery gets completely killed.

I'm not very clear looking at the kernel logs what would indicat ...

Score: 0
freewheel avatar
Lubuntu LXQT emulate right click for touchscreen tablet
mc flag

I rescued an old tablet with Lubuntu 22.04.1 and most things work great with touch except for the actual desktop. I understand this is a difference between Gnome/KDE and LXQT - touchscreen options for LXQT are not as easily changed. So how do I get a long click or a two-finger tap to emulate the right click on the Lubuntu desktop, icons, start bar etc? (it works already in Chrome, perhaps because of the ...

Score: 0
Ubuntu Developer avatar
Unable to start php-fpm service after boot on Ubuntu 22.04
sc flag

Hello Ubuntu Community,

i am running a small Ubuntu Server within my home network with various web services like vaultwarden, nextcloud, seeddms, etc. on it using a nginx web server. I had multiple PHP versions installed, but only was using PHP 7.4 for nginx. So I decided to purge all installed PHP versions to clean everything a little bit up and only installing PHP 8.1 with all needed php8.1 ext ...

Score: 0
Lucas Juel avatar
What port to forward on Ubuntu Server 22.04.1 and apache2 webserver
ax flag

I'm extremely new to servers and ubuntu. But I have tried to make a webserver at home, on an laptop, using Ubuntu Server 22.04.1.

I want to portforward, so I can firstly remote into it from a different aswell as connect to wendomains that I have set up with Apache2 and some test html.

How do I figure out what port i'm supposed to forward?

Thanks in advance :)

Score: 0
A Jessy Manohar avatar
Cannot install or uninstall software
gd flag

I’ve been trying to remove some software on my Ubuntu 20.04.4 LTS machine and have been receiving errors like this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'wine' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 356 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional  ...
Score: 0
Scott avatar
USB serial connections are flaky and OS related
cn flag

When I try to interact with devices enumerating as /dev/ttyACM* the interactions are unreliable. I have problems with Avrdude with ATmega devcies and micropython connections to RP2040s. I am running Kubuntu 22.04LTS that has been updated from previous LTS. I tried booting with a live USB running Ubuntu 22.10, and repeated my same tests. In all cases interaction with the serial device worked flawlessly. ...

Score: 0
dam74 avatar
rsync / with files exclude and Includes
pn flag
rsync -avzRn --include-from=IncludeRSync --exclude-from=ExcludeRSync --delete-after $SERVER:/ backup/

i want to backup my server with this rsync command, so exclude all dirs and include just the ones i want

excludefile

var/www/html/nextcloud/data/
var/www/html/download/*
home/dam/jock/

includefile

var/www/html/***
home/dam/***
etc/apache2/sites-available/***
etc/nginx/sites-available/***
etc/mo ...
Score: 0
TK noob avatar
pi4 with Ubuntu 20.04 WiFi roaming sensitivity
in flag

I have done the google but can't solve this. A pi4 robot running Ubuntu 20.04 are tele-remote operated but it sticks to one access point. How do I set the sensitivity to switch to the next/stronger AP (access point)? SSID for all AP the same otherwise my ROS networking plays up. Network: laptop ethernetted to modem and BOT roaming house with currently 2 WiFi AP's. Is there an enable roaming for the bot? ...

Score: 0
How to get Linux live kit to work?
US flag

Does anyone know how to get Linux live kit to work on Ubuntu 20.04? I found a website that showed me how, but when I tried to build it, the file would not show up. I tried rebooting but it did nothing. I know that Tmp empties on reboot, but when I try to make a directory like /build it says access denied.

Does anyone know how to get a bootable ISO using Linux live kit on Ubuntu 20.04?

I know how to use s ...

Score: 0
Zachary Renner avatar
Unable to turn off "Online Mode" for my docker minecraft server
sl flag

(I am trying to host a Minecraft server in a docker container on a dedicated server (Ubuntu 20.04). I am using the itzg/minecraft-server image with docker-compose to create my container.)

It says in the github that the following code will disable this "online mode":

docker run -d -e ONLINE_MODE=FALSE ...

However, after inputting this command into my Ubuntu terminal it responded with the following:

 ...
Score: 0
GillFile avatar
bash script not outputting information to a separate file
sy flag

The idea of the script is that it enters the switch, enters the username and password. Enters the show command. And redirects the output of this command to another file. But, perhaps, something is not added in my script, because it simply redirects the show command itself to the file.

(
echo "$Username"
sleep 2
echo "$Pass"
sleep 2
echo "show ..." >> /home/... 
sleep 2
echo "logout"
) | telne ...
Score: 0
matti157 avatar
Ubuntu detect incorrect graphics card
ar flag

I have an HP EliteBook 840 G1, following the HP specs the only possible GPU is the Radeon 8750 http://h10032.www1.hp.com/ctg/Manual/c04655205.pdf

And this is the precise model, by searching for the part number https://icecat.us/prefere/us/p/hp/h5g26et-abz-r+-+renew/elitebook-notebooks-840+g1-23120759.html

So the problem is that why lspci and all other system info tools are detecting a Radeon 8730? ...

Score: 0
trhoades avatar
Is it possible to Upgrade Ubuntu 10.04 today?
se flag

I have an Ubuntu Server 10.04 LTS and my internet searches haven't provided a clear answer about whether it is possible for me to upgrade this webserver that is still in production on an intranet.

My understanding is that I must upgrade from 10.04 to 12.04 then to 14.04 and so on.

If in fact it's possible and the sequential upgrades are necessary, I would like to find reliable guidance for this proc ...

Score: 1
Pedro Zardo avatar
How to mark a software as executable in Ubuntu 22.10?
om flag

I've trying to install TLauncher for play minecraft, the steps says to put the .jar archive in as executable, but I'm very new in Linux systems. I tried to go in properties, but not found what I looking for. I hope someone helps me. Thanks

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.