DW - DISTROWATCH (swap) [closed] https://askubuntu.com/questions/1568514/dw-distrowatch-swap

UUID=xyz / ext4 defaults 0 1 tmpfs / tmpfs rw=novfs,mode=1000

Thus, my swap (up) MIGHT NOT wake from my session oom (out-of-memory) WITH free ram/SYSCTL-Swap.

Depending 3d apps (game) noMATTER ram usage, swap GETs in place, BUT no while THAT /et/fstab file. EXCEPTION no ram avail.

Help with the resizing of my Ubuntu dual boot partition https://askubuntu.com/questions/1568513/help-with-the-resizing-of-my-ubuntu-dual-boot-partition

Space repartition:

Space repartition
Click the image to enlarge it.

Inability to scroll to the left with the slider:

enter image description here

I had lots of unused space on my (almost) unused Windows partition, so I wanted to switch it to Ubuntu. When I open gparted, here's what the diagram looks like:

[EFI system partition] -> [Microsoft boot partition] -> [Basic data partition (Microsoft's storage)] -> free space -> [Ubuntu partition].

The problem is that given that Ubuntu is at the right of the space I want to add to it, I can't fuse to the left nor move with gparted. I don't know what to do to be able to fuse the two.

At this point I'm almost ready to uninstall Ubuntu and create a new partition with more space. I've also seen that you can create a live USB key. If that's less far-fetched than all the black magic required to fuse a partition to the left, I'll take it.

Kubuntu 26.04 Won't Restart or Fully Shutdown https://askubuntu.com/questions/1568510/kubuntu-26-04-wont-restart-or-fully-shutdown

After a few updates last week my pc wont shutdown. just stays on a black screen but hardware is on. I can dual boot to win10 and it shutdown or restarts just fine. Also, my wife has same exact hardware and software and she doesn't have same problem. Her PC reboots flawlessly.

Can't open my LUKS device https://askubuntu.com/questions/1568509/cant-open-my-luks-device

I was using my Ubuntu normally, and then after a reboot I can't unlock my LUKS container. I've already tried dozens of passwords whether I forgot or have gone crazy, but nothing worked. On cryptsetup it appears to be healthy and normal. Unfortunately I don't have backups.

How to connect to a wifi network? [closed] https://askubuntu.com/questions/1568508/how-to-connect-to-a-wifi-network

How do I connect my Ubuntu computers using a wifi router?

Mount and use 2nd SSD for primary storage https://askubuntu.com/questions/1568507/mount-and-use-2nd-ssd-for-primary-storage

I am a very recent convert to Ubuntu, as in just this weekend. I put together a new computer, and decided to make the jump from Windows 10 to Ubuntu. I've been trying to search for answers as I can and make it work, but I'm having some trouble with this one.

I've got a fresh install of Ubuntu 26.04. As a practice with previous computers, I put the OS on a small dedicated SSD and use a larger SSD for apps and general storage.

I've tried following a few guides on how to mount an additional drive and have the OS automatically mount the drive on startup, but I've been unsuccessful so far.

I have successfully formatted and partitioned the 2nd drive as vfat using GParted, and added a line to /etc/fstab for the new drive as instructed by an instructional here. The issue could be that the instructional is 14 years old, and the method has changed since then. Any help is appreciated.

Desktop files and folders are hidden when switching from one workspace to another using a touchpad gesture. 26.04 LTS https://askubuntu.com/questions/1568504/desktop-files-and-folders-are-hidden-when-switching-from-one-workspace-to-anothe

After upgrading to 26.04 LTS, i have faced issues when switching workspaces using a touchpad gesture. Desktop folders are hidden and drag selection also disappears

Google Earth GPG error NO_PUBKEY 32EE5355A6BC6E42 on Ubuntu 24.04 https://askubuntu.com/questions/1568503/google-earth-gpg-error-no-pubkey-32ee5355a6bc6e42-on-ubuntu-24-04

I am running Ubuntu 24.04 LTS (Noble Numbat) and keeping getting a GPG signature verification error whenever I run sudo apt update.Here is the exact terminal output log:

Hit:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 https://dl.google.com/linux/chrome-stable/deb stable InRelease
Err:1 http://dl.google.com/linux/earth/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
W: Some index files failed to download. They have been ignored, or old ones used instead.`

The contents of my /etc/apt/sources.list.d/google-earth.list file are:

deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main

What I have tried so far:

1 .Manually downloading and piping the key with wget and gpg --dearmor into /etc/apt/trusted.gpg.d/ and /etc/apt/keyrings/. wget repeatedly fails with no valid openPGP data found or throws a parsing mismatch.

2 . Fetching via keyserver directly using gpg --keyserver keyserver.ubuntu.com --recv-keys 32EE5355A6BC6E42. This continuously results in a gpg: could not parse keyserver URL error.

3.Running apt-key adv --keyserver hkp://://ubuntu.com --recv-keys 32EE5355A6BC6E42, but the terminal throws a no such file or directory or layout execution block.Since the repo file is automatically re-configured by Google's background cron script, adding a local signed-by tag directly to the .list file gets overwritten.

How can I get Ubuntu 24.04 to properly ingest and retain this Google Earth public key globally?

VLC freezes Ubuntu 26.04 LTS OS daily while playing large playlist set to random https://askubuntu.com/questions/1568499/vlc-freezes-ubuntu-26-04-lts-os-daily-while-playing-large-playlist-set-to-random

Issue: VLC freezes Ubuntu 26.04 LTS OS while playing large playlist set to random daily. Mouse is unresponsive and have to press CTRL+ALT+DEL, sign out, sign in, and relaunch playlist to correct.

This is a PC being used in a video art installation in a gallery. It's a bit of a drive and I have to pay for parking each time I work on the PC as it is live in the gallery exhibition presently when we discovered the issue. The staff are kindly signing out and back in and relaunching it each time it freezes but they need me to fix it ASAP.

System Specs:

  • i7-4770
  • 8GB RAM
  • Older 4TB hard drive I've formatted and added the media to
  • Hardware tests passed.
  • Disabled Power Saver mode for the exhibition so it wouldn't go to sleep during gallery hours.
  • DisplayPort to HDMI cable connected to HDMI to RCA Converter plugged into a 1990s Samsung television set as part of the art installation.

The video content comprises old 80s cartoons and Saturday morning commercials which display on the CRT. The files are modest in size and low to medium resolution but it is a very large playlist, (about 60 days of continuous content). No HD content. VLC is set to play the playlist with random mode enabled. I also set it to expand all subfolders by default for the playlist.

The PC was freshly formatted with a bootable Ubuntu flash drive and the latest stable OS version installed.

All of the media content was transferred using FreeFileSync to verify data integrity to a folder on the PCs desktop. A playlist was generated of the folder's content which is what we launch in VLC each exhibition day.

The playlist runs day and night and we power off the CRT after hours to preserve its life. There is a small standard monitor connected which is set to mirror to the CRT.

I configured VLC to ignore all non-video file formats so that miscellaneous content from the folder wouldn't present an issue when I generated the playlist.

No other applications were installed and no other changes were made to the freshly-formatted PC other than the aforementioned media folder.

I read that VLC doesn't generate a log file by default. I've tried to provide all available information to expedite a resolution.

DisplayPort to HDMI cable: https://www.amazon.com/Amazon-Basics-Uni-Directional-DisplayPort-Display/dp/B015OW3GJK?th=1

HDMI to RCA Converter: https://www.amazon.com/Converter-Adapter-Composite-Supports-Android/dp/B0D3F2ZNMD/

I searched the Ubuntu section of the VLC support forum for "freeze" and couldn't find a solution.

I posted the above to the VLC forum and the reply I received stated: "VLC can't freeze the whole OS, only itself. Looks like your display server is what is crashing. Update it or use another one."

I believe I'm running Wayland (the default), and I stated that I performed a fresh install of the latest stable version of Ubuntu so I would be inclined to think that I'm already using the latest version of the best display server.

I hope to not have to migrate the playlist to another video application as I mentioned I already configured VLC to ignore a whole list of non-video file types which occupy the collection folder/subfolders. And I am fairly competent with VLC vs learning an entire new application for the art exhibit which may introduce new issues. Staying with VLC is ideal.

I'm posting to the Ubuntu support forum as the VLC community said VLC can't freeze the OS so it's likely a video server issue. Can someone provide specific steps for me to resolve the freezing issue?

Thanks for any help you can provide!

Kernel 7.0.0-28-generic on Dell Latitude 7380 display issue: extremely dark https://askubuntu.com/questions/1568498/kernel-7-0-0-28-generic-on-dell-latitude-7380-display-issue-extremely-dark

Recently, on this Dell Latitude 7380, running Ubuntu 24.04.4 LTS with Wayland, the kernel updated from v. 6.17.0-40-generic to 7.0.0-28-generic. After rebooting the display became extremely dark, starting immediately after the selection of OS was made in grub. It was barely readable in a dimly lit room, and it also appeared to flicker slightly.

Rebooting and selecting kernel 6.17.0-40 from grub worked normally, with fully controllable brightness. Retesting both kernels gave consistent results. For now, I've changed the grub selection order so that 6.17.0-40 is the first, i.e., default entry. That kernel and its header also have been set on hold. However, I'd like to know what causes the issue, and if there is a workaround, or newer kernel in the pipeline that could be tested to see if the issue has been resolved.

The results of uname -a are as follows for the new and old kernels, respectively:

Linux <PC_NAME> 7.0.0-28-generic #28~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul  1 15:50:57 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Linux <PC_NAME> 6.17.0-40-generic #40~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 23 16:48:12 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Here are relevant parts of a system report:

Hardware Model:      Dell Inc. Latitude 7380
Memory:              16.0 GiB
Processor:           Intel® Core™ i7-6600U × 4
Graphics:            Intel® HD Graphics 520 (SKL GT2)
Disk Capacity:       512.1 GB
Firmware Version:    1.38.0
OS Name:             Ubuntu 24.04.4 LTS
GNOME Version:       46
Windowing System:    Wayland
Values /sys/class/backlight/intel_backlight/:
           Kernel: 6.17      7.0              
max_brightness:    7500     1023
actual_brightness: 2136     1023
brightness:        2136     1023
bi_power:             0        0
scale:             unknown  unknown
type:              raw      raw
uevent:            [null]  [null]

Has kernel 7.0.0-28-generic dropped support for hardware in this older Dell?

Is there a conflict with Wayland windowing system?

Is there a driver needed?

Any help would be appreciated.

This issue is about the Linux kernel update. Nothing in BIOS has changed.

Firmware update notification https://askubuntu.com/questions/1568497/firmware-update-notification

Is this a legit Linux update: Firmware update available for UEFI dbx. UEFI dbx can be upgraded from version 20241101 to 20260402

gThumb crashes when trying to print https://askubuntu.com/questions/1568496/gthumb-crashes-when-trying-to-print

Ubuntu 24.04 up to date

Gthumb 3.12.10

All of gThumb's functions work properly except for printing.

It was printing a while back. I don't know how long ago, but it was not long, a few weeks maybe. I updated the system as usual, 1 or 2 times. Now Gthumb crashes when I try to print a jpg. It never has before.

I uninstalled it, reinstalled it and did the same with the printer, a Brother MFC-2710DW. The printer works as expected from other apps, including GNome Image Viewer 45.3.

Can't Upgrade from 24.10 due to "Distribution data outdated" - Where to get detailed Error? [duplicate] https://askubuntu.com/questions/1568495/cant-upgrade-from-24-10-due-to-distribution-data-outdated-where-to-get-deta

This is different from How to install software or upgrade from an old unsupported release? since I have already changed my repos to old-releases.ubuntu.com and done everything else from that issue.

Here is the ultimate failure (all the prep-work is below). Note: I mangled the protocol on the URLS to bypass the spam detector (http:// --> http-)

root@aurora:~# sudo do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http-/www.ubuntu.com/releaseendoflife
= Welcome to Ubuntu 26.04 LTS 'Resolute Raccoon' =

... Deleted Boilerplate info

Continue [yN] y
Get:1 Upgrade tool signature [833 B]
Get:2 Upgrade tool [958 kB]
Fetched 959 kB in 0s (0 B/s)
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Download is performed unsandboxed as root as file 'resolute.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  result = fetcher.run()
authenticate 'resolute.tar.gz' against 'resolute.tar.gz.gpg'
extracting 'resolute.tar.gz'

Reading cache

Distribution data outdated

Please ensure all package updates are installed, and then try again.

All The details and things I ran before do-release-upgrade

root@aurora:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.10
DISTRIB_CODENAME=oracular
DISTRIB_DESCRIPTION="Ubuntu 24.10"

root@aurora:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.10"
NAME="Ubuntu"
VERSION_ID="24.10"
VERSION="24.10 (Oracular Oriole)"
VERSION_CODENAME=oracular
ID=ubuntu
ID_LIKE=debian
HOME_URL="https-//www.ubuntu.com/"
SUPPORT_URL="https-//help.ubuntu.com/"
BUG_REPORT_URL="https-//bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https-//www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=oracular
LOGO=ubuntu-logo

root@aurora:~# distro-info --supported
jammy
noble

root@aurora:~# cat /etc/update-manager/release-upgrades
#... deleted boilerplate
Prompt=normal

root@aurora:~# cat /etc/apt/sources.list
# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources

root@aurora:~# cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb
URIs: http-/old-releases.ubuntu.com/ubuntu
Suites: oracular oracular-updates oracular-backports
Components: main restricted universe
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http-/old-releases.ubuntu.com/ubuntu
Suites: oracular-security
Components: main restricted universe
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

root@aurora:~# apt update
Hit:1 https-//advplyr.github.io/audiobookshelf-ppa ./ InRelease
Hit:2 https-//downloads.plex.tv/repo/deb public InRelease
Hit:3 http-/old-releases.ubuntu.com/ubuntu oracular InRelease
Hit:4 http-/old-releases.ubuntu.com/ubuntu oracular-updates InRelease
Hit:5 http-/old-releases.ubuntu.com/ubuntu oracular-backports InRelease
Hit:6 https-//ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu oracular InRelease
Hit:7 http-/old-releases.ubuntu.com/ubuntu oracular-security InRelease
All packages are up to date.

root@aurora:~# apt upgrade
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

root@aurora:~# sudo apt dist-upgrade -o APT::Get::Always-Include-Phased-Updates=true
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

root@aurora:~# sudo apt install update-manager-core
update-manager-core is already the newest version (1:24.10.9).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

root@aurora:~# sudo apt install --only-upgrade distro-info-data
distro-info-data is already the newest version (0.62ubuntu0.2).
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

root@aurora:~# sudo apt autoremove --purge
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

root@aurora:~# sudo snap refresh
All snaps up to date.

root@aurora:~# dpkg --list "distro-info-data"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version       Architecture Description
+++-================-=============-============-==========================================================
ii  distro-info-data 0.62ubuntu0.2 all          information about the distributions' releases (data files)

root@aurora:~# apt policy distro-info-data
distro-info-data:
  Installed: 0.62ubuntu0.2
  Candidate: 0.62ubuntu0.2
  Version table:
 *** 0.62ubuntu0.2 500
        500 http-/old-releases.ubuntu.com/ubuntu oracular-updates/main amd64 Packages
        500 http-/old-releases.ubuntu.com/ubuntu oracular-updates/main i386 Packages
        100 /var/lib/dpkg/status
     0.62 500
        500 http-/old-releases.ubuntu.com/ubuntu oracular/main amd64 Packages
        500 http-/old-releases.ubuntu.com/ubuntu oracular/main i386 Packages

root@aurora:~# ls /run/reboot-required
ls: cannot access '/run/reboot-required': No such file or directory

Any thoughts?

OSK popping up in clamshell mode even after I disable it https://askubuntu.com/questions/1568493/osk-popping-up-in-clamshell-mode-even-after-i-disable-it

OSK keeps popping up in clamshell mode on my Dell 2-in-1 laptop. So then I do Settings > Accessibility > Typing > Screen Keyboard > toggle off, and that persists across that session and even a restart, but the next day, the setting has flipped back to on! Block Caribou didn't work for me. This issue happens when I'm in clamshell mode and clicking into text boxes in certain apps, such as Terminal, Files, Settings, or Thunderbird, but not Bitwarden or VSCode. It also happens on the login screen.

Some commands I've ran:

  • gsettings get org.gnome.desktop.a11y.applications screen-keyboard-enabled → true (when the issue is present)
  • gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled false (then I checked the setting again and it was false, but still reverted later)
  • cat /sys/class/dmi/id/chassis_type → 31
  • cat /proc/acpi/button/lid/LID0/state → state: closed
  • grep -r "screen-keyboard" /etc/dconf/ → no output

Could someone please help me disable the OSK until I want to use it? Thanks so much!

System Details Report


Report details

  • Date generated: 2026-07-19 10:49:52

Hardware Information:

  • Hardware Model: Dell Inc. Dell Pro 14 Plus PB14255
  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ AI 5 PRO 340 w/ Radeon™ 840M × 12
  • Graphics: AMD Radeon™ 840M Graphics
  • Disk Capacity: 512.1 GB

Software Information:

  • Firmware Version: 1.16.0
  • OS Name: Ubuntu 24.04.4 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.17.0-1028-oem
grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Cannot allocate memory. while installing Ubuntu 26.04 https://askubuntu.com/questions/1568488/grub-install-warning-efivarfs-set-variable-writing-to-fd-9-failed-cannot-all

I was installing Ubuntu Desktop 26.04 onto my drive when an error came up saying something went wrong but it didn't know what. The logs showed errors like grub-install: warning: efivarfs_set_variable: writing to fd 9 failed: Cannot allocate memory.

My laptop is an Asus x1404za with 8GB of RAM, 128 GB of storage, and a 12th gen Intel Core i3. I've added an ax210 to it for my previous Linux installation.

I believe I have done everything right, although I am new to Linux.

ubuntu@ubuntu:~$ df -h /sys/firmware/efi/efivars
Filesystem      Size  Used Avail Use% Mounted on
efivarfs        128K  127K     0 100% /sys/firmware/efi/efivars
ubuntu@ubuntu:~$ █
Repeated corrupted files, but SMART reports no issues https://askubuntu.com/questions/1568481/repeated-corrupted-files-but-smart-reports-no-issues

I have a small server (Zotac ZBOX-AD06-U) running Ubuntu 24.04. Twice now it's had an entire series of corrupted files on the HDD. (This time it's affected apt such that apt --fix-broken install fails; I think a reinstall will be required regardless.) It'll hang at boot complaining that a manual fsck is needed, then give errors like "inode <inode id> seems to contain garbage". The SMART diagnostics aren't finding anything wrong.

  1. How can I tell if there's a hard drive problem doing this? What other troubleshooting can I do to try to narrow it down?

  2. What can I do to prevent it in the future?

SMART data is below. The short and long tests at 156xx hours was after this event, and I believe the two tests at the 86xx mark were last time this happened. (No telling how long it had inode errors between these two. It is very rarely rebooted.)

Model Family:     Toshiba L200 (SMR)
Device Model:     TOSHIBA HDWL120
Serial Number:    44BBPKQVT
LU WWN Device Id: 5 000039 cf2680683
Firmware Version: JT001A
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Zoned Device:     Device managed zones
Device is:        In smartctl database 7.3/5528
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jul 18 20:26:24 2026 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1623
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       15
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   061   061   000    Old_age   Always       -       15679
 10 Spin_Retry_Count        0x0033   100   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       14
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       1
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       1195817
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       46 (Min/Max 19/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   076   076   000    Old_age   Always       -       9859
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       271
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%     15682         -
# 2  Short offline       Completed without error       00%     15677         -
# 3  Extended offline    Completed without error       00%      8640         -
# 4  Short offline       Completed without error       00%      8634         -

(Edited to add long test results, Zbox model number.)

Fix boot partition out of space https://askubuntu.com/questions/1568471/fix-boot-partition-out-of-space

I am getting the apparently common problem of a boot partition with 0 space left. I have gone through the best links that I found so far, but with no luck resolving it (partly because I'm a noob).

How do I free up more space in /boot?

The autoremove command does not work because it needs to create files, but there is no space left to do so.

The sudo apt-get purge command also fails due to an attempt to create files again was met with no space left.

The boot partition is 2GB and attempting to expand partition doesn't work (using Disk Utility) because there is no non-filesystem free space left on the 2TB drive.

EDIT: Below is contents of the /boot folder, then the result of df -h. I am on "Ubuntu 26.04 LTS - Framework desktop". Is it safe to manually delete files listed as 7.0.0-15 (old kernels?) via sudo rm instead of purge which does not work (requires space)

Results of ls -1:

total 205328
-rw------- 1 root root 11001551 Apr 22 10:02 System.map-7.0.0-15-generic
-rw------- 1 root root 11001587 May 25 08:41 System.map-7.0.0-22-generic
-rw------- 1 root root 11010417 Jun 18 12:54 System.map-7.0.0-27-generic
-rw-r--r-- 1 root root   308479 Apr 22 10:02 config-7.0.0-15-generic
-rw-r--r-- 1 root root   308479 May 25 08:41 config-7.0.0-22-generic
-rw-r--r-- 1 root root   308501 Jun 18 12:54 config-7.0.0-27-generic
drwxr-xr-x 3 root root     4096 Dec 31  1969 efi
drwxr-xr-x 5 root root     4096 Jul 18 09:48 grub
lrwxrwxrwx 1 root root       27 Jul 18 10:49 initrd.img -> initrd.img-7.0.0-27-generic
-rw------- 1 root root 41375235 Jul 18 09:47 initrd.img-7.0.0-15-generic
-rw------- 1 root root 41343867 Jun 13 08:09 initrd.img-7.0.0-22-generic
-rw------- 1 root root 41393731 Jun 26 06:27 initrd.img-7.0.0-27-generic
lrwxrwxrwx 1 root root       31 Jul 18 10:49 initrd.img.old -> initrd.img-7.0.0-22-generic
drwx------ 2 root root    16384 Apr 24 18:55 lost+found
-rw-r--r-- 1 root root   156672 Nov 29  2025 mt86+ia32
-rw-r--r-- 1 root root   161280 Nov 29  2025 mt86+x64
drwxr-xr-x 9 root root     4096 Jul  6 07:52 timeshift
lrwxrwxrwx 1 root root       24 Jul 18 10:49 vmlinuz -> vmlinuz-7.0.0-27-generic
-rw------- 1 root root 17273344 Apr 22 10:02 vmlinuz-7.0.0-15-generic
-rw------- 1 root root 17275272 May 25 08:42 vmlinuz-7.0.0-22-generic
-rw------- 1 root root 17283464 Jun 18 13:19 vmlinuz-7.0.0-27-generic
lrwxrwxrwx 1 root root       28 Jul 18 10:49 vmlinuz.old -> vmlinuz-7.0.0-22-generic
eric-johnson@FrameworkDesktopEJ:/boot$

Results of df -h:

none                               1.0M     0 1.0M   0% /run/credentials/systemd-cryptsetup@dm_crypt\x2d0.service
/dev/mapper/ubuntu--vg-ubuntu--lv  1.8T  245G 1.5T  15% /
tmpfs                               16G     0  16G   0% /dev/shm
efivarfs                           148K  138K 5.9K  96% /sys/firmware/efi/efivars
none                               1.0M     0 1.0M   0% /run/credentials/systemd-journald.service
none                               1.0M     0 1.0M   0% /run/credentials/systemd-resolved.service
/dev/nvme1n1p2                     2.0G  1.9G    0 100% /boot
tmpfs                               16G  1.5M  16G   1% /tmp
/dev/nvme1n1p1                     1.1G  6.4M 1.1G   1% /boot/efi
tmpfs                              3.1G  5.5M 3.1G   1% /run/user/1000
/dev/sda1                          233G  1.5M 233G   1% /run/media/eric-johnson/250GB
/dev/nvme0n1                       1.8T   62G 1.7T   4% /run/media/eric-johnson/partitionDrive2
Built-in laptop screen very dim after an automatic Dell BIOS update (fwupd); external monitor is fine — Intel i915 https://askubuntu.com/questions/1568468/built-in-laptop-screen-very-dim-after-an-automatic-dell-bios-update-fwupd-ext

After a routine fwupd firmware update my laptop's built-in screen became very dim, even at "100%" brightness. An external monitor on the same machine looks completely normal.

  • Laptop: Dell Latitude 5430, Intel Iris Xe (Alder Lake, i915), internal eDP panel (AU Optronics).

  • OS: Ubuntu 24.04, GNOME.

  • Trigger: fwupd auto-flashed the Dell system BIOS from 1.36.0 to 1.39.1 (check with fwupdmgr get-history). The screen was fine before that.

What I already ruled out (none of these help):

  • Not a kernel regression — dim on every kernel I tried; the panel is only bright in recovery mode / with nomodeset (i.e. when i915 is not driving it).

  • Not gamma/ICCxrandr Brightness 1.0, Gamma 1.0, no VCGT in the ICC profile.

  • Not a software brightness slider/sys/class/backlight/intel_backlight reports brightness == actual_brightness == max_brightness (1023), yet the panel is dim.

  • Brightness keys only make it dimmer, never brighter.

  • Downgrading the BIOS is blocked: LVFS only offers 1.39.1, so fwupdmgr / GNOME Firmware cannot roll back.

How do I get the panel bright again without a BIOS downgrade?

Lubuntu 26.04 on HP Chromebook x2 - Trackpad not working correctly https://askubuntu.com/questions/1568431/lubuntu-26-04-on-hp-chromebook-x2-trackpad-not-working-correctly

Chromebook in question: HP Chromebook x2 - touchscreen tablet with detachable keyboard.

Following the guides on mrchromebox.tech, I was able to get Lubuntu installed. Everything is working great except the trackpad. The cursor "warps" to the corresponding location on the screen to wherever I touch the touchpad (if I touch the top left of the touchpad the cursor instantly moves to the top left of the screen) and it constantly clicks and drags as I move my finger around the touchpad.

Touchpad in question:

keyboard and mouse settings showing the touchpad on the Chromebook

I haven't used Linux in a decade or so so you'll have to excuse my ignorance. I used AI to give some bash commands for the below info. Let me know if I can provide more info.

user@chris-soraka:~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/platform/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=8000 10000000000000 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/pci0000:00/acpi.video_bus.0/input/input21
U: Uniq=
H: Handlers=kbd event10 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Intel Virtual Buttons"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/INT33D6:00/input/input22
U: Uniq=
H: Handlers=kbd event11 
B: PROP=0
B: EV=13
B: KEY=2000000000000 0 0 0 0 1000000000000 0 201c000000000000 0
B: MSC=10

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Intel Virtual Switches"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/INT33D6:00/input/input23
U: Uniq=
H: Handlers=event12 
B: PROP=0
B: EV=21
B: SW=2

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS HDMI HDMI/DP"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_hdaudio.22.auto/sound/card3/input24
U: Uniq=
H: Handlers=event13 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS HDMI HDMI/DP,pcm=1"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_hdaudio.22.auto/sound/card3/input25
U: Uniq=
H: Handlers=event14 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS HDMI HDMI/DP,pcm=2"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_hdaudio.22.auto/sound/card3/input26
U: Uniq=
H: Handlers=event15 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="AVS I2S ALC5663 Headset Jack"
P: Phys=ALSA
S: Sysfs=/devices/platform/avs_rt5663.21.auto/sound/card4/input27
U: Uniq=
H: Handlers=kbd event16 
B: PROP=0
B: EV=23
B: KEY=40 0 0 0 0 0 0 1000000000 c000000000000 0
B: SW=14

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input35
U: Uniq=
H: Handlers=mouse2 event5 
B: PROP=2
B: EV=1b
B: KEY=400 0 0 0 0 0
B: ABS=2f3800000000003
B: MSC=20

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 UNKNOWN"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input36
U: Uniq=
H: Handlers=event6 
B: PROP=0
B: EV=9
B: ABS=10000000000

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 Stylus"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input37
U: Uniq=
H: Handlers=mouse3 event7 
B: PROP=2
B: EV=1b
B: KEY=1c03 0 0 0 0 0
B: ABS=1000003
B: MSC=11

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 UNKNOWN"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input38
U: Uniq=
H: Handlers=mouse4 event8 
B: PROP=2
B: EV=1b
B: KEY=400 1 0 0 0 0
B: ABS=1000003
B: MSC=11

I: Bus=0018 Vendor=2d1f Product=4877 Version=0100
N: Name="WCOMCOHO:00 2D1F:4877 Mouse"
P: Phys=i2c-WCOMCOHO:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-WCOMCOHO:00/0018:2D1F:4877.0006/input/input39
U: Uniq=
H: Handlers=mouse5 event9 js0 
B: PROP=0
B: EV=1b
B: KEY=30000 0 0 0 0
B: ABS=3
B: MSC=10

I: Bus=0003 Vendor=18d1 Product=502b Version=0100
N: Name="Google Inc. Hammer"
P: Phys=usb-0000:00:14.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:18D1:502B.0007/input/input40
U: Uniq=3c002b000a57414739313320
H: Handlers=sysrq kbd event2 
B: PROP=0
B: EV=100013
B: KEY=1000000000007 ff800000000007ff febeffdfffefffff fffffffffffffffe
B: MSC=10

I: Bus=0003 Vendor=18d1 Product=502b Version=0100
N: Name="Google Inc. Hammer"
P: Phys=usb-0000:00:14.0-2/input2
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:18D1:502B.0008/input/input41
U: Uniq=3c002b000a57414739313320
H: Handlers=mouse1 event4 
B: PROP=7
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=673800001000003
B: MSC=20

I: Bus=0003 Vendor=046d Product=4080 Version=0111
N: Name="Logitech M350"
P: Phys=usb-0000:00:14.0-1/input1:1
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.1/0003:046D:C52F.000A/0003:046D:4080.000B/input/input42
U: Uniq=64-c1-67-36
H: Handlers=kbd mouse0 event3 
B: PROP=0
B: EV=1f
B: KEY=3f00733fff 0 0 483ffff17aff32d bfd4444600000000 ffff0001 130ff38b17d000 677bfad9415fed 19ed68000004400 10000002
B: REL=1943
B: ABS=100000000
B: MSC=10



user@chris-soraka:~$ # Kernel driver currently bound, and which .ko file it loaded from
modinfo hid_multitouch | grep filename
lsmod | grep hid_multitouch
filename:       /lib/modules/7.0.0-27-generic/kernel/drivers/hid/hid-multitouch.ko.zst
hid_multitouch         36864  0
hid                   278528  9 hid_google_hammer,i2c_hid,usbhid,hid_multitouch,hid_vivaldi_common,snd_soc_sdca,hid_generic,hid_logitech_dj,hid_logitech_hidpp



user@chris-soraka:~$ # udev's classification (touchpad vs touchscreen vs mouse)
udevadm info /dev/input/event4 | grep ID_INPUT
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_INPUT_TOUCHSCREEN=1
E: ID_INPUT_WIDTH_MM=100
E: ID_INPUT_HEIGHT_MM=57



user@chris-soraka:~$ # libinput's view of the device's capabilities
sudo libinput list-devices | grep -A18 "Google Inc. Hammer" | grep -A18 "Capabilities.*pointer"
Capabilities:            pointer touch 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        n/a
Calibration:             identity matrix
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none

System info:

  • Lubuntu 26.04 LTS
  • 7.0.0-27-generic kernel
Live patch works excellently - it just shows a red ! mark on the Panel https://askubuntu.com/questions/1535390/live-patch-works-excellently-it-just-shows-a-red-mark-on-the-panel

Opening Live Patch does not show any error, so why is there a red "!" mark on the shield icon in the Panel? I am using Ubuntu 22.04. I just restarted, and there are no errors on apt/snap level. nor on dpkg. Is this normal?

Noise when initiating play with handsfree https://askubuntu.com/questions/1506285/noise-when-initiating-play-with-handsfree

A loud tikk sound is played when starting with handsfree.

In each use of handsfree this problem occurs only once.

I don't have that problem with the speaker.

Audio:
 Device-1: Intel Haswell-ULT HD Audio driver: snd_hda_intel
 Device-2: Intel 8 Series HD Audio driver: snd_hda_intel
 API: ALSA v: k6.6.15-amd64 status: kernel-api
 Server-1: PipeWire v: 1.0.3 status: active
Why does Dolphin take forever to load on Kubuntu 20.04 all of a sudden? https://askubuntu.com/questions/1378721/why-does-dolphin-take-forever-to-load-on-kubuntu-20-04-all-of-a-sudden

I am using Ubuntu 20.04 with kde plasma. All of a sudden, my Dolphin file browser takes forever to open. Earlier it opened instantly, but now it is taking almost 30 seconds to start.

This seems to have started after an update; when I use kernel 5.11.0-38-generic there is no issue: the problem occurs when I use kernel 5.11.0-41-generic. In addition when on 5.41 the whole system seems to run slower.

When I run dolphin from the command line, there is no error output, and it is as slow as before to open.

I am using an Intel 4690k CPU with 16GB ram and SSD. I checked my drive health and it is fine.

Issue with display driver on HP Elitebook 820 G1 after upgrading to Xubuntu 20.04.2 LTS from Xubuntu 18.04.5 LTS https://askubuntu.com/questions/1322550/issue-with-display-driver-on-hp-elitebook-820-g1-after-upgrading-to-xubuntu-20-0

After doing the upgrade to Xubuntu 20.04.2 LTS from Xubuntu 18.04.5 LTS on my HP Elitebook 820 G1 I've had an issue with my screen going blank at random. I can't see anything interesting in journalctl or dmesg.

The only way I've found to wake up the screen is to close and open the laptop lid.

I've tried changing the power management settings, but it doesn't help.

I'm starting to suspect that this is an issue with the new display driver not being fully compatible with my computer.

A solution might be to downgrade the display driver to the version used in Xubuntu 18.04.5 LTS?

Would be happy for suggestions for a solution for this problem!


Workarounds

Waking the screen by turning on and off the display

This command wakes the screen again:

xrandr --output eDP-1 --off && xrandr --output eDP-1 --auto

Waking the screen by hibernating and back

A better workaround is to program the power button as "hibernate" and push it to hibernate and then again to wake up. This resets the screen and has the pro of not messing up what's on what screen which happens when I run the above command.

Monitor always starts zoomed in a little https://askubuntu.com/questions/1228635/monitor-always-starts-zoomed-in-a-little

Whenever I boot up, my monitor's settings are always zoomed in about at 10, out of a scale of 0-100.

It also happens if I turn my monitor off and on again.

If I change my Display settings to rotate my screen orientation from Landscape to Portrait and back, but not Landscape to Flipped Landscape and back.

And changing the Scale in the Display Settings menu doesn't mess up the Zoom again, either.

I have a Dell SP2208WFP, and my Monitors.xml looks like:

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>0</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-A-1</connector>
          <vendor>DEL</vendor>
          <product>SP2208WFP</product>
          <serial>RR268831CT0U</serial>
        </monitorspec>
        <mode>
          <width>1680</width>
          <height>1050</height>
          <rate>59.954250335693359</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

...

And now, Scale is reset to 1... Because I exited a fullscreen app or something?? Scale doesn't seem to affect the actual monitor, anyways. I change it with Display Settings to 125%, and it changes to 1.25 in monitor.xml, but nothing changes to the monitor itself.

...

It even happens in Recovery Mode, when I don't have a DISPLAY variable set.

...

But, it doesn't seem to happen if I connect through VGA instead of HDMI...


Still happens in 26.04 Ubuntu Desktop, Doesn't happen on my Windows 10 machine, and zoom level changes accordingly when I between them using a UGreen HDMI splitter (ACBUGN50966).

Doesn't happen on a boot, until after the spinny icon / booting screen refreshes. Not sure what the refreshing indicates, but something?

Rotate video by a keyboard shortcut in mpv https://askubuntu.com/questions/1212733/rotate-video-by-a-keyboard-shortcut-in-mpv

I am currently using Ubuntu 19.10 with the unity DE and I always use mpv to play videos in Ubuntu. As mpv has few GUI options, there is no GUI option to rotate a video, but we can rotate it with the help of the command line. For example, we can rotate a video by 90 degrees using the command below:

mpv --video-rotate=90 /home/guest/new_vdo.mp4

This way (using the terminal) however, I have to type the command every time I want to rotate the video.

How can we create a keyboard shortcut to rotate a video which is currently playing in mpv?

cryptsetup fails at decrypting logical partition: "Cannot use device /dev/sda5 which is in use (already mapped or mounted)" https://askubuntu.com/questions/989961/cryptsetup-fails-at-decrypting-logical-partition-cannot-use-device-dev-sda5-w

I've encountered a problem while I was trying to set an encrypted logical partition for personal data. All I did was formating some free space on the same hard disk I installed Kubuntu using the KDE Partition Manager. I read multiples guides online on how to decrypt and use the encrypted partition and pretty much everyone suggests to use the cryptsetup command, then mount the partition somewhere in / and it should be ready to use. The problem is that whenever I launch the cryptsetup command, I receive the following error:

Cannot use device /dev/sda5 which is in use (already mapped or mounted)

Here is the command I launched:

sudo cryptsetup open /dev/sda5 partition-enc --type=luks

A not really elegant workaround seemed to be "deactivate" the logical partition in the KDE Partition Manager to make the cryptsetup command execute without errors, however, even doing so, the mounting process will give a unknown filesystem type 'crypto_LUKS', which means the file system has not been decrypted successfully, I reckon.

Disclaimer: I already searched for similar questions and issues online of course, but no one seems to be solved. I don't know if I'm doing something wrong but no guides or discussion I found seems to take this problem into account.

passwd: permission denied error when trying to update a user's password https://askubuntu.com/questions/852056/passwd-permission-denied-error-when-trying-to-update-a-users-password

I just installed Ubuntu on a new machine and everything seemed to be going fine. I and a coworker were having some issues with a few things and have managed to lock-out a local admin (sudo?) account after unjoining an AD domain using realm while troubleshooting some McAfee issues were were having. I'm 99.9% certain that the password has not changed for the user. I have followed ALL the steps found here for resetting the password as root in recovery. When I try to run

sudo passwd USERNAME

I get the error:

root@hostname:~# sudo passwd USERNAME passwd:Permission denied passwd:password unchanged root@hostname:~#

When I try to do the steps for the "The Drastic Measures", I notice that the shadow file does not show what would usually indicate an encrypted password for the user. Instead it looks like:

username:!:14920:0:99999:7:::

I have removed the exclamation point and still have issues. Even when I run

passwd

as root through recovery, I get a permissions denied error. As it stands right now, I can only log into the machine as root through recovery. I'm at a complete loss at this point and trying to avoid breaking down the machine and starting from scratch. Any help you guys can provide would be greatly appreciated.

curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused when using Flask https://askubuntu.com/questions/824306/curl-7-failed-to-connect-to-127-0-0-1-port-5000-connection-refused-when-usin

I am following the Udacity course here: https://classroom.udacity.com/courses/ud388/lessons/4628431284/concepts/53174719510923

I am trying to run their python program using Flask. I started vagrant with vagrant ssh

I then tried to run that python file by typing python api_server.py. But when I go to http://0.0.0.0:5000/ on my browser, I get:

Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. 

Then I tried typing curl 'http://127.0.0.1:5000' in vagrant but got the error

vagrant@vagrant-ubuntu-trusty-32:~$ curl 'http://127.0.0.1:5000'
curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused

The api_server.py file is below:

#THIS IS A WEBSERVER FOR DEMONSTRATING THE TYPES OF RESPONSES WE SEE FROM AN API ENDPOINT
from flask import Flask
app = Flask(__name__)

#GET REQUEST

@app.route('/readHello')
def getRequestHello():
    return "Hi, I got your GET Request!"

#POST REQUEST
@app.route('/createHello', methods = ['POST'])
def postRequestHello():
    return "I see you sent a POST message :-)"
#UPDATE REQUEST
@app.route('/updateHello', methods = ['PUT'])
def updateRequestHello():
    return "Sending Hello on an PUT request!"

#DELETE REQUEST
@app.route('/deleteHello', methods = ['DELETE'])
def deleteRequestHello():
    return "Deleting your hard drive.....haha just kidding! I received a     DELETE request!"

if __name__ == '__main__':
    app.debug = True
    app.run(host='0.0.0.0', port=5000)  
LibreOffice Writer edited document is recognized as virus or spyware https://askubuntu.com/questions/590000/libreoffice-writer-edited-document-is-recognized-as-virus-or-spyware

I got MS word document, person asked me to edit it, to add table of contents, to add page numbers, because she doesn't know how to do in MS Office. So I did with LibreOffice writer. But when I saved (tried several filetypes, including: .doc, .docx, .odt) and send file back to her through facebook firefox and chrome showed error in download list saying

"Blocked: May contain a virus or spyware - "

And actually it says same thing when I download file which I sent and try to open it. And when I did edited this file second time, this time with windows and MS word, everything worked just fine.

So what's the problem here... Do I have virus which is unlikely, not even because I'm on linux, but I know how viruses works and I do not open suspicious files, I'm not going to suspicious websites and this ubuntu 14.04 LTS installed 2 weeks ago.

Something should be wrong with LibreOffice, right.. ?

Can't find any info on the internet about this issue...

And I can replicate this by creating new file with LibreOffice Writer, saved it in .odt with random text with two fonts, Times New Roman and LiberationSeriff, sent it via facebook and can not open it, same error...

Did some experiments and: it's Times New Roman font what caused the problem... What should I do? I need this font...

EDITED: So I turned off this blockage on firefox and I can download file and open it, haven't tried to open it in MS office yet, so not sure if it will work if something really wrong what libre does with MS fonts...

UPDATE: well... everything works in MS Office, nothing bad happened with fonts or document when I opened it. So everything works, but still, browser treats it as virus or spyware. :) I guess LibreOffice guys should know that...

What is the command to run System Settings from a terminal? https://askubuntu.com/questions/116655/what-is-the-command-to-run-system-settings-from-a-terminal

System Settings can be run from the launcher (pinned by default), the Dash, or the power cog. But what command would I enter in a terminal window if I want to run it from there?