XORG on Ubuntu 22.04: one config change resets all other configs https://askubuntu.com/questions/1560651/xorg-on-ubuntu-22-04-one-config-change-resets-all-other-configs

I'm trying to configure a touch matrix transformation on a touch sensor placed on a second monitor.

I assign the touch sensor to the correct monitor with xinput map-to-output 14 HDMI-0

and I define a matrix transformation for the touch sensor with xinput set-prop 14 148 0 -1 1 1 0 0 0 0 1

But when I use set-prop, map-to-output resets to the first monitor. And when I map-to-output, set-prop resets to the default matrix!

How can I configure both settings in XORG at the same time without one resetting the other?

What can cause this noise color waves on the display although the graphics is OK Radeon driver? https://askubuntu.com/questions/1560649/what-can-cause-this-noise-color-waves-on-the-display-although-the-graphics-is-ok

What is the root cause of this noise on my laptop display? It appears as soon as the system boots and changes the resolution of the screen. I can see the correct resolution when booted, graphics and everything works fine, and the "radeon" driver is loaded correctly, but I have this layer of visual artifacts and noise.

screenshot of the issue on xubuntu 24.04

What is the root cause of this issue? Is it a kernel driver? user space driver? Xorg?

Ubuntu 22.04.5, PHP 8.4.15, no mails https://askubuntu.com/questions/1560647/ubuntu-22-04-5-php-8-4-15-no-mails

Ubuntu 22.04.5
PHP 8.4.15
VPS on MojoHost

postfix configuration (Only lines changed.)
myhostname = localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

/var/log/mail.log

Dec  9 05:25:19 porn-update postfix/pickup[1051500]: 4E8279D845: uid=33 from=<www-data>
Dec  9 05:25:19 porn-update postfix/cleanup[1060781]: 4E8279D845: message-id=<20251209052519.4E8279D845@localhost>
Dec  9 05:25:19 porn-update postfix/qmgr[2374]: 4E8279D845: from=<www-data@vm3917.mjhst.com>, size=372, nrcpt=1 (queue active)
Dec  9 05:25:21 porn-update postfix/smtp[1060783]: 4E8279D845: to=<mymail@mail.com>, relay=mx.yandex.net[2a02:6b8::311]:25, delay=1.9, delays=0.02/0.01/0.41/1.5, dsn=5.7.1, status=bounced (host mx.yandex.net[2a02:6b8::311] said: 554 5.7.1 Message rejected under suspicion of SPAM; https://ya.cc/1IrBc 1765257921-JPFLciNEJCg0-gVUcjie9 (in reply to end of DATA command))
Dec  9 05:25:21 porn-update postfix/cleanup[1060781]: 3B60A9D846: message-id=<20251209052521.3B60A9D846@localhost>
Dec  9 05:25:21 porn-update postfix/bounce[1060787]: 4E8279D845: sender non-delivery notification: 3B60A9D846
Dec  9 05:25:21 porn-update postfix/qmgr[2374]: 3B60A9D846: from=<>, size=2481, nrcpt=1 (queue active)
Dec  9 05:25:21 porn-update postfix/qmgr[2374]: 4E8279D845: removed
Dec  9 05:25:21 porn-update postfix/smtp[1060783]: 3B60A9D846: to=<www-data@vm3917.mjhst.com>, relay=none, delay=0.36, delays=0/0/0.36/0, dsn=5.4.6, status=bounced (mail for vm3917.mjhst.com loops back to myself)
Dec  9 05:25:21 porn-update postfix/qmgr[2374]: 3B60A9D846: removed
Dec  9 05:25:22 porn-update postfix/smtpd[1060791]: connect from unknown[213.209.157.102]
Dec  9 05:25:22 porn-update postfix/smtpd[1060791]: lost connection after EHLO from unknown[213.209.157.102]
Dec  9 05:25:22 porn-update postfix/smtpd[1060791]: disconnect from unknown[213.209.157.102] ehlo=1 commands=1

The server isn't sending emails, no emails at all, not even emails via PHP, not even crontab emails.

How can I see various GPU temps on Nvidia GPU using Nouveau driver (i.e. without relying upon nvidia-smi)? https://askubuntu.com/questions/1560645/how-can-i-see-various-gpu-temps-on-nvidia-gpu-using-nouveau-driver-i-e-without

Is there a utility that displays or outputs the GPU temperatures on recent-ish Nvidia GPUs and which doesn't rely on using the Nvidia driver?

I run the Nouveau driver, therefore nvidia-smi does not work, and the GPU monitor solutions I've found all rely upon it. lm-sensors apparently does not work with modern Nvidia hardware.

  • Ubuntu 24.04.3
  • Dell T7910
  • 3080ti FE (and sometimes a 2080 is installed)

lm-sensors reports no GPU sensors:

asavage@Ubuntu-1:~$ sensors
coretemp-isa-0001
Adapter: ISA adapter
Package id 1:  +75.0°C  (high = +87.0°C, crit = +97.0°C)
Core 0:        +67.0°C  (high = +87.0°C, crit = +97.0°C)
Core 1:        +67.0°C  (high = +87.0°C, crit = +97.0°C)
Core 2:        +69.0°C  (high = +87.0°C, crit = +97.0°C)
Core 3:        +70.0°C  (high = +87.0°C, crit = +97.0°C)
Core 4:        +69.0°C  (high = +87.0°C, crit = +97.0°C)
Core 5:        +69.0°C  (high = +87.0°C, crit = +97.0°C)
Core 8:        +75.0°C  (high = +87.0°C, crit = +97.0°C)
Core 9:        +73.0°C  (high = +87.0°C, crit = +97.0°C)
Core 10:       +66.0°C  (high = +87.0°C, crit = +97.0°C)
Core 11:       +66.0°C  (high = +87.0°C, crit = +97.0°C)
Core 12:       +65.0°C  (high = +87.0°C, crit = +97.0°C)
Core 13:       +66.0°C  (high = +87.0°C, crit = +97.0°C)

dell_smm-isa-0000
Adapter: ISA adapter
Processor Fan: 1420 RPM  (min =    0 RPM, max = 5755 RPM)
Processor Fan: 1465 RPM  (min =    0 RPM, max = 5755 RPM)
Other Fan:      867 RPM  (min =    0 RPM, max = 5000 RPM)
Other Fan:      868 RPM  (min =    0 RPM, max = 5000 RPM)
CPU:            +60.0°C  
CPU:            +75.0°C  
SODIMM:         +26.0°C  
SODIMM:         +40.0°C  
SODIMM:         +45.0°C  
SODIMM:         +39.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +60.0°C  (high = +87.0°C, crit = +97.0°C)
Core 0:        +53.0°C  (high = +87.0°C, crit = +97.0°C)
Core 1:        +54.0°C  (high = +87.0°C, crit = +97.0°C)
Core 2:        +53.0°C  (high = +87.0°C, crit = +97.0°C)
Core 3:        +52.0°C  (high = +87.0°C, crit = +97.0°C)
Core 4:        +54.0°C  (high = +87.0°C, crit = +97.0°C)
Core 5:        +53.0°C  (high = +87.0°C, crit = +97.0°C)
Core 8:        +53.0°C  (high = +87.0°C, crit = +97.0°C)
Core 9:        +51.0°C  (high = +87.0°C, crit = +97.0°C)
Core 10:       +54.0°C  (high = +87.0°C, crit = +97.0°C)
Core 11:       +55.0°C  (high = +87.0°C, crit = +97.0°C)
Core 12:       +56.0°C  (high = +87.0°C, crit = +97.0°C)
Core 13:       +53.0°C  (high = +87.0°C, crit = +97.0°C)

asavage@Ubuntu-1:~$
Why is Ubuntu so bad and slow on network? [closed] https://askubuntu.com/questions/1560642/why-is-ubuntu-so-bad-and-slow-on-network

I cannot believe that since version 20, Ubuntu has a LOT of issues on the network and it keeps being delivered that way. Does anyone know why?

Actual output from screen is not fitting monitor https://askubuntu.com/questions/1560640/actual-output-from-screen-is-not-fitting-monitor

I've spent the past 2 days trying to fix this alone, but it hasn't worked. my display says it's in 1024x768 when it should be at 1920x1080, and it was until 2 days ago. I have tried everything online and nothing has worked. Done xrandr addmode 1920 etc.., things with ctr, but nothing has worked. I genuinely don't know what else to do. I'm really new to linux so I'm sorry if the question isn't very clear. I'll past some things below

~$ xrandr --size 1920x1080 Failed to change the screen configuration! ~$ xrandr -q Screen 0: minimum 16 x 16, current 1024 x 768, maximum 32767 x 32767 None-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 270mm x 203mm 1024x768 59.92*+ 800x600 59.86
640x480 59.38
320x240 59.52
960x600 59.63
928x580 59.88
800x500 59.50
768x480 59.90
720x480 59.71
640x400 59.95
320x200 58.96
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77
1920x1080_60.00 59.96

If you need any other info please let me know. This isn't all I've tried but I've tried a lot and had to clear the terminal eventually so I've lost most of it.

How to have something like xkill in Wayland in Ubuntu with GNOME? [closed] https://askubuntu.com/questions/1560625/how-to-have-something-like-xkill-in-wayland-in-ubuntu-with-gnome

In X11, I can run xkill, and select an window that I want to close.

I want something similar in Wayland. The other command line options like pkill or kill involve getting the exact app name or the PID of the process.

I just want to click on a Window and close it instead. How to achieve this in Wayland?

This explains how to do this in KDE Plasma running Wayland. What about regular Ubuntu with GNOME?

Since Software Updater ran, my fan speed shows ~45000 RPM [closed] https://askubuntu.com/questions/1560609/since-software-updater-ran-my-fan-speed-shows-45000-rpm

Dell Inspiron 7700 AIO

Ubuntu 25.10

I just ran Software Updater, and it updated these files...

    bluez-cups:amd64 5.83-1~exp1 => 5.83-1~exp1ubuntu0.1
    bluez-obexd:amd64 5.83-1~exp1 => 5.83-1~exp1ubuntu0.1
    bluez:amd64 5.83-1~exp1 => 5.83-1~exp1ubuntu0.1
    cups-bsd:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-client:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-common:all 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-core-drivers:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-daemon:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-ipp-utils:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-ppdc:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups-server-common:all 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    cups:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    gnome-shell-common:all 49.0-1ubuntu1 => 49.0-1ubuntu1.1
    gnome-shell:amd64 49.0-1ubuntu1 => 49.0-1ubuntu1.1
    iproute2:amd64 6.16.0-1ubuntu2 => 6.16.0-1ubuntu2.1
    libbluetooth3:amd64 5.83-1~exp1 => 5.83-1~exp1ubuntu0.1
    libcups2t64:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    libcupsimage2t64:amd64 2.4.12-0ubuntu3.3 => 2.4.12-0ubuntu3.5
    libinput-bin:amd64 1.28.1-1build1 => 1.28.1-1ubuntu0.1
    libinput10:amd64 1.28.1-1build1 => 1.28.1-1ubuntu0.1
    libmysqlclient24:amd64 8.4.7-0ubuntu0.25.10.2 => 8.4.7-0ubuntu0.25.10.3
    libpq5:amd64 17.6-1build1 => 17.7-0ubuntu0.25.10.1
    libunbound8:amd64 1.22.0-2ubuntu2.1 => 1.22.0-2ubuntu2.2
    libwireplumber-0.5-0:amd64 0.5.10-3 => 0.5.10-3ubuntu1
    mysql-client-core:amd64 8.4.7-0ubuntu0.25.10.2 => 8.4.7-0ubuntu0.25.10.3
    mysql-client:amd64 8.4.7-0ubuntu0.25.10.2 => 8.4.7-0ubuntu0.25.10.3
    mysql-server-core:amd64 8.4.7-0ubuntu0.25.10.2 => 8.4.7-0ubuntu0.25.10.3
    mysql-server:amd64 8.4.7-0ubuntu0.25.10.2 => 8.4.7-0ubuntu0.25.10.3
    timeshift:amd64 25.07.7-0~202511291334~ubuntu25.04.1 => 25.07.7-0~202512041546~ubuntu25.04.1
    wireplumber:amd64 0.5.10-3 => 0.5.10-3ubuntu1

Now the Freon and Vitals GNOME extensions show fan speed of ~45000 RPM.

Any suggestion on how to fix?

How to logically isolate/disconnect second NVMe drive from Ubuntu system for a dual boot system? https://askubuntu.com/questions/1560606/how-to-logically-isolate-disconnect-second-nvme-drive-from-ubuntu-system-for-a-d

I am fairly new to Linux and still learning. I am using two different OS installed on two separate NVMe drives as a dual boot system. One of them is Ubuntu 24.04.3 LTS and I want to isolate/disconnect other NVMe drive (which is used by other OS system) from Ubuntu OS to prevent accidental formatting or intentional alteration/formatting by penetration or ransomware/malware attacks.

Please note that I do not wish to use system's BIOS/UEFI settings to isolate the second NVMe drive and physical isolation. Is there any way to perform this task in Ubuntu?

Preparing Strava images for AI analysis https://askubuntu.com/questions/1560550/preparing-strava-images-for-ai-analysis

I routinely prepare screenshot graphs from my running activities as logged on Strava for input and analysis by an AI on the free plan of ChatGPT. There are substantial limitations for image upload and analysis with ChatGPT's free plan, currently it allows only 3 images for detailed analysis per 24 hour period and these images have a size limitation.

Currently I stitch the 3 required images together with GIMP, convert them to a single image, resize this image and then export the final image. Cumbersome...

How can I semi-automate this process using the Ubuntu command line, producing a small but clear image that can be easily analyzed by an AI? An example of 3 typical images / graphs is here, labelled on my system splits.png, power.png and HR.png:

enter image description hereenter image description hereenter image description here

I usually organize the taller image 'Power' to the left side and the remaining images stacked on top of each other on the right side...

snapd auth expired? [closed] https://askubuntu.com/questions/1560533/snapd-auth-expired

For a few weeks I have been getting timeouts when trying to update snaps from snapcraft.io. So I have been googling, and one of the fixes was to remove all snaps, remove snapd, then reinstall snapd and the various snaps. I am in the process of trying this and started getting this error: cannot refresh, install, or download: soft-expired device authorization needs refresh

system is:
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Codename:       noble
 BIOS Vendor ID:            Intel(R) Corporation
  Model name:                Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
    BIOS Model name:         Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz Fill By OEM CPU @ 3.2GHz
    BIOS CPU family:         205
    CPU family:              6
    Model:                   58
    Thread(s) per core:      1
    Core(s) per socket:      4
    Socket(s):               1
Memory Device
        Form Factor: DIMM
        Locator: ChannelA-DIMM0
        Bank Locator: BANK 0

        Total Width: 64 bits
        Data Width: 64 bits
        Size: 4 GB
        Form Factor: DIMM
        Locator: ChannelA-DIMM1
        Bank Locator: BANK 1
        Type: DDR3
        Type Detail: Synchronous
        Speed: 1600 MT/s
        Manufacturer: Samsung
        Serial Number: 6306EA80
        Asset Tag: 9876543210
        Part Number: M378B5273DH0-CK0

        Form Factor: DIMM
        Locator: ChannelB-DIMM0
        Bank Locator: BANK 2

        Total Width: 64 bits
        Data Width: 64 bits
        Size: 4 GB
        Form Factor: DIMM
        Locator: ChannelB-DIMM1
        Bank Locator: BANK 3
        Type: DDR3
        Type Detail: Synchronous
        Speed: 1600 MT/s
        Manufacturer: Samsung
        Serial Number: 6306EA2E
        Asset Tag: 9876543210
        Part Number: M378B5273DH0-CK0

Snaps before I started trying to remediate:

bare                
bazarr-tak          
canonical-livepatch 
certbot             
core20              
core22              
core24              
firmware-updater    
gnome-42-2204       
gnome-46-2404       
gtk-common-themes   
mesa-2404           
plexmediaserver     
snap-store          
snapd               
snapd-desktop-integration

Snaps remaining:

canonical-livepatch  10.11.9   364    latest/stable  canonical✓  disabled
core22               20251009  2163   latest/stable  canonical✓  base
snapd                2.72      25577  latest/stable  canonical✓  snapd

snap changelog:

root@Rez-Plex:~# snap changes
ID   Status  Spawn                   Ready                   Summary
198  Done    yesterday at 13:55 CST  yesterday at 13:56 CST  Remove "bazarr-tak" snap
200  Done    yesterday at 17:12 CST  yesterday at 17:12 CST  Remove "certbot" snap
201  Done    yesterday at 17:12 CST  yesterday at 17:12 CST  Remove "core20" snap
202  Done    yesterday at 17:12 CST  yesterday at 17:13 CST  Remove "firmware-updater" snap
203  Done    yesterday at 17:13 CST  yesterday at 17:13 CST  Remove "gnome-42-2204" snap
204  Done    yesterday at 17:13 CST  yesterday at 17:13 CST  Remove "gnome-46-2404" snap
205  Done    yesterday at 17:13 CST  yesterday at 17:13 CST  Remove "gtk-common-themes" snap
206  Done    yesterday at 17:13 CST  yesterday at 17:13 CST  Remove "mesa-2404" snap
207  Done    yesterday at 17:13 CST  yesterday at 18:00 CST  Remove "plexmediaserver" snap
208  Done    yesterday at 18:00 CST  yesterday at 18:00 CST  Remove "snap-store" snap
209  Done    yesterday at 18:00 CST  yesterday at 18:00 CST  Remove "snapd-desktop-integration" snap
210  Done    yesterday at 18:12 CST  yesterday at 18:12 CST  Remove "bare" snap
211  Done    yesterday at 18:19 CST  yesterday at 18:19 CST  Remove "core24" snap
214  Done    today at 12:01 CST      today at 12:01 CST      Running service command

If anyone can tell me what I need to do to restore the snapd system to operability, it would be appreciated.

Change passwords on login https://askubuntu.com/questions/1560234/change-passwords-on-login

I am trying to force a user to change their password every time they log in. For example, if it is their first login, they will be asked for a new password, and when they log out and try to log back in, they will have to change their password again.

Image previews not showing on Ubuntu desktop https://askubuntu.com/questions/1528764/image-previews-not-showing-on-ubuntu-desktop

I am using Ubuntu 24.04 on my Dell XPS laptop. I am experiencing an issue where image previews (thumbnails) are not displayed on my desktop. Instead I see generic icons for image files:

images previews not showing

Steps taken to troubleshoot:

  1. Checked File Manager Settings:

    • I opened Files (Nautilus) and navigated to Preferences.
    • Under the Performance tab, I confirmed that the option to show thumbnails is set to All files.

I would appreciate any assistance in troubleshooting this issue further. Are there additional steps I might have missed, or is this a known issue with a specific fix?

Unable to run appimage (Bambu Studio) - New User https://askubuntu.com/questions/1516248/unable-to-run-appimage-bambu-studio-new-user

This is my first dip into linux and I've hit my first roadblock. The Bambu Studio software for my 3d printer is only available as an appimage. I made it an executable file in properties and it won't run from command line or double click. Tried moving to desktop and same deal. No errors, it just does nothing. Did the chmod a+x command I found and that gave no errors. Still nothing.

Ubuntu 24.04 LTS

Thanks for any help!

NAS using samba not working: smbclient fails with error NT_STATUS_NOT_FOUND https://askubuntu.com/questions/1501907/nas-using-samba-not-working-smbclient-fails-with-error-nt-status-not-found

I'm trying to set up a NAS using samba, but it doesn't appear to be working.

I followed the instructions here, but when trying to "Test the Share Access" smbclient fails.

$ smbclient -U userName //SA/FSName
Password for [WORKGROUP\userName]:
do_connect: Connection to SA failed (Error NT_STATUS_NOT_FOUND)
$ smbclient -L localhost
Password for [WORKGROUP\userName]:

    Sharename       Type      Comment
    ---------       ----      -------
    print$          Disk      Printer Drivers
    FSName          Disk      
    IPC$            IPC       IPC Service (computerName server (Samba, Ubuntu))
SMB1 disabled -- no workgroup available
$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

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


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


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


[FSName]
    inherit permissions = Yes
    path = /mnt/fsName/
    read only = No
$ ls -l /mnt/
total 4
drwxrws--- 3 root groupName 4096 Jun  9  2023 fsName
$ findmnt /mnt/fsName
TARGET         SOURCE     FSTYPE OPTIONS
/mnt/fsName    /dev/md127 ext4   rw,relatime,discard,stripe=256

I don't know what SELinux is, but semanage isn't installed so I don't think that is the problem.

I've restarted the machine and server daemon since configuring everything.

I saw a share from the computer on a separate linux device after starting the server daemon the first time. However, I was never able to access it and am no longer seeing it.

$ samba --version
Version 4.15.13-Ubuntu

Edit:

OS: Ubuntu Desktop 22.04.3 LTS

$ sudo ps aux | grep smbd
root        1882  0.0  0.0  86756 24320 ?        Ss   Jan30   0:00 /usr/sbin/smbd --foreground --no-process-group
root        1884  0.0  0.0  84604 10156 ?        S    Jan30   0:00 /usr/sbin/smbd --foreground --no-process-group
root        1885  0.0  0.0  84612  8108 ?        S    Jan30   0:00 /usr/sbin/smbd --foreground --no-process-group
userName   10100  0.0  0.0   9212  2432 pts/0    S+   18:24   0:00 grep --color=auto smbd
How do I disable the insert key on Wayland? https://askubuntu.com/questions/1498907/how-do-i-disable-the-insert-key-on-wayland

How can I disable the insert key on Ubuntu 22.04 in Wayland?

In X11, it was simple:

# Figure out what keycode is mapped to insert key.
xmodmap -pke | grep -i insert

# Disable it.
echo "keycode 90 =" >> ~/.Xmodmap

Is there no similar remapping functionality in Wayland?

After installing Ubuntu, it shows Error: 0x80070422 https://askubuntu.com/questions/1482867/after-installing-ubuntu-it-shows-error-0x80070422

After I installed Ubuntu 20.04.4 LTS in my PC, it shows --

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070422
Error: 0x80070422 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

Press any key to continue...

I'm not sure what I should do as pressing any key does nothing but closes the terminal. P.S: I'm using Windows10

What is the equivalent of xkill on wayland in KDE Plasma? https://askubuntu.com/questions/1378412/what-is-the-equivalent-of-xkill-on-wayland-in-kde-plasma

Xkill is a utility program distributed with the X Window System that instructs the X server to forcefully terminate its connection to a client, thus "killing" the client.[1] When run with no command line arguments, the program displays a special cursor (usually a crosshair or a skull and crossbones) and displays a message such as

Select the window whose client you wish to kill with button 1 ...

If a non-root window is then selected, the server will close its connection to the client that created that window, and the window will be destroyed.

I would like to achieve the same behavior for wayland windows, if possible.

PS: I am on Kubuntu 21.10 running a wayland session, but would prefer something DE agnostic.

Update info - how to currently set Java_home? https://askubuntu.com/questions/1362508/update-info-how-to-currently-set-java-home

I'am trying to get Maven running. I have installed JDK and Maven. Thus I have been trying to set the Java_home variable for three days now, I cannot get it working.

I have followed the instructions of another askUbuntu Topic:

This doesn't work. Not any explanation explains how to set the path, they rather give examples how to set their path.. So I have no idea whats wrong with mine, it is the location to the file in the etc/environment.

I installed maven by downloading the correct latest version on the site. Extracted and installed it in opt directory using known sudo-commands.

I created the maven.sh file myself, since there wasn't a file like this in the profile.d directory. You can see how I set that in the cat output and the picture below.

The Java_Home set in my etc/environement though is: JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64";This used to be /usr/opt/jdk-13.0.1 (which you will see the terminal give back the first time), because thats how I thought It needed to work according to explanation how to install Maven.

When I source my maven.sh, I get the right mvn -version in the terminal. When I close terminal, I have to source it again.

Here my terminal feedback on the versions, rember that after the first 3 commands (version -java, -mvn and echo) I source my maven.sh file manually:

mussche@MuskiProBook:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

mussche@MuskiProBook:~$ mvn -version
The JAVA_HOME environment variable is not defined correctly,
this environment variable is needed to run this program.

mussche@MuskiProBook:~$ echo $JAVA_HOME
/usr/opt/jdk-13.0.1

mussche@MuskiProBook:~$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

mussche@MuskiProBook:~$ mvn -version
Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: /opt/maven
Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: nl_NL, platform encoding: UTF-8
OS name: "linux", version: "5.11.0-27-generic", arch: "amd64", family: "unix"

mussche@MuskiProBook:~$ echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-amd64

mussche@MuskiProBook:~$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"

mussche@MuskiProBook:~$ cat /etc/profile.d/maven.sh
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export M2_HOME=/opt/maven
export MAVEN_HOME=/opt/maven
export PATH=${M2_HOME}/bin:${PATH}

/etc/profile.d/maven.sh content:

/etc/profile.d/maven.sh

How to install maven correct? How to set the variables, where to find the files that need to be changed, and exactly how to change them?

How do I fix dragging window lag? https://askubuntu.com/questions/1324769/how-do-i-fix-dragging-window-lag

Whenever I drag a window in Ubuntu, the dragging process isn't smooth.

My refresh rate is set to 144Hz.

Please help; I don't want some complex type of help (i.e., Compiz).

My GPU is MSI 1060 6 GB. Also, my NVIDIA driver is 460 (Propriety, tested).

Thanks.

stty: 'standard input': Inappropriate ioctl for device https://askubuntu.com/questions/1321753/stty-standard-input-inappropriate-ioctl-for-device

When i added

stty intr ^X

to my ~/.zshrc file it is always showing stty: 'standard input': Inappropriate ioctl for device on startup.

Please help, thanks in advance.

Unable to mount root fs on unknown block https://askubuntu.com/questions/1227317/unable-to-mount-root-fs-on-unknown-block

Currently I am dual-booting Windows along side Ubuntu, but whenever I try to boot Ubuntu it displays the message “Unable to mount root fs on unknown block”. So, I checked the forms, and everyone said to boot to an older version by going through “advanced booting options”, but when I try that I get this message “error: you need to load the kernel first.” How do I fix these issues without the ability to boot into my OS?

Enable touchpad from command line Ubuntu 18.04 https://askubuntu.com/questions/1151852/enable-touchpad-from-command-line-ubuntu-18-04

I have seen several putative answers to my question, but none of them work.

Generally I keep the touchpad switched off, since it seems to play hell with the pointer jumping about into unwanted places. But once in a while my mouse freezes up and I would like to be able to use the touchpad to get something or other going. The problem is that enabling the touchpad seems to require the use of the mouse, and if this is frozen then I am stuck. I would like to enable the touchpad from the command line. As I said I have seen several suggestions, but none of them work.

(1) xinput list

followed by xinput --list-props nn

where "nn" is the ID for "SynPS/2 Synaptics TouchPad" given by the initial "xinput list".

Problem: there is no such item given when I do "xinput list".

(2) Use "Fn+F1" to toggle the touchpad, after having done

sudo apt install xserver-xorg-input-synaptics

When I do this "sudo apt install" manoeuvre I get told that "xserver-xorg-input-synaptics is already the newest version".

However "Fn+F1" has no effect at all.

(3) synclient TouchpadOff=1 to disable the touchpad and synclient TouchpadOff=0 to enable it.

No error messages given, but nothing at all happens.

Any other ideas?

Note that my "TouchPad Indicator" on my top menubar works just fine, but of course I can't use this when I actually need to, which is when my mouse is frozen. Catch 22.

I have now had two responses, one from Stephen Boston, suggesting that I look at function keys other than F1 (one with "Square with a diagnoal line through it -- maybe?"). No such key on my keyboard; my laptop is a Dell "Latitude E7470" (???). tried all of the function keys, one at a time, holding down the "Fn" key and pressing a function key. Nothing at all happened with any of them, except that "Fn-F11" toggles an expansion of the current window. No enabling of the touchpad eventuated.

The other response was from "PRATAP" who suggested that

https://askubuntu.com/a/1140700/739431

might be a workaround. I tried to do what this link suggested:

xmodmap -pke | grep TouchpadToggle

produced

keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle

So I then did

xmodmap -e "keycode 199 = XF86TouchpadToggle"

in accordance with what I understood the instructions to be.

After doing this I tried "Fn+F5" --- not a sausage --- and "Fn+F1", likewise.

I don't understand step 2 of the instructions "check the symbol on keyboard which is given for Toggling of Touchpad.. in mycase it is on F5 #Change F5 with your key on keyboard".

As far as I can see NO symbol on the keyboard is "given for Toggling of Touchpad".

If I do

xmodmap -pke | grep F5

I get

keycode  71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5

which is exactly the result in the given example.

So I then tried (hammer and hope; no clue what is going on!)

xmodmap -e "keycode 71 = XF86TouchpadToggle"

The first time I tried "Fn+F5" the touch pad seemed to be toggled on, and I thought I had a success. But it wouldn't toggle off again. I turned off the touchpad using the icon on the top menu bar. Then "Fn+F5" had no effect thereafter.

This is exasperating.

And the exasperation continues. The

synclient TouchpadOff=0

construction (recommended by "bistoco") does NOT work for me. (I also tried it with a lower case "o" in the "Off"; same result.)

Why do computers pick on me???

WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving ...” errors https://askubuntu.com/questions/1072766/wslubuntu-18-04-ssh-or-apt-update-gets-temporary-failure-resolving-e

I have seen and searched through tons of threads on similar issues, but still couldn't find how to solve mine.

Win10 1709 build 16299.61 (cannot update to newest as updates are controlled by IT) After I enabled WSL and installed Ubuntu 18.04 from MS Store, I couldn't get 'apt update' and 'ssh' (along with git clone) working getting this error message all the time:

user@localhost:~$ sudo apt update
ssh: Could not resolve hostname some.remote.repository.com: Temporary 
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
...

user@localhost:~$ ssh my.ssh.server.com
ssh: Could not resolve hostname my.ssh.server.com: Temporary failure in name resolution
...

user@localhost:~/worspace/test/$ git pull
ssh: Could not resolve hostname my.remote.repository.com: Temporary failure in name resolution
...

The /etc/resolv.conf looks good and for other utilities like ping, nslookup, dig work just fine with hostname. The /etc/nsswitch.conf has hosts: files dns

I tried with my firewall and antivirus switched off with no effect (McAfee).

The weird thing is that I don't have such problem with Ubuntu 16.04 (with both firewall and antivirus enabled), despite intermittent Assertion IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr32)' failed errors...

I would kindly appreciate any help/thoughts on the matter.\

How to reinstall Ubuntu using the same partitioning system? https://askubuntu.com/questions/800263/how-to-reinstall-ubuntu-using-the-same-partitioning-system

I recently installed Ubuntu 16.04 using the instructions from here.

I am a novice at the operating system and was trying to set up a VPN using the instructions from here, but I messed up mid-way and now I have no idea how to continue or go back. I changed some system files during the process and I couldn't find a way to restore them. Neither do I know which specific ones I changed, however it has only been 3 days since I installed the OS and I wanted to reinstall it so I can get back the default files.

Will I be able to use the same partitioning system I created the first time for the swap area, root and home space? And if so, how?

Also if you have any way I can restore the files I changed, it would be very much appreciated.

Blank page when trying to reach phpmyadmin https://askubuntu.com/questions/761847/blank-page-when-trying-to-reach-phpmyadmin

I try to setup phpmyadmin to use mysql on my Ubuntu 16.04 machine. But when I go on "localhost/phpmyadmin" I only see a blank page. I've tried some things like to include the conf, but it didnt change anything (How to solve the phpmyadmin not found issue after upgrading php and apache?).

My goal is to use owncloud. So I created a user root and a user owncloud with the passwords. I specified the the user root as the phpmyadmin user with the pasword and

sudo dpkg-reconfigure phpmyadmin

went well. But phpmyadmin doen't load. What am I doing wrong?

SOLUTION Some packets were missing for php 7:

sudo apt-get install php-mbstring php7.0-mbstring php-gettext
sudo service apache2 restart
execute script before login https://askubuntu.com/questions/745933/execute-script-before-login

Whole day I'm facing a startup script problem.

What I'm looking for is a way to run a single script at boot/before login that will configure my machine and run proper services. (Single script for all users would be cool - easy maintenance)

simple script "/machineSetup.sh"

#LC_NUMERIC - Specifies the decimal delimiter
export LC_NUMERIC="en_US.UTF-8"
#-------------------------------------------------------------------
#add custom aliases path 
export PATH=$PATH:/home/user/aliases
#-------------------------------------------------------------------
#run backburnerServer (tool to control remote computing) run process
/usr/discreet/backburner/backburnerServer &
#-------------------------------------------------------------------
#run x11vnc run process 
/usr/bin/x11vnc &

I'm on Ubuntu14.04. I already did tests with /etc/rc.local no luck at all. I tried /etc/profile.d/machineSetup.sh but it works only after login.

Would be cool if you can give me any hints. Is it possible at all to store configuration inside single file Thanks in advance for suggestions!

How to upgrade gettext / autopoint on Ubuntu 15.04 https://askubuntu.com/questions/637833/how-to-upgrade-gettext-autopoint-on-ubuntu-15-04

I'm trying to compile a project that has a dependancy on gettext 0.19.3. I currently have 0.19.2 installed.

I've tried:

  • sudo apt-get install gettext
  • sudo apt-get install autopoint
  • sudo apt-get install --only-upgrade gettext
  • sudo apt-get install --only-upgrade autopoint

None of those commands will cause gettext to update. The terminal always says

gettext is already the newest version
0 upgraded, 0 newly installed, 0 to remove and 138 not upgraded.

How do I install 0.19.3 or 0.19.4?

MATLAB won't open after fresh installation! https://askubuntu.com/questions/470406/matlab-wont-open-after-fresh-installation

I installed MATLAB on a new Ubuntu 14.04 installation. I don't get any errors, but when I try to run it in the terminal with the matlab command, the screen doesn't advance past the MATLAB logo:

enter image description here

I'm not sure what to do because it's not giving me any errors. I've already tried reinstalling MATLAB. Any advice would be appreciated as I'm unfamiliar with the Ubuntu environment.

How can I force WiFi connection to only use ipv4? https://askubuntu.com/questions/48693/how-can-i-force-wifi-connection-to-only-use-ipv4

I have Broadcom bcm43224 wifi card with proprietary broadcom sta driver. At home wifi connection works well, but in the office when I ping some resource there is a lot of loss packets and I cant browse websites.

I have tried another way to check internet connection - download file with wget.

wget google.com - very slow speed

wget -4 google.com - normal speed

So, it seems that the problem is with the ipv6 configuration at the office, can I force my wifi connection to use only ipv4 and completely ignore ipv6 ?.