Pom Error need help in resoulution https://askubuntu.com/questions/1564286/pom-error-need-help-in-resoulution

enter image description here

Any idea on how i can resolve this?

ubuntu upgrade 22.04 to 24.04, gimp gutenprint plugin missing from file dropdown https://askubuntu.com/questions/1564285/ubuntu-upgrade-22-04-to-24-04-gimp-gutenprint-plugin-missing-from-file-dropdown

I recently upgraded ubuntu from 22.04 to 24.04. Gimp still comes up ok but the file menu option to print from gutenprint is missing. "apt list --installed | grep gute" shows the following:

gimp-gutenprint/noble,now 5.3.4.2022...d602-1build4 amd64 [installed]
gutenprint-locales/noble,noble,now 5.3.4...d602-1build4 all [installed,automatic]
libgutenprint-common/noble,noble,now 5.3.4...d602-1build4 all [installed,automatic]
libgutenprint9/noble,now 5.3.4...d602-1build4 amd64 [installed,automatic]
libgutenprintui2/noble,now 5.3.4...d602-1build4 amd64 [installed,automatic]
printer-driver-gutenprint/noble,now 5.3.4...d602-1build4 amd64 [installed]

What am I missing / forget to do?

How to change contrast and/or gamma on Dell 7380 running Wayland? https://askubuntu.com/questions/1564283/how-to-change-contrast-and-or-gamma-on-dell-7380-running-wayland

This Dell Latitude 7380 in use now runs Ubuntu 24.04 very well... except for one minor issue. The laptop has a small 1080p display, and is easier to see if I increase contrast (or change gamma). It just needs to be boosted slightly, though, and the Settings > Accessibility > Seeing dialog does not allow for incremental adjustment: it's High Contrast, On or Off.

Though I've tried a number of tools to change the displays contrast or gamma, including xrandr, xcalib, xgamma which do not work on Wayland, and ddcutil, which is apparently incompatible with this Dell, I haven't found one that works. All installed, changes can be made in settings... and nothing happens.

Is there any way to adjust contrast and/or gamma incrementally on this setup?

Footnote, TLDR

Yes, there are other options.

  • Some apps have settings for display.. but some don't

  • Wearing +5 diopter reading glasses would work on the display, but shallow depth of field means everything else would be unfocused.

  • An external monitor would solve the issue... but this is meant to be a portable device.

  • Abandon Wayland... but it's working well on four other PC's I maintain, so I'd rather not have greatly different configurations.

Screen flickering on Ubuntu 24.04 inside VirtualBox https://askubuntu.com/questions/1564282/screen-flickering-on-ubuntu-24-04-inside-virtualbox

I’m running Ubuntu 24.04 inside VirtualBox, and I’m experiencing persistent screen flickering inside the guest OS. The flickering happens during normal desktop use (moving windows, opening menus, switching workspaces, etc.). It continues even after installing the correct VirtualBox Guest Additions packages.

This is not a hardware issue, since the host system is stable and only the VM shows the flicker.

What has already been tried

1. Installed the correct VirtualBox guest drivers.

I installed the proper packages for Ubuntu 24.04:

sudo apt update
sudo apt install virtualbox-guest-utils virtualbox-guest-x11

Video Memory: 128 MB

3D Video acceleration: off

Switched to Ubuntu on Xorg - didn't help

Can't open KDE after adding to Ubuntu https://askubuntu.com/questions/1564280/cant-open-kde-after-adding-to-ubuntu

I just added KDE to Ubuntu. Now it is asking for my ID to open. I used the ID and password I used for Ubuntu, but it will not open. I did some research, and it seems to be a regular problem. I can't get into the program to do anything. How do I fix it?

2.5G Ethernet PCIe card limited to 100mb | Driver installation guide https://askubuntu.com/questions/1564279/2-5g-ethernet-pcie-card-limited-to-100mb-driver-installation-guide

Ubuntu 24.04

I have recently bought a 2.5 gig network card when i just plugged it in it was limited to 100mb, i suspect i need to install some drivers, from searching around the internet a bunch i think its the r8125 driver i need.

When following the packaging i find this page from RealTek with a script. (i'm getting mixed signals, the website says kernel versions up to 6.12 (I'm running 6.8.0-101) but in the readme it says 2.6.x and 2.4.x. What am i missing there)

When i try to run the script it simply gives this message:

Check old driver and unload it.
Build the module and install
make: *** No rule to make target 'all'.  Stop

This is the out put of sudo lshw -C network

*-network UNCLAIMED
   description: Ethernet controller
   product: RTL8125 2.5GbE Controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:0c:00.0
   version: 05
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd cap_list
   configuration: latency=0
   resources: ioport:b000(size=256) memory:df600000-df60ffff memory:df610000-df613fff

I would like someone to guide me pretty diligently through how to install the drivers i need.

No reboot after update https://askubuntu.com/questions/1564277/no-reboot-after-update

After installing updates on Ubuntu 25.10, the system prompts me to restart. When I click the "Restart" button, a confirmation dialog appears. I click "Restart" again, the dialog disappears, but nothing happens. The system continues to run as if I never clicked it, and no reboot is initiated.

How can I get razer Kiyo webcam work on Ubuntu? https://askubuntu.com/questions/1564276/how-can-i-get-razer-kiyo-webcam-work-on-ubuntu

How can I get razer Kiyo webcam work on Ubuntu ? Can anyone post instructions for terminal?

Ubuntu says my WIFI is out (but it's not) https://askubuntu.com/questions/1564275/ubuntu-says-my-wifi-is-out-but-its-not

everyone. I have a Ubuntu 22.04.5 LTS no my laptop, for almost 3 years. Since last week, this annoying thing started happening: every 30 or 40 minutes I lose connection to the internet, and the WIFI symbol on ubuntu becames a question mark, as if my WIFI was out. I check my phone, and the wufu is great, I can use normally on the phone. But not on the laptop (same WIFI).

If I don't do anything, I stay without internet. But if I right-click and turn off the WIFI, and then turn on, I'm connected again. It's very annoying, every 40 minutes I have do to click in the icon, turn off, turn on the WIFI.

Anybody had that same problem? Thank you!

Ubuntu server permissions NFS or ZVOL disk https://askubuntu.com/questions/1564273/ubuntu-server-permissions-nfs-or-zvol-disk

I have a TrueNAS core NAS on which an Ubuntu 25.10 Server VM is running. The NAS has an IP of 192.168.2.2 and Ubuntu an IP of 192.168.2.4.

Initial I have it setup as followed: Dataset on the NAS has rwx (777) permissions on group everyone.

Ubuntu Server mounts on boot in FSTAB. The line is:

192.168.2.2/mnt/Storage/Websites /mnt/Websites nfs auto,nofail,noatime,nolock,intr,tcp,actime=1800 0 0

Thru the share i am having a problem with apache not being able to do certain things and getting errors in the websoftware I use on the server.

I have been trying next to create a zvol on the NAS and mount it in Ubuntu. I see the zvol as VDA in /dev. But then I try and make a partition with kpartx I get the following error:

Incompatible libdevmapper 1.02.205 (2025-02-27) and kernel driver (unknown version).
device mapper prerequisites not met.

At the moment I am stuck and have no idea anymore how to get it right.

My computer is locking up randomly https://askubuntu.com/questions/1564272/my-computer-is-locking-up-randomly

I am experiencing an issue where in normal day-to-day use, my computer will just lock up completely. The displays all freeze, I can't SSH into my computer, and any processes I have running will just stop. REISUB does not work. There is no discernible pattern, it has happened when I play intense video games, it has happened when I'm just writing code at my job, it has happened when I'm watching movies with friends, and it has happened when I'm asleep.

Hardware:

  • AMD Radeon 9070 & XT (yes, both cards. It has happened on both.)

  • AMD Ryzen 7600 X & 9850 X3D (yes, both CPUs. It also happened on both,)

  • 750W PSU and another PSU, but I don't remember the specs (yes, both of them)

  • Flare X5 16GB RAM Stick (verified using memtest86)

OS: Ubuntu 24.04

I've tried:

  • Turning off global C-State control

  • Swapping out GPU, CPU, PSU

  • Switching to Windows for a weekend which did seem to get rid of the issue, because when I switched back and then went to sleep, I woke up with a locked PC.

  • Adjusting some grub settings, but I don't remember what they were.

  • Using latest graphics drivers for Ubuntu

  • Switched to a PPA for graphics drivers

This has been happening for months, and I assumed it was a hardware issue, which explains why I've basically swapped out my entire build. I've never seen anything suspicious in journalctl. If there is any other information I can give, please let me know.

Hard drive isn't accessible In Kubuntu, but does appear in Windows 10 [duplicate] https://askubuntu.com/questions/1564222/hard-drive-isnt-accessible-in-kubuntu-but-does-appear-in-windows-10

I'm new to Kubuntu and I've been having an issue with one of my hard drives. I dual boot Kubuntu (25.10) and Windows 10 (whatever the latest version was before it went out of service), and I have a 1TB hard drive connected to my computer. I can access it on Windows, but on Kubuntu, it will not show up in Dolphin. My Windows drive's two partitions and my external hard drive appear (and my phone when connected) and can be mounted with a click, but my 1TB hard drive does not appear. I've been having this issue for all of my installations of Kubuntu (~4?) and I've been using Kubuntu for a few months at this point.

I tried sudo fdisk -l, and sda, sdb, sdc, and sdd appeared. I believe sda4 and sda5 (out of 6) are my Windows drive's partitions, while sdc2 (out of 2) is my Kubuntu drive, and sdd1 (out of 1) is my external drive. sda1, sda2, sda3, and sda4 appear to all be related to formatting and file recovery, while sdb and its 3 parts are my 1TB. Curiously, I think the lack of it is tied to the three error messages that appear after sdb's listing in fdisk, Partition 1/2/3 does not start on physical sector boundary. I also do not know if I can access this drive through Konsole, but I doubt it.

Is there a way to fix this issue without formatting my drive entirely? It isn't necessarily difficult to move files over to Linux on this drive, but I don't want to have duplicate files on that drive and my Kubuntu drive if there is a way around it. I want to keep this drive, since it has a lot of things I consider important that are hard to access again.

Please ask me if you need more information.

I tried sudo mount /dev/sdb3 /mnt (tried sdb3 since I believed that part contained my files), and it gave me this error:
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb3, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
I ran dmesg afterwards, and it said dmesg: read kernel buffer failed: Operation not permitted, though I'm not sure if I just used the command wrong, as I haven't used dmesg before.
I also do have Fast Startup/Fast Boot off, and the type fdisk said sdb3 was Microsoft LDM data. My other compatible disks are just Microsoft basic data.\

Used a tool somebody sent, ldmtool. It worked! Thank you all so much!
I believe this question was different from the start, though it did end up as a duplicate of another question, though I wasn't aware it would be a duplicate when I first made this question.

According to the results of fdisk the Windows disk management type of sdb3 is Microsoft LDM data. This is a dynamic disk management type. To install ldmtool (tool for managing Microsoft Windows dynamic disks) in Ubuntu 25.10 or later run the following command.

sudo apt install ldmtool
How can I get CR3 files to display thumbnails in Nautilus on Ubuntu 24.04? https://askubuntu.com/questions/1564201/how-can-i-get-cr3-files-to-display-thumbnails-in-nautilus-on-ubuntu-24-04

I am a new Ubuntu user who's having trouble getting .CR3 files to show thumbnails on Nautilus. I tried adding the appropriate MIME Type to my thumbnailer file: image/x-cr3;image/x-canon-cr3 (and several other variations pasted from a massive list of RAW photo file types). I saw that the previous question about this same issue was never answered, so I am not sure where to go. I followed the tutorial in this YouTube video.

grub does not see the Windows 10 disk/partition https://askubuntu.com/questions/1564083/grub-does-not-see-the-windows-10-disk-partition

I did see many posts regarding this topic, but none helped me to solve it.

I had an older PC with dual boot Ubuntu and Windows 7 running. both on different disks.

I moved the Ubuntu disk to another PC running Windows 10.
Starting Windows 10 worked as usual, but not Ubuntu, so I used Boot-Repair. On the first run Boot–Repair went through (including removing/installing grub) using the default settings. After restarting there was no grub on any disk (there are 4 internal disks and 2 USB disks with data and for backup). Running disk repair again, trying to define which disk should contain grub and also trying to use the default repair now always gave the following error message:

The current session is in BIOS-compatibility mode. 
Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, 
and use this software from a live-CD (or live-USB) 
that is compatible with UEFI booting mode. 
For example, use a live-USB of Boot-Repair-Disk-64bit   
(www.sourceforge.net/p/boot-repair-cd), 
after making sure your BIOS is set up to boot USB in EFI mode.

Only BIOS is set to UEFI and I could not find the BIOS-compatibility settings.

Based on some thread in this forum I did the following:

  • mount /dev/sda5 /mnt

  • Then run the following to do a chroot to reinstall grub on the system:

  • for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

  • chroot /mnt

    The later 2 steps threw an error message, /cow etc. I solved it by sudo apt-get install grub. It seems the Boot–Repair did not install grub properly.

    Then you should be at a $ prompt and see your Ubuntu installation. You should now be able to reinstall grub and update grub.

  • sudo grub-install /dev/sda

  • sudo update-grub

Only the Windows on disk /dev/sdh was not found

Searching through several threads did not solve it.

What I did:

  • turned off Fast Boot and Windows power setting: no effect (still left it that way)

  • trying 40_custom settings using the hd8,1 (for /dev/sdh) did get

    grub cannot get C/H/S values

  • I tried several hdX settings, but none worked.

Next based on another thread:

menuentry "Windows 10" --class windows --class os {
   insmod ntfs
   search --no-floppy --set=root --fs-uuid 6A4C90714C9039B1
   ntldr /bootmgr
}

The uuid is the ntfs partition (/dev/sdh2), I also tried the efi partition uuid (/dev/sdh1)
This had no effect. Windows does not boot from the grub boot menu.

Do you have any other suggestions to get Windows to start from the grub boot menu?

Link to Boot-repair log: https://paste.ubuntu.com/p/JkrmrzGtWq/

In meantime i did run boot repair twice on the Windows partition

`update-grub2` now finds a Windows 10 installation, but on `/dev/sdd1` which is the efi partition. Windows and the bootmanager is actually installed on `/dev/sdd2`.

using the now available Windows 10 entry does blank the screen a moment and restarts the computer.

/dev/sdd1 entry:

drwxr-xr-x  4 root root   1024 Jan  1  1970 ./
drwxr-xr-x 21 root root   4096 Feb 19 10:52 ../
-rwxr-xr-x  1 root root      1 Dec  7  2019 BOOTNXT*
drwxr-xr-x 41 root root   4096 Feb 21 10:31 Boot/
drwxr-xr-x  5 root root   1024 Feb 23 07:34 EFI/
-r-xr-xr-x  1 root root 420238 Oct 19 04:59 bootmgr*

The grub menu entry for Windows 10 points to /dev/sdd1 but i think it should point to /dev/sdd2 or?

Ubuntu 24.04 (Noble): Wi-Fi stopped working after kernel upgrade to 6.17.0-14-generic (Intel AX211 / iwlwifi) https://askubuntu.com/questions/1563722/ubuntu-24-04-noble-wi-fi-stopped-working-after-kernel-upgrade-to-6-17-0-14-ge

After upgrading the Linux kernel on Ubuntu (via sudo apt upgrade) to a newer version (in my case 6.17.0-14-generic), Wi-Fi stopped working. The laptop uses an Intel Wi-Fi 6E AX211 adapter with the iwlwifi driver. The device was detected by PCI tools, but the Wi-Fi interface was not usable and the device showed as UNCLAIMED in lshw.

Hardware / detection output:

aeart@aeart-ThinkBook-16-G8-IAL:~$ lspci | grep -i network
00:14.3 Network controller: Intel Corporation Device 7740
aeart@aeart-ThinkBook-16-G8-IAL:~$ lspci -knn | grep -iA2 net
00:14.3 Network controller [0280]: Intel Corporation Device [8086:7740]
 Subsystem: Intel Corporation Device [8086:0094]
 Kernel modules: iwlwifi
--
00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:57a1]
 DeviceName: To Be Filled by O.E.M.
 Subsystem: Lenovo Device [17aa:3802]
aeart@aeart-ThinkBook-16-G8-IAL:~$ sudo lshw -class network
[sudo] password for aeart: 
  *-network:0 UNCLAIMED     
       description: Network controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: iomemory:480-47f memory:48192c4000-48192c7fff
  *-network:1
       description: Ethernet interface
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: eno0
       version: 00
       serial: 84:ba:59:b6:c2:cc
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.17.0-14-generic firmware=0.1-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:146 memory:98200000-9821ffff
  *-network
       description: Ethernet interface
       physical id: 12
       bus info: usb@3:3
       logical name: enx6a1febda5995
       serial: 6a:1f:eb:da:59:95
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=6.17.0-14-generic firmware=RNDIS device ip=192.168.5.60 link=yes multicast=yes port=twisted pair

Kernel log / error: dmesg showed firmware load failures and the driver explicitly said that the required firmware versions were missing:

aeart@aeart-ThinkBook-16-G8-IAL:~$ sudo dmesg | grep iwlwifi
[sudo] password for aeart: 
[    2.462594] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[    2.515914] iwlwifi 0000:00:14.3: Detected crf-id 0x400410, cnv-id 0x80930 wfpm id 0x80005b20
[    2.515930] iwlwifi 0000:00:14.3: PCI dev 7740/0094, rev=0x461, rfid=0x2010d000
[    2.515935] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz
[    2.516006] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-bz-b0-gf-a0-100.ucode failed with error -2
[    2.516195] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-bz-b0-gf-a0-99.ucode failed with error -2
[    2.516231] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-bz-b0-gf-a0-98.ucode failed with error -2
[    2.516233] iwlwifi 0000:00:14.3: no suitable firmware found!
[    2.516238] iwlwifi 0000:00:14.3: minimum version required: iwlwifi-bz-b0-gf-a0-98
[    2.516241] iwlwifi 0000:00:14.3: maximum version supported: iwlwifi-bz-b0-gf-a0-100
[    2.516243] iwlwifi 0000:00:14.3: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
Switching to Nvidia Graphics Card, using prime-select nvidia? https://askubuntu.com/questions/1446831/switching-to-nvidia-graphics-card-using-prime-select-nvidia

I'm on Ubuntu 22.04. I would like to switch to my nvidia gpu, it's currently using the integrated gpu. I've used the command prime-select nvidia but when I go to settings -> about it still says i'm using the Intel gpu?

The current gpu that is being used is NV137 / Mesa Intel® HD Graphics 630 (KBL GT2). I want to switch to my nvidia 1050Ti. I'm not sure if my laptop has hybrid graphics or a desktop with a dedicated GPU. I do not know why my laptop was not already using my nvidia 1050Ti. The card was not recently installed, when I was using windows it was using my 1050Ti fine. The exact command I used was 'sudo prime-select nvidia' (excluding apostrophes). The output of the command was this. The reason I know i'm still only using the Intel GPU is it says it in the about section of the settings and when I play games they all use that GPU instead of my 1050Ti. I do not know what Nvidia driver version I have. I haven't manually installed anything regarding to nvidia because I figured it would already have it.

How to install and configure mDNS on Ubuntu 18.04? https://askubuntu.com/questions/1335936/how-to-install-and-configure-mdns-on-ubuntu-18-04

According to the link. https://www.howtoinstall.me/ubuntu/18-04/avahi-daemon/

The method it provides for installing mDNS consists of just two lines of command:

sudo apt update
sudo apt install avahi-daemon

According to the link: What is mDNS? Is it possible to make mDNS query without mdns service running?

One friend replied:

Ubuntu systems just need avahi-daemon and libnss-mdns installed.

So the first question is :

What is the standard method for installing mDNS on ubuntu 18.04?

The second question is:

After installing mDNS, how should I configure mDNS?

The third question is:

How can I verify the functionality of mDNS?

How to create automount 'vboxsf' for sharing folders in Ubuntu 20.04.1? https://askubuntu.com/questions/1271943/how-to-create-automount-vboxsf-for-sharing-folders-in-ubuntu-20-04-1

Ubuntu 20.04.1 complains about the command:

sudo usermod -a -G vboxsf (username)

with the message:

usermod: group 'vboxsf' does not exist

I suspect that the group was not created by the virtualbox-guest-additions-iso package. So this would be a manual patch.

How to create automount 'vboxsf' for sharing folders in Ubuntu 20.04.1?

How to rescue scratched CDs or DVDs using Ubuntu? https://askubuntu.com/questions/1209007/how-to-rescue-scratched-cds-or-dvds-using-ubuntu

I have several old CDs that have scratches and won't play anymore. The same with a scratched video DVD. Is there any chance to recover the data using Ubuntu?

bbswitch unable to turn discrete graphics off https://askubuntu.com/questions/1199180/bbswitch-unable-to-turn-discrete-graphics-off
Laptop: Acer Predator PH315-52 
OS : UBUNTU 18.04.2 LTS 
Nvidia Driver : 418.87 
Kernel : 5.0.0-37-generic 
Processors : Intel UHD 630 and Nvidia 1660 Ti 
bbswitch version: 0.8-4ubuntu1 
bumblebee version: 3.2.1+git20181231-103~bionicppa1
$ grep bumblebeed /var/log/syslog

Output:

Predator bumblebeed[3353]: Received Terminated signal.
Predator bumblebeed[3353]: Unable to disable discrete card.
Predator bumblebeed[7981]: /usr/sbin/bumblebeed started
Predator bumblebeed[7981]: Unable to disable discrete card.
$ lsmod | grep -i nouveau

Output: (Blank output) ## showing nouveau is not loaded

$ lsmod | grep nvidia

Output:

i2c_nvidia_gpu ## Handled it via "$ modprobe -r i2c_nvidia_gpu" but the problem still remains ## and the outputs of all too remains the same ## Blank output of "lsmod | grep nvidia" after unloading it using ablove command

$ cat /proc/acpi/bbswitch

Ouput:0000:01:00.0 ON

$ sudo tee /proc/acpi/bbswitch <<<**OFF**

Output:OFF

$ dmesg | grep bbswitch


[ 6.659422] bbswitch: loading out-of-tree module taints kernel.
[ 6.660407] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 6.661578] bbswitch: version 0.8
[ 6.662580] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 6.663575] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[ 6.665690] bbswitch: detected an Optimus _DSM function
[ 6.667873] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[ 18.818552] bbswitch: disabling discrete graphics
[ 114.697607] bbswitch: disabling discrete graphics
[ 114.697852] acpi_thermal_rel intel_pch_thermal wmi_bmof acer_wmi 
acer_wireless intel_lpss mac_hid soundcore sparse_keymap acpi_pad sch_fq_codel parport_pc ppdev lp parport bbswitch(OE) ip_tables x_tables autofs4 hid_generic usbhid i915 kvmgt vfio_mdev mdev vfio_iommu_type1 vfio kvm irqbypass i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm alx ahci mdio i2c_hid libahci i2c_nvidia_gpu hid wmi video pinctrl_cannonlake pinctrl_intel
[ 114.697897] bbswitch_off+0xbb/0x230 [bbswitch]
[ 114.697898] bbswitch_proc_write+0xb5/0xcc [bbswitch]
[ 446.444365] bbswitch: disabling discrete graphics

$ cat /proc/acpi/bbswitch

Ouput:0000:01:00.0 ON #############This is the problem,it should display OFF

$ optirun --status

Output: Bumblebee status: Ready (). X inactive. Discrete video card is on.

Also video LNXVIDEO:00: Failed to change power state to D3hot

Installation steps taken:

$ sudo apt update

Installed Cuda 10.1 .deb package from nvidia website and driver 418.87 was automatically   installed with the package(also prime-select was also installed with it)

$ sudo nano /etc/default/grub

changed - GRUB_CMDLINE_LINUX_DEFAULT='pcie_port_pm=off acpi_backlight=none acpi_osi=Linux acpi_osi=! acpi_osi=\"Windows 2009\"'

$ sudo add-apt-repository ppa:bumblebee/testing

$ sudo apt update

Installed synaptics package manager and then through it installed bumblebee,bumblebee-nvidia   and primus(and all others which by default get installed with them like bbswitch)

$ sudo nano /etc/bumblebee/bumblebee.conf
 Changed 'Driver=' to 'Driver=nvidia'
  Bridge=primus
  KernelDriver=nvidia
  PMMethod=bbswitch
  LibraryPath=/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
  XorgModulePath=/usr/lib/x86_64-linux-gnu/xorg,/usr/lib/xorg/modules
  XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
$ sudo nano /etc/modprobe.d/bumblebee.conf
 blacklist nvidia
  blacklist nvidia-current
  blacklist nvidia-current-updates
  blacklist nvidia_drm
  blacklist nvidia_uvm
  blacklist nvidia_modeset
  blacklist nvidiafb
  blacklist i2c-nvidia-gpu
  blacklist i2c-nvidia-gpu
  blacklist nouveau
  blacklist nvidia-current
$ sudo nano /etc/modules-load.d/modules.conf

added following:

   i915

   bbswitch

selected intel as prime profile

Restarted laptop and the above stated problems kicked in.

Also upon startup grep bumblebeed /var/log/syslog shows- Predator bumblebeed[864]: /usr/sbin/bumblebeed started Predator bumblebeed[864]: Unable to disable discrete card.

Please help me solve the problem.

Problem installing thermal printer https://askubuntu.com/questions/1074628/problem-installing-thermal-printer

I have a usb HOIN HOP-H58 thermal printer that I have not succeeded in installing. I have Ubuntu 18.04 and a POS system that I wish to use the printer with. The system recognises the printer as CUPS-BRF Printer but adding it as such does not work.

Ubuntu system gives these options of adding the printer from the settings:

  • By selecting printer name from database - Hoin/Hop not available
  • Select a ppd file from installation source -- only .rar file available from printer's website: http://hoinprinter.com/en/download
  • Installing as Generic (text-only) (still from database of printers) - Does not work

I even tried Epson drivers (As the printer shows something like "command: Espson ESC/POS") but this too was problematic and didn't work.

I will really appreciate any help on how to get the drivers and how to install them ( https://github.com/IntegersOfK/Hoin-POS-58-80 seems to have a probable solution but I could not figure out how to install).

Thanks, Joseph.

Hi again..., I managed to school myself a bit and I "successfully" run the .sh file from the downloaded file. This was the screen output:

----------

root@User1-job-node:/home/User11/Downloads/Linux Driver/install_package# chmod +x setup58.sh 
root@User1-job-node:/home/User11/Downloads/Linux Driver/install_package# ./setup58.sh
POS Electronics Co..Ltd 
---------------------------------------
    Models included:
                 POS-80-Series
                 POS-58-Series
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Searching for ServerRoot, ServerBin, and DataDir tags in /etc/cups/cupsd.conf

ServerBin tag not present in cupsd.conf - using default

DataDir tag not present in cupsd.conf - using default

ServerRoot = 
ServerBin  = 
DataDir    = 

Copying rastertopos58 filter to /usr/lib/cups/filter
chmod: cannot access './bin/rastertopos58': No such file or directory
cp: cannot stat './bin/rastertopos58': No such file or directory

Copying model ppd files to /usr/share/cups/model/pos
cp: cannot stat 'ppd/*.ppd': No such file or directory

Add the POS-58-Series printer
lpadmin: Unable to open PPD "/usr/share/cups/model/pos/pos58.ppd": Unable to open PPD file on line 0.
lpadmin: Unable to open PPD file "/usr/share/cups/model/pos/pos58.ppd" - No such file or directory

Restarting CUPS
[ ok ] Stopping cups (via systemctl): cups.service.
[ ok ] Starting cups (via systemctl): cups.service.

Install Complete
Go to http://localhost:631, or http://127.0.0.1:631 to manage your printer please

----------

After this, the printer fails to work and the following is noted:

  • Opening http://localhost:631, one cannot "add printer" since after entering login details the browser (firefox in this case) searches forever with nothing coming out of it,
  • The printer ill never print even a testpage and this is shown under 'status' in the printing preferences for the printer (POS-58-Series): File "/usr/lib/cups/filter/rasteropos58" not available: No such file or Directory

Other tried options for which installation flopped were:

Recover Kazam .movie.mux files https://askubuntu.com/questions/1062165/recover-kazam-movie-mux-files

Sometimes when Kazam crashes during saving a recording, it leaves behind its recorded video data -- an empty .movie file, and a large .movie.mux file.

I don't know how to transcode a Kazam .movie.mux file into a playable format like MP4 / WebM / OGV. Is it possible to recover these files?

How to remove disabled (unused) snap packages with a single line of command? https://askubuntu.com/questions/1036633/how-to-remove-disabled-unused-snap-packages-with-a-single-line-of-command

When I run snap list --all command it shows all the installed versions of snap packages.

Name                  Version       Rev   Tracking  Developer     Notes
atom                  1.26.1        150   stable    snapcrafters  classic
brave                 v0.22.669dev  23    stable    brave         -
core                  16-2.32.6     4571  stable    canonical     core
core                  16-2.32.5     4486  stable    canonical     core,disabled
firefox               59.0.2-1      71    stable    mozilla       disabled
firefox               60.0-2        85    stable    mozilla       -
gimp                  2.10.0        38    stable    snapcrafters  disabled
gimp                  2.10.0        39    stable    snapcrafters  -
gimp                  2.8.22        30    stable    snapcrafters  disabled
gnome-3-26-1604       3.26.0        64    stable/…  canonical     -
gnome-3-26-1604       3.26.0        62    stable/…  canonical     disabled
gnome-characters      3.28.0        86    stable/…  canonical     -
gnome-characters      3.26.2        69    stable/…  canonical     disabled
gnome-logs            3.26.2        25    stable/…  canonical     disabled
gnome-logs            3.28.0        31    stable/…  canonical     -
gnome-system-monitor  3.26.0        36    stable/…  canonical     disabled
gnome-system-monitor  3.26.0        39    stable/…  canonical     -
libreoffice           6.0.3.2       59    stable    canonical     disabled
libreoffice           6.0.4.2       63    stable    canonical     -

Now there are so many disabled packages there which are no longer used. So I want to remove those packages. Here the command is snap remove gnome-3-26-1604 --revision=62 . Now I have to do it for all the revisions and for all the packages one by one. Is there any command which will remove the disabled or unused snap packages with single line of command?

Thanks in advance...

Restore Windows 10 boot option in Grub Bootloader https://askubuntu.com/questions/919827/restore-windows-10-boot-option-in-grub-bootloader

I've been running Windows 10 and Ubuntu 16.04 next to eachother for quite a while. I could boot into either OS with Grub bootloader. Unfortunatly my Windows 10 install broke and I needed to reinstall it.

After reinstalling Windows 10 I could not boot into it anymore with Grub bootloader. So I ran used my bootable Windows USB to execute the following commands to regain acces to Windows:

bootrec.exe /fixmbr
bootrec.exe /fixboot  
bootrec.exe /rebuildbcd 

After that I've used easyBCD to create a new Bootloader menu for Windows 10 and Ubuntu. This got it kind of working again. What I have to do now is to use Windows 10 boot menu to select either Windows 10 or Ubuntu, if I choose Windows 10 it sends me straight into the OS. If I choose Ubuntu however I get send to Grub bootloader with the broken link(?) to my old(?) Windows 10. And selecting Ubuntu boots me into the Ubuntu OS.

What I would like to achieve is that I have everything under the Grub Bootloader again but I'm very confused to what is happening here, so I was hopefull somone could help me out here.

Here are my current partitions: enter image description here

Edit: It seems like Grub Customizer is removing /etc/grub.d/40_custom when I try saving in Grub Customizer. When I add those lines in the original file and save it there, the boot option won't show in Grub Customizer.

su without password with pam su-authentication https://askubuntu.com/questions/821793/su-without-password-with-pam-su-authentication

I've done the following configuration in ubuntu 14.04 but it's still asking password.

$ /etc/passwd

test:x:1004:1004::/home/test:/bin/bash

$/etc/pam.d/su

 auth       required   pam_wheel.so group=test
 auth       sufficient pam_wheel.so trust use_uid

Is there any other method to do this?

Ubuntu 15.10 Intel® 945GM x86/MMX/SSE2 graphics driver issues with 32-bit OS https://askubuntu.com/questions/727783/ubuntu-15-10-intel-945gm-x86-mmx-sse2-graphics-driver-issues-with-32-bit-os

I am also having issues with my graphics driver.

Graphics: Intel® 945GM x86/MMX/SSE2
OS type: 32-bit

The screen gets corrupted with lines all over it and the only way to fix it is to force a refresh by moving some windows around with the mouse. The issue started after I upgraded from 15.4 to 15.10, which appears to be how it went for Alejandro Lázaro and jit, but the solution that jit tried did not work for me; which involved editing the following file with the contents listed:

/usr/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection
Canon MP237 can print but cannot scan https://askubuntu.com/questions/481281/canon-mp237-can-print-but-cannot-scan

I have a Canon MP237 (3-in-1) printer, and I can print properly using the software on Ubuntu 14.04, however I cannot scan with it. I even tried GIMP image editor, but I still cannot do any scanning. The copy function of the printer works well, so I'm sure it's caused by a software issue.

Keyboard not working properly in terminal https://askubuntu.com/questions/312696/keyboard-not-working-properly-in-terminal

I'm using Ubuntu 12.04.2, and my keyboard doesn't work normally in terminal. When I press the arrow keys, the characters "a", "b", "c", or "d" appear. The Backspace key is also not working.

Why does bash remove newlines from the file in "echo $(cat file)"? https://askubuntu.com/questions/121866/why-does-bash-remove-newlines-from-the-file-in-echo-cat-file

If I have the file input.txt containing:

hello
world
!

Then executing the bash command echo $(cat input.txt) will output this:

hello world !

Why and how can I fix it to output exactly what is in the file how it is in the file?

Install a list of packages only if they aren't already installed https://askubuntu.com/questions/98119/install-a-list-of-packages-only-if-they-arent-already-installed

I'm trying to automate my setup as much as possible.

To do this I have lists of packages that I want to install, for example: banshee wireshark audacity thunderbird thunderbird-lightning calibre deluge unison-gtk usb-creator-kde ding digikam chromium-browser bleachbit soundconverter kdenlive firefox-kde-support vlc kwrite openjdk-6-jre icedtea6-plugin virtualbox virtualbox-guest-additions-iso.

I want to write a small bash script to call apt-get to install these packages only if they're not already installed.

Currently I have this but it doesn't work:

dpkg -s "$1" > /dev/null 2>&1 || apt-get -y install "$1", (where $1 is the list)