Root Filesystem Optimization for Xilinx MPSoC https://askubuntu.com/questions/1560200/root-filesystem-optimization-for-xilinx-mpsoc

We are planning to migrate from PetaLinux to Ubuntu on our custom board based on the Xilinx MPSoC. We have successfully brought up the custom board using the certified minimal Ubuntu Desktop 22.04 image provided by AMD and Canonical (https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/1413611532/Canonical+Ubuntu), along with the required custom kernel changes, however we observed that the Ubuntu root filesystem size is quite large (approximately 7.2 GB total with about 4.7 GB used):

osboxes@osboxes:/mnt/shared$ df -h /tmp/rootfs 
Filesystem      Size  Used Avail Use% Mounted on 
/dev/loop0      7.0G  4.7G  2.0G  71% /tmp/rootfs

This appears to be due to the certified image being a minimal Desktop variant, which still includes GUI components, snap services, and other packages that are not required for our target platform.

For our custom board, we do not need the GUI or snap packages, and we would like to further reduce the rootfs footprint. We would appreciate your support in achieving this. We have the following questions:

  1. Can we further optimize the certified Ubuntu Desktop image? Specifically, which packages (e.g., GUI, snap) can be safely removed?

  2. Alternatively, should we use an Ubuntu Base image and add only the necessary components on top of it? If so, please advise which required packages should be included for a Xilinx MPSoC platform based on the certified Xilinux eval board, e.g. ZCU102.

Is the Snapdragon X Elite (ARM) ready for a daily web dev driver (LAMP stack, Node, Git) on Ubuntu 24.10/25.04? https://askubuntu.com/questions/1560199/is-the-snapdragon-x-elite-arm-ready-for-a-daily-web-dev-driver-lamp-stack-no

I am looking to purchase a new laptop and am considering a device with the Snapdragon X Elite (or Plus) ARM-based processor. My primary OS is Ubuntu, and I need to know if the current state of Ubuntu on this hardware is stable enough for a daily-driver web development workflow.

My specific questions are:

Hardware Support: I've read about the "Ubuntu Concept" builds for the X Elite. Is the support for things like WiFi, Audio, and Suspend/Resume reliable enough for daily use yet, or should I wait for the 25.04 release?

Dev Stack Compatibility: I work with the following tools daily. Do these run natively (ARM64) and perform well, or will I be forced to use x86 emulation?

  • LAMP Stack: Apache, MySQL, PHP (and PHPMyAdmin)
  • Node.js: NPM and Node ecosystem
  • Git

Browsers: I know Chromium has a native ARM build, but what is the current status of Google Chrome on Ubuntu ARM? Do I have to run the x86 version via emulation, and if so, is the performance acceptable for debugging heavy web apps?

VLC: Does hardware-accelerated video decoding work on these chips in Ubuntu yet?

I am comfortable troubleshooting minor Linux issues, but I cannot afford a system where my core development tools (servers and databases) are unstable or slow due to emulation.

Error message for downloading wireless drivers for MacBook Pro 2012 https://askubuntu.com/questions/1560198/error-message-for-downloading-wireless-drivers-for-macbook-pro-2012

I entered sudo apt-get install firmware-b43-installer and got this after a while (sorry copy paste from a screenshot.

A card known to work was found.
Unknown device(s) found: PCI id
Trying to install latest firmware 6.30.163.46 •
--2025-11-27 22:23:15-. https://www.lwfinger.com/b43-firmware/broadcom-wl-6.30.163.46. tar.bz2
Resolving www.lwfinger.com (www.lwfinger.com)... 104.21.94.197, 172.67.168.164, 2606:4700:30
0:: ac43:a804, ..•
Connecting to www.lwfinger.com (www.lwfinger.com) |104.21.94.197|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently Location: https://blueprintmegaways.com/ [following]
-- 2025-11-27 22:23:15-- https://blueprintmegaways.com/
Resolving blueprintmegaways.com (blueprintmegaways.com)... 172.67.176.218, 104.21.96.104, 26
6:4700:3036::6815:6068,...
Connecting to blueprintmegaways.com (blueprintmegaways.com) |172.67.176.218| :443... connected.
HTTP request sent, awaiting response... 200 0K
Length: unspecified [text/html]
Saving to: "broadcom-wl-6.30.163.46.tar.bz2" broadcom-wl -6.30.16
[<=
1 57.37K
-- . -KB/s
in 0.002s
2025-11-27 22:23:16 (23.8 MB/s) - 'broadcom-wl -6.30.163.46. tar.bz2' saved [58745]
broadcom-wl -6.30.163.46. tar.bz2: FAILED
sha512sum: WARNING: 1 computed checksum did NOT match /var/lib/dpkg/info/firmware-b43-installer postinst: 
Downloaded firmware did not match known SHA512 checksum, aborting.
dpkg: error processing package firmware-b43-installer (--configure):
installed firmware-b43-installer package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.12.0-4build2) •••
Errors were encountered while processing: firmware-b43- installer
E: Sub-process /us/bin/dpkg returned an error code (1)
Ubuntu locks up https://askubuntu.com/questions/1560195/ubuntu-locks-up

I have an install of ubuntu that will boot but locks up after about 1 minute. At the gnu grub boot menu the keyboard does double pushes so I am unable to select any selective boot options. I have a software raid on this which is why I'm trying to rescue this install. I have read that changing a resolution setting in the grub config can fix the double push issue, but it locks up too quick to be able to edit that. Does anyone have any ideas how to fix this?

X11 connection rejected because of wrong authentication on remote host (WSL) https://askubuntu.com/questions/1560192/x11-connection-rejected-because-of-wrong-authentication-on-remote-host-wsl

I need GUI under an SSH session to user@remote, so I run ssh -X user@remote. When I try to run any GUI app, I get an error:

X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:10.0

I've already followed many guides and edited my remote /etc/ssh/sshd_config:

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

And local /etc/ssh/ssh_config:

    ForwardAgent yes
    ForwardX11 yes
    ForwardX11Trusted yes

OS (WSL) is Ubuntu 22.04.5 LTS However, it was all in vain. Does anyone have a fix for this?

How can I enable macOS-style keyboard shortcuts on a MacBook running Ubuntu as its only OS https://askubuntu.com/questions/1560191/how-can-i-enable-macos-style-keyboard-shortcuts-on-a-macbook-running-ubuntu-as-i

I would like to install Ubuntu 25.10 as the exclusive OS on a old MacBook and would like to use macOS-style keyboard shortcuts — for example Command+C for copy, Command+V for paste, and Command+Tab to switch apps. Is there a way to make the Command (⌘) key behave like Ctrl system-wide in Ubuntu? Ideally a simple solution that works across all applications.

Sent to grub after attempting to boot Kubuntu https://askubuntu.com/questions/1560190/sent-to-grub-after-attempting-to-boot-kubuntu

I'm trying to switch to Kubuntu LTS 24.04 from Ubuntu after figuring out gnome does not have the ability to save application window positions and sizes unlike KDE. I downloaded the x64 iso from this download page. Ran the installer from the desktop and did a manual partitioning on two 2tb nvme drives from a live usb formatted with the Startup Disk Creator app. I had my primary drive partitioned with about 100gb of swap, 1000 MiB for the efi partition and the rest as storage; the secondary drive has been all partitioned as storage for games. Each drive's partitions were encrypted where possible. I tried to boot into the drive and got sent to grub and am unsure how to get out of it.

Things I tried:

I tried chainloading (hd1,gpt2)/efi/boot/bootx64.efi which didn't appear to do anything. I proceeded to exit into UEFI, put my live usb back in then took it out after it didn't show, restarted and booted into the usb to try and do an automatic partitioning instead to see if that would fix the grub issue but realized it was going to partition my drives in the exact same way I did. I went back into grub instead and noticed I can no longer use the exit command from grub as shown.

Update: exit command works again for some reason??

Tried searching for a grub file based off the answer to this question here: Stuck at GRUB command line. I did not find any grub file in the efi directory that's identical from the post but noticed rather something similar listed as (hd1,gpt2)/efi/ubuntu/grubx64. Is this what I'm supposed to chainload to get onto the desktop environment? I didn't want to do a forced shutdown in fear I might break things even more as I am relatively new to linux distros so I stopped here to ask.

What do I do?

Enable double-sided printing on HP printer https://askubuntu.com/questions/1560189/enable-double-sided-printing-on-hp-printer

I've been unable to enable to enable duplex printing on an HP LaserJet Pro MFP M130nw printer on a computer running Ubuntu 24.04 after reinstalling hplip (hplip-3.25.8).

This related answer states:

If you don't even have the "HPOption_Duplexer" option (e.g., lpoptions -l | fgrep -c Duplexer prints 0), then:

  1. either you have the incorrect printer description file configured (the so-called PPD),

  2. or you didn't check the "Duplex printing" option in the printer capabilities section.

To solve 1., the quickest path is probably to re-install the printer and choose the correct make/model combination.

To address 2., just open System -> Administration -> Printers, right-click on your printer and choose "Properties", then click on "Installed options" in the left pane and finally check the "Duplex printing" box on the right.

When I run:

lpoptions -l | fgrep -c Duplexer

It indeed prints 0.

I'm unable to implement the second solution, since System -> Administration -> Printers, right-click on your printer and choose "Properties", doesn't show me "Installed options" in the left pane.

As far as the first solution, I tried using hp-setup with the default options, but the problem persists.

I also tried updating the drivers as recommended in this answer. However, when I click Printers -> Select Printer -> Printer -> Properties -> Make and Model (HP LaserJet MFP m129-m134, hpcups 3.25.8) -> Change -> Choose Driver, and I select "Search for a printer driver to download, with the make and model listed as "HP LaserJet MFP m129-m134" and I click 'Search', the result in "Printer model" is "no matches found."

If, instead, in "Choose Driver", I click "Select Printer from Database", click "Forward" with the default selection of HP, click forward with the default selection of "LaserJet MFP m129-m134" for 'Models' and 'HP LaserJet MFP m129-m134, hpcups 3.25.8' for "Drivers", I get "Existing Settings" with the option to use the new PDD or try to copy the option settings from the old PDD. Neither one of these two options resolve the issue.

Relatedly, in Settings -> Printers, when I select the printer and click "printer details" and click "search for drivers," it says "No suitable driver found". It does give me the option to select drivers from a database, although I'm not sure which one(s) I'd need for this.

I also tried implementing some of the solutions listed here. Specifically, when I ran hp-check -t, it said "no errors or warnings", although it also said:

warning: Failed to read /etc/cups/ppd/HP_LaserJet_MFP_M129-M134_fax.ppd ppd file
PPD Description: 

I also tried using http://localhost:631/ but that didn't work.

Specifically, I navigated to it, clicked 'Printers', selected the printer, then under 'Maintenance' selected 'Set default options', but didn't see any "Options Installed" field, where I could select: Duplexer -> installed.

While I mostly tried printing from LibreOffice, the double-sided option doesn't seem available in a browser, either.

The printer, itself, is definitely capable of double-sided printing, and has done so from Windows. To clarify, the double-sided printing I have in mind would necessitate manually reloading, but I don't see the option for that.

Nvidia RTX 5060 won't open - BSOD https://askubuntu.com/questions/1560133/nvidia-rtx-5060-wont-open-bsod

I have recently installed Ubuntu 24.04 as a dual boot with Windows 10. Then I upgraded my graphics card and I can't open Ubuntu. All I get is a dual BSOD.

Hardware:

   16GB RAM
   AMD Ryzen 5 1600 6 Core
   Nvidia RTX 5060 8Gb replacing an Nvidia 1060
   Dual screen

Each instance runs on a separate SSD

The 5060 works fine in Windows

If I start it in straight mode in Ubuntu the dual fans go mad and neither screen works If I start it in safe mode (with nomodeset) the fans stay quiet but the dual BSOD remain.

I tried reinstalling the 1060 and updating the drivers to 570, but that does nothing n.b. I have no meaningful access after opening the boot sequence although I can change the grub file.

I need bluetooth help setting up a keychron K2 HE on Ubuntu 24 https://askubuntu.com/questions/1560099/i-need-bluetooth-help-setting-up-a-keychron-k2-he-on-ubuntu-24

Edited* I recently purchased a nice quiet Keychron K2 HE keyboard because I am learning Linux/Ubuntu and spend a lot of time typing. I was told that the Keychron K2 HE was a good choice by a rep at my local tech store. I did specifically mention I was purchasing it for use with Ubuntu 24.04.3 I was told that they work really well. HOWEVER.. Once I tried to set it up I was VERY disappointed that I could not connect the most basic of interfaces straight away. Especially after my conversation with the Store rep. I can use it with the wire attached, but I purchased a Bluetooth keyboard for a reason. Also It does work fine on my Win11 OS computer. I have tried using some command line to verify that the Bluetooth is enabled and running. It is running in dual mode, however I did try to run Legacy only and switched it back and forth to see if I could get it to run. NO GO. I also tried the dongle that comes in the package and it doesn't seem to work either. When I try to pair it tells me it failed to pair. Grok Ai told me that it is because of the sampling frequency of the keyboard but I tried to hook up with both 'types' of Bluetooth. In my search I could find very little helpful information to overcome this issue.

Edit I see now that the bluetooth firmware is not correct. IMC networks bluetooth module (realtek) is known to fail HID-over-GATT (HOGP) on Ubuntu 24.04 so it needs to be updated.

Determine why apt says "<package> is already the newest version" when `apt info -a` shows newer ones https://askubuntu.com/questions/1560084/determine-why-apt-says-package-is-already-the-newest-version-when-apt-info

I've run into an issue with a package and want to determine the root cause for the message "<package> is already the newest version"

In my case, it's containerd.io 1.7.25-1 from noble/stable.

# apt info containerd.io 
Package: containerd.io
Version: 1.7.25-1
Priority: optional
Section: devel
Maintainer: Containerd team <help@containerd.io>
Installed-Size: 121 MB
Provides: containerd, runc
Depends: libc6 (>= 2.38), libseccomp2 (>= 2.5.0)
Conflicts: containerd, runc
Replaces: containerd, runc
Homepage: https://containerd.io
Download-Size: 29.6 MB
APT-Manual-Installed: yes
APT-Sources: https://download.docker.com/linux/ubuntu noble/stable amd64 Packages

When I run apt info -a, I get these two packages which are also for noble/stable:

Package: containerd.io  
Version: 1.7.27-1  
Priority: optional  
Section: devel  
Maintainer: Containerd team \<help@containerd.io\>  
Installed-Size: 125 MB  
Provides: containerd, runc  
Depends: libc6 (\>= 2.38), libseccomp2 (\>= 2.5.0)  
Conflicts: containerd, runc  
Replaces: containerd, runc  
Homepage: https://containerd.io  
Download-Size: 30.5 MB  
APT-Sources: https://download.docker.com/linux/ubuntu noble/stable amd64 Packages  
Description: An open and reliable container runtime  
  
Package: containerd.io  
Version: 1.7.26-1  
Priority: optional  
Section: devel  
Maintainer: Containerd team \<help@containerd.io\>  
Installed-Size: 125 MB  
Provides: containerd, runc  
Depends: libc6 (\>= 2.38), libseccomp2 (\>= 2.5.0)  
Conflicts: containerd, runc  
Replaces: containerd, runc  
Homepage: https://containerd.io  
Download-Size: 30.3 MB  
APT-Sources: https://download.docker.com/linux/ubuntu noble/stable amd64 Packages  
Description: An open and reliable container runtime

Running apt install containerd.io gives:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
containerd.io is already the newest version (1.7.25-1).

Which information from/in apt gives me the hint why install thinks that these versions are not suitable?

[EDIT 1]

Output of apt-cache policy containerd.io:

containerd.io:
  Installed: 1.7.25-1
  Candidate: 1.7.25-1
  Version table:
     2.1.5-1~ubuntu.24.04~noble 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
     1.7.29-1~ubuntu.24.04~noble 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
     1.7.28-2~ubuntu.24.04~noble 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
     1.7.28-1~ubuntu.24.04~noble 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
     1.7.28-0~ubuntu.24.04~noble 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
     1.7.27-1 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
     1.7.26-1 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
 *** 1.7.25-1 100
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
        100 /var/lib/dpkg/status
     1.7.24-1 1
          1 https://download.docker.com/linux/ubuntu noble/stable amd64 Packages
[...]

[EDIT 2]

Contents of /etc/apt/preferences.d/docker-ce.pref:

Package: *
Pin: origin download.docker.com
Pin-Priority: 1

Package: docker-ce
Pin: origin download.docker.com
Pin-Priority: 500
Wireguard isn't connecting since upgrading to Questing https://askubuntu.com/questions/1559536/wireguard-isnt-connecting-since-upgrading-to-questing

I recently upgraded my laptop to Questing, and now for some reason my Wireguard can no longer connect to my server (Noble Numbat, 24.04.3). I upgraded by running "sudo do-release-upgrade" from the command line.

I have been running WireGuard for a couple of years. I originally installed it following the tutorial on linuxbabe.com, before Ubuntu had a GUI for it. Once I upgraded to Questing, the GUI self-populated... and that's when the problem began.

There are some differences between the GUI and the wg-client0.conf on my laptop. The GUI shows the server at its external IP; wg-client0.conf shows the endpoint at the IP address on my home LAN. In the GUI the Allowed IPs is 0.0.0.0/32, and when I try to change it to 0.0.0.0/0 it automatically reverts to the old value.

Here's /etc/wireguard/wg-client0.conf:

[Interface]
Address = 10.10.10.2/24
PrivateKey = 
[Peer]
PublicKey = ru33Go6e8fkBVNQfl/xZLQ/RKDH3mWYJyJPzs+pCCVU=
AllowedIPs = 0.0.0.0/0
Endpoint = 192.168.1.10:51820
PersistentKeepalive = 25

Please excuse the double-spacing.

Canon printer driver cnijfilter2-5.90-1-deb fails to install on 25.10 with dependecy on libxml2 https://askubuntu.com/questions/1558980/canon-printer-driver-cnijfilter2-5-90-1-deb-fails-to-install-on-25-10-with-depen

I have a brand new Xubuntu 25.10 system. Canon printer driver cnijfilter2-5.90-1-deb fails to install with dependency on libxml2.

The install.sh script says it wants libxml2 >= 2.7.4 But dpkg appears to show libxml2 2.14.5+dfsg-0.2 which is higher than 2.7.4

This worked on all earlier versions of *ubuntu that I've tried. 25.04, 24.10, even 16.04.

Typescript from the installation is below.

If anyone can suggest a solution, I'd appreciate any hints or tips.

Thank you for reading this

leon
# cat /etc/os-release
PRETTY_NAME="Ubuntu 25.10"
 . . .

# cd cnijfilter2-5.90-1-deb

# ./install.sh
==================================================

Canon Inkjet Printer Driver
Version 5.90
Copyright CANON INC. 2001-2019

==================================================
Command executed = sudo dpkg -iG ./packages/cnijfilter2_5.90-1_amd64.deb
Selecting previously unselected package cnijfilter2.
 . . .
Preparing to unpack .../cnijfilter2_5.90-1_amd64.deb ...
Unpacking cnijfilter2 (5.90-1) ...
dpkg: dependency problems prevent configuration of cnijfilter2:
 cnijfilter2 depends on libxml2 (>= 2.7.4); however:
  Package libxml2 is not installed.

dpkg: error processing package cnijfilter2 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cnijfilter2
Command executed = sudo dpkg -P cnijfilter2
 . . .
Removing cnijfilter2 (5.90-1) ...
Purging configuration files for cnijfilter2 (5.90-1) ...
Processing triggers for libc-bin (2.42-0ubuntu3) ...

# dpkg -l | grep --colour=never xml2
ii  libxml-libxml-perl                       2.0207+dfsg+really+2.0207-0ubuntu6         amd64        Perl interface to the libxml2 library
ii  libxml2-16:amd64                         2.14.5+dfsg-0.2                            amd64        GNOME XML library
ii  libxml2-utils                            2.14.5+dfsg-0.2                            amd64        GNOME XML library - utilities
ii  python3-libxml2                          2.14.5+dfsg-0.2                            amd64        GNOME XML library - Python3 bindings
ii  python3-lxml:amd64                       6.0.1-1                                    amd64        pythonic binding for the libxml2 and libxslt libraries
Screen problem on Ubuntu 24.04.1 LTS https://askubuntu.com/questions/1540735/screen-problem-on-ubuntu-24-04-1-lts

I have a fresh install of Ubuntu 24.04 LTS on computer with internal RocketLake-S GT1 [Intel UHD Graphics 730]. (I tried Ubuntu 22.04 from USB flash with the same result).

The problem is that after ~5 seconds of idle, the screen (even login screen) begin to blink until I move a mouse or begin to type. It looks like screen changes the refresh rate to unsupported one and loose the Sync.

In Settings/Display I have three options: 60, 59.93 and 50 Hz. First two works fine, but 50Hz results in the same blinking (that's why I think about switching refresh rate).

Could anyone help?

I tried to make a *.conf file in /etc/X11/xorg.conf.d/ but without visible effect (may be I did something wrong). And I don't understand why Settings/Display suggests 50Hz, while xrandr do not display such frequency?

I also tried to add "nomodeset i915.enable_dc=0 intel_idle.max_cstate=2" to GRUB_CMDLINE_LINUX_DEFAULT in grub - without result

Sound crackling through HDMI [duplicate] https://askubuntu.com/questions/1537857/sound-crackling-through-hdmi

Hi i'm struggle with sound crackling only through HDMI. I know there is a lot of solutions on internet but i think i tried everything and nothing works for me.

I work on Ubuntu 24.04.1 LTS

with Pipewire:

  • Server path: /run/user/1000/pulse/native
  • Library protocol version: 35
  • Server protocol version: 35
  • Is local: yes
  • Client index: 114
  • Tile size: 65472
  • Server name: PulseAudio (on PipeWire 1.0.5)
  • Server version: 15.0.0
  • Default sample format: float32le 2 ch 48000 Hz
  • Default channel map: front-left, front-right
  • Default sink: alsa_output.pci-0000_00_1b.0.analog-stereo
  • Default source: alsa_input.pci-0000_00_1b.0.analog-stereo
  • Cookie: 5cfd:8a68

Everything about my hardware:

==========================================================
                                system         GS60 2PC Ghost (To be filled by O.E.M.)
/0                              bus            MS-16H2
/0/1                            memory         64KiB BIOS
/0/3e                           processor      Intel(R) Core(TM) i7-4700HQ CPU @ 2.40GHz
/0/3e/3f                        memory         1MiB L2 cache
/0/3e/40                        memory         256KiB L1 cache
/0/3e/41                        memory         6MiB L3 cache
/0/42                           memory         16GiB System Memory
/0/42/0                         memory         8GiB SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
/0/42/1                         memory         8GiB SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
/0/100                          bridge         Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
/0/100/1                        bridge         Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
/0/100/1/0                      display        GK104M [GeForce GTX 860M]
/0/100/2             /dev/fb0   display        4th Gen Core Processor Integrated Graphics Controller
/0/100/3             card1      multimedia     Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
/0/100/3/0           input18    input          HDA Intel HDMI HDMI/DP,pcm=3
/0/100/3/1           input19    input          HDA Intel HDMI HDMI/DP,pcm=7
/0/100/3/2           input20    input          HDA Intel HDMI HDMI/DP,pcm=8
/0/100/14                       bus            8 Series/C220 Series Chipset Family USB xHCI
/0/100/14/0          usb3       bus            xHCI Host Controller
/0/100/14/0/2        input10    input          Logitech USB Receiver System Control
/0/100/14/1          usb4       bus            xHCI Host Controller
/0/100/16                       communication  8 Series/C220 Series Chipset Family MEI Controller #1
/0/100/1a                       bus            8 Series/C220 Series Chipset Family USB EHCI #2
/0/100/1a/1          usb1       bus            EHCI Host Controller
/0/100/1a/1/1                   bus            Integrated Rate Matching Hub
/0/100/1a/1/1/3                 communication  Bluetooth wireless interface
/0/100/1b            card0      multimedia     8 Series/C220 Series Chipset High Definition Audio Controller
/0/100/1b/0          input14    input          HDA Intel PCH Mic
/0/100/1b/1          input15    input          HDA Intel PCH Headphone
/0/100/1c                       bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #1
/0/100/1c.2                     bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #3
/0/100/1c.3                     bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #4
/0/100/1c.3/0        enp4s0     network        Killer E220x Gigabit Ethernet Controller
/0/100/1c.4                     bridge         8 Series/C220 Series Chipset Family PCI Express Root Port #5
/0/100/1c.4/0        wlp5s0     network        Wireless 7260
/0/100/1d                       bus            8 Series/C220 Series Chipset Family USB EHCI #1
/0/100/1d/1          usb2       bus            EHCI Host Controller
/0/100/1d/1/1                   bus            Integrated Rate Matching Hub
/0/100/1d/1/1/8                 input          MSI EPF USB
/0/100/1f                       bridge         HM87 Express LPC Controller
/0/100/1f/0                     system         PnP device PNP0c01
/0/100/1f/1                     system         PnP device PNP0c02
/0/100/1f/2                     system         PnP device PNP0b00
/0/100/1f/3                     generic        PnP device INT3f0d
/0/100/1f/4                     system         PnP device PNP0c02
/0/100/1f/5                     generic        PnP device ETD0301
/0/100/1f/6                     generic        PnP device MSI0007
/0/100/1f/7                     system         PnP device PNP0c02
/0/100/1f.2          scsi0      storage        82801 Mobile SATA Controller [RAID mode]
/0/100/1f.2/0.0.0    /dev/sda   disk           1TB SPCC M.2 SSD
/0/100/1f.2/0.0.0/1             volume         99MiB Windows FAT volume
/0/100/1f.2/0.0.0/2  /dev/sda2  volume         15MiB reserved partition
/0/100/1f.2/0.0.0/3  /dev/sda3  volume         500GiB Windows NTFS volume
/0/100/1f.2/0.0.0/4  /dev/sda4  volume         532MiB Windows NTFS volume
/0/100/1f.2/0.0.0/5  /dev/sda5  volume         430GiB EXT4 volume
/0/100/1f.3                     bus            8 Series/C220 Series Chipset Family SMBus Controller
/1                              power          To Be Filled By O.E.M.
/2                   input0     input          Lid Switch
/3                   input1     input          Power Button
/4                   input13    input          MSI WMI hotkeys
/5                   input16    input          Video Bus
/6                   input17    input          Video Bus
/7                   input2     input          Power Button
/8                   input3     input          AT Translated Set 2 keyboard
/9                   input5     input          ETPS/2 Elantech Touchpad

What i tried

  • downgrade to PulseAudio
  • add load-module module-udev-detect tsched=0 to /etc/pulse/default.pa
  • add options snd-hda-intel vid=8086 pid=8ca0 snoop=0 to /etc/modprobe.d/alsa-base.conf this snoop disables hdmi audio option
  • change default-sample-rate = 48000 and others in /etc/pulse/daemon.conf
  • work with GRUB_CMDLINE_LINUX_DEFAULT=loglevel=3 snd-intel-dspcfg.dsp_driver=3 quiet in /etc/default/grub

None of above helped me. Maybe i done something wrong but that's why im asking You.

What i notice through fighting with a problem

  • audio is slightly better on HDMI 5.1 (not base one) but it's more quiet
  • have dual boot and using same TV, laptop & HDMI cable works on Windows
  • movies on YouTube (i think movies on hard drive too) are playback faster, i believe audio is not matching with video and something wrong going on there
  • everything works fine on Ubuntu 22 but i don't know if the problem come after upgrade or before

And i think most important Each time i try to play sound through HDMI i get this error on service status - maybe thats the case but i couldn't find any solution for this.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-01-11 18:27:02 CET; 7min ago
TriggeredBy: ● pipewire.socket
   Main PID: 3805 (pipewire)
      Tasks: 3 (limit: 19009)
     Memory: 9.8M (peak: 10.2M)
        CPU: 4.370s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─3805 /usr/bin/pipewire

sty 11 18:32:36 User pipewire[3805]: spa.alsa: hdmi:1p: (1 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:32:39 User pipewire[3805]: spa.alsa: hdmi:1p: (0 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:32:51 User pipewire[3805]: spa.alsa: hdmi:1p: (0 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:33:00 User pipewire[3805]: spa.alsa: hdmi:1p: (0 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:33:03 User pipewire[3805]: spa.alsa: hdmi:1p: (0 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:33:11 User pipewire[3805]: spa.alsa: hdmi:1p: (0 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:33:15 User pipewire[3805]: spa.alsa: hdmi:1p: (2 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:33:21 User pipewire[3805]: spa.alsa: hdmi:1p: (0 suppressed) snd_pcm_avail after recover: Broken pipeline
sty 11 18:33:25 User pipewire[3805]: spa.alsa: hdmi:1p: (1 suppressed) snd_pcm_avail after recover: Przerwany potok
sty 11 18:33:31 User pipewire[3805]: spa.alsa: hdmi:1p: (2 suppressed) snd_pcm_avail after recover: Przerwany potok

I can't sleep because of that. I changed to Pulse Audio and have the same problem and a similar error:

pulseaudio[1224]: ALSA woke us up to read new data from the device, but there was actually nothing to read.
pulseaudio[1224]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
pulseaudio[1224]: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

If pipewire and pulseaudio have the same issue maybe ALSA is a problem, but on the other hand pipewire works with pulseaudio, so i'm not sure about that.


Can't sleep because of that, i changed to Pulse audio and have the same problem and similar error:

pulseaudio[1224]: ALSA woke us up to read new data from the device, but there was actually nothing to read.
pulseaudio[1224]: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
pulseaudio[1224]: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Soo if pipewire and pulseaudio have the same issue maybe ALSA is a problem? But from other hand pipewire works with pulseaudio soo not sure about that.

Installer keeps disappearing on dual boot installation https://askubuntu.com/questions/1534661/installer-keeps-disappearing-on-dual-boot-installation

When installing the latest download of Ubuntu Desktop 24.04.1 on a machine that already has a Windows 10 installation, during filling in the installation wizard with the information, on the left suddenly mounted disks appear and the installer disappears. This makes it impossible to install Ubuntu 24.04.1.

The windows 10 installation is GPT, fast boot is disabled and UEFI enabled. Installing Ubuntu 22.04 works just fine but installing an older version and updating it to 24.04 is not my preferred way of installing.

Any help would be appreciated.

Why do I hear crackling sounds on Ubuntu 24.04? How can I fix it? https://askubuntu.com/questions/1525336/why-do-i-hear-crackling-sounds-on-ubuntu-24-04-how-can-i-fix-it

I have recently switched over to Ubuntu 24.04 and I hear crackling sounds more often why is it and how can I fix it?

Ubuntu 22.04 unable to communicate with scanner https://askubuntu.com/questions/1432524/ubuntu-22-04-unable-to-communicate-with-scanner

i know there are a lot of question about setting up epson scanners on ubuntu but i tried for days now and i cannot get it fixed - so here is my setup and problem:

Ubuntu 22.04.1 LTS, 64-bit

#I installed this driver bundle from epson via shell script: epsonscan2-bundle-6.6.42.0.x86_64.deb

**#if i use ImageScan for Linux 2.30.4 the scanner works fine -

**#but if i try to scan now with Epson Scan 2 i get: Unable to communicate with the scanner. Make sure the scanner is connected to the computer and turned on.

#and with Document Scan: Unable to connect to Scanner.

#i tried to find the scanner via terminal and i think its fine:

#sudo sane-find-scanner

sane-find-scanner will now attempt to detect your scanner. If the result is different from what you expected, first make sure your scanner is powered up and properly connected to your computer. No SCSI scanners found. If you expected something different, make sure that you have loaded a kernel SCSI driver for your SCSI adapter.

found possible USB scanner (vendor=0x147e [UPEK], product=0x2016 [Biometric Coprocessor]) at libusb:001:003 found possible USB scanner (vendor=0x04b8 [EPSON], product=0x0130 [EPSON Scanner]) at libusb:001:006 Your USB scanner was (probably) detected. It may or may not be supported by SANE. Try scanimage -L and read the backend's manpage.

Not checking for parallel port scanners.

Most Scanners connected to the parallel port or other proprietary ports can't be detected by this program.

#sudo scanimage -L

Created directory: /var/lib/snmp/cert_indexes

device `escl:http://192.168.0.142:8080' is a HP ENVY 5530 series [D3AB79] platen scanner

device `epsonscan2:EPSON Scanner:001:006:esci2:usb:ES007C:304' is a EPSON EPSON

Scanner:001:006 flatbed scanner

device `epkowa:interpreter:001:006' is a Epson Perfection V500 flatbed scanner

device `hpaio:/net/envy_5530_series?ip=192.168.0.142&queue=false' is a Hewlett-Packard

envy_5530_series all-in-one

device `airscan:e0:HP ENVY 5530 series [D3AB79]' is a eSCL HP ENVY 5530 series [D3AB79]

ip=192.168.0.142, 2a02:810d:980:1870:727a:ac6e:8e61:8de5

#i read a post about setting up a scanner group but it doesnt tell me how and i dont know #if its my problem ?!

#when i list up my groups i get these results:

thymolect@Thymolector:~/Downloads/epsonscan2-bundle-6.6.42.0.x86_64.deb$ groups

thymolect adm cdrom sudo dip plugdev lpadmin lxd sambashare

#thymolect@Thymolector:~/Downloads/epsonscan2-bundle-6.6.42.0.x86_64.deb$ cat /etc/group

root:x:0:

daemon:x:1:

bin:x:2:

sys:x:3:

adm:x:4:syslog,thymolect

tty:x:5:

disk:x:6:

lp:x:7:

mail:x:8:

news:x:9:

uucp:x:10:

man:x:12:

proxy:x:13:

kmem:x:15:

dialout:x:20:

fax:x:21:

voice:x:22:

cdrom:x:24:thymolect

floppy:x:25:

tape:x:26:

sudo:x:27:thymolect

audio:x:29:pulse

dip:x:30:thymolect

www-data:x:33:

backup:x:34:

operator:x:37:

list:x:38:

irc:x:39:

src:x:40:

gnats:x:41:

shadow:x:42:

utmp:x:43:

video:x:44:

sasl:x:45:

plugdev:x:46:thymolect

staff:x:50:

games:x:60:

users:x:100:

nogroup:x:65534:

systemd-journal:x:101:

systemd-network:x:102:

systemd-resolve:x:103:

crontab:x:104:

messagebus:x:105:

systemd-timesync:x:106:

input:x:107:

sgx:x:108:

kvm:x:109:

render:x:110:

syslog:x:111:

tss:x:112:

bluetooth:x:113:

ssl-cert:x:114:

uuidd:x:115:

systemd-oom:x:116:

tcpdump:x:117:

_ssh:x:118:

avahi-autoipd:x:119:

netdev:x:120:

avahi:x:121:

lpadmin:x:122:thymolect

rtkit:x:123:

whoopsie:x:124:

sssd:x:125:

nm-openvpn:x:126:

scanner:x:127:saned

saned:x:128:

colord:x:129:

geoclue:x:130:

pulse:x:131:

pulse-access:x:132:

gdm:x:133:

lxd:x:134:thymolect

thymolect:x:1000:

sambashare:x:135:thymolect

#Can anyone help me plz ?!

thanks <3

.sh executable asking for definition for INSTALL4J_JAVA_HOME path to jvm https://askubuntu.com/questions/1370461/sh-executable-asking-for-definition-for-install4j-java-home-path-to-jvm

I want to run a .sh executable to install software but when I try to execute the file using ./<fileName> in my terminal, following error message appears:

No suitable Java Virtual Machine could be found on your system. The version of the JVM must be 1.8. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

  1. How does one check the JVM version on the device?
  2. If the JVM isn't version 1.8, how can one install JVM 1.8?
  3. How does one define INSTALL4J_JAVA_HOME to point to the JVM?
How to reduce height of bars in Firefox https://askubuntu.com/questions/1355169/how-to-reduce-height-of-bars-in-firefox

I am running Firefox 90.0 on Ubuntu Mate 18.04 32-bit.

It seems that Firefox's tabs and menu bar are optimized for smartphones, as they are twice as high as the bars of all other programs.

My netbook has a small screen, and so I'd like to reduce them to ordinary size.

How/is that possible?

How to make rsync delete files in the destination folder that has been deleted in the source with shell glob? https://askubuntu.com/questions/1276865/how-to-make-rsync-delete-files-in-the-destination-folder-that-has-been-deleted-i

I'm trying to collect files periodically from multiple sources into a single file dest. To save copies I tried using rsync but I have a bit of a trouble. Let's say I want to copy some files from folders:

"/var/log/dir2/*.cert",
"/var/log/dir1",

The thing is, lets say /var/log/dir2 contain 2 cert files (file1, file2). I sync them once:

 rsync -av /var/log/dir2/*.cert  /tmp/dest --delete-before

Great, now dest contain file1.cert and file2.cert now:

rm /var/log/dir2/file1.cert

sync again:

rsync -av /var/log/dir2/*.cert  /tmp/dest --delete-before

I would expect dest to contain only file2.cert, that is file1.cert to be deleted just like in the source dir but it doesn't happen.. why is that? How can I make it work?

Set Max TDP of Intel H-series CPU https://askubuntu.com/questions/1226254/set-max-tdp-of-intel-h-series-cpu

I am searching for some program which deals with setting the max TDP of the CPU like we do in Intel XTU on Windows. I am able to undervolt the CPU with this project. I can also monitor the TDP of the CPU using this excellent project. I have searched the Internet for any such program but couldn't find one.

EDIT 1:

My system has a Core i7-9750H CPU with max TDP set by OEM at 60 Watts, running on Ubuntu 18.04LTS with kernel 4.18.20-041820-generic.

EDIT 2

I have updated my kernel to 5.3.0-46-generic (signed) and the output of sudo turbostat --Summary --interval 5 --show Avg_MHz,Busy%,Bzy_MHz,IRQ,PkgTmp,PkgWatt,GFXWatt is as follows:

...
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x00000168 (45 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x42835800dd8230 (UNlocked)
cpu0: PKG Limit #1: ENabled (70.000000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (107.000000 Watts, 0.002441* sec, clamp DISabled)
...

And the output of rdmsr --bitfield 14:0 -d 0x610 is 560. Which means that the max output is 0.125 * 560 = 70 Watts

The output of sudo rdmsr 0x610 is 42835800dd8230.

Could you please elaborate more regarding the calculation @doug-smythies

Executing scripts after start X server https://askubuntu.com/questions/949322/executing-scripts-after-start-x-server

I need to run a 24 by 7 batch program. On power failures I already configured Ubuntu Server 14.04 to power up as soon as energy is back, auto login and start the program.

The process is based on GPU power and get better results with overclock. I was able to do it configuring xorg.conf and executing xinit. When I do that, the screen go white and the command line disapear. I used a remote SSH client to execute "overclock.sh" and start the program and it worked.

My question is that as I won't be able to use the remote client every time, how can I execute others scripts after executing xinit?

CRTL+ALT+F1 return to command line, but how use that on startup script?

I would like to execute on startup: - xinit; - overclock.sh; - start_program.sh;

Update 08/27/2017: Right now, I'm understanding more what is happening:

  1. I'm in the console environment tty1.

  2. When run "xinit" it open a rough screen on tty7.

  3. By pressing CRTL+ALT+F1 I go back to terminal tty1 but is stucked on the "xinit" command. That is why, the .bash-login script don't execute any other command after.

  4. By pressing CTRL+C it stops the tty7 environment and the overclocked don't work.

  5. Now the most strange part: If I press CTRL+Z, I return the control, the overclock works, but when I run the program, only GPU0 start to work.

  6. Also tried "setsid xinit &> /dev/null" and again, everything seens perfect, but only GPU0 work.

7 Another approach: in the rough screen, tty7, I click with the mouse on the upper command line, type overclock.sh and it works. All 8 gpus work nicely. This seems to be more closely to be the answer.

How can I make a batch file to execute commands soon as the tty7 go up?

Update 08/28/2017:

I solved. The magic was study the xterm called from xinit. It receive the parameter -e "command". Put the script as command.

fcitx input method does not work on Xubuntu 16.04 https://askubuntu.com/questions/843698/fcitx-input-method-does-not-work-on-xubuntu-16-04

I'm using Xubuntu 16.04. Although I active fcitx input method (Unikey and Hangul), It does not works for all application.

Here is my fcitx-diagnose

# System Info:
1.  `uname -a`:

        Linux 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

2.  `lsb_release -a`:

        No LSB modules are available.
        Distributor ID: Ubuntu
        Description:    Ubuntu 16.04 LTS
        Release:    16.04
        Codename:   xenial

3.  `lsb_release -d`:

        Description:    Ubuntu 16.04 LTS

4.  `/etc/lsb-release`:

        DISTRIB_ID=Ubuntu
        DISTRIB_RELEASE=16.04
        DISTRIB_CODENAME=xenial
        DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

5.  `/etc/os-release`:

        NAME="Ubuntu"
        VERSION="16.04 LTS (Xenial Xerus)"
        ID=ubuntu
        ID_LIKE=debian
        PRETTY_NAME="Ubuntu 16.04 LTS"
        VERSION_ID="16.04"
        HOME_URL="http://www.ubuntu.com/"
        SUPPORT_URL="http://help.ubuntu.com/"
        BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
        UBUNTU_CODENAME=xenial

6.  Desktop Environment:

    Desktop environment is `xfce`.

7.  Bash Version:

        BASH_VERSION='4.3.42(1)-release'

# Environment:
1.  DISPLAY:

        DISPLAY=':0.0'

2.  Keyboard Layout:

    1.  `setxkbmap`:

            xkb_keymap {
                xkb_keycodes  { include "evdev+aliases(qwerty)" };
                xkb_types     { include "complete"  };
                xkb_compat    { include "complete"  };
                xkb_symbols   { include "pc+us+inet(evdev)" };
                xkb_geometry  { include "pc(pc105)" };
            };

    2.  `xprop`:

            _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "us", "", ""

3.  Locale:

    1.  All locale:

            C
            C.UTF-8
            en_AG
            en_AG.utf8
            en_AU.utf8
            en_BW.utf8
            en_CA.utf8
            en_DK.utf8
            en_GB.utf8
            en_HK.utf8
            en_IE.utf8
            en_IN
            en_IN.utf8
            en_NG
            en_NG.utf8
            en_NZ.utf8
            en_PH.utf8
            en_SG.utf8
            en_US.utf8
            en_ZA.utf8
            en_ZM
            en_ZM.utf8
            en_ZW.utf8
            ko_KR.utf8
            POSIX

    2.  Current locale:

            LANG=en_US.UTF-8
            LANGUAGE=en_US
            LC_CTYPE="en_US.UTF-8"
            LC_NUMERIC=en_US.UTF-8
            LC_TIME=en_US.UTF-8
            LC_COLLATE="en_US.UTF-8"
            LC_MONETARY=en_US.UTF-8
            LC_MESSAGES="en_US.UTF-8"
            LC_PAPER=en_US.UTF-8
            LC_NAME=en_US.UTF-8
            LC_ADDRESS=en_US.UTF-8
            LC_TELEPHONE=en_US.UTF-8
            LC_MEASUREMENT=en_US.UTF-8
            LC_IDENTIFICATION=en_US.UTF-8
            LC_ALL=

4.  Directories:

    1.  Home:

            /home/trongkha

    2.  `${XDG_CONFIG_HOME}`:

        Environment variable `XDG_CONFIG_HOME` is not set.

        Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/trongkha/.config`).

    3.  Fcitx Settings Directory:

        Current fcitx settings directory is `~/.config/fcitx` (`/home/trongkha/.config/fcitx`).

5.  Current user:

    The script is run as trongkha (1000).

# Fcitx State:
1.  executable:

    Found fcitx at `/usr/bin/fcitx`.

2.  version:

    Fcitx version: `4.2.9.1`

3.  process:

    Found 3 fcitx processes:

        19239 fcitx
        24544 fcitx
        25691 fcitx-dbus-watc

4.  `fcitx-remote`:

    `fcitx-remote` works properly.

# Fcitx Configure UI:
1.  Config Tool Wrapper:

    Found fcitx-configtool at `/usr/bin/fcitx-configtool`.

2.  Config GUI for gtk2:

    **Config GUI for gtk2 not found.**

3.  Config GUI for gtk3:

    Found `fcitx-config-gtk3` at `/usr/bin/fcitx-config-gtk3`.

4.  Config GUI for kde:

    **`kcmshell4` not found.**

# Frontends setup:
## Xim:
1.  `${XMODIFIERS}`:

    **XMODIFIERS is not set**

    **Please set environment variable XMODIFIERS to "@im=fcitx" using the tool your distribution provides or add `export XMODIFIERS=@im=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: XMODIFIERS](http://fcitx-im.org/wiki/Input_method_related_environment_variables#XMODIFIERS).**
    Xim Server Name from Environment variable is fcitx.

2.  XIM_SERVERS on root window:

    Xim server name is the same with that set in the environment variable.

## Qt:
1.  qt4 - `${QT4_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

2.  qt5 - `${QT_IM_MODULE}`:

    **Please set environment variable QT_IM_MODULE to "fcitx" using the tool your distribution provides or add `export QT_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: QT_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#QT_IM_MODULE).**

3.  Qt IM module files:
    Found fcitx im module for Qt4: `/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/qtim-fcitx.so`.
    Found fcitx im module for Qt5: `/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so`.

## Gtk:
1.  gtk - `${GTK_IM_MODULE}`:

    **Environment variable GTK_IM_MODULE is "xim" instead of "fcitx". Please check if you have exported it incorrectly in any of your init files.**
    **You are using xim in gtk programs.**

    **To see some application specific problems you may have when using xim, check [Hall of Shame for Linux IME Support](http://fcitx-im.org/wiki/Hall_of_Shame_for_Linux_IME_Support). For other more general problems of using XIM including application freezing, see [here](http://fcitx-im.org/wiki/XIM).**

    **Please set environment variable GTK_IM_MODULE to "fcitx" using the tool your distribution provides or add `export GTK_IM_MODULE=fcitx` to your `~/.xprofile`. See [Input Method Related Environment Variables: GTK_IM_MODULE](http://fcitx-im.org/wiki/Input_method_related_environment_variables#GTK_IM_MODULE).**

2.  `gtk-query-immodules`:

    1.  gtk 2:

        **Cannot find `gtk-query-immodules` for gtk 2**

        **Cannot find fcitx im module for gtk 2.**

    2.  gtk 3:

        **Cannot find `gtk-query-immodules` for gtk 3**

        **Cannot find fcitx im module for gtk 3.**

3.  Gtk IM module cache:

    1.  gtk 2:

        Found immodules cache for gtk `2.24.30` at `/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules.cache`.
        Version Line:

            # Created by /usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 from gtk+-2.24.30

        Found fcitx im modules for gtk `2.24.30`.

            "/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 

    2.  gtk 3:

        Found immodules cache for gtk `3.18.9` at `/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache`.
        Version Line:

            # Created by /usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 from gtk+-3.18.9

        Found fcitx im modules for gtk `3.18.9`.

            "/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so" 
            "fcitx" "Fcitx (Flexible Input Method Framework)" "fcitx" "/usr/share/locale" "ja:ko:zh:*" 

4.  Gtk IM module files:

    1.  gtk 2:

        All found Gtk 2 immodule files exist.

    2.  gtk 3:

        All found Gtk 3 immodule files exist.

# Configuration:
## Fcitx Addons:
1.  Addon Config Dir:

    Found fcitx addon config directory: `/usr/share/fcitx/addon`.

2.  Addon List:

    1.  Found 25 enabled addons:

            fcitx-autoeng
            fcitx-chttrans
            fcitx-classic-ui
            fcitx-clipboard
            fcitx-dbus
            fcitx-freedesktop-notify
            fcitx-fullwidth-char
            fcitx-hangul
            fcitx-imselector
            fcitx-ipc
            fcitx-keyboard
            fcitx-kimpanel-ui
            fcitx-lua
            fcitx-notificationitem
            fcitx-punc
            fcitx-quickphrase
            fcitx-remote
            fcitx-spell
            fcitx-unicode
            fcitx-unikey
            fcitx-vk
            fcitx-x11
            fcitx-xim
            fcitx-xkb
            fcitx-xkbdbus

    2.  Found 0 disabled addons:

3.  Addon Libraries:

    All libraries for all addons are found.

4.  User Interface:

    Found 2 enabled user interface addons:

        fcitx-classic-ui
        fcitx-kimpanel-ui

## Input Methods:
1.  Found 2 enabled input methods:

        fcitx-keyboard-us
        unikey

2.  Default input methods:

    You have a keyboard input method "fcitx-keyboard-us" correctly added as your default input method.

# Log:
1.  `date`:

        Sat Oct 29 19:09:27 KST 2016

2.  `~/.config/fcitx/log/`:

        total 0
        -rw-rw-r-- 1 trongkha trongkha 0 Oct 29 19:00 crash.log

3.  `~/.config/fcitx/log/crash.log`:
Root filesystem check failed https://askubuntu.com/questions/571337/root-filesystem-check-failed

While updating ubuntu my system crashed and after restarting and entering to ubuntu I get the message Root filesystem check failed.Very much similar to the post Ubuntu 13.04 to 13.10: Filesystem check or mount failed. I tried to fix it with the instruction mentioned there as

mount -o remount,rw /
dpkg --configure -a
mount -o remount,ro /
sync
reboot

But the problem is after executing mount -o remount,rw / I get:

mount: cannot remount block device /host/ubuntu/disks/root.disk read-write.
is write-protected.

After executing dpkg --configure -a I get:

dpkg: error: unable to access dpkg status area: Read-only file system. 

After executing the remaining commands, nothing happens apart from a reboot at the end.
Can somebody please suggest a fix.

Installing latest version of Zabbix agent https://askubuntu.com/questions/490252/installing-latest-version-of-zabbix-agent

I have 2 servers:

  1. Staging server with Ubuntu 12.04
  2. Production server with Ubuntu 12.04

I tried to install Zabbix agent on the above 2 servers, first I tried to install it on my production server using the following command:

sudo apt-get install zabbix-agent

It's installing Zabbix 2.0.4 while the staging server installs Zabbix 1.8.11.

I want Zabbix 2.0.4 to be installed on my staging server too. I tried sudo apt-get update and everything but its not installing 2.0.4. How can I install the newer version?

How to show (raise) all windows of an application? https://askubuntu.com/questions/446521/how-to-show-raise-all-windows-of-an-application

I have an application using multiple windows. How can I quickly bring all the windows of that application to the foreground?

When I scroll through the applications with the scroll-wheel it only shows one window. When going to the next window, the last window is brought to the background again.

When I click on the application icon, I get a full-screen overview of all the windows. I have to select each window manually and move my mouse across half the screen several times.

My best solution so far is minimizing all windows (Ctrl+Super+D) and then show the windows of my application using the scroll-wheel.

Is there a better solution?

Running Binding of Isaac on 64-bit? https://askubuntu.com/questions/383557/running-binding-of-isaac-on-64-bit

This is a re-post of a question I've put here to no avail. I've been using Ubuntu for quite a while now, but my knowledge is limited. Please bear with me! :)

This issue revolves around the recent removal of ia32-libs in Ubuntu 13.10, and the game Binding of Isaac which depends on it -

I recently purchased the game as part of the Humble Bundle, excited that it is now available for Linux. However I have been unable to run either the 64 or 32 bit versions on my Ubuntu 13.10 64-bit system.

I cannot install the 64 bit version, as it depends on the ia32-libs package, which was removed in 13.10.

I am able to install the 32 bit version after installing all dependencies separately, but when starting the game I get the errors "libssl3.so: cannot open shared object file: No such file or directory", "Error: initialising plugin." and "Error: initialising projector". I presume these all come when the game tries to load libraries that aren't there.

Both of the above instances occur when trying to install the game via a .deb file.

When I say "installing all dependencies", I mean installing every package listed as a dependency in the info attached to the .deb file.

Has anybody got any ideas about this?

Where can I find the iptables log file, and how can I change its location? https://askubuntu.com/questions/348439/where-can-i-find-the-iptables-log-file-and-how-can-i-change-its-location

I have this rule in my iptables:

iptables -A INPUT -s 192.168.11.0/24 -j LOG

My question is:

Where is the iptables log file, and how can I change that?

Connecting to samba share works with smbclient, but doesn't work with Windows 7 https://askubuntu.com/questions/90086/connecting-to-samba-share-works-with-smbclient-but-doesnt-work-with-windows-7

I tried to share the directory /home/me/music with Samba. The output of testparm on my server is as follows (I think this is Ubuntu's default configuration, except for the [share] section):

[global]
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

[share]
comment = My music files
path = /home/me/music
create mask = 0755

I used smbpasswd to give a passwort to the user friend.

When I try to connect to the share from another Ubuntu machine with smbclient, everything seems fine:

smbclient -U friend //192.168.1.2/share

I can call dir, and I see the content of the directory.

However, when I want to connect the network drive from a Windows 7 machine (\\192.168.1.2\share with user WORKGROUP\friend), I get the error that the network address is not reachable (I cannot tell the exact error message, because I have a German Windows version). The error is misleading, because I can ping 192.168.1.2 from the Windows machine.

I guess I am not the first person to run into this, but Googling for "samba" and "network unreachable" doesn't help. I hope somebody can tell me what's wrong with my config, and what's the difference between running smbclient and connecting from Windows.