I have problem with one package intellij-idea-community-edition-no-jre
. What I want to write in this post is not related to the package per se, but rather to the way it is updated by pamac.
You see, there was a problem with running Intellij with my java jre-17, so I solved it by editing the .desktop file and changing this line:
Exec=idea-ce %f
to this line:
Exec=bash -c "IDEA_JDK=/usr/lib/jvm/java-11-openjdk idea-ce %f"
Now Intellj runs with the right jre and starts up and works fine.
Problem solved? I thought so, but not so fast...
Unfortunately my edit to this file are overwritten each time I do an update to this package.
I discovered I can edit the build files of this package (it is from AUR, so I can do so) and did a similar change to the .desktop file I've mentioned earlier.
But this didn't solved the problem either...
You see, the original author to this package put the .desktop file as one of files to be downloaded from the net AND being checked upon with SHA256 hash (it "amazes" me to why it was done like that...) so any change on my side are also either forbidden or (after I change the hash to SKIP
) overwritten again, because of the download.
So, I'm asking You If I can do anything to make my edits a bit more permanent?
System:
Kernel: 5.18.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6a135e81-5d37-4390-8a10-a9eef293c0d9 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: Cinnamon v: 5.4.2 tk: GTK v: 3.24.34 wm: Mutter vt: 7
dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Acer product: Aspire A515-54G v: V1.24
serial: <superuser required>
Mobo: CML model: Doc_WC v: V1.24 serial: <superuser required>
UEFI: Insyde v: 1.24 date: 07/07/2021
Battery:
ID-1: BAT1 charge: 39.0 Wh (100.0%) condition: 39.0/48.9 Wh (79.7%)
volts: 16.2 min: 15.2 model: LGC AC14B8K type: Li-ion serial: <filter>
status: full
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: Intel Core i5-10210U bits: 64 type: MT MCP
arch: Comet/Whiskey Lake note: check gen: core 10 built: 2018
process: Intel 14nm family: 6 model-id: 0x8E (142) stepping: 0xC (12)
microcode: 0xF0
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 800 min/max: 400/4200 scaling: driver: intel_pstate
governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
8: 800 bogomips: 33599
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CometLake-U GT2 [UHD Graphics]
vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen9.5
process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: HDMI-A-1
bus-ID: 0000:00:02.0 chip-ID: 8086:9b41 class-ID: 0300
Device-2: NVIDIA GP108M [GeForce MX250] vendor: Acer Incorporated ALI
driver: nouveau v: kernel non-free: 515.xx+ status: current (as of 2022-06)
arch: Pascal process: TSMC 16nm built: 2016-21 bus-ID: 0000:02:00.0
chip-ID: 10de:1d13 class-ID: 0302
Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 1-5:3
chip-ID: 0408:a061 class-ID: 0e02
Display: x11 server: X.Org v: 21.1.3 driver: X: loaded: intel,nouveau
unloaded: modesetting alternate: fbdev,nv,vesa gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP1 model: AU Optronics 0x61ed built: 2018
res: 1920x1080 hz: 60 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: Intel Comet Lake PCH-LP cAVS vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 0000:00:1f.3
chip-ID: 8086:02c8 class-ID: 0403
Sound Server-1: ALSA v: k5.18.5-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: PulseAudio v: 16.1 running: no
Sound Server-4: PipeWire v: 0.3.52 running: yes
Network:
Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 0000:00:14.3 chip-ID: 8086:02f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000
bus-ID: 0000:03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode]
driver: intel_nvme_remap v: N/A port: 5060 bus-ID: 0000:00:17.0
chip-ID: 8086:282a rev: class-ID: 0104
Drives:
Local Storage: total: 953.87 GiB used: 99.84 GiB (10.5%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
size: 953.87 GiB block-size: physical: 512 B logical: 512 B type: SSD
serial: <filter> rev: 002C temp: 28.9 C scheme: GPT
Partition:
ID-1: / raw-size: 476.38 GiB size: 476.38 GiB (100.00%)
used: 99.78 GiB (20.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 54.6 MiB (56.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 476.38 GiB size: 476.38 GiB (100.00%)
used: 99.78 GiB (20.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-4: /var/log raw-size: 476.38 GiB size: 476.38 GiB (100.00%)
used: 99.78 GiB (20.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
ID-5: /var/tmp raw-size: 476.38 GiB size: 476.38 GiB (100.00%)
used: 99.78 GiB (20.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.59 GiB used: 688.5 MiB (8.9%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 43.0 C pch: 44.0 C mobo: N/A gpu: nouveau
temp: 39.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 295 Uptime: 2h 55m wakeups: 12 Memory: 7.59 GiB
used: 5.47 GiB (72.1%) Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: apt: 0
pacman: 1699 lib: 370 Shell: Bash v: 5.1.16 running-in: gnome-terminal
inxi: 3.3.18
Garuda (2.6.4-1):
System install date: 2021-12-22
Last full system update: 2022-06-23 ↻
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: Probably (Run as root to verify)
Snapshots: Snapper
Failed units: