/r/Ubuntu

Photograph via //r/Ubuntu

The Ubuntu community on Reddit

Ubuntu Desktop

The Ubuntu community on Reddit

This subreddit is for support for Ubuntu.

Getting started

Rules

  1. Homophobia, sexism, racism or any derogatory language will not be tolerated. Please refer to the Ubuntu Code of Conduct.

Support resources

Documentation

Flair

Ubuntu Members and employees of Canonical have emblems next to their names, indicating their affliation. Members are distinguished by a small Ubuntu logo next to their names, Canonical employees by a purple "O", a portion of Canonical's logo.

To apply for flair, please see here.

Subreddit CSS

The CSS on /r/Ubuntu is an on going development keeping up to date with the latest Ubuntu Unity theme.

Code can be found on Github

Any issues can be reported here

Additionally, feel free to message us if your (non-spam!) post is accidentally trapped in our spam filter, and we'll sort it out.

/r/Ubuntu

236,795 Subscribers

1

E: Malformed entry 1 in sources file /etc/apt/sources.list.d/third-party.sources (URI parse) E: The list of sources could not be read.

Hey Folks I'm pretty new to using Ubuntu so am unable to understand the error message and the work around.
I'm on Ubuntu Ubuntu 24.04.1 LTS and I unfortunately can't remember how I got here, all I can recollect is tinkering around Software Updater and I think it had something to do with adding the software to Software & Updates..
Now in my top right side of the bar I have a ⛔ which reads as following:
An error occurred, please run Package Manager from the right click menu or apt-get in a terminal to see what is wrong.

The error message was: 'Error': Opening the cache(E: Malformed entry 1 in source file /etc/apt/source.list.d/third-party.sources(URI parse), E: The list of sources could not be read.)'. This usually means that your installed packages have unmet dependencies.

I am trying to uninstall chrome to update to latest version right now and multiple of the following command:
apt-get update
or
sudo apt-get purge google-chrome-stable
But keep getting the error:
E: Malformed entry 1 in sources file /etc/apt/sources.list.d/third-party.sources (URI parse)

E: The list of sources could not be read.

5 Comments
2024/11/20
16:11 UTC

1

Freezing Ubuntu on Opening Setting.

Alright, folks, I’m about to pull my hair out, and I need your help because this issue is driving me absolutely nuts. Picture this:

I’m just minding my business, having a smooth day, using Ubuntu like a good Linux citizen. 🐧 I’ve got Firefox open with 20 tabs 🖥️, VS Code running 💻, and maybe Spotify playing in the background 🎶. Everything’s buttery smooth. Then it happens...

I decide to change my cursor. So, I innocently open the Settings app. And BOOM 💥 my entire laptop freezes like it’s 2005 and I just tried to run Crysis on a potato. 🥔

The cursor? Dead. 💀
The keyboard? Nada. 🙅‍♂️
The screen? A frozen shrine of betrayal. 🧊😞

Nothing works. I can't even switch to a terminal with Ctrl+Alt+F1. ⌨️❌ I just sit there, staring at the frozen screen, hoping the computer gods will show mercy. 🙏 Spoiler: they don’t. My only option is to hold down the power button and force a restart like some barbarian. 🏴‍☠️🔴

What’s even weirder is that everything else runs perfectly fine. 🤷‍♂️ I can have resource-hungry apps open, stream videos, run updates—you name it—and my laptop doesn’t even break a sweat. But the moment I try to open Settings? It’s like my system decides it’s time to play dead. 🫣

Here’s what I’ve tried so far:
✅ Updated my GPU drivers (maybe it’s a rendering issue? Nope, didn’t help).
✅ Reset GNOME settings (thought maybe some config got corrupted).
✅ Checked resource usage in htop (nothing suspicious that I could see).

I’m running Ubuntu 23.04 on latitude 7290 (i5-8 gen). At this point, I’m starting to think my laptop has some kind of personal vendetta against the Settings app. 🥲

Has anyone else experienced this madness? 🤔 If you have any tips or even wild theories, I’m all ears. 👂 I really don’t want to reinstall the entire OS just because Settings decided to be dramatic. 😩

3 Comments
2024/11/20
15:22 UTC

1

How can I enable the ALT GR key on Ubuntu 24.04.1 LTS

I really need it so I can be able to use these keys: { [

0 Comments
2024/11/20
15:17 UTC

1

What does that mean ?

Hi all So I’ve tried to run world of Warcraft from Lutris and that appears Failed to find a suitable display device. Exiting program.

Any advice I’ve tried with Warcraft 3 again from Lutris and no problem 🤷🏻‍♂️

0 Comments
2024/11/20
14:25 UTC

1

boot drive and storage drive during install

forgive me but I'm very new to linux. I'm looking to install ubuntu on a nvme 256g drive and use my 2tb ssd for everything else. what's the best way of going about this? I've tried googling it but I cant really find the answer I'm looking for

0 Comments
2024/11/20
13:45 UTC

1

24.04.1 ==> How to change a laptop screen shutdown behavior ?

Hello Everybody,

I would like to change the screen shutdown behavior of my 24.04.1 because when I close my laptop, it doesn't wake up from sleep...

According to the docs and internet, it's a material problem or lack of driver in Ubuntu...

Anyway... I suppose that there is a configuration file that I could modify to choose the system behavior on screen shutdown ?

Or, do you have a better suggestion ?

Thank You in advance ;-)

PS:

I installed and try "Ajustements", according to the doc, but I didn't found the possibility to change that.

--- EDIT ---

OK...

Here is the answer:

https://ubuntuhandbook.org/index.php/2020/05/lid-close-behavior-ubuntu-20-04/

1 Comment
2024/11/20
13:26 UTC

4

Upgrading to Ubuntu Studio 24

I'm stuck. This morning I tried to upgrade to ubuntu studio 24 from 22. I'm getting a message that says "Could not calculate the upgrade: An unresolvable problem occurred while calculating the upgrade. This was likely caused by "Unofficial software packages not provided by Ubuntu. Please use the tool 'ppa-purge'...". I've gone to sources.list and only have the following sources now after commenting.

deb http://us.archive.ubuntu.com/ubuntu/ jammy main restricted
deb http://us.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb http://security.ubuntu.com/ubuntu jammy-security main restricteddeb http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse

/var/log/dist-upgrade/main.log is showing the following:

2024-11-20 06:44:27,683 ERROR failed to mark 'ubuntustudio-desktop' for install (E:Unable to correct problems, you have held broken packages.)

and a little further down, I see this:

2024-11-20 06:45:39,201 ERROR Dist-upgrade failed: 'Broken packages after upgrade: ubuntustudio-desktop'

I'm not sure what to do from here. Is it possible I over-commented in sources.list? How do I figure this out?

3 Comments
2024/11/20
12:53 UTC

1

Fix wifi connection

hello guys , could any one of you help me fixing ubuntu conncection issue where when i want to conncect to a wifi i get this screen of ntwork where wired is cable unplugged and i cannot change it status to true. and vpn and proxy.

2 Comments
2024/11/20
11:37 UTC

2

How to set custom cursor theme for ALL applications

I use Ubuntu 24.10 with Wayland and I downloaded a cursor theme (Fuchsia-Amber). After putting it in the .icons folder I could activate it in Gnome Tweaks. Now it works in most cases, but in some apps like Brave or Telegram for example it doesn’t work. Is there an easy way to force every application to use the custom themes? Also in some applications the cursor is super tiny, why is that? Thanks for the help in advance

0 Comments
2024/11/20
10:14 UTC

0

Anyone Using Apple Magic Trackpad (USB-C) and Magic Keyboard (With Touch ID and USB-C) with Native Installed Ubuntu?

Hi, I would like to know some experiences with these accesories, especially if they work as they should.

P.D: I know the Touch ID only works on M Chips, not a problem for me.

1 Comment
2024/11/20
09:20 UTC

2

Problem with Cobol on Ubuntu

Why when I install this version of cobol compiler. sudo apt install gnucobol3 # version 3.1.2-5 When I compile every program, give to me this warning <command-line>: warning: "_FORTIFY_SOURCE" redefined <command-line>: note: this is the location of the previous definition

I use vscode and when I use c I don't have this problem.

0 Comments
2024/11/20
08:50 UTC

1

Ubuntu Mate in Virtualbox does not start after guest additions installation

Hello I have VirtualBox 7.1.4, Ubuntu Mate 24.04.1 amd64 iso, Windows 10 host. I tried to install Ubuntu Mate few times on virtual machine, but after guest additions installation and reboot, the system does not start anymore. Any advice?

0 Comments
2024/11/20
06:45 UTC

1

Running moonlight on Ubuntu Gnome, on an orange pi- full screen is buggy

Yesterday i could full screen just fine, after restarting the device moonlight wont enter fullscreen anymore, only windowed mode works

I disabled auto updates but it seems like something was still changed?

Also audio only works on some reboots.. have to reboot many times before the audio driver decides to work, whats going on?

0 Comments
2024/11/20
06:22 UTC

1

DNS Resolution went haywire. How to restore?

I'm currently running Ubuntu Server 23.04. Since it is EOL, I was wanting to get my ducks in a row and do a distro upgrade.

The network is set up via NetPlan with the following config:

# This is the network config written by 'subiquity'
network:
  bonds:
    bond0:
      dhcp4: true
      interfaces:
      - eno1
      - enp1s0f0
      - enp1s0f1
      parameters:
        mode: balance-alb
  ethernets:
    eno1: {}
    enp1s0f0: {}
    enp1s0f1: {}
  version: 2

This is more or less how I have had things configured for years. Included the top comment in case of "Well of course it failed. Subiquity does X which broke things."

Lately I have been having name resolution issues, and I can't quite locate the source of the issue. I can of course force it to work by force-editing resolv.conf. But naturally this only lasts until reboot. Here are some other symptoms

1. /etc/resolv.conf is indicated in red

To my understanding, this is overwritten by NetPlan. This seems to indicate it is failing to create or link resolv.conf.

2. running "resolvectl" gives me the response: Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.

It was suggested I use this to find the status of the name resolver. But it won't even run.

I'll post other symptoms as they come in. Basically, it is behaving as though a bunch of configuration files went corrupt, and caused a cascade of failures with other services.

Another possibility, which I think has happened before, is that when WebMin is installed, it can try to take over network configuration and start butting heads with NetPlan. So perhaps trying to use WebMin is my mistake.

3 Comments
2024/11/20
02:00 UTC

2

Application does not open up maximized in Ubuntu 24.04

I have this wired issue with my app in Ubuntu 24.04. Every time it opens a very small window, showing only the task bar. The same application (installed with the same .deb) runs correctly in Ubuntu 22.04 and previous versions. The problem seems to be specific with my application, I didn't experience any troubles with other programs.

Do you guys have any idea what might be going on? May be a Gnome update or some dependency incompatibilities? Any advice would be appreciated.

2 Comments
2024/11/20
01:48 UTC

1

Help with broken install

Hi, I have a raspberry pi4 running a bunch of docker containers, (only docker containers, nothing else). I recently ran, in order:

apt upgrade
apt autoremove (as suggested after running upgrade)
apt update
reboot now

and now I'm left with a broken install of Ubuntu (24.04.01 LTS):

  • It does not connect to my network.
    • activity and link lights are steady on. Activity light on the switch occasionally blinks, but no IP
    • holding shift while booting gets into the network install page as usual, and it is able to get an IP
  • many of the commands that are suggested on stackoverflow & similar sites aren't recognized. Can't install the packages because no network

I'm comfortable with Linux but I'm not an expert at all, so some help is greatly appreciated. Can I recover from this without losing all my precious containers? Some of them have bind mounts so they're movable, some use volumes... How do I move a volume to a safe place before restarting from scratch? Docker itself is fine.
Can I connect back to my network and repair the lost packages without reinstalling?

And the more in topic question: did I do something wrong? It seemed like such a routine thing to me that never gave me a problem... Do you have an idea of what happened? I rebooted as it asked to, mentioning the kernel being different than what it expected (after apt update).

Sorry for the question vomit and thanks for any help!

3 Comments
2024/11/20
00:52 UTC

1

Ubuntu 22.04 drivers not working

After reboot, all my drivers- sound, Wi-Fi, Ethernet, and Bluetooth- aren't working. Can anyone help me fix that? I tried booting from an older kernel and it's working fine. The latest version is broken.

4 Comments
2024/11/20
00:01 UTC

1

Gnu grub issues on Ubuntu

I am still relatively new to Ubuntu. I had ver 22 of Ubuntu (primary os) running fine on a dual boot with windows 10. All of a sudden whenever I turn the computer on I’m met with the gnu grub 2.0 screen. Typing exit only brings me back to it. To boot windows I have to pause startup and manually boot into it. I tried finding the partition with Ubuntu and making it the root for the grub (a solution I found on the web) but half of them just say unknown file system.

0 Comments
2024/11/19
23:48 UTC

8

AltTab bug driving me insane ubuntu 22.04.05 LTS

Anyone else having problens alt tab?

I'm a developer, so everytime I alt tab to another application, if my move my mouse 1 scroll, it'll go down 3~4 pages, and then I need to go back manually to where I was, this is so annoying, I've already followed a tutorial and didn't help, idk what to do

12 Comments
2024/11/19
20:21 UTC

10

Serious question: How are you productive with the vanilla Gnome environment?

I would really like to use Gnome, because I truly like its minimalistic design. But it lacks crucial features in my opinion, which makes it terribly hard to work with. I do not want to tinker with gnome tweaks or unsafe extensions just to get it into an acceptable state.

To elaborate: how do you use gnome without a taskbar and no minimize button? This is outright impossible! I know the concepts of workspaces but when you cannot see where your windows are, this blocks the workflow. Where is my window? I need to find it to click a button in there. Moreover without minimizing, I am constantly dragging around windows to reach buttons or information hidden behind another window. I cannot work with just 1 or 2 windows on the screen and I cannot simply close them. Also I need them accessible so moving them all to different desktops is tedious.

For example I need a web browser, a graphics editor, visual studio code, text editor files, writer, a pdf viewer and more all accessible and visible at the same time. Often I need to look for an information and copy it into another window, calc something and paste it somewhere else. By changing to a different workspace I lose sight of the information on the first workspace. This does not work. And with no minimize button, my desktop is cluttered with at least 10 windows without any possibility to get structure into the situation because gnome only allows me to drag around windows!

It feels like a smartphone interface. I hate it. How is anyone productive with this?

49 Comments
2024/11/19
19:26 UTC

6

Turning the screen off causes the OS suspend in Ubuntu 24.04

As the title says - if I have the "screen blank" setting in the Power section set to anything but "Never", after the designated time expires the screen gradually turns blank which instantly triggers the "suspend" state of the system. I have the "Automatic Suspend" option switched off.

I would really like to have the ability to automatically turn the screen off but without the auto-suspend.

Can anybody please give me a hint what I could look at? I'm really not sure how those two things are interconnected.

6 Comments
2024/11/19
18:36 UTC

3

Cannot update software since updating to Ubuntu 22

I updated my System76 laptop about a month ago to Ubuntu 22. Now, ever since, whenever the software update runs it cannot install any of the updates. My start up drive has plenty of free space (100GB+) but the partitions are relatively small with, what I assume, is the boot drive. I've tried the suggestions that it automatically generates when the update fails. But, it's not working. Here's the error message:

Not enough free disk space

The upgrade needs a total of 691 M free space on disk '/boot'. Please free at least an additional 502 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove', and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs.

Does anyone have any suggestions?

9 Comments
2024/11/19
17:43 UTC

0

I need help please For problems

It's happening to me, yesterday I wanted to install an Ubuntu update, after "finishing" (I don't know if the update finished correctly because I left the computer alone) I put it to charge To see if it would turn on and today I have a problemcomputer problem image

3 Comments
2024/11/19
17:11 UTC

1

22.04 to 24.04 interrupted now can't find grub menu to fix it

Please help, I was upgrading Ubuntu 22.04 to 24.04 and there was step where it was upgrading thunderbird and it stuck message kept popping up "frontend not responding" than I shutdown my pc cause progress was stuck.

From then white screen appearin "oh no something went wrong can't recover system contact your administrator" And also I am not able to find grub menu but getting grub cli instead.

2 Comments
2024/11/19
17:02 UTC

2

Ubuntu server won't start or recognize or mount my WD Elements 2TB drive after reboot

Hi i have a Ubuntu 24.04.1 LTS server installed on a Dell Optiplex mini pc, i have 2 external drives plugged in, an old WD MyBook 1.5TB HDD (3.5) & WD Elements 2TB (2.5). I have them added to automount in fstab, tho whenever i reboot, the Elements drive wont start and it won't mount, it shows up as "empty". I have to unplug it and plug it back, to turn it on and use mount -a to get it back to working, which is super annoying, whenever i reboot it I actually have to go and physically do that all the time. The old one boots, maybe because it has a power adapter? Any help would be appreciated as it is driving me crazy not being able to solve this. Also when i plug it into my front USB which is also able to charge things, it works after reboot, i think. But also it used to load and work just fine for a while the other drive, but suddenly it doesnt, which is weird.

this is my fstab:

# MyBook HDD (dev/sdd1)

UUID=486E622C6E62134C /media/MyBook ntfs defaults,nofail 0 0

# Elements 2TB (dev/sdc1)

UUID=883053FA3053EDA6 /media/Elements ntfs defaults,nofail 0 0

0 Comments
2024/11/19
13:34 UTC

2

Installing mint removed my ubuntu boot option?

I have encryped ubuntu partition but after I installed min in another partition now there is no boot option for ubuntu. Why does installing mint remove my ubuntu boot option? also mint's grub doesn't detect my ubuntu partition so I can't boot it from there too

6 Comments
2024/11/19
12:01 UTC

1

Second monitor screensaver

Is there anything out there that can put my second monitor into screensaver or power saver mode while the mouse cursor isn't active within its bounds? I do a lot of reading when I'm studying on my main monitor and find I'm easily distracted by the second monitor. I know I could just manually turn it off and on, but where's the fun in that?

0 Comments
2024/11/19
11:30 UTC

2

Dealing with NTFS USB

Hello all

am using gparted to format my flash drive as NTFS, the problem appears when i copy/paste some files into the drive where my Ubuntu cant mount the drive or read/write into it.
how do you guys deal with it?

14 Comments
2024/11/19
10:23 UTC

3

Any demonstrations or people to follow for Ubuntu on Snapdragon?

I've read a few posts about Ubuntu on SD however I haven't found a single video, lengthy post, or developer on social media. Suggestions? Thank you

1 Comment
2024/11/19
10:09 UTC

2

Reduce scroll speed

I’ve been trying to reduce the default touchpad scroll speed but the methods I try don’t work. Anybody got solutions?

Laptop model: HP Envy 13 ba1xxx

4 Comments
2024/11/19
08:34 UTC

Back To Top