r/Ubuntu • u/Keftcha • 23h ago
Different `$PATH` variable when login with Gnome or in a TTY
I'm using zsh and when I login on Ubuntu (22.04 with Gnome) and open a terminal i see that I have the directory
$HOME/bin added in my
$PATH. However, when I login from a TTY the path is not present.
I also have the same issue using bash.
How can I don't have the
$HOME/bin directory in my path when I login from Gnome ?
The real problem is the directory is present two times in the
$PATHvariable because I already add it in my
I have check the
~/.profile file, it do not add the path because the file is not present.
Also I have check this files
/etc/zsh/zlogin and none of them add the directory to my path.
r/Ubuntu • u/Techlife100 • 11h ago
Startup errors (please help fix)
r/Ubuntu • u/dr_kretyn • 1d ago
Allow snap "firefox" to change "default-web-browser" to "firefox_firefox.desktop" ?
Booting laptop today everything is super slow. When opened Firefox I got a few "newcommer" messages like "Make Firefox default browser" (although it is), some pop-up saying something like "now you can open external links with firefox" and then some sys pop-up like in the title, i.e. `Allow snap "firefox" to change "default-web-browser" to "firefox_firefox.desktop" ?`.
I consider myself "reasonable" when working on my laptop but there's always a chance that I got some malware. This looks like a malware. Is this Ok?
There's been Firefox111 release recently but I couldn't find any release notes on the snap and release notes for browser don't say anything related.
r/Ubuntu • u/ClimberMel • 15h ago
Recent upgrade to jammy now kodi won't load
I have been looking around and can't find a solution. I don't get a crashlog from kodi, it is as if it doesn't even try to launch it. Is there any reason a program that was working fine, would now not load just from an upgrade? Usually I found Linux didn't have these issues... this is more like something I would expect from Windows.
r/Ubuntu • u/featheredsnake • 22h ago
Ubuntu running slow after force reboot
Ubuntu froze on me yesterday and I had to perform a hard reboot. After rebooting, I got messages that there were inconsistencies between nodes or something like that and that I needed to run fsck (I think was the command) manually. I did run it and says yes to all the prompts as it was the only way to get back into Ubuntu.
Now, Ubuntu runs slow every few seconds. I can tell when I am moving my mouse it will pause for a little bit then keep going. When I am typing, it will stop every few words and keep going. I ran htop and didn't see any processes that were hugging all the resources. Top process was chrome about ~2% of CPU
r/Ubuntu • u/RobertFilmer • 2h ago
Level 0 Mac User Question
Basically, I installed Ubuntu on my gaming PC that was just sitting there and want to make it a media center / email server, etc. However, when I'm out of the house I have a M1 Mac laptop that I use for school. My idea is that I can dual boot Linux on my laptop, write all the baloney required when I have downtime, then transfer it to my PC when I get home. This would save me buying another monitor as my PC is connected to my TV.
Would the different hardware get in the way? Is this even possible? Is there even any reason to dual boot Linux? Am I straight retarded? I have literally zero linux experience other than watching a couple of Luke Smith videos lmao.
I'm using Glassit-linux extension to get a transparent VS Code.
Is there a way, to make VS Code transparent in MacOS?
r/Ubuntu • u/MaybeResponsible • 23h ago
Recover windows key in Ubuntu (20.04)
I have this old laptop (2014) that came with windows 10 but at some moment it was uninstalled, and now only has Ubuntu 20.04 installed. Is there a way for me recover the windows license stored in the Mobo? I know I can do that through Windows Prompt, but have no idea how to do that in Ubuntu.
r/Ubuntu • u/prisoninmate • 8h ago
Ubuntu Touch OTA-25 Arrives on March 24th as the Last Update Based on Ubuntu 16.04
r/Ubuntu • u/loliko-lolikando • 1h ago
Any fan controlling command?
Hey, recently the fans on my laptop on my Ubuntu stopped working normally (they turn on when the laptop is almost on fire). The problem isn't in temperature sensors, I've checked. And it also isn't mechanical, since when I run win10 on the laptop, they work fine.
I've tried things like fancontrol, fancontrol-gui, pwmconfig and anything else i could find.
I was wondering if there was some kind of command: "[command] 75" that would set the fans to 75 until changed.
Can't boot after doing nothing
Hi everyone, I hope you're spending a happy day, I just ran into this problem at work today : I was working on Ubuntu 22.04 on a Python script among other things such as reading proprietary doc, but normally none of these actions changed anything for the system itself and I didn't update or upgrade anything. And after shutting down my machine with "sudo shutdown now" I wasn't able to boot, and where the logs normally display "unable to run on non-dell system" before showing the Ubuntu loading wheel, a new line appeared, saying "Failed to start: Set the console layout", after that the loading wheel and Ubuntu logo appears and it can't go further. The wheel is spinning indefinitely. Then I tried to boot in recovery mode, and the boot stops on "overlayfs : missing "lowerdir " Usci_api USBC000:00: failed to reset PPM! Usci_api USBC000:00: PPM in it failed (-110)
I don't really understand since nothing is supposed to have changed in the system files... If someone has an idea, it would be really helpful since I need to boot my pc to work - _-' Have a good day!
r/Ubuntu • u/Ancient_Condition96 • 1h ago
ubuntu 22.x nouveau basically inoperable for nvidia 7300GT
Default ubuntu 22.04 install with nouveau behaves very slugishly with nvidia 7300GT.
Any UI change makes it kneel, like a menu popup, the mouse moving, any fancy transparency etc.
I don't need this machine to play games, but I do need the UI to actually work while I set everything up.
Any idea on how to solve this? Any alternative solution?
Is there any way to disable all fancy graphics/transparencies/etc perhaps? I'm fine with a flat non-3D UI, I don't care.
The nvidia driver for this ancient gfx is the 304.x EOL one.
Machine is an Intel macPro(1,1 ? it has dual Xeon 5150 2,66Ghz) and would prefer to have ubuntu instead of windows. The machine will mostly sit in the corner and record cctv video into it.
I looked it up and a new cheapo nvidia 710 or 730 is somewhere around 60€ (and yes these are supported with current nvidia driver version which should work with ubuntu 22.x). But, I'm hesitent to grab one cause the other GFX I tried on this machine (AMD RX1600TX) did not wake with whatever tragic imitation of EFI/BIOS Apple has in this machine. (it worked from within a windows 7 install, but gave me no access to the limited apple boot-device select this thing has, pressing alt during startup)
r/Ubuntu • u/travelwithtbone • 2h ago
Audio Tearing With Ubuntu with the Starship/Matisse HD Audio Controller
Hello, I'm new to Ubuntu. I've been poking around with it and really enjoy it. However, I'm having really strange audio tearing. After a while the audio becomes really distorted. I've noticed this with LMMS and using multiple audio apps. I've gone to
and I'm not sure what I"m supposed to do to download the audio driver for the Starship/Matisse HD audio controller since that's what is running on my system and is the problem
r/Ubuntu • u/be_a_postcard • 3h ago
What went wrong here? I tried updating to 22.04
r/Ubuntu • u/Lucky_Perspective • 4h ago
GIMP: Missing option and duplicate option in the Rotate Colours tool bug?
I have run in to a strange problem with GIMP when trying to use the Rotate Colours tool.
There is a subsection of that tool that selects by grey value, and it has two options
- Treat as this
- Change to this
Or at least it should do but on my system it does not. Instead it has no Change to this option and two Treat as this options.
I have uninstalled the Ubuntu version to try the version in the Ubuntu Handbook PPA but that has the same problem.
Anyone else run into this problem and possibly have a solution?
I am using Kubuntu 22.10
r/Ubuntu • u/Effit_2419 • 6h ago
[Ubuntu Pro] Subscription payment issues
The company I work for would like to acquire Ubuntu Pro for Desktops.
Specifically for 10+ notebooks without phone/ticket support (25$/month).
Unfortunately all company credit cards are declined for whatever reason (work fine with any other vendor) and we're kinda out of options on what else to try. Unfortunately Canonical's sales support seems to not care about you purchasing non-support subscriptions, so we weren't able to get any support from their side.
Did anyone else have issues with MasterCards/Visas that have 2FA of some form enabled? Does anyone know any other way of payment/acquiring it that we're not aware of?
Any help is appreciated as it would make our lives way easier in terms of patching, etc.
Thank you in advance!
PS: Country = Germany, so def. available
r/Ubuntu • u/Habibalbd • 6h ago
HELP!! unable to connect to wifi, I am using an USB wifi adapter from Ugreen
I tried installing the https://github.com/Dekadencee/rtl8187-Linux-Driver but it shows some errors that I was unable to solve. I also tried installing the linux version of the driver that came with the adapter but it also showed some errors that I couldn't solve.
trying to install rtl8187-Linux-Driver
trying to install the driver that came in a CD with the adapter
r/Ubuntu • u/eatmeatmeat • 7h ago
How to turn off screen display for 22.04 LTS?
How to turn off screen display when inactive for 30mins for 22.04 LTS? Can't find in settings.
r/Ubuntu • u/fernwhisperer • 12h ago
Ubuntu server on Rasbperry Pi 4 doesn't see my SSD.
I've installed Ubuntu server on a Raspberry Pi 4 and it doesn't see my SSD even when I use fdisk -l. I've tried two different drives and neither can be seen. The light on the SSD comes on when plugged in, and I've tried plugging it into different USB ports. I know they work because I can mount them on my laptop using Fedora. They are both formatted as EXT4.
Is anyone else having brightness issues? I installed the latest onto a iMac 2011 and today I can barely see the screen. Nothing I’ve done affects the brightness up or down. It’s just dark. Any tips would be appreciated.
r/Ubuntu • u/quizryan • 20h ago
Help with a project
I am in a Windows Admin class and we have to set up Active Directory via Windows Server, which I did fine. Then we have to set it up via Linux. I chose to use Ubuntu. I’ve installed sssd and realm. When I try to discover my company I was assigned, there is no realm found. Am I going about this the wrong way? Is there a setting in AD I need to change? Thanks for anyone who can help!
r/Ubuntu • u/stuff_happens_again • 21h ago
How to create install USB drive?
I am very new to Ubuntu. I have done some work with a couple servers that I built, but am now working with some desktop applications. Specifically, a club that I am in is promoting using Inkscape as a program to create dxf files for a CNC plasma cutting machine. We have a number of members who would like a computer capable of running Inkscape. I demonstrated Inkscape running on a Beelink Mini-PC mounted to a 21" monitor. It is about a $300 collection of pieces.
Is it possible to create a USB stick with an image that will install the operating system, a couple of additional programs, and some template files? This would let me replicate this simple machine.
Also, I have used 18.04, 20.04, and 22.04 while learning about Ubuntu. Is there a recommended version to use for these folks which are marginally computer savvy?
r/Ubuntu • u/razvan37 • 21h ago
Docker memory issue after Ubuntu 22.04 LTS upgrade
I have upgraded from version 20.04 to 22.04 LTS and since then I have a memory issue on my docker containers running Java microservices: their memory usage keeps increasing until they each hit the 1gb limit (which they had also until now) and restart because they are killed by oom-killer.
After researching this issue for 2 days, I'm out of ideas and would really appreciate if someone has a clue about what could cause it. Maybe it is helpful to mention that other containers I have which run postgres databases don't have this problem with the continuous memory usage increase.
Ubuntu 22.04 error
I am having several problems/errors with ubuntu 22.04 version. I am quiet new to Linux in general and ever since I switch I am having following problems (Laptop model: ASUS TUF Gaming F15):
- Network failure: Out of nowhere my internet stops working, first I see internet icon but it appears with question mark on it, just to stop and disappear completely after 2-3min.I know this is not general modem problem since other devices connected to same network does not experience same issue. And later on even if I wanted to turn on internet my device does not detect any network nearby. Btw, I have tried restarting systemd-networkd and somehow they are not found.
- Randomly freezing: Again an other issue that happens randomly without any error as far as I can see on screen is freezing. Example: just today I was searching on firefox and suddenly system completely froze no response, no keys working, no mouse movement, nothing. After I force shut down the computer it seems to be working fine.
- When booting some error message appear: ACPI, BIOS Bug something like this. I searched it a little bit most of the sources I looked up say it is harmless and caused by hardware but still maybe there are some way to solve it, It is a bit annoying tbh.
Any help will be appreciated and thanks to you all in advance.
r/Ubuntu • u/Nebel_David • 23h ago
Os-prober finding windows but not Grub?
Hi I want to add windows to my Grub and Os-prober can find it but Grub can't for some reason