Setting permissions for USB ports https://askubuntu.com/questions/1568006/setting-permissions-for-usb-ports

I use Inkscape to run a vinyl cutter. Every time I try to use the cutter I have to change permissions using:

sudo chmod a+rw /dev/ttyUSB0

I believe there should be a way to set up permissions, possibly using groups, so that the permission is remembered and does not have to be changed every session. However, the information I have been able to find online seems to me to contradictory and confusing. I am wary of making changes without clear instructions as I am concerned about breaking other permissions.

When I run lsusb the entry for the cutter is:

Bus 001 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC

I am using Ubuntu 24.04. I am the only user.

Is anyone able to help me with simple step by step instructions please? Any help is much appreciated, but needs to be simple as use Ubuntu as a means to an end.

Ubuntu 26.04 Random reboots on my laptop https://askubuntu.com/questions/1568004/ubuntu-26-04-random-reboots-on-my-laptop

For a couple weeks now, I've been experiencing random reboots on my laptop.

They happen once or twice a day or not at all, either while in use (black screen), from suspend, or at boot (-> GRUB-menu). All I do at the laptop is write texts and ocassionally game.

From my logs, these "Previous system reset reason" messages jump out at me:

  • internal CPU shutdown event occured - Coincides with reboot times, except at boot.
  • software wrote 0x6 to reset control register 0xCF9 - Too many, but a few coincide with at boot.
  • ACPI power state transition occurred - Rare, possibly unrelated.

See sample logs HERE and HERE. (Some things are redacted.) Also, see my CPU information HERE.

Architecture:                x86_64
  CPU op-mode(s):            32-bit, 64-bit
  Address sizes:             44 bits physical, 48 bits virtual
  Byte Order:                Little Endian
CPU(s):                      8
  On-line CPU(s) list:       0-7
Vendor ID:                   AuthenticAMD
  Model name:                AMD Ryzen 3 7320U with Radeon Graphics
    CPU family:              23
    Model:                   160
    Thread(s) per core:      2
    Core(s) per socket:      4
    Socket(s):               1
    Stepping:                0
    Frequency boost:         enabled
    CPU(s) scaling MHz:      37%
    CPU max MHz:             4151.7300
    CPU min MHz:             425.1780
    BogoMIPS:                4791.29
    Flags:                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pg
                             e mca cmov pat pse36 clflush mmx fxsr sse sse2 ht s
                             yscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constan
                             t_tsc rep_good nopl xtopology nonstop_tsc cpuid ext
                             d_apicid aperfmperf rapl pni pclmulqdq monitor ssse
                             3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xs
                             ave avx f16c rdrand lahf_lm cmp_legacy svm extapic 
                             cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw
                              ibs skinit wdt tce topoext perfctr_core perfctr_nb
                              bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_psta
                             te ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 a
                             vx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt 
                             clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_occ
                             up_llc cqm_mbm_total cqm_mbm_local clzero irperf xs
                             aveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock
                              nrip_save tsc_scale vmcb_clean flushbyasid decodea
                             ssists pausefilter pfthreshold avic v_vmsave_vmload
                              vgif v_spec_ctrl umip rdpid overflow_recov succor 
                             smca sev sev_es
Virtualization features:     
  Virtualization:            AMD-V
Caches (sum of all):         
  L1d:                       128 KiB (4 instances)
  L1i:                       128 KiB (4 instances)
  L2:                        2 MiB (4 instances)
  L3:                        4 MiB (1 instance)
NUMA:                        
  NUMA node(s):              1
  NUMA node0 CPU(s):         0-7
Vulnerabilities:             
  Gather data sampling:      Not affected
  Ghostwrite:                Not affected
  Indirect target selection: Not affected
  Itlb multihit:             Not affected
  L1tf:                      Not affected
  Mds:                       Not affected
  Meltdown:                  Not affected
  Mmio stale data:           Not affected
  Old microcode:             Not affected
  Reg file data sampling:    Not affected
  Retbleed:                  Mitigation; untrained return thunk; SMT enabled wit
                             h STIBP protection
  Spec rstack overflow:      Mitigation; Safe RET
  Spec store bypass:         Mitigation; Speculative Store Bypass disabled via p
                             rctl
  Spectre v1:                Mitigation; usercopy/swapgs barriers and __user poi
                             nter sanitization
  Spectre v2:                Mitigation; Retpolines; IBPB conditional; STIBP alw
                             ays-on; RSB filling; PBRSB-eIBRS Not affected; BHI 
                             Not affected
  Srbds:                     Not affected
  Tsa:                       Not affected
  Tsx async abort:           Not affected
  Vmscape:                   Mitigation; IBPB before exit to userspace

Since upgrading to Ubuntu 26.04, I've had Linux kernel panics at boot once in a blue moon. Could this be relevant?

The only software I've installed within these last few weeks are VSCodium and .NET SDK.

For VSCodium:

  1. snap install codium --classic
  2. "Getting all telemetry out"
  3. Installed muhammadsammy's C# plugin through VSCodium
  4. Installed .NET SDK (see later)
  5. Uninstall everything (wasn't happy)
    • Including sudo rm /usr/local/bin/dotnet (again, see later)

For .NET SDK:

  1. sudo snap install dotnet-sdk --classic (or dotnet-sdk-100 when installing VSCodium)
  2. sudo ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet (for dot-net-100)
  3. Added to ~.profile:
    • export DOTNET_CLI_TELEMETRY_OPTOUT=true
    • export DOTNET_ROOT=/snap/dotnet-sdk/current

What I've tried:

  • Disabling Fast Boot, makes no difference?
  • Running MyAsus System Diagnostics (except SSD), all OK
  • Keeping tabs on systemctl timers, not correlated

What I haven't tried:

  • Running SSD diagnostics (Does this mess with my storage?)
  • Running memtest
  • Fresh reinstall
  • Changing other BIOS/UEFI settings
unable to process the installing [closed] https://askubuntu.com/questions/1568002/unable-to-process-the-installing

I am having problem to install ubuntu as its freezing at the stage copying files. I have the new laptop asus rog g16 with amd ryzen9. I ahve tried all the possible steps and set up the settings suitable too. Please help me.

No journal files found during installation of 26.04 LTS https://askubuntu.com/questions/1567999/no-journal-files-found-during-installation-of-26-04-lts

I'm trying to install Ubuntu 26.04 LTS to an external SanDisk 4 TB SSD drive from a usb stick.

I get the "Something went wrong" screen. This happens with two different computers.

When I click the "Show Log" button, the only message that is displayed is "No journal files were found."

This is very reproducible.

Where to get Ubuntu Yaru theme assets? https://askubuntu.com/questions/1567998/where-to-get-ubuntu-yaru-theme-assets

Out of curiosity, is there a way to download the new Yaru theme from somewhere (specifically the new revised Yaru theme in 26.04 LTS)? I was interested in using it in Kubuntu since I prefer that over GNOME but I wasn't sure where I could find all the folders and stuff like that to make an icon pack. I am not planning on publishing it or anything, just want to have it for my personal use.

Start postgresql-17 on Ubuntu 22.04 https://askubuntu.com/questions/1567993/start-postgresql-17-on-ubuntu-22-04

On ubuntu 22.04 installed postgresql-17. Checking if installed like: dpkg -l | grep postgresql-17

and result is:

ii  postgresql-17   17.10-1.pgdg22.04+1   amd64    The World's Most Advanced Open Source Relational Database

Means version 17 is installed right? But how Can I start server? trying: sudo systemctl start postgresql@17-main

Gives: "Assertion failed on job for postgresql@17-main.service."

"terminal could not be launched" error message https://askubuntu.com/questions/1567992/terminal-could-not-be-launched-error-message

I wanted to install zsh on my terminal to customise it. But after running this command: chsh -s $(which zsh). I have encountered an error message or a pop-up window that looks like this: err-window

Any solutions for this?

RAID6 disk overrwritten during boot by upgrade from Ubuntu 12 to 26 https://askubuntu.com/questions/1567988/raid6-disk-overrwritten-during-boot-by-upgrade-from-ubuntu-12-to-26

I have RAID6 disks running well on a old server running Ubuntu 12 with an old mdadm v3.2.5. That RAID is built directly on the disk, not into a partition.

I moved my 5 disks to my new server, with fresh install of Ubuntu 26.

When I boot my new server, the RAID is not created, and a partition is created on the 5 disks! I can not understand how Ubuntu can write to the disks without asking!

If a bring back the disk to my old server, it will not be created, but I can recreate it with the command

mdadm --create /dev/md125 --assume-clean --level=6 --raid-devices=5 /dev/sde /dev/sdd /dev/sdf /dev/sdc /dev/sdb

How can I prevent my new Ubuntu 26 from creating a partition on the 5 RAID disks. I just want UBUNTU to do nothing with them during boot. Than I could use mdadm to assemble, or create the RAID6.

I have played with grub to set to skip option to fsck, and it did not solve my problem. Something else is creating those partitions.

Here is what is created on my 5 RAID6 disks by something

sdb                         8:16   0   2.7T  0 disk
└─sdb1                      8:17   0    16M  0 part
sdc                         8:32   0   2.7T  0 disk
└─sdc1                      8:33   0    16M  0 part
sdd                         8:48   0   2.7T  0 disk
└─sdd1                      8:49   0    16M  0 part
sde                         8:64   0   2.7T  0 disk
└─sde1                      8:65   0    16M  0 part
sdf                         8:80   0   2.7T  0 disk
└─sdf1                      8:81   0    16M  0 part
System apps are lag/freezing after using apt autoremove (possible missing dependencies) https://askubuntu.com/questions/1567986/system-apps-are-lag-freezing-after-using-apt-autoremove-possible-missing-depend

I'm currently using Ubuntu 26.04 LTS. When I first installed it, everything worked perfectly. I'm also quite new to Linux, so I've relied on ChatGPT a lot for help.

While using Ubuntu, I occasionally removed applications that I didn't need. Following ChatGPT's advice, I usually removed applications with:

sudo apt purge <app>

and then ran:

sudo apt autoremove

I was told that sudo apt autoremove only removes unused libraries and that if other applications still needed those libraries, they would either not be removed or could be reinstalled automatically, so it shouldn't affect the system. I trusted that advice.

After some time, I installed and removed many applications while trying to find software that suited my needs, and I'm sure that after uninstalling applications, I often ran sudo apt autoremove.

At some point, I started noticing that some system applications became slow or partially broken. For example, when I click a file upload button in a web browser and the file picker dialog opens, the file picker becomes very laggy and slow, although it doesn't completely freeze.

In addition, my default App Center now crashes and shows the following message:

"Is Not Responding. You may choose to wait a short while for it to continue or force the app to quit entirely."

enter image description here

> snap-store
Gtk-Message: 17:44:36.251: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Gdk-Message: 17:44:36.497: Unable to load  from the cursor theme
INFO snap-store: Logging to /home/{user}/snap/snap-store/1367/.local/share/snap-store/snap-store.log
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#f6400(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#87a8f(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#afa52(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#ff94b(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#a014b(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#4bb77(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#67808(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#4fd30(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#49eae(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43740, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#77065(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43746, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#30cef(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43746, details: null, rawResponse: null, trailers: {})
ERROR error_observer: Provider ratingsModelProvider:RatingsModelProvider#e128b(null) failed
    GrpcError: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = ratings.ubuntu.com, port = 43760, details: null, rawResponse: null, trailers: {})

I also experience the same issue with the RustDesk remote desktop application.

enter image description here

> rustdesk
Try setting transparent
flutter: launch args: []
flutter: initializing FFI main
flutter: _appType:main,info1-id:079652093ce34d1ba82309e4efcdee2b,info2-name:Ubuntu,dir:/home/hiepld/Documents
flutter: _globalFFI init
flutter: registerEventHandler callback_query_onlines address book peer
flutter: registerEventHandler load_address_book_peers address book peer
flutter: registerEventHandler callback_query_onlines group peer
flutter: registerEventHandler load_group_peers group peer
flutter: registerEventHandler callback_query_onlines recent peer
flutter: registerEventHandler load_recent_peers recent peer
flutter: registerEventHandler callback_query_onlines fav peer
flutter: registerEventHandler load_fav_peers fav peer
flutter: registerEventHandler callback_query_onlines discovered peer
flutter: registerEventHandler load_lan_peers discovered peer
flutter: _globalFFI init end
flutter: registerEventHandler native_ui native_ui
flutter: registerEventHandler check_software_update_finish check_software_update_finish
flutter: registerEventHandler callback_query_onlines AllPeersLoader
flutter: restore lpos: 800.0/600.0, offset:0.0/0.0, isMaximized: false, isFullscreen: false
flutter: handled by uni links: false
flutter: [MultiWindowHandler] active window changed: {0}

This makes me suspect that I may have accidentally removed some library that these applications depend on. I've also noticed that this problem seems to affect mainly applications built with Flutter, while most other applications work normally, except that a few of them become laggy during certain operations, like the file picker example I mentioned.

Is there any way to diagnose and fix this problem without reinstalling Ubuntu? I have a lot of important data and would really prefer not to reinstall the operating system.

I have already tried uninstalling and reinstalling the affected applications, but the problem still persists.

Netplan Active Backup Bond with Ethernet and wifi doesn't working as intended https://askubuntu.com/questions/1567985/netplan-active-backup-bond-with-ethernet-and-wifi-doesnt-working-as-intended

I'm currently running Ubuntu server 26 LTS with Netplan setup during the install.

I changed the Netplan config to set Ethernet has the primary.

network:
  bonds:
    bond0:
      addresses:
      - 192.168.29.50/24

      interfaces:
      - enp7s0
      - wlp6s0

      nameservers:
        addresses:
        - 1.1.1.1
        - 1.0.0.1
        search: []

      parameters:
        mode: active-backup
        primary: enp7s0
        mii-monitor-interval: 1

      routes:
      - to: default
        via: 192.168.29.1

  ethernets:
    enp7s0:
    dhcp4: no

  version:2
  wifis:
    wlp6s0:
      dhcp4: no
      access-points:
        "SSID":
          password: 'pass'

Whenever i plugin Ethernet it detects and switches to Ethernet but my ssh and ping from the mac drops. Whenever i unplug Ethernet it switches to WiFi and the ssh comes back

Touchpad click is not working https://askubuntu.com/questions/1567982/touchpad-click-is-not-working

On Ubuntu Unity 26.04, the touchpad moves, however it does not click or right-click. The touchpad model is "ETPS/2 Elantech Touchpad", and the laptop is a Lenovo 100e gen 1. It is using the synaptic driver, and switching to libinput has no effect. Libinput list-devices reports 'click method: none' for the touchpad. I have tried unloading and reloading the psmouse kernel module, however that only led to it left-clicking once then holding regardless of input. The issue also effects my external USB mouse.

How do I exit the console? The commands Ctrl+Alt+Fx dont work https://askubuntu.com/questions/1567979/how-do-i-exit-the-console-the-commands-ctrlaltfx-dont-work

How I got there: I don't have a precise idea, I think it is a problem with updates. First I had problem with Alsa mixer. My sound didnt work when I wanted to watch a video. Each time I needed to reload alsa for the computer to emit sound. After I have some updates to do, the computer would shut down and I had to turn it back on, but no update was installed and it asked again every time I turned on the PC. This must have been going on for about two months. 5days ago it shut down and I can no longer exit the console screen when I turn on the PC. I can log in.

I'm a noob on Ubuntu, I don't understand and know a lot and how it works so I searched but found nothing to help me.

I want to return to the graphic screen, I think my data is dead but I would prefer to keep it if possible.

I am currently stuck on the console or tty screen. So I tried many commands to exit:

  • CTRL + ALT + Fx

    (where x is between 1 to 12) it should work but no, I just change of screen but I don't quit.

  • startx

    but that just gave an error:

Oh shoot ! Something went wrong. A problem has occurred and the system cannot recover. Log out and try again.

It doesn't work. Then:

X.Org X Server 1.21.1.11 
X Protocol Version 11, Revision 0
Current Operating System: Linux \[*PC characteristics, huge numbers and hour*\]
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.17.0-23-generic root=UUID=8badbb6b-ce79-499b-adc6-9c18032b1f7 ro quiet splash vt.handoff=7
xorg-server 2.21.1.12-1ubuntu1.5 (For tecjnical support please see https://www.ubuntu.com/support) 
Current version of pixman: 0.42.2
Markers: (--) probeb, (\*\*) from config files, (II) informational, (WW) warning, (==) default setting, *this is an explanation for what follows, I don't wrote everything.*
(==) Log files: "/home/scrat/.local/share/worg/Xorg.0.log", Time: Fri Jun 26 00:55:06 2026
(==) Using system co.fig directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down (II) Server terminated successfully (0). Closing log.file.Errors from xkbcomp are not fatal to the X serverxinit: connection to X server

I didn't find their contact. I have an Ubuntu account.

  • CTRL + ALT + FN + F3

    there is just a black screen now. I shut down with the button and it says

[       73.838956] snd_soc_avs 0000:00:0e.0: invalid firmware data:    -22

[       73.838970] snd_soc_avs 0000:00:0e.0: firmware boot failed: -22

[       73.838975] snd_soc_avs 0000:00:0e.0: PM: dpm_run_callback(): pci_pm_resume returns -22

[       73.838990] snd_soc_avs 0000:00:0e.0: PM: failed to resume: error -22

[       73.890626] ish-hid {33AECD58-B679-4E54-9BD9-AO4D34FORD34FOC226}: wait for resume timed out

Thank you

Wifi not connecting after sleep https://askubuntu.com/questions/1567977/wifi-not-connecting-after-sleep

My laptop is new hp Omnibook 3. I just installed Ubuntu 26.04 and noticed that after sleep mode, it cannot see any wifi networks at all. I have to reboot the laptop to be able to connect again.

I have tried to disable wifi.powersave using this post without luck.

Ubuntu server SFP+ getting hot and stutters https://askubuntu.com/questions/1567944/ubuntu-server-sfp-getting-hot-and-stutters

I have a Kubuntu server with two SFP+ ports and two 2.5Gbps Ethernet ports.

One of the 10Gbps SFP+ port is connected to a the 10Gbps SFP+ port on the switch using a CAT6 cable. Length 1.5m

I had no problems with it until it was getting hotter.

The connection stuttered and when I pinged from the server to the router, the ping stuttered also.

I noticed the SFP+ modules were really hot and I disconnected them and fall back on the 2.5Gbps Ethernet port.

I searched the internet and SFP+ copper, seems to get really hot.

Then I asked the seller and he proposed some tiny cooling ribs on the SFP+ modules.

Personally, I do not think that’s an adequate solution and definitely, not in a business situation.

  • Is there anybody out there who has experienced anything similar and found a decent solution?

  • Would it be possible to configure the 2.5Gbps as a fallback port when the SFP+ modules aren’t connected?

    Of course, server IP must remain the same.

  • Or is there another solution which I didn’t think of?

My NAS is a AOOSTAR WTR MAX 8845 (aoostar.com/products/…) with two embedded SFP+ ports. The SFP+ modules are HORACO 10Gb SFP+ Module 1.25/2.5/5/10G SFP+ to RJ45 Transceiver on both sides. The switch is also Horaco 8 port 2.5Gbps and 1x 10Gbps SFP+ port. I've found some small heatsinks which I put on the SFP modules and next week, I'll connect them again and will test them. Is there a simple tool or docker to check stability and functionality of the SFP+ modules?

Horizontal scrolling via Remmina doesn't work https://askubuntu.com/questions/1541784/horizontal-scrolling-via-remmina-doesnt-work

I can't get horizontal scroll of Logitech MX Master 3 to work via Remmina. Scrolling works in the host Ubuntu, but nothing happens via Remmina in Windows 11. It's like the events won't even be sent to Windows.

How to fix this?

I'm on Ubuntu 24.04 LTS. The Windows 11 is running locally as qemu guest, and I have Remmina 1.4.35. And yes, I also have Solaar here in Ubuntu.

Slow wifi on Ubuntu 24.04 compared to Windows 11 https://askubuntu.com/questions/1534217/slow-wifi-on-ubuntu-24-04-compared-to-windows-11

I'm trying to replace Windows with Ubuntu 24.04. Currently I use dual boot. I'm experiencing very slow internet speed on Ubuntu compared to Windows 11.

Output of lshw :

*-network
                description: Wireless interface
                product: QCA9377 802.11ac Wireless Network Adapter
                vendor: Qualcomm Atheros
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: wlp2s0
                version: 31
                serial: d0:c5:d3:2f:6d:13
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=ath10k_pci driverversion=6.8.0-49-Wgeneric firmware=WLAN.TF.2.1-00021-QCARMSWP-1 ip=192.168.1.198 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:135 memory:ef200000-ef3fffff
Snap Store loading updates - endless https://askubuntu.com/questions/1525050/snap-store-loading-updates-endless

The Snap Store never stops 'loading updates' so I can't update through the Snap Store.

I know that's not the only way to update apps, but the Snap Store seems like something that should work without issue on Ubuntu, right? I'd like to learn what might be wrong and what I can do to fix it.

The longer story:

I upgraded to 24.04.1 the other day. This was my first time upgrading Ubuntu (I'm still a very green user). It was a mostly smooth process. It locked up a couple of times; I restarted the PC a couple of times. Once it finally got going, it said a partial upgrade was suggested due to some third party app obstruction (most likely Fade In). From there on out, though, things ran just fine.

As far as I can tell, there are only two issues with the new install. The first is Ghost Writer (the full screen mode doesn't work. Not a big loss. I reported the bug. We'll see if it gets fixed.) The second is the Snap Store which, even after being left to load updates for 30 minutes, just keeps loading.

Per amar's suggestion, I ran: killall snap-store, as well as: sudo snap update, which returned the following: error: unknown command "update", see 'snap help'.

As some probably know, 'snap help' returned a list of commands, not any helpful info.

Then I ran sudo apt install -f which returned 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded

sudo snap refresh returned: all snaps are up to date

Per user535733's suggestion, I 'Quit' Ubuntu Software using: snap-store --quit then ran snap-store and received the following output:

sw@Bilbo:~$ snap-store --quit
16:30:38:0957 Gtk Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
sw@Bilbo:~$ snap-store
16:31:00:0210 Gtk Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Graylist: app;application;package;program;programme;suite;tool
16:31:00:0523 PK  unhandled property 'Sender'
16:31:00:0561 Gs  lost session service
16:31:00:0561 Fwupd fwupd_client_download_bytes_async: assertion 'url != NULL' failed
16:31:00:0561 Fwupd fwupd_client_download_bytes_async: assertion 'url != NULL' failed
16:31:01:0451 Gs  Only 0 apps for recent list, hiding
16:31:02:0346 PK  unhandled property 'Sender'
16:31:03:0107 PK  unhandled property 'Sender'
16:31:03:0297 PK  unhandled property 'Sender'

The logs for that time read:

10:34:16 AM kernel: logitech-djreceiver 0003:046D:C537.0004: Unexpected input report number 128
 9:22:18 AM systemd: Failed to start app-gnome-user\x2ddirs\x2dupdate\x2dgtk-3089.scope - Application launched by gnome-session-binary.
 9:22:16 AM gdm-session-wor: gkr-pam: unable to locate daemon control file
 9:22:09 AM (uetoothd): sap-server: Operation not permitted (1)

Please let me know if I've messed up your suggestions, as well as what you think might be wrong and/or what more I can do to troubleshoot this.

Amar: I opened it manually.

user535733|:

$ snap list snap-store
Name        Version           Rev   Tracking         Publisher   Notes
snap-store  41.3-77-g7dc86c8  1113  latest/stable/…  canonical✓  

Snap Store loading:

Snap store loading.

How to install an additional laguage on ubuntu 22.04 https://askubuntu.com/questions/1523402/how-to-install-an-additional-laguage-on-ubuntu-22-04

Trying to follow this tutorial, but there no such activities menu

enter image description here

How to install an additional keyboard language on Ubuntu 22.04?

How to do hover to focus AND allow keyboard switching via ctrl tab etc? https://askubuntu.com/questions/1456366/how-to-do-hover-to-focus-and-allow-keyboard-switching-via-ctrl-tab-etc

You use gnome tweaks to turn on hover to focus. But then you can not also use keyboard shortcuts to change between windows AND type in the other windows. You have to then use the mouse to hover over the window you changed to using the keyboard.

Libre Office Calc, search history missing https://askubuntu.com/questions/1410724/libre-office-calc-search-history-missing

Ubuntu 20.04, Libre Office 6.4.7.2

Ubuntu 22.04, Libre Office 7.3.3.2

Kubuntu 24.04, Libre Office 24.2.7.2

Libre Office Calc : With ctrl-f I will get the "search Box", type in something for search a.s.o.. Next string to search a.s.o.. In former Versions of Libre Office, there were always a "search string history" present (arrow down next to the box), but now the pull down box is always empty.

Is there any configuration possible to get the "search string history" as in former SW versions ?

Perhaps I have found a reason but not a way to turn off.

Is it possible to make it independent : The LibreOffice calc "search Box" and the linux clipboard ?

Cockpit Software Updates - Loading available updates failed - Cannot refresh cache whilst offline https://askubuntu.com/questions/1333583/cockpit-software-updates-loading-available-updates-failed-cannot-refresh-cac

On a Ubuntu Server LTS 20.x, with renderer : networkd, LAN / WAN Connectivity are all properly fucntional. However in Cockpit > Software Updates, it gives the error message:

Loading available updates failed    
Cannot refresh cache whilst offline    

Changing the setting to renderer : NetworkManager
makes Cockpit > Software Updates work flawlessly without impacting the Networking module in Cockpit.

But I would rather stick to renderer : networkd as this is a Server.

Any insight to get renderer : networkd to work ? Or Cockpit just 'needs' NetworkManager ?

Note:

sudo systemctl stop network-manager.service    
sudo systemctl disable network-manager.service     

Will make the Networking module in cockpit fail with error :

Network devices and graphs require NetworkManager
File manager in Ubuntu 20.04 not showing thumbnails https://askubuntu.com/questions/1304654/file-manager-in-ubuntu-20-04-not-showing-thumbnails

The file manager that came with my installation ("Simple file manager for Gnome") doesn't show thumbnails for jpg, png, and videos. I've gone to /Preferences/Search & Preview and made sure it's set to always show thumbnails but it doesn't. How can I fix this?

Nvidia Optimus on 20.04: switching to Intel GPU works on Ubuntu Mate, but not on Ubuntu Gnome https://askubuntu.com/questions/1232211/nvidia-optimus-on-20-04-switching-to-intel-gpu-works-on-ubuntu-mate-but-not-on

I am trying to revive an old Lenovo Ideapad Z360 laptop using Ubuntu 20.04 LTS. This laptop has an integrated Intel GPU and a discrete Nvidia GPU, as follows:

$ lspci -k | grep -EA3 'VGA|3D|Display'
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
    Subsystem: Lenovo Core Processor Integrated Graphics Controller
    Kernel driver in use: i915
    Kernel modules: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)
    Subsystem: Lenovo GT218M [GeForce 310M]
    Kernel driver in use: nvidia
    Kernel modules: nvidiafb, nouveau, nvidia

On Ubuntu Mate 20.04, I am able to switch from the Nvidia GPU to the Intel GPU just fine. I can do this using the panel icon (mate-optimus); or using the terminal (prime-select); or using the Nvidia application (nvidia-settings). They all work, and the desktop loads just fine after I logout and login back again. The "on demand" option doesn't work --- mate-optimus' github states that "NVIDIA On-Demand (known as PRIME Render Offload) will require the NVIDIA 435 drivers", so I guess this excludes my GPU (which uses NVIDIA 340 drivers) ---, but I am ok with that. I am happy being able to switch between the Intel and Nvidia GPUs when needed. On Ubuntu Mate 20.04, this works just fine.

However, on Ubuntu 20.04 (Gnome), switching to the Intel GPU doesn't work!!

First thing I noticed is that the "PRIME Profiles" menu section was not available in the Nvidia application (nvidia-settings). I was able to fix that by installing the nvidia-prime package (which came pre-installed in Ubuntu Mate, but not in Ubuntu Gnome).

However, when I try to switch to the Intel GPU, I am not able to log back into the desktop after I logout (it loops back to the gdm3 greeter). If I reboot when the Intel GPU is selected, than I get a black screen. In order to fix that, I have to either switch back to the Nvidia GPU (using prime-select), or remove all nvidia packages (and use the nouveau driver instead).

So my question is: Why does it work on Ubuntu Mate, but not on Ubuntu Gnome?

VNC connection results in grey or black screen https://askubuntu.com/questions/1152910/vnc-connection-results-in-grey-or-black-screen

I want to install a vnc-server on a Ubuntu 18.04 desktop (clean install). I've tried vino, tigervnc, tightvnc. For vino, I don't get the screensharing option in the settings. For tigervnc and tightvnc the installation proceeds, I create the configuration, but when I try to connect I get a grey screen with a cross cursor.

I've tried a VM (clean installation) with Ubuntu 19.04 desktop and vino-server, turned screen sharing on. When I tried to connect with Remmina from the host, I get a black screen, no cursor.

I'm lost here, have spent hours to get this working, thought this should be a straightforward thing to do.

How can I get screensharing via VNC to work?

SSH is running, UFW disabled.

From a remote SSH session, how can I get the screen resolution of the physically connected monitor? https://askubuntu.com/questions/1077581/from-a-remote-ssh-session-how-can-i-get-the-screen-resolution-of-the-physically

I'm running Ubuntu 18.04.1 LTS Desktop.

I'm connecting to the desktop via remote SSH session.

I'm trying to get the current resolution for the currently active local session.

I found these seemingly relevant questions:

However, xdpyinfo returns the following error:

xdpyinfo:  unable to open display "".

and xrandr returns a similar error:

Can't open display

I'm assuming this is because there is no display connected to my remote SSH session. I've tried switching (su) to the same user as the local session, but the error is the same - I assume for the same reason: no display related to that SSH session.

So, I tried the suggestions from my third link above.

$ export DISPLAY=:0
$ xdpyinfo
No protocol specified
xdpyinfo:  unable to open display ":0"

and

$ xrandr --display :0
No protocol specified
Can't open display :0

How can I poll the display on the active local session for resolution (dimension) info from a remote SSH session?

PyQT Creator Qt designer: No such file or directory https://askubuntu.com/questions/975227/pyqt-creator-qt-designer-no-such-file-or-directory

There is a bash command that comes with installing PyQT Creator called designer that will run a tool called Qt Designer, found under the Qt Creator package. It helps you create GUIs - pretty cool stuff.

There is a problem though... whenever I run designer, I get this error:

designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory

And that's great - I don't want it to execute /usr/lib/x86_64-linux-gnu/qt4/bin/designer, I want it to execute /usr/lib/x86_64-linux-gnu/qt5/bin/designer, the difference being between "qt4" (first path) and "qt5" (second path). That's where designer is.

I looked around and found this command type -a (command) and it would tell you where the command definition is "located", if I understand correctly. So I looked it up and got:

$ type -a designer
designer is /usr/bin/designer

But I can't edit that file... it's a bunch of gibberish (side question, what does it mean when a file has no file extension? What does that make it?)

So, my question is, how can I get the command designer to execute /usr/lib/x86_64-linux-gnu/qt5/bin/designer?

Edit: which designer also returns /usr/bin/designer,

also: $ file /usr/bin/designer /usr/bin/designer: symbolic link to qtchooser'

So I also took a look at qtchooser... seems like its a command (not entirely sure what it does).

Here is some output:

file /usr/bin/qtchooser 
/usr/bin/qtchooser: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=96215e9441b8361f0cc57b37db70fc50752cb05a, stripped
Any app on Ubuntu to open and/or convert HEIF pictures (.HEIC, High Efficiency Image File Format)? https://askubuntu.com/questions/958355/any-app-on-ubuntu-to-open-and-or-convert-heif-pictures-heic-high-efficiency-i

A certain cellphone maker has changed the default format of taking pictures to HEIF (.HEIC, High Efficiency Image File Format), without asking the users (although there is still the option to use jpeg/jpg).

Is there an app/program on Ubuntu that can open and/or convert HEIF-pictures and even let them be edited?

YouTube Videos Stopped Streaming https://askubuntu.com/questions/305324/youtube-videos-stopped-streaming

I have been dealing with this problem for a couple of days but couldn't find a solution. I've posted on a forum before but nobody answered. Any help?

A couple of days ago a problem started to occur. I can't watch YouTube videos anymore. When I open a video, the animation goes on and on... until the message "an error has occurred". Very very very rarely sometimes a video loads. (Today it never happened, yesterday only once)

Like I said, a couple of days ago it was all working. I didn't do any updates. After this problem, I've installed every update, didn't solve the problem.

It is not browser specific, Google Chrome, Chromium, Firefox, Opera... All have the same problem. It is YouTube specific, I can watch videos on Facebook (not loaded through YouTube) and vimeo and more. I have reinstalled the flash-plugin, didn't solve. (Yet it is not about flash) It is not about my network, using the same network, Windows Laptop, iPhone, Android Tablet all load v

Ubuntu 12.04 LTS 32 Bit

$ uname -a
Linux marvin 3.2.0-45-generic-pae #70-Ubuntu SMP Wed May 29 20:31:05 UTC 2013 i686 i686 i386 GNU/Linux

$ dpkg -l |grep "chrome\|firefox\|opera\|chromium\|flash"
ii adobe-flash-properties-gtk 11.2.202.285-0precise1 GTK+ control panel for Adobe Flash Player plugin version 11
ii adobe-flashplugin 11.2.202.285-0precise1 Adobe Flash Player plugin version 11
ii chromium-browser 25.0.1364.160-0ubuntu0.12.04.1 Chromium browser
ii chromium-browser-l10n 25.0.1364.160-0ubuntu0.12.04.1 chromium-browser language packages
ii chromium-codecs-ffmpeg 25.0.1364.160-0ubuntu0.12.04.1 Free ffmpeg codecs for the Chromium Browser
ii eject 2.1.5+deb1+cvs20081104-9 ejects CDs and operates CD-Changers under Linux
ii firefox 21.0+build2-0ubuntu0.12.04.3 Safe and easy web browser from Mozilla
ii firefox-globalmenu 21.0+build2-0ubuntu0.12.04.3 Safe and easy web browser from Mozilla - Unity menubar integration
ii firefox-gnome-support 21.0+build2-0ubuntu0.12.04.3 Safe and easy web browser from Mozilla - GNOME support
ii firefox-locale-en 21.0+build2-0ubuntu0.12.04.3 English language pack for Firefox
ii google-chrome-stable 27.0.1453.110-r202711 The web browser from Google
ii libcrypt-passwdmd5-perl 1.3-10 interoperable MD5-based crypt() for perl
ii opera 12.15.1748 Fast and secure web browser and Internet suite
ii xserver-xorg-video-openchrome 1:0.2.904+svn1050-1 X.Org X server -- VIA display driver

Any suggestions? Sorry if it is a repost, it's hard to find this problem in the dozens of "restricted-extras not installed" problems...

How to get Nvidia Graphic card to work on Thinkpad T430? https://askubuntu.com/questions/294963/how-to-get-nvidia-graphic-card-to-work-on-thinkpad-t430

I installed Ubuntu Linux on my Thinkpad T430 and everything works until last week. Because then I bought a new monitor with a higher screen resolution than full hd. So I cannot run the monitor with a higher resolution than 1920*1080.

The T430 is running with two graphic cards:

  • Intel HD 4000
  • Nvidia Quadro NVS 5400M

The notebook also allows running in "Optimus" mode.

I want to use the Thinkpad T430 and two monitors:

  • one with FULL HD resolution on the VGA port
  • and one with 2550x1400 resolution on the mini Display port

I tried these approaches:

Optimus mode = enabled In BIOS I enabled the Optimus mode (without bumblebee) and in Ubuntu 13.04 everything works, even both monitors get detected. But the problem is, the monitor connected to the mini display port (2550x1400) doesn't render the mouse courser correctly. It is laggy, so ALL mouse positions of the courser of the last 5 seconds are shown.

In this setup no extra software is installed, only the drivers delivered by ubuntu. This works so far the best. Only the mouse courser problem sucks. But I don't know what to do about that. Any suggestions?

Optimus mode = disabled, run only on Nvidia graphic card I installed Ubuntu 13.04 with only the Nvidia graphic card enabled. Works fine. But I can only run one monitor (which would be okay), but the max resolution was 1920*1080, even on the monitor with a higher default resolution.

Any suggestions to fix that?

Optimus mode=disabled/enabled, use Nvidia drivers I also tried installing the nvidia drivers via 'sudo apt-get install nvidia-current' but that did not work. After that the system does not boot anymore. Only a black screen is shown after boot loader. The system only boots if I enable optimus mode. I assume that the Intel graphic card is used in that case.

**bumblebee* I tried installing bumblebee with optimus mode=enabled. I got it installed, but it did not get the monitor on the mini display port detected. So it didn't work as I assumed it would.

I am not a linux expert and I am really stuck with this problem. Do you guys have any ideas or suggestions how I can get either the nvidia graphic card or the optimus mode running? I don't care if the battery is running out of energy very fast.

If you need anything else, please let me know. Thanks for your help.

adding subdomain to apache2 with a2ensite causes error: ERROR: Site domain.com does not exist! https://askubuntu.com/questions/135658/adding-subdomain-to-apache2-with-a2ensite-causes-error-error-site-domain-com-d

I'm trying to add subdomains to my home server.

svn.domain.com trac.domain.com

Due to dynamic IP I use dyndns service, on top of that I have domain.com hosted somewhere else. I created CNAME for subdomains on remote host to point to my user.dyndns.org domain.

So now when I visit either of subdomains: trac or svn, I see "It works!" message.

This done, I created two virtual host files under /etc/apache2/sites-enabled

file1: svn.domain.com and file2: trac.domain.com

contents:

<VirtualHost *:80>

  ServerName trac.domain.com

   DocumentRoot = /var/www/trac/repos

   <Directory /var/www/trac/repos>
    Order allow,deny
    allow from all
   </Directory>

</VirtualHost>

And

<VirtualHost *:80>

  ServerName svn.domain.com

   DocumentRoot = /var/svn/repos

   <Directory /var/svn/repos>
    Order allow,deny
    allow from all
   </Directory>

</VirtualHost>

But I get error: ERROR: Site trac.domain.com does not exist!

what am I doing wrong?