Page 1 of 1

Want to add mouse wheel function with some .diff text file as found

Posted: Tue Dec 20, 2022 4:52 am
by mxneu
Want to add mouse wheel function with some .diff text file as found.
It should add a zoom function, mouse wheel only. To Gwenview and also folder view, unsure if in Dolphin or Gwenview.
Using mx linux kde 21.2.1
https://phabricator.kde.org/D15809

There may be 5 files to edit, unsure if they are at the right location for me. I searched the files too but they seem to exist nowehere on my freshly installed-to-test MX.
I tried sudo git apply /home/mxmr/Downloads/D15809.diff

But:

error: app/configdialog.cpp: No such file or directory
error: app/imageviewconfigpage.ui: No such file or directory
error: lib/documentview/documentview.cpp: No such file or directory
error: lib/gwenviewconfig.kcfg: No such file or directory
error: lib/mousewheelbehavior.h: No such file or directory

never done anything with .diff, please diff me help :)

Code: Select all

System:    Kernel: 5.10.0-20-amd64 [5.10.158-2] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/vmlinuz-5.10.0-20-amd64 
           root=UUID=<filter> ro quiet video=1280x1024 splash 
           Desktop: KDE Plasma 5.20.5 wm: kwin_x11 vt: 7 dm: SDDM 
           Distro: MX-21.2.1_KDE_x64 Wildflower September 18  2022 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Sony product: VPCEH2J1E v: C105YCJC serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Sony model: VAIO serial: <filter> BIOS: INSYDE v: R0180Z9 date: 04/28/2011 
Battery:   ID-1: BAT0 charge: 17.6 Wh (100.0%) condition: 17.6/45.0 Wh (39.1%) volts: 3.9 
           min: 10.8 model: SONY Corp. VGP-BPS26 type: Li-ion serial: <filter> status: Full 
CPU:       Info: Dual Core model: Intel Core i3-2330M bits: 64 type: MT MCP arch: Sandy Bridge 
           family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 3 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17559 
           Speed: 1161 MHz min/max: 800/2200 MHz Core speeds (MHz): 1: 1161 2: 1284 3: 1244 
           4: 1063 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data status: Unknown: No mitigations 
           Type: retbleed status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling, PBRSB-eIBRS: Not affected 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GF119M [GeForce 410M] vendor: Sony driver: nouveau v: kernel 
           bus-ID: 01:00.0 chip-ID: 10de:1055 class-ID: 0300 
           Device-2: Suyin Sony Visual Communication Camera type: USB driver: uvcvideo 
           bus-ID: 1-1.2:3 chip-ID: 064e:a302 class-ID: 0e02 serial: <filter> 
           Display: x11 server: X.Org 1.20.14 compositor: kwin_x11 driver: loaded: modesetting 
           unloaded: fbdev,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
           s-diag: 414mm (16.3") 
           Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 101 size: 344x193mm (13.5x7.6") 
           diag: 394mm (15.5") 
           OpenGL: renderer: NVD9 v: 4.3 Mesa 22.0.5 direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Sony 
           driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403 
           Device-2: NVIDIA GF119 HDMI Audio vendor: Sony driver: snd_hda_intel v: kernel 
           bus-ID: 01:00.1 chip-ID: 10de:0e08 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-20-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter vendor: Foxconn 
           driver: ath9k v: kernel modules: wl port: 4000 bus-ID: 07:00.0 chip-ID: 168c:002b 
           class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Sony 
           driver: r8169 v: kernel port: 2000 bus-ID: 13:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Bluetooth: Device-1: Qualcomm Atheros AR3011 Bluetooth type: USB driver: btusb v: 0.8 
           bus-ID: 1-1.5:4 chip-ID: 0cf3:3005 class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0 
           sub-v: 9999 hci-v: 3.0 rev: 9999 
           Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff 
           link-mode: slave accept service-classes: rendering, capturing, object transfer, audio 
Drives:    Local Storage: total: 465.76 GiB used: 8.48 GiB (1.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST9500325AS size: 465.76 GiB 
           block-size: physical: 512 B logical: 512 B speed: 1.5 Gb/s type: HDD rpm: 5400 
           serial: <filter> rev: SDM2 scheme: MBR 
Partition: ID-1: / raw-size: 458.99 GiB size: 450.71 GiB (98.20%) used: 8.29 GiB (1.8%) fs: ext4 
           dev: /dev/dm-0 maj-min: 253:0 mapped: root.fsm 
           ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 187.7 MiB (19.3%) 
           fs: ext4 dev: /dev/sda1 maj-min: 8:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 5.73 GiB used: 4 MiB (0.1%) priority: -2 
           dev: /dev/dm-1 maj-min: 253:1 mapped: swap 
Sensors:   System Temperatures: cpu: 53.0 C mobo: N/A gpu: nouveau temp: 49.0 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: note: see --pkg apt: 2305 lib: 1287 flatpak: 0 
           No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian bullseye main contrib non-free
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mirror.tiguinet.net/mx/packages/mx/repo/ bullseye main non-free
           2: deb http://mirror.tiguinet.net/mx/packages/mx/repo/ bullseye ahs
Info:      Processes: 234 Uptime: 1h 13m wakeups: 2 Memory: 3.82 GiB used: 3.07 GiB (80.3%) 
           Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A 
           alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06 
Boot Mode: BIOS (legacy, CSM, MBR)