Proposal: Slightly tweaked version of inxi-gui

Forum Forums antiX-development Development Proposal: Slightly tweaked version of inxi-gui

  • This topic has 47 replies, 7 voices, and was last updated Feb 20-7:25 pm by h2.
Viewing 15 posts - 1 through 15 (of 48 total)
  • Author
    Posts
  • #128800
    Member
    PPC

      inxi-gui is the GUI, available in Control Centre, that displays system information and also allows users to save that report to a text file.
      This should be recommended by default, in my opinion, to new users, so they can easily share their system info when posting about a problem here in the forum.

      What I changed:
      1- Added the app’s icon to the title bar (it just displayed the default yad icon)
      2- Made the “Full info” the initial entry (so it’s easier to find, among the many and confusing sounding options that are listed)
      3- I made the “Full info” selected by default – if a new user just wants to get a report about the system, simply open the GUI and click OK.
      4- Changed, and made localizable the “Ok” and “Exit” buttons, on the main window.

      I think these small tweaks make the app much more usable to the folks that need it the most- new users. Also, I think logically, the option with more info should be listed first, not in the middle of a huge list…

      P.

      • This topic was modified 1 month, 2 weeks ago by PPC.
      #128825
      Forum Admin
      rokytnji

        Tested. Seems OK to me.

        [/url]

        Not sure what could be added.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        Motorcycle racing is rocket science.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #128827
        Member
        madibi

          Bravo @PPC
          The excellent result lies in the attention to detail. And this certainly makes it easier for newcomers
          m

          #128853
          Moderator
          Brian Masinick

            Nice work @PPC !

            --
            Brian Masinick

            #128860
            Member
            PPC

              Thanks for the positive feed back- I still have to spend a bit more time adding the window icon to all yad windows (and also try to change the “Save” and “Cancel” buttons so they can be localized)!

              P.

              #128863
              Moderator
              Brian Masinick

                Here’s my “full output”, generated with a simple click using @PPC inxi-gui-updated:

                System:
                  Kernel: 6.6.10-3-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc
                    v: 12.2.0 clocksource: tsc available: hpet,acpi_pm parameters: audit=0
                    intel_pstate=disable rcupdate.rcu_expedited=1
                    BOOT_IMAGE=/boot/vmlinuz-6.6.10-3-liquorix-amd64
                    root=UUID=1480170f-3bd2-4337-af59-015e667f24bc ro quiet selinux=0
                  Desktop: IceWM v: 3.4.5 dm: slimski v: 1.5.0 Distro: antiX-23-runit_x64
                    bookworm November 21 2023 base: Debian GNU/Linux 12 (bookworm)
                Machine:
                  Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
                  Mobo: HP model: 887C v: 59.11 serial: <superuser required> UEFI: AMI
                    v: F.18 date: 11/26/2021
                Battery:
                  ID-1: BAT0 charge: 40.6 Wh (99.8%) condition: 40.7/40.7 Wh (100.0%)
                    volts: 12.7 min: 11.3 model: HP Primary type: Li-ion serial: <filter>
                    status: not charging
                Memory:
                  System RAM: total: N/A available: 7.1 GiB used: 1.37 GiB (19.3%)
                  RAM Report: permissions: Unable to run dmidecode. Root privileges
                    required.
                PCI Slots:
                  Permissions: Unable to run dmidecode. Root privileges required.
                CPU:
                  Info: model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64 type: MT MCP
                    arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
                    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x68 (104) stepping: 1
                    microcode: 0x8608103
                  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
                    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
                    desc: 2x4 MiB
                  Speed (MHz): avg: 878 high: 4039 min/max: 400/4056 scaling:
                    driver: amd-pstate-epp governor: performance cores: 1: 4039 2: 400 3: 400
                    4: 400 5: 400 6: 400 7: 2502 8: 400 9: 400 10: 400 11: 400 12: 400
                    bogomips: 50309
                  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
                    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
                    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
                    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
                    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs
                    ibs irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
                    movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw
                    overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
                    perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rapl rdpid
                    rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca
                    smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock
                    syscall tce topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif
                    vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr
                    xsaveopt
                  Vulnerabilities:
                  Type: gather_data_sampling status: Not affected
                  Type: itlb_multihit status: Not affected
                  Type: l1tf status: Not affected
                  Type: mds status: Not affected
                  Type: meltdown status: Not affected
                  Type: mmio_stale_data status: Not affected
                  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
                    protection
                  Type: spec_rstack_overflow mitigation: Safe RET
                  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: Retpolines, IBPB: conditional, STIBP:
                    always-on, RSB filling, PBRSB-eIBRS: Not affected
                  Type: srbds status: Not affected
                  Type: tsx_async_abort status: Not affected
                Graphics:
                  Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel
                    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
                    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
                    active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:164c
                    class-ID: 0300 temp: 46.0 C
                  Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo type: USB
                    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 04f2:b6f1
                    class-ID: 0e02 serial: <filter>
                  Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
                    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.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: eDP model: ChiMei InnoLux 0x1429 built: 2020
                    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 chroma: red: x: 0.592 y: 0.349
                    green: x: 0.329 y: 0.557 blue: x: 0.153 y: 0.118 white: x: 0.314 y: 0.329
                    size: 309x173mm (12.17x6.81") diag: 354mm (13.9") ratio: 16:9
                    modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x800, 1280x720,
                    1024x768, 800x600, 640x480
                  EDID-Warnings: 1: parse_edid: unknown flag 2
                  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
                    device: 1 drv: swrast gbm: egl: 1.4 drv: kms_swrast surfaceless:
                    drv: radeonsi x11: drv: radeonsi inactive: wayland
                  API: OpenGL v: 4.6 vendor: amd mesa v: 22.3.6 glx-v: 1.4 es-v: 3.2
                    direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 15.0.6 DRM
                    3.54 6.6.10-3-liquorix-amd64) device-ID: 1002:164c memory: 500 MiB
                    unified: no
                Audio:
                  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
                    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
                    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
                    class-ID: 0403
                  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
                    driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x,
                    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
                    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie:
                    gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
                    bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
                  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
                    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
                    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
                    class-ID: 0403
                  API: ALSA v: k6.6.10-3-liquorix-amd64 status: kernel-api with: apulse
                    type: pulse-emulator tools: alsactl,alsamixer,amixer
                  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
                    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
                    4: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
                Network:
                  Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
                    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0
                    chip-ID: 10ec:a85a class-ID: 0280
                  IF: wlan0 state: up mac: <filter>
                  IP v4: <filter> scope: global broadcast: <filter>
                  IP v6: <filter> scope: link
                  WAN IP: <filter>
                Bluetooth:
                  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
                    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4 chip-ID: 0bda:385a
                    class-ID: e001 serial: <filter>
                  Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: disabled
                    rfk-block: hardware: no software: no address: <filter>
                  Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park
                    link-mode: peripheral accept
                Logical:
                  Message: No logical block device data found.
                RAID:
                  Message: No RAID data found.
                Drives:
                  Local Storage: total: 238.47 GiB used: 9.29 GiB (3.9%)
                  SMART Message: Unable to run smartctl. Root privileges required.
                  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
                    model: KBG40ZNV256G KIOXIA size: 238.47 GiB block-size: physical: 512 B
                    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
                    fw-rev: HP00AE00 temp: 26.9 C scheme: GPT
                  Message: No optical or floppy data found.
                Partition:
                  ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%) used: 9.29 GiB (19.5%)
                    fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: rootantiX23
                    uuid: 1480170f-3bd2-4337-af59-015e667f24bc
                Swap:
                  Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100)
                    zswap: yes compressor: lz4 max-pool: 20%
                  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
                    priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
                    uuid: d5ee9225-6bf8-4ea5-9299-547b7272c289
                Unmounted:
                  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 47.85 GiB fs: ext4
                    label: antiX-Frugal uuid: ed7dab46-47c0-4fed-9874-7098efa00591
                  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 1.23 GiB fs: vfat label: N/A
                    uuid: 6EDC-B440
                  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 48.83 GiB fs: ext4 label: N/A
                    uuid: 20a5fc53-b0d7-408b-8e13-e7965d4254e6
                  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 48.83 GiB fs: ext4
                    label: rootMX23 uuid: be9710bc-654b-4fc6-8401-fa3ff0d70b46
                  ID-5: /dev/nvme0n1p7 maj-min: 259:7 size: 35.1 GiB fs: ext4 label: N/A
                    uuid: acab5ff7-122e-4f43-95e7-e7949c655cda
                USB:
                  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
                    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
                    class-ID: 0900
                  Device-1: 1-2:2 info: KYE Systems (Mouse Systems) Trackbar Emotion
                    type: mouse driver: hid-generic,usbhid interfaces: 1 rev: 1.0
                    speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
                    chip-ID: 0458:0007 class-ID: 0301
                  Device-2: 1-3:3 info: Chicony HP TrueVision HD Camera type: video
                    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
                    lanes: 1 mode: 2.0 power: 500mA chip-ID: 04f2:b6f1 class-ID: 0e02
                    serial: <filter>
                  Device-3: 1-4:4 info: Realtek Bluetooth Radio type: bluetooth
                    driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
                    mode: 1.1 power: 500mA chip-ID: 0bda:385a class-ID: e001 serial: <filter>
                  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
                    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
                    class-ID: 0900
                  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
                    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
                    class-ID: 0900
                  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
                    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
                    class-ID: 0900
                Sensors:
                  System Temperatures: cpu: 54.0 C mobo: N/A gpu: amdgpu temp: 46.0 C
                  Fan Speeds (rpm): fan-1: 0 fan-2: 0
                Repos:
                  Packages: pm: dpkg pkgs: 1821 libs: 898 tools: apt,apt-get,aptitude,synaptic
                  No active apt repos in: /etc/apt/sources.list
                  Active apt repos in: /etc/apt/sources.list.d/antix.list
                    1: deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://la.mxrepo.com/antix/bookworm/ bookworm main nonfree nosystemd
                  Active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
                    1: deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
                  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                    1: deb http://ftp.us.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
                  Active apt repos in: /etc/apt/sources.list.d/debian.list
                    1: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free non-free-firmware
                    2: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
                  Active apt repos in: /etc/apt/sources.list.d/librewolf.list
                    1: deb [arch=amd64] http://deb.librewolf.net/ bookworm main
                  Active apt repos in: /etc/apt/sources.list.d/liquorix.list
                    1: deb [signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] http://liquorix.net/debian/ bookworm main
                  No active apt repos in: /etc/apt/sources.list.d/xanmod-release.list
                Processes:
                  CPU top: 5 of 340
                  1: cpu: 64.2% command: yad pid: 15535 mem: 31.9 MiB (0.4%)
                  2: cpu: 2.9% command: librewolf pid: 13599 mem: 488.2 MiB (6.7%)
                  3: cpu: 1.9% command: librewolf pid: 13595 mem: 167.7 MiB (2.3%)
                  4: cpu: 1.6% command: librewolf pid: 13848 mem: 229.4 MiB (3.1%)
                  5: cpu: 0.7% command: xorg pid: 1976 mem: 126.5 MiB (1.7%)
                  Memory top: 5 of 340
                  1: mem: 488.2 MiB (6.7%) command: librewolf pid: 13599 cpu: 2.9%
                  2: mem: 229.4 MiB (3.1%) command: librewolf pid: 13848 cpu: 1.6%
                  3: mem: 167.7 MiB (2.3%) command: librewolf pid: 13595 cpu: 1.9%
                  4: mem: 162.5 MiB (2.2%) command: librewolf pid: 13726 cpu: 0.4%
                  5: mem: 126.5 MiB (1.7%) command: xorg pid: 1976 cpu: 0.7%
                Info:
                  Processes: 340 Uptime: 1h 41m wakeups: 0 Init: runit v: N/A runlevel: 2
                  tool: service Compilers: gcc: 12.2.0 alt: 12 Shell: Bash v: 5.2.15
                  running-in: roxterm inxi: 3.3.31

                --
                Brian Masinick

                #128909
                Member
                marcelocripe

                  Thank you PPC for this improvement in Inxi-GUI.
                  May I suggest repositioning the other entries and including some new ones?
                  The idea would be to group related subjects, that is, to keep options on the same subject close to each other.

                  Complete computer information
                  Complete motherboard information (suggestion, {inxi -M} or a better command)
                  Operating system information (suggestion, {inxi -S} or a better command)
                  32-bit or 64-bit operating system
                  Complete processor information
                  32-bit or 64-bit processor
                  RAM memory cards information (suggestion, I don’t know which command is best)
                  Display the amount of RAM memory (suggestion, I don’t know which command is best)
                  Display the amount of RAM being consumed by each program (suggestion, I don’t know which command is best)

                  The idea is to continue organizing the list in such a way that all related items are close to each other.

                  Other commands related to audio, the status of PipeWire, Alsa, etc. can be useful. Is there a missing command that could be useful for another antiX program? For example, antiX Cloud, Samba, etc.

                  – – – – –

                  Obrigado PPC por mais esta melhoria no Inxi-GUI.
                  Eu posso sugerir o reposicionamento das outras entradas e incluir algumas novas?
                  A ideia seria agrupar os assuntos correlatos, ou seja, manter as opções de um mesmo assunto próximas umas as outras.

                  Informações completas do computador
                  Informações completas da placa-mãe (sugestão, {inxi -M} ou um comando melhor)
                  Informações do sistema operacional (sugestão, {inxi -S} ou um comando melhor)
                  Sistema operacional de 32 bits ou 64 bits
                  Informações completas do processador
                  Processador de 32 bits ou 64 bits
                  Informações das placas de memória RAM (sugestão, eu não sei qual é o melhor comando)
                  Exibir a quantidade de memória RAM (sugestão, eu não sei qual é o melhor comando)
                  Exibir a quantidade de memória RAM que está sendo consumida por cada programa (sugestão, eu não sei qual é o melhor comando)

                  A ideia é continuar a lista organizando de uma forma que todos os itens correlatos estejam próximos uns dos outros.

                  Outros comandos relacionados ao áudio, o estado do PipeWire, do Alsa, etc. podem ser úteis. Tem algum comando que esteja faltando que pode ser útil para algum outro programa do antiX? Como por exemplo, antiX Cloud, Samba, etc.

                  #128916
                  Moderator
                  Brian Masinick

                    Good idea Marcelo!

                    I also like the idea of having that full information report at the top, and therefore, simply pressing the OK generates the report, a feature that I specifically tested and verified it.

                    Completing the organization to have similar items clustered in the same grouping makes excellent sense.

                    Also, within each organizational category, a “guess” regarding which items are most likely to be used makes sense; having them at the top of each category also makes good sense.

                    Any other ideas to fine tune this already excellent tool?

                    --
                    Brian Masinick

                    #128929
                    Member
                    PPC

                      Over the weekend, I’ll try to finish my changes to the script- I’ll take a look at the order of the options. Reordering some options, making sure that related options are together does make sense, but I won’t add more complexity to it, adding more commands. Basically the “Full info” already displays all the information anyone can want to have about the computer and OS… I do understand Marcelo’s suggestion, that’s probably based in the fact that the output of the inxi command is in English, and most Brazilian users won’t be patience enough to try to analise a result in a language they do not understand… and if they see only the parts of the information they feel are relevant they will understand that information better…
                      But doing that detailed change is way more than what I expected to do when I started editing this script – I wanted to perform only some “cosmetic changes” to make sure it looks better, it’s better localized and mainly, easier to use, because I think most new users get scared when they are asked to use the terminal, enter the inxi command and then paste it in their post… Saying something like:

                      “In the antiX menu click the Control Center, then click the “Hardware” tab then click the blue icon with a white “i”; when the “information” window appears, click the “OK” button and a window displaying your full system information will appear. You can either copy and paste the contents of that window in a post or click the “Save” button and save the results to a file, that you can attach to your post, so people know your system information and have everything they need to try to help you out”

                      Sounds a bit more complex than “open the terminal and run an inxi command and paste the results in your post”. But, for some 80% of people, they start reading the sentence and when they see “terminal”, they think instantly “That’s it’, I’m going back to Windows! I’m not an hacker, to use the terminal!”… So I think that having a GUI app that requires a single click to produce a full system report is a small leap in antiX’s (and, indirectly, the forum’s) usability.

                      P.

                      #128936
                      Member
                      marcelocripe

                        PPC, you are absolutely right that we recommend Inxi GUI instead of the Terminal.
                        The suggestions I presented were that if it is something simple to do, you can just copy a structure that already exists and reuse it in another part of the program code, without having to redo the entire program. If this is feasible, you (PPC) could add whatever you want or whatever you deem important, since you are the one taking on the work of reviewing and even improving the Inxi GUI program. If it is something that it is possible to copy a structure that already exists and reuse it by making changes to the command and texts, then it is worth adding other options to obtain information from the physical part of the computer or the operating system.
                        However, reorganizing the options, allowing all the buttons in each window to be translated will be an important gain for the program and for all users.

                        – – – – –

                        PPC, você tem toda razão quanto indicarmos o Inxi GUI no lugar no Terminal.
                        As sugestões que eu apresentei foram no sentido de que se for algo simples de fazer, que você possa apenas copiar uma estrutura que já existe e reutilizar em outra parte do código do programa, sem que seja necessário refazer todo o programa. Se isso for viável, você (PPC) poderia acrescentar o que quisesse ou o que julgar importante, já que é você que está tendo o trabalho de revisar e ainda melhorar o programa Inxi GUI. Se for algo que seja possível copiar uma estrutura que já existe e reutilizar fazendo alterações no comando e nos textos, aí vale a pena acrescentar outras opções para obter informações da parte física do computador ou do sistema operacional.
                        Contudo, reorganizar as opções, permitir que todos os botões de cada uma das janelas sejam traduzidas já será um ganho importante para o programa e para todos os usuários.

                        #128947
                        Moderator
                        Brian Masinick

                          @PPC at this point, if there are some simple things, putting stuff in some category, that in itself would really put a “nice tasty icing on the cake”, to use an American expression, or to put it in more general terms, that would make this tool about as clean and useful as I can possibly imagine.

                          Like you, I would also say “enough is enough”! Even if you make NO further changes, I STILL think that the one you posted the other day is a nice improvement on what we previously had in place. Your choice as far as leaving it as is or doing one or two additional cosmetic changes. I would personally be against complicating it; that would make it LESS LIKELY that the people who could benefit from it would actually use it. People like me don’t need it; I just test it for the benefit of the community.

                          --
                          Brian Masinick

                          #128949
                          Member
                          PPC

                            Hi all.
                            I was able to change the script faster than what I though, thanks to using variables and copying and pasting them…

                            Changelog:
                            -I think all yad windows now have the application icon, not the default yad icon
                            -In the small yad windows that show info about 64/32bits OS or CPU, I enlarged the width, so users can read the full title and also made it so they have only 1 button (there’s nothing to cancel, no choice at all, just closing the informational window)
                            -I fixed one of the default names for the saved file, that was simply wrong (I forgot which)
                            -I changed, in most yad windows (the ones that add “OK” and “Cancel” buttons) the buttons to the ones that can be localized
                            -In all “save” windows, I removed the “cancel” button, that was doing nothing, it was the same as pressing “save”, and that confused me… so I removed that. If users change their minds and don’t want to save the result in a text file, all they have to do is to close the save window, using the button on the title bar, etc.
                            -I changed the logic in all “save” windows, so the script only tries to save the results to a text file only if the user clicks the “save” button. Originally, if the user tries to close the window using the close button on the title bar, the script still tries to save a text file. Yeah, that did not feel right to me. I don’t think most people expect that.

                            To do:
                            -Try to reorder some options.
                            -Try to re-add an icon to the “save” button, now fully localizable

                            Man… this script did have a lot that could be improved, after all 🙁

                            P.

                            #128959
                            Moderator
                            Brian Masinick

                              @PPC updated tool works GREAT!

                              Nice update!

                              --
                              Brian Masinick

                              #129014
                              Member
                              PPC

                                Hi, folks.

                                This is probably the final version of my tweaked and upgraded inxi-gui script, except for if there is a bug that has to be fixed..

                                Change log:
                                -Now the Ok, Close and Save buttons have icons (and are fully localizable, so there’s 3 new strings to localize, and the script will be as close as possible to 100% localizable)
                                -I tried to reorder the options (that seemed to be placed randomly) in a somewhat logical (to me) order: Full info; disk related info; hardware related info; software related info (OS and Repositories)
                                -I added borders to the windows that inform about 32/64 bits CPU and OS.
                                -I decreased the empty space on the bottom of the window- not only it looks better, but it should also display better on lower resolution screens.

                                I hope that’s it. I do not want to add any extra features to this great GUI, just polish it.

                                @anticapitalista – if you want to use this version of the script in antiX, I would wait a couple of days to see if anyone finds a problem with it and then you can replace the original script with this one…

                                EDIT: I forgot – I added text to the “Close” button, because I do not want certain users to get confused about what the ” x ” button does… Then again, I really never understood how an “X” button requires explanation, since users have been clicking ” x ” buttons to close windows since the Cavemen times…
                                I also almost did not make the “OK” button localizable, but I changed my mind because I wanted to make even users that insist that they do not know what “OK” means happy – they can now localize “OK” for any term they like (like their language’s equivalent to “Accept”, etc). In most languages (including pt, but not pt-br), only “Close” and “Save” require translation.

                                P.

                                • This reply was modified 1 month, 2 weeks ago by PPC.
                                • This reply was modified 1 month, 2 weeks ago by PPC.
                                #129047
                                Moderator
                                Brian Masinick

                                  1) Default is definitely working as shown below.

                                  2) The second option is not useful for systems with NVME SSD drives; it comes up empty. How about either showing all items in /dev or allowing a selection between hda, sda, nvme, or whatever is present?
                                  df -Th or just df would be a more useful choice; the grep effectively filtered everything away on my system.

                                  3) Display Blocked Devices works perfectly.

                                  I’ll write another reply to continue…

                                  System:
                                    Kernel: 6.6.10-3-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc
                                      v: 12.2.0 clocksource: hpet available: acpi_pm parameters: audit=0
                                      intel_pstate=disable rcupdate.rcu_expedited=1
                                      BOOT_IMAGE=/boot/vmlinuz-6.6.10-3-liquorix-amd64
                                      root=UUID=20a5fc53-b0d7-408b-8e13-e7965d4254e6 ro quiet selinux=0
                                    Desktop: IceWM v: 3.4.5 dm: slimski v: 1.5.0 Distro: antiX-23_x64-full
                                      Arditi del Popolo 27 August 2023 base: Debian GNU/Linux 12 (bookworm)
                                  Machine:
                                    Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                                      serial: <superuser required> Chassis: type: 10 serial: <superuser required>
                                    Mobo: HP model: 887C v: 59.11 serial: <superuser required> UEFI: AMI
                                      v: F.18 date: 11/26/2021
                                  Battery:
                                    ID-1: BAT0 charge: 40.6 Wh (99.8%) condition: 40.7/40.7 Wh (100.0%)
                                      volts: 12.9 min: 11.3 model: HP Primary type: Li-ion serial: <filter>
                                      status: not charging
                                  Memory:
                                    System RAM: total: N/A available: 7.1 GiB used: 1.94 GiB (27.3%)
                                    RAM Report: permissions: Unable to run dmidecode. Root privileges
                                      required.
                                  PCI Slots:
                                    Permissions: Unable to run dmidecode. Root privileges required.
                                  CPU:
                                    Info: model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64 type: MT MCP
                                      arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
                                      process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x68 (104) stepping: 1
                                      microcode: 0x8608103
                                    Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
                                      L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
                                      desc: 2x4 MiB
                                    Speed (MHz): avg: 539 high: 2071 min/max: 400/4056 scaling:
                                      driver: amd-pstate-epp governor: performance cores: 1: 400 2: 400 3: 400
                                      4: 400 5: 400 6: 400 7: 400 8: 400 9: 2071 10: 400 11: 400 12: 400
                                      bogomips: 50308
                                    Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
                                      bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
                                      constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
                                      cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
                                      f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs
                                      ibs irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
                                      movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw
                                      overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
                                      perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rapl rdpid
                                      rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca
                                      smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock
                                      syscall tce topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif
                                      vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr
                                      xsaveopt
                                    Vulnerabilities:
                                    Type: gather_data_sampling status: Not affected
                                    Type: itlb_multihit status: Not affected
                                    Type: l1tf status: Not affected
                                    Type: mds status: Not affected
                                    Type: meltdown status: Not affected
                                    Type: mmio_stale_data status: Not affected
                                    Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
                                      protection
                                    Type: spec_rstack_overflow mitigation: Safe RET
                                    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: Retpolines, IBPB: conditional, STIBP:
                                      always-on, RSB filling, PBRSB-eIBRS: Not affected
                                    Type: srbds status: Not affected
                                    Type: tsx_async_abort status: Not affected
                                  Graphics:
                                    Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel
                                      arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
                                      speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
                                      active: eDP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:164c
                                      class-ID: 0300 temp: 41.0 C
                                    Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo type: USB
                                      rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:3 chip-ID: 04f2:b6f1
                                      class-ID: 0e02 serial: <filter>
                                    Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
                                      unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0.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: eDP model: ChiMei InnoLux 0x1429 built: 2020
                                      res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 chroma: red: x: 0.592 y: 0.349
                                      green: x: 0.329 y: 0.557 blue: x: 0.153 y: 0.118 white: x: 0.314 y: 0.329
                                      size: 309x173mm (12.17x6.81") diag: 354mm (13.9") ratio: 16:9
                                      modes: 1920x1080, 1680x1050, 1280x1024, 1440x900, 1280x800, 1280x720,
                                      1024x768, 800x600, 640x480
                                    EDID-Warnings: 1: parse_edid: unknown flag 2
                                    API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
                                      device: 1 drv: swrast gbm: egl: 1.4 drv: kms_swrast surfaceless:
                                      drv: radeonsi x11: drv: radeonsi inactive: wayland
                                    API: OpenGL v: 4.6 vendor: amd mesa v: 22.3.6 glx-v: 1.4 es-v: 3.2
                                      direct-render: yes renderer: AMD Radeon Graphics (renoir LLVM 15.0.6 DRM
                                      3.54 6.6.10-3-liquorix-amd64) device-ID: 1002:164c memory: 500 MiB
                                      unified: no
                                  Audio:
                                    Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
                                      driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
                                      link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
                                      class-ID: 0403
                                    Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
                                      driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x,
                                      snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
                                      snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh pcie:
                                      gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
                                      bus-ID: 03:00.5 chip-ID: 1022:15e2 class-ID: 0480
                                    Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
                                      driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
                                      link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3
                                      class-ID: 0403
                                    API: ALSA v: k6.6.10-3-liquorix-amd64 status: kernel-api with: apulse
                                      type: pulse-emulator tools: alsactl,alsamixer,amixer
                                    Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
                                      status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
                                      4: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
                                  Network:
                                    Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
                                      pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 01:00.0
                                      chip-ID: 10ec:a85a class-ID: 0280
                                    IF: wlan0 state: up mac: <filter>
                                    IP v4: <filter> scope: global broadcast: <filter>
                                    IP v4: <filter> type: secondary dynamic noprefixroute scope: global
                                      broadcast: <filter>
                                    IP v6: <filter> scope: link
                                    WAN IP: <filter>
                                  Bluetooth:
                                    Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
                                      speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:4 chip-ID: 0bda:385a
                                      class-ID: e001 serial: <filter>
                                    Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: stopped
                                      rfk-block: hardware: no software: yes address: <filter>
                                    Info: acl-mtu: 1021:6 sco-mtu: 255:12 link-policy: rswitch hold sniff park
                                      link-mode: peripheral accept
                                  Logical:
                                    Message: No logical block device data found.
                                  RAID:
                                    Message: No RAID data found.
                                  Drives:
                                    Local Storage: total: 238.47 GiB used: 12.58 GiB (5.3%)
                                    SMART Message: Unable to run smartctl. Root privileges required.
                                    ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
                                      model: KBG40ZNV256G KIOXIA size: 238.47 GiB block-size: physical: 512 B
                                      logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
                                      fw-rev: HP00AE00 temp: 26.9 C scheme: GPT
                                    Message: No optical or floppy data found.
                                  Partition:
                                    ID-1: / raw-size: 48.83 GiB size: 47.76 GiB (97.81%) used: 12.58 GiB (26.3%)
                                      fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
                                      uuid: 20a5fc53-b0d7-408b-8e13-e7965d4254e6
                                  Swap:
                                    Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
                                      compressor: lz4 max-pool: 20%
                                    ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
                                      priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A
                                      uuid: d5ee9225-6bf8-4ea5-9299-547b7272c289
                                  Unmounted:
                                    ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 47.85 GiB fs: ext4
                                      label: antiX-Frugal uuid: ed7dab46-47c0-4fed-9874-7098efa00591
                                    ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 1.23 GiB fs: vfat label: N/A
                                      uuid: 6EDC-B440
                                    ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 48.83 GiB fs: ext4
                                      label: rootMX23 uuid: be9710bc-654b-4fc6-8401-fa3ff0d70b46
                                    ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 48.83 GiB fs: ext4
                                      label: rootantiX23 uuid: 1480170f-3bd2-4337-af59-015e667f24bc
                                    ID-5: /dev/nvme0n1p7 maj-min: 259:7 size: 35.1 GiB fs: ext4 label: N/A
                                      uuid: acab5ff7-122e-4f43-95e7-e7949c655cda
                                  USB:
                                    Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
                                      speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
                                      class-ID: 0900
                                    Device-1: 1-2:2 info: KYE Systems (Mouse Systems) Trackbar Emotion
                                      type: mouse driver: hid-generic,usbhid interfaces: 1 rev: 1.0
                                      speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA
                                      chip-ID: 0458:0007 class-ID: 0301
                                    Device-2: 1-3:3 info: Chicony HP TrueVision HD Camera type: video
                                      driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
                                      lanes: 1 mode: 2.0 power: 500mA chip-ID: 04f2:b6f1 class-ID: 0e02
                                      serial: <filter>
                                    Device-3: 1-4:4 info: Realtek Bluetooth Radio type: bluetooth
                                      driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
                                      mode: 1.1 power: 500mA chip-ID: 0bda:385a class-ID: e001 serial: <filter>
                                    Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
                                      speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
                                      class-ID: 0900
                                    Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
                                      speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
                                      class-ID: 0900
                                    Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
                                      speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
                                      class-ID: 0900
                                  Sensors:
                                    System Temperatures: cpu: 46.1 C mobo: N/A gpu: amdgpu temp: 42.0 C
                                    Fan Speeds (rpm): fan-1: 0 fan-2: 0
                                  Repos:
                                    Packages: pm: dpkg pkgs: 1728 libs: 810 tools: apt,apt-get,aptitude,synaptic
                                    Active apt repos in: /etc/apt/sources.list.d/antix.list
                                      1: deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://ftp.osuosl.org/pub/mxlinux/antix/ bookworm main nonfree nosystemd
                                    No active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
                                    Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                                      1: deb http://ftp.us.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
                                    Active apt repos in: /etc/apt/sources.list.d/debian.list
                                      1: deb http://ftp.us.debian.org/debian/ bookworm main contrib non-free non-free-firmware
                                      2: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
                                    No active apt repos in: /etc/apt/sources.list.d/devuan.list
                                    No active apt repos in: /etc/apt/sources.list.d/gnuinos.list
                                    Active apt repos in: /etc/apt/sources.list.d/librewolf.list
                                      1: deb [arch=amd64] http://deb.librewolf.net bookworm main
                                    Active apt repos in: /etc/apt/sources.list.d/liquorix.list
                                      1: deb [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bookworm main
                                      2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bookworm main
                                  Processes:
                                    CPU top: 5 of 430
                                    1: cpu: 60.0% command: yad pid: 8581 mem: 31.4 MiB (0.4%)
                                    2: cpu: 9.3% command: firefox-bin pid: 30981 mem: 557.9 MiB (7.6%)
                                    3: cpu: 5.5% command: firefox-bin pid: 8557 mem: 66.7 MiB (0.9%)
                                    4: cpu: 3.6% command: firefox-bin pid: 7297 mem: 351.1 MiB (4.8%)
                                    5: cpu: 2.6% command: firefox-bin pid: 31309 mem: 234.6 MiB (3.2%)
                                    Memory top: 5 of 430
                                    1: mem: 557.9 MiB (7.6%) command: firefox-bin pid: 30981 cpu: 9.3%
                                    2: mem: 351.1 MiB (4.8%) command: firefox-bin pid: 7297 cpu: 3.6%
                                    3: mem: 234.6 MiB (3.2%) command: firefox-bin pid: 31309 cpu: 2.6%
                                    4: mem: 228.4 MiB (3.1%) command: firefox-bin pid: 31131 cpu: 0.5%
                                    5: mem: 161.3 MiB (2.2%) command: firefox-bin pid: 7776 cpu: 1.5%
                                  Info:
                                    Processes: 430 Uptime: 49m wakeups: 0 Init: s6 v: N/A default: 5
                                    tool: service Compilers: gcc: 12.2.0 alt: 12 Shell: Bash v: 5.2.15
                                    running-in: roxterm inxi: 3.3.31

                                  --
                                  Brian Masinick

                                Viewing 15 posts - 1 through 15 (of 48 total)
                                • You must be logged in to reply to this topic.