Search Results for 'swap'

Forum Forums Search Search Results for 'swap'

Viewing 15 results - 121 through 135 (of 1,706 total)
  • Author
    Search Results
  • #100710
    Forum Admin
    rokytnji

      On the chromebook as usual.

      Wind took away 2 roof panels on my car port. Windy tonight, tommorrow, till tuesday with wttr.in/pecos.

      Goodnight.

      Good morning. Cleaning up wind damage. On the shop box.

      harry@shop:~
      $ inxi -zv7
      System:
        Kernel: 5.10.153-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
          v: 10.2.1 Desktop: IceWM v: 3.3.1 info: tint2 vt: 7 dm: slimski v: 1.5.0
          Distro: antiX-21_x64-full Grup Yorum 31 October 2021 base: Debian
          GNU/Linux 11 (bullseye)
      Machine:
        Type: Desktop System: LENOVO product: 6075BHU v: ThinkCentre M57
          serial: <superuser required> Chassis: type: 3 serial: <superuser required>
        Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO
          v: 2RKT41AUS date: 03/20/2008
      Battery:
        Message: No system battery data found. Is one present?
      Memory:
        RAM: total: 3.58 GiB used: 1.08 GiB (30.2%)
        RAM Report: permissions: Unable to run dmidecode. Root privileges
          required.
      CPU:
        Info: dual core model: Intel Pentium Dual E2160 bits: 64 type: MCP
          smt: <unsupported> arch: Core2 Merom rev: D cache: L1: 128 KiB L2: 1024 KiB
        Speed (MHz): avg: 1578 high: 1787 min/max: 1200/1800 cores: 1: 1787
          2: 1369 bogomips: 7181
        Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc
          cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts est fpu fxsr ht lahf_lm lm mca
          mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36
          pti rep_good sep sse sse2 ssse3 syscall tm tm2 tsc vme xtpr
      Graphics:
        Device-1: Intel 82Q35 Express Integrated Graphics vendor: Lenovo
          driver: i915 v: kernel arch: Gen-4 ports: active: VGA-1 empty: none
          bus-ID: 00:02.0 chip-ID: 8086:29b2 class-ID: 0300
        Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel
          unloaded: fbdev,modesetting,vesa dri: i915 gpu: i915 display-ID: :0.0
          screens: 1
        Screen-1: 0 s-res: 1280x1024 s-dpi: 96 s-size: 338x270mm (13.31x10.63")
          s-diag: 433mm (17.03")
        Monitor-1: VGA-1 mapped: VGA1 model: ViewSonic VA912-3SERIES
          serial: <filter> res: 1280x1024 hz: 60 dpi: 86
          size: 380x300mm (14.96x11.81") diag: 482mm (19") modes: max: 1280x1024
          min: 720x400
        API: OpenGL v: 1.4 Mesa 20.3.5 renderer: Mesa DRI Intel Q35
          direct-render: Yes
      Audio:
        Device-1: Intel 82801I HD Audio vendor: Lenovo driver: snd_hda_intel
          v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e class-ID: 0403
        Sound API: ALSA v: k5.10.153-antix.1-amd64-smp running: yes
      Network:
        Device-1: Intel 82566DM-2 Gigabit Network vendor: Lenovo driver: e1000e
          v: kernel port: 1820 bus-ID: 00:19.0 chip-ID: 8086:10bd class-ID: 0200
        IF: eth0 state: down mac: <filter>
        Device-2: Realtek RTL8191SU 802.11n WLAN Adapter type: USB driver: r8712u
          bus-ID: 2-6.4:5 chip-ID: 0bda:8172 class-ID: 0000 serial: <filter>
        IF: wlan0 state: up mac: <filter>
        IP v4: <filter> scope: global broadcast: <filter>
        IP v6: <filter> scope: link
        WAN IP: <filter>
      Bluetooth:
        Message: No bluetooth data found.
      Logical:
        Message: No logical block device data found.
      RAID:
        Message: No RAID data found.
      Drives:
        Local Storage: total: 298.09 GiB used: 30.76 GiB (10.3%)
        ID-1: /dev/sda vendor: Western Digital model: WD3200AAKS-00B3A0
          size: 298.09 GiB speed: <unknown> type: N/A serial: <filter> rev: 3A01
          scheme: MBR
        Optical-1: /dev/sr0 vendor: HL-DT-ST model: RW/DVD GCC-H30N rev: 1.02
          dev-links: cdrom,cdrw,dvd
        Features: speed: 48 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw
          state: running
      Partition:
        ID-1: / size: 252.52 GiB used: 30.76 GiB (12.2%) fs: ext4 dev: /dev/sda4
          label: rootantiX21 uuid: f1b7ea1f-dd9f-479b-8bf1-56d1ac2e1a8b
      Swap:
        ID-1: swap-1 type: partition size: 3.91 GiB used: 0 KiB (0.0%) priority: -2
          dev: /dev/sda2 label: N/A uuid: 83f3c3a7-56c1-4666-b6ba-87069c6ee9cf
      Unmounted:
        ID-1: /dev/sda1 size: 36.56 GiB fs: ext4 label: N/A
          uuid: 5091df41-e1b4-4c73-a7bf-a05357b81d9a
        ID-2: /dev/sda3 size: 1024 KiB fs: ext4 label: /data
          uuid: cfc7c48a-7166-4682-bb9a-8da7af996851
      USB:
        Hub-1: 1-0:1 info: Full speed or root hub ports: 6 rev: 2.0 speed: 480 Mb/s
          chip-ID: 1d6b:0002 class-ID: 0900
        Device-1: 1-2:2 info: Super Top USB Mass Storage Device type: Mass Storage
          driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 400mA
          chip-ID: 14cd:8168 class-ID: 0806 serial: <filter>
        Hub-2: 2-0:1 info: Full speed or root hub ports: 6 rev: 2.0
          speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
        Hub-3: 2-6:4 info: Super Top 4-Port hub ports: 4 rev: 2.0 speed: 480 Mb/s
          power: 100mA chip-ID: 14cd:8601 class-ID: 0900
        Device-1: 2-6.4:5 info: Realtek RTL8191SU 802.11n WLAN Adapter
          type: Network driver: r8712u interfaces: 1 rev: 2.0 speed: 480 Mb/s
          power: 500mA chip-ID: 0bda:8172 class-ID: 0000 serial: <filter>
        Hub-4: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
          chip-ID: 1d6b:0001 class-ID: 0900
        Hub-5: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
          chip-ID: 1d6b:0001 class-ID: 0900
        Hub-6: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
          chip-ID: 1d6b:0001 class-ID: 0900
        Hub-7: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
          chip-ID: 1d6b:0001 class-ID: 0900
        Hub-8: 7-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
          chip-ID: 1d6b:0001 class-ID: 0900
        Device-1: 7-1:2 info: Microsoft Wheel Mouse Optical type: Mouse
          driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
          power: 100mA chip-ID: 045e:0040 class-ID: 0301
        Hub-9: 8-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
          chip-ID: 1d6b:0001 class-ID: 0900
        Device-1: 8-1:2 info: IBM NetVista Full Width Keyboard type: Keyboard
          driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
          power: 100mA chip-ID: 04b3:3025 class-ID: 0301
      Sensors:
        System Temperatures: cpu: 39.0 C mobo: N/A
        Fan Speeds (RPM): N/A
      Info:
        Processes: 140 Uptime: 36m wakeups: 1 Init: SysVinit v: 2.96 runlevel: 5
        default: 5 Compilers: gcc: 10.2.1 alt: 10 Packages: pm: dpkg pkgs: 1691
        Shell: Bash v: 5.1.4 running-in: roxterm inxi: 3.3.25
      harry@shop:~
      

      Sore already. Break time.

      • This reply was modified 2 months, 1 week ago by rokytnji.

      Sometimes I drive a crooked road to get my mind straight.
      Not all who Wander are Lost.
      I'm not outa place. I'm from outer space.

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

      #100667
      Member
      salvuzzo

        Not sure if this is the correct mailbox to post my request, if not I’ll be fast to redirect with my apologies.
        The problem is that I need to remap a few keys, in order to add a few polish on my Italian keyboard.
        The reason is that I’m studying polish, but I don’t want to switch to the Polish keyboard. It will be enough to add just a few special characters (ążćśłźę).
        On my W10 system I install the AutoHotkey program with a AHK file at startup that maps a few alt-gr combinations to the desired chars.
        Something like:
        alt-gr a -> ą
        alt-gr e -> ę
        Bytw, autohokey is a handy program that makes much much more.
        So, questions are:
        1) how to map desired chars?
        2) is there a AutoHotkey linux equivalent to be used on Antix?

        $ inxi -zv7
        System:
          Kernel: 5.10.142-antix.2-amd64-smp arch: x86_64 bits: 64 compiler: gcc
            v: 10.2.1 Desktop: IceWM v: 3.0.1 dm: slimski v: 1.5.0
            Distro: antiX-22_x64-full Grup Yorum 18 October 2022
            base: Debian GNU/Linux 11 (bullseye)
        Machine:
          Type: Other-vm? System: FUJITSU SIEMENS product: ESPRIMO Mobile V5535
            v: V1.03 serial: <superuser required>
          Mobo: FUJITSU SIEMENS model: Z17M2.0 v: V1.03
            serial: <superuser required> BIOS: Phoenix v: 1.06 date: 05/30/08
        Battery:
          ID-1: BAT0 charge: 15.8 Wh (55.2%) condition: 28.6/48.8 Wh (58.6%)
            volts: 12.4 min: 11.1 model: AAIN SMP SDI e02741401C14C08500080
            type: Li-ion serial: <filter> status: charging
        Memory:
          RAM: total: 1.69 GiB used: 412.9 MiB (23.9%)
          RAM Report:
            permissions: Unable to run dmidecode. Root privileges required.
        CPU:
          Info: dual core model: Intel Core2 Duo T5750 bits: 64 type: MCP
            smt: <unsupported> arch: Core2 Merom rev: D cache: L1: 128 KiB L2: 2 MiB
          Speed (MHz): avg: 1503 high: 1582 min/max: 1000/2000 cores: 1: 1582
            2: 1425 bogomips: 7993
          Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc
            cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts est fpu fxsr ht lahf_lm lm mca
            mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36
            pti rep_good sep sse sse2 ssse3 syscall tm tm2 tsc vme xtpr
        Graphics:
          Device-1: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter
            vendor: Fujitsu Solutions driver: N/A bus-ID: 01:00.0 chip-ID: 1039:6351
            class-ID: 0300
          Display: server: X.Org v: 1.20.11 driver: X: loaded: vesa
            unloaded: fbdev,modesetting alternate: sis gpu: N/A display-ID: :0.0
            screens: 1
          Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 271x203mm (10.67x7.99")
            s-diag: 339mm (13.33")
          Monitor-1: default res: 1024x768 size: N/A modes: N/A
          OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.5
            compat-v: 3.1 direct render: Yes
        Audio:
          Device-1: Silicon Integrated Systems [SiS] Azalia Audio
            vendor: Fujitsu Solutions driver: snd_hda_intel v: kernel bus-ID: 00:0f.0
            chip-ID: 1039:7502 class-ID: 0403
          Sound Server-1: ALSA v: k5.10.142-antix.2-amd64-smp running: yes
        Network:
          Device-1: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter
            vendor: Fujitsu Solutions driver: sis190 v: 1.4 port: 1080 bus-ID: 00:04.0
            chip-ID: 1039:0191 class-ID: 0200
          IF: eth0 state: down mac: <filter>
          Device-2: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter
            driver: ath5k v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0
            chip-ID: 168c:001c class-ID: 0200
          IF: wlan0 state: up mac: <filter>
          IP v4: <filter> scope: global broadcast: <filter>
          IP v6: <filter> scope: link
          WAN IP: <filter>
        Bluetooth:
          Message: No bluetooth data found.
        Logical:
          Message: No logical block device data found.
        RAID:
          Message: No RAID data found.
        Drives:
          Local Storage: total: 232.89 GiB used: 4.9 GiB (2.1%)
          ID-1: /dev/sda vendor: Fujitsu model: MHY2250BH size: 232.89 GiB
            speed: <unknown> type: N/A serial: <filter> rev: 000B scheme: MBR
          Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GSA-T40N rev: JW02
            dev-links: cdrom,cdrw,dvd,dvdrw
          Features: speed: 24 multisession: yes audio: yes dvd: yes
            rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
        Partition:
          ID-1: / size: 225.58 GiB used: 4.9 GiB (2.2%) fs: ext4 dev: /dev/sda1
            label: rootantiX22 uuid: dc4657ca-05ae-4649-a6e4-d40a87488114
        Swap:
          ID-1: swap-1 type: partition size: 2.62 GiB used: 12 KiB (0.0%)
            priority: -2 dev: /dev/sda2 label: swapantiX
            uuid: 55bd0041-eb97-4cb6-85eb-0d46e0b33564
        Unmounted:
          Message: No unmounted partitions found.
        USB:
          Hub-1: 1-0:1 info: Full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s
            chip-ID: 1d6b:0002 class-ID: 0900
          Hub-2: 2-0:1 info: Full speed or root hub ports: 4 rev: 1.1
            speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
          Hub-3: 3-0:1 info: Full speed or root hub ports: 4 rev: 1.1
            speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
          Device-1: 3-1:2 info: Belkin MI-2150 Trust Mouse type: Mouse
            driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
            power: 100mA chip-ID: 1241:1166 class-ID: 0301
        Sensors:
          System Temperatures: cpu: 55.0 C mobo: N/A
          Fan Speeds (RPM): N/A
        Info:
          Processes: 137 Uptime: 35m wakeups: 2 Init: SysVinit v: 2.96 runlevel: 5
          default: 5 Compilers: gcc: 10.2.1 alt: 10 Packages: apt: 1587 Shell: Bash
          v: 5.1.4 running-in: roxterm inxi: 3.3.19
        
        • This topic was modified 2 months, 2 weeks ago by salvuzzo. Reason: Adding inxi result
        #100465
        Member
        PPC

          For today, it’s all I can do:
          The script now toggles on and off the squares about CPU/RAM; RAM; Network. It toggles between 12h/24h clock and toggles seconds on the clock on/off – that’s, for me, the most important changes (and I think, what most people want to change, if any, from the default toolbar settings).

          Important TO DO’s:
          – add toggle auto-hide toolbar on/off (easy to implement)
          – add toggle toolbar at top/bottom (easy to implement)
          – add toggle normal toolbar/ double height toolbar (easy to implement)
          – use LED clock (easy to implement)
          – toggle clock on/off (easy to implement)
          – toggle Show app’s icon on it’s window’s title bar (easy to implement)
          – Center large windows (easy to implement)
          – toggle ShowMoveSizeStatus (easy to implement)
          – toggle “Show desktop icon” on/off ???
          – toggle Titles of windows on the taskbar on/off (hard to implement)
          – link to Robin’s Workspace script (no idea how to implement that one)
          – A better User Interface (???)

          The current version script:

          #!/usr/bin/env bash
          #Script to manage some IceWM toolbar settings
          #Script variables
          file=$HOME/.icewm/prefoverride
          #Make sure the prefoverride file exists:
          touch $file
          
          toogle_system_info_square_on_system_tray()
          {
          ###Manage the System Info toolbar square that shows information about CPU/RAM/SWAP usage:
          ###first make sure that it exists in prefoverride, then make sure it's set to 0
          text="TaskBarShowCPUStatus="
          #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
          if cat $file | grep ^$text; then
             # echo found, making sure its not commented out
              sed -i "/$text/s/^#//g" $file
          else
             # echo not found
              echo ${text}1 >> $file
          fi
          #Toggle TaskBarShowCPUStatus (if it exists in prefoverride):
          if grep -F  "${text}"1 "$file"; then
              sed -i "s/${text}.*/${text}0/" $file
          elif grep -F  "${text}"0 "$file"; then
              sed -i "s/${text}.*/${text}1/" $file
           fi
          #restart icewm, to see the change:
           icewm -r
          #Exit function:
          return
          }
          
          toogle_RAM_info_square_on_system_tray()
          {
          ###Manage the System Info toolbar square that shows information about CPU/RAM/SWAP usage:
          ###first make sure that it exists in prefoverride, then make sure it's set to 0
          text="TaskBarShowMEMStatus="
          #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
          if cat $file | grep ^$text; then
             # echo found, making sure its not commented out
              sed -i "/$text/s/^#//g" $file
          else
             # echo not found
              echo ${text}1 >> $file
          fi
          #Toggle TaskBarShowMEMStatus:
          if grep -F  "${text}"1 "$file"; then
              sed -i "s/${text}.*/${text}0/" $file
          elif grep -F  "${text}"0 "$file"; then
              sed -i "s/${text}.*/${text}1/" $file
           fi
          #restart icewm, to see the change:
           icewm -r
          #Exit function:
          return
          }
          
          toogle_Network_info_square_on_system_tray()
          {
          ###Manage the System Info toolbar square that shows information about NETWORK usage:
          ###first make sure that it exists in prefoverride, then make sure it's set to 0
          text="TaskBarShowNetStatus="
          #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
          if cat $file | grep ^$text; then
             # echo found, making sure its not commented out
              sed -i "/$text/s/^#//g" $file
          else
             # echo not found
              echo ${text}1 >> $file
          fi
          #Toggle TaskBarShowMEMStatus:
          if grep -F  "${text}"1 "$file"; then
              sed -i "s/${text}.*/${text}0/" $file
          elif grep -F  "${text}"0 "$file"; then
              sed -i "s/${text}.*/${text}1/" $file
           fi
          #restart icewm, to see the change:
           icewm -r
          #Exit function:
          return
          }
          
          toggle_seconds()
          {
          Show/hide seconds on clock
          text="TimeFormat="
          #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
          if cat $file | grep ^$text; then
             # echo found, making sure its not commented out
              sed -i "/$text/s/^#//g" $file
          else
             # echo not found, use default values
              echo ${text}%H:%M:%S  >> $file
          fi
          
          #Toggle value:
          if grep -F  ":%S" "$file"; then
              sed -i "s/\:%S.*/ /" $file
          else
              sed -i "s/\:%M.*/:%M:%S/" $file
           fi
           
          #restart icewm, to see the change:
           icewm -r
          
          }
          
          toggle_12h_24h()
          {
          Show/hide seconds on clock
          text="TimeFormat="
          #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
          if cat $file | grep ^$text; then
             # echo found, making sure its not commented out
              sed -i "/$text/s/^#//g" $file
          else
             # echo not found, use default values
              echo ${text}%H:%M:%S  >> $file
          fi
          
          #Toggle value:
          if grep -F  "%H" "$file"; then
          	sed -i 's/%H/%l/' $file
             else
              sed -i 's/%l/%H/' $file
           fi
           
          #restart icewm, to see the change:
           icewm -r
          
          }
          
          #Export created functions, so they can be used in the GUI:
          export -f toogle_system_info_square_on_system_tray toogle_RAM_info_square_on_system_tray toogle_Network_info_square_on_system_tray toggle_seconds toggle_12h_24h
          
          DADOS=$(yad --length=200 --width=475 --center --title=$"Very Basic IceWM Manager" --text=$"Please select your option:" --button=$"Toggle CPU RAM SWAP info":1  --button=$"Toggle RAM info":2 --button=$"Toggle Network info":3 --button=$"Toggle Seconds in clock":4 --button=$"Toggle 12h/24h clock":5)
          
          ### wait for a button to be pressed then perform the selected function
          foo=$?
          
          [[ $foo -eq 1 ]] && toogle_system_info_square_on_system_tray
          [[ $foo -eq 2 ]] && toogle_RAM_info_square_on_system_tray
          [[ $foo -eq 3 ]] && toogle_Network_info_square_on_system_tray
          [[ $foo -eq 4 ]] && toggle_seconds
          [[ $foo -eq 5 ]] && toggle_12h_24h
          #100451
          Member
          PPC

            The same basic script, now managing the 3 main “squares” that display system info on IceWM’s toolbar. It’s ugly, still very basic, but effective:

            #!/usr/bin/env bash
            #Script to manage some IceWM toolbar settings
            #Script variables
            file=$HOME/.icewm/prefoverride
            #Make sure the prefoverride file exists:
            touch $file
            
            toogle_system_info_square_on_system_tray()
            {
            ###Manage the System Info toolbar square that shows information about CPU/RAM/SWAP usage:
            ###first make sure that it exists in prefoverride, then make sure it's set to 0
            text="TaskBarShowCPUStatus="
            #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
            if cat $file | grep ^$text; then
               # echo found, making sure its not commented out
                sed -i "/$text/s/^#//g" $file
            else
               # echo not found
                echo ${text}1 >> $file
            fi
            #Toggle TaskBarShowCPUStatus (if it exists in prefoverride):
            if grep -F  "${text}"1 "$file"; then
                sed -i "s/${text}.*/${text}0/" $file
            elif grep -F  "${text}"0 "$file"; then
                sed -i "s/${text}.*/${text}1/" $file
             fi
            #restart icewm, to see the change:
             icewm -r
            #Exit function:
            return
            }
            
            toogle_RAM_info_square_on_system_tray()
            {
            ###Manage the System Info toolbar square that shows information about CPU/RAM/SWAP usage:
            ###first make sure that it exists in prefoverride, then make sure it's set to 0
            text="TaskBarShowMEMStatus="
            #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
            if cat $file | grep ^$text; then
               # echo found, making sure its not commented out
                sed -i "/$text/s/^#//g" $file
            else
               # echo not found
                echo ${text}1 >> $file
            fi
            #Toggle TaskBarShowMEMStatus:
            if grep -F  "${text}"1 "$file"; then
                sed -i "s/${text}.*/${text}0/" $file
            elif grep -F  "${text}"0 "$file"; then
                sed -i "s/${text}.*/${text}1/" $file
             fi
            #restart icewm, to see the change:
             icewm -r
            #Exit function:
            return
            }
            
            toogle_Network_info_square_on_system_tray()
            {
            ###Manage the System Info toolbar square that shows information about NETWORK usage:
            ###first make sure that it exists in prefoverride, then make sure it's set to 0
            text="TaskBarShowNetStatus="
            #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
            if cat $file | grep ^$text; then
               # echo found, making sure its not commented out
                sed -i "/$text/s/^#//g" $file
            else
               # echo not found
                echo ${text}1 >> $file
            fi
            #Toggle TaskBarShowMEMStatus:
            if grep -F  "${text}"1 "$file"; then
                sed -i "s/${text}.*/${text}0/" $file
            elif grep -F  "${text}"0 "$file"; then
                sed -i "s/${text}.*/${text}1/" $file
             fi
            #restart icewm, to see the change:
             icewm -r
            #Exit function:
            return
            }
            
            #Export created functions, so they can be used in the GUI:
            export -f toogle_system_info_square_on_system_tray toogle_RAM_info_square_on_system_tray toogle_Network_info_square_on_system_tray
            
            DADOS=$(yad --length=200 --width=475 --center --title=$"Very Basic IceWM Manager" --text=$"Please select your option:" --button=$"Toggle CPU RAM SWAP info":1  --button=$"Toggle RAM info":2 --button=$"Toggle Network info":3)
            
            ### wait for a button to be pressed then perform the selected function
            foo=$?
            
            [[ $foo -eq 1 ]] && toogle_system_info_square_on_system_tray
            [[ $foo -eq 2 ]] && toogle_RAM_info_square_on_system_tray
            [[ $foo -eq 3 ]] && toogle_Network_info_square_on_system_tray

            As you can see, for each option that has only 1/0 value, all the script does is, for each function, to change the contents of the “text” variable, to match the string whose value has to be swapped from 1 to 0 or 0 to 1.
            It’s only a matter of adding new functions related to what variable we want to toggle. So, I’ll add “auto-hide”, “position toolbar on top” and “double height toolbar” that way. To edit Workspace’s, I’ll simply call Robin’s “workspace manager” script. Clock settings will be harder to change, has will “toogle on/off names of windows on the taskbar” option- because, well, that does not exist, it’s a fiction, implemented by using a certain size in a variable, but I’m optimist about making a usable GUI for Managing, at least some IceWM settings…

            P.

            • This reply was modified 2 months, 2 weeks ago by PPC.
            #100449
            Member
            PPC

              Very simple example of the GUI, that just manages the System resources system tray square, toggling it on/off:

              #!/usr/bin/env bash
              #Script to manage some IceWM toolbar settings
              #Script variables
              file=$HOME/.icewm/prefoverride
              #Make sure the prefoverride file exists:
              touch $file
              
              toggle_system_info_square_on_system_tray()
              {
              ###Manage the System Info toolbar square that shows information about CPU/RAM/SWAP usage:
              ###first make sure that it exists in prefoverride, then make sure it's set to 0
              text="TaskBarShowCPUStatus="
              #Check if string exists in  file, if it does not, add it and make sure it's set to 0 (its 1 be default):
              if cat $file | grep ^$text; then
                 # echo found, making sure its not commented out
                  sed -i "/$text/s/^#//g" $file
              else
                 # echo not found
                  echo ${text}1 >> $file
              fi
              #Toggle TaskBarShowCPUStatus (if it exists in prefoverride):
              if grep -Fx  "${text}"1 "$file"; then
                  sed -i "s/${text}.*/${text}0/" $file
              elif grep -Fx  "${text}"0 "$file"; then
                  sed -i "s/${text}.*/${text}1/" $file
               fi
              #restart icewm, to see the change:
               icewm -r
              #Exit function:
              return
              }
              
              #Export created functions, so they can be used in the GUI:
              export -f toggle_system_info_square_on_system_tray
              
              DADOS=$(yad --length=200 --width=475 --center --title=$"Very Basic IceWM Manager" --text=$"Please select your option:" --button=$"Toggle System tray Square that displays CPU RAM SWAP":1)
              
              ### wait for a button to be pressed then perform the selected function
              foo=$?
              
              [[ $foo -eq 1 ]] && toggle_system_info_square_on_system_tray
              #100338
              Moderator
              Brian Masinick

                I decided to group a variety of different informational tools together today, so here is a snapshot of information on my system using a few tools we do not mention a lot.

                uptime
                 10:39:54 up 4 min,  1 user,  load average: 0.61, 0.29, 0.12
                [brian-antix-hp-14fq1025nr]/home/masinick: > vmstat
                procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
                 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
                 0  0      0 6169872   1668 906432    0    0   524   252  252  216  2  1 97  0  0
                [brian-antix-hp-14fq1025nr]/home/masinick: > sudo ps_mem.py;pinxi -bw
                 Private  +   Shared  =  RAM used	Program
                
                 76.0 KiB +  13.5 KiB =  89.5 KiB	pause
                 92.0 KiB +  13.5 KiB = 105.5 KiB	runit
                 92.0 KiB +  17.5 KiB = 109.5 KiB	bpfilter_umh
                104.0 KiB +  18.5 KiB = 122.5 KiB	runsvdir
                108.0 KiB +  20.5 KiB = 128.5 KiB	sleep
                112.0 KiB +  24.5 KiB = 136.5 KiB	run-parts
                128.0 KiB +  20.5 KiB = 148.5 KiB	svlogd
                 84.0 KiB +  79.5 KiB = 163.5 KiB	sh
                 88.0 KiB +  79.5 KiB = 167.5 KiB	apt-compat
                200.0 KiB +  30.5 KiB = 230.5 KiB	gpm
                208.0 KiB +  27.5 KiB = 235.5 KiB	atd
                220.0 KiB +  36.5 KiB = 256.5 KiB	anacron
                288.0 KiB +  26.5 KiB = 314.5 KiB	acpid
                360.0 KiB + 236.5 KiB = 596.5 KiB	icewm-session
                376.0 KiB + 227.5 KiB = 603.5 KiB	udevil
                468.0 KiB + 210.5 KiB = 678.5 KiB	rpcbind
                552.0 KiB + 338.0 KiB = 890.0 KiB	getty (4)
                760.0 KiB + 235.0 KiB = 995.0 KiB	dbus-launch (2)
                652.0 KiB + 398.5 KiB =   1.0 MiB	devmon
                740.0 KiB + 415.5 KiB =   1.1 MiB	gconfd-2
                800.0 KiB + 484.5 KiB =   1.3 MiB	saned
                836.0 KiB + 488.5 KiB =   1.3 MiB	desktop-session
                  1.8 MiB +  78.5 KiB =   1.8 MiB	elogind
                  1.6 MiB + 265.5 KiB =   1.8 MiB	udevd
                  1.4 MiB + 490.5 KiB =   1.9 MiB	sudo
                  1.5 MiB + 492.5 KiB =   2.0 MiB	ntpd
                  1.6 MiB + 429.0 KiB =   2.0 MiB	runsv (24)
                  1.4 MiB + 650.0 KiB =   2.0 MiB	dbus-daemon (4)
                  2.1 MiB +  83.5 KiB =   2.2 MiB	rsyslogd
                  1.7 MiB + 523.5 KiB =   2.2 MiB	bash
                  1.9 MiB + 463.5 KiB =   2.4 MiB	bluetoothd
                  3.3 MiB + 298.5 KiB =   3.6 MiB	connmand
                  3.0 MiB + 795.5 KiB =   3.8 MiB	at-spi2-registryd
                  3.1 MiB + 764.5 KiB =   3.9 MiB	at-spi-bus-launcher
                  5.0 MiB +  27.5 KiB =   5.0 MiB	haveged
                  4.3 MiB + 767.5 KiB =   5.0 MiB	wpa_supplicant
                  4.6 MiB + 717.5 KiB =   5.3 MiB	dhclient
                  4.6 MiB +   1.3 MiB =   5.9 MiB	slimski
                  5.7 MiB +   1.2 MiB =   6.9 MiB	conky
                  4.4 MiB +   4.3 MiB =   8.6 MiB	volumeicon
                  6.0 MiB +   2.7 MiB =   8.7 MiB	icewm
                 10.8 MiB +   5.7 MiB =  16.5 MiB	roxterm
                 87.2 MiB +   1.3 MiB =  88.5 MiB	Xorg
                ---------------------------------
                                        190.7 MiB
                =================================
                System:
                  Host: brian-antix-hp-14fq1025nr Kernel: 6.1.11-antix.1-amd64-smp
                    arch: x86_64 bits: 64 Desktop: IceWM v: 3.3.1 Distro: antiX-21-runit_x64-full
                    Grup Yorum 30 October 2021
                Machine:
                  Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                    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%)
                CPU:
                  Info: 6-core AMD Ryzen 5 5500U with Radeon Graphics [MT MCP] speed (MHz):
                    avg: 1398 min/max: 1400/4056
                Graphics:
                  Device-1: AMD Lucienne driver: amdgpu v: kernel
                  Device-2: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
                  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: amdgpu
                    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
                    resolution: 1920x1080~60Hz
                  API: OpenGL v: 4.6 Mesa 20.3.5 renderer: AMD RENOIR (DRM 3.49.0
                    6.1.11-antix.1-amd64-smp LLVM 11.0.1)
                Network:
                  Device-1: Realtek driver: rtw89_8852ae
                Drives:
                  Local Storage: total: 238.47 GiB used: 29.8 GiB (12.5%)
                Weather:
                  Report: temperature: 18.22 C (65 F) conditions: overcast clouds
                  Locale: Greenville, SC, USA current time: Wed 22 Feb 2023 10:40:47 AM EST
                    (America/New_York) Source: OpenWeatherMap.org
                Info:
                  Processes: 257 Uptime: 5m Memory: 7.11 GiB used: 672.2 MiB (9.2%)
                  Shell: Bash pinxi: 3.3.25-2

                --
                Brian Masinick

                #100301
                Member
                RJP

                  One trick is to make a swap-USB stick, so antiX sees and uses that swap, so it helps in the resource thing. The swap-USB is a good tool for helping installing in old hardware.

                  #100012
                  Member
                  dukester

                    Got it DONE! Installed on the iMac HDD. Boots into the Grub menu and away we go!
                    Set up Fluxbox as default for the time being, with huge yellow sunflower on the desktop.

                    I had some problems getting the HDD partitioned. On the first try, I hosed the boot sector so that I didn’t even get a boot menu – i.e. HDD or UEFI.

                    I had to load the Snow Leopard install cd in order to re-partition the HDD and fix the boot sector.
                    Once done, the USB stick was found and I could boot off of it.

                    It took me a few tries to successfully partition the HDD from the antiX-22 install app. I once partitioned a HDD by running a script that asked questions like: MBR/ESP/etc ; root size in GB; home size in GB ; swap size ; etc etc. It was the slickest partitioning exercise that I ever saw – but I can’t remember what OS. Maybe OpenBSD.

                    Anyway – it’s done and many thanks to all who pitched in with suggestions, links etc. 👍

                    --
                    dukester

                    #99999
                    Member
                    dukester

                      Thanks! It’s a blast working with antiX – especially when things go correctly. 😀
                      I think that I’ll use a / and /home partition. I’m too old to live dangerously anymore. LOL

                      I’m thinking /swap = 4G (got 2G RAM)
                      / = 50G
                      /home = balance of HDD space

                      What do you think?

                      • This reply was modified 2 months, 3 weeks ago by dukester.

                      --
                      dukester

                      #99993
                      Member
                      matheus

                        Hello, how are you? I’m testing antiX 22 on my new Desktop.

                        Olá, como vão? Estou testando o antiX 22 no meu novo Desktop.

                        $ inxi -zv5
                        System:
                          Kernel: 5.10.142-antix.2-amd64-smp arch: x86_64 bits: 64 compiler: gcc
                            v: 10.2.1 Desktop: IceWM v: 3.0.1
                            Distro: antiX-22_x64-full Grup Yorum 18 October 2022
                            base: Debian GNU/Linux 11 (bullseye)
                        Machine:
                          Type: Desktop Mobo: INTEL model: H61 serial: <superuser required>
                            UEFI: American Megatrends v: 4.6.5 date: 04/17/2019
                        Memory:
                          RAM: total: 11.66 GiB used: 900.8 MiB (7.5%)
                          RAM Report:
                            permissions: Unable to run dmidecode. Root privileges required.
                        CPU:
                          Info: quad core model: Intel Core i5-2500 bits: 64 type: MCP
                            arch: Sandy Bridge rev: 7 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
                          Speed (MHz): avg: 2814 high: 3659 min/max: 1600/3700 cores: 1: 3659
                            2: 3498 3: 2276 4: 1826 bogomips: 26341
                          Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
                        Graphics:
                          Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nouveau v: kernel
                            arch: Pascal bus-ID: 01:00.0
                          Display: server: X.Org v: 1.20.11 driver: X: loaded: modesetting
                            unloaded: fbdev,vesa gpu: nouveau resolution: 1920x1080~60Hz
                          OpenGL: renderer: NV138 v: 4.3 Mesa 20.3.5 direct render: Yes
                        Audio:
                          Device-1: Intel 6 Series/C200 Series Family High Definition Audio
                            driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
                          Device-2: NVIDIA GP108 High Definition Audio driver: snd_hda_intel
                            v: kernel bus-ID: 01:00.1
                          Sound Server-1: ALSA v: k5.10.142-antix.2-amd64-smp running: yes
                        Network:
                          Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169
                            v: kernel port: d000 bus-ID: 03:00.0
                          IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
                        Bluetooth:
                          Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
                            driver: btusb v: 0.8 bus-ID: 1-1.4:4
                          Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: stopped
                            rfk-block: hardware: no software: yes address: <filter>
                        Drives:
                          Local Storage: total: 1.47 TiB used: 4 MiB (0.0%)
                          ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-80Z10T2
                            size: 931.51 GiB
                          ID-2: /dev/sdb vendor: Toshiba model: MQ01ABD050V -63 size: 465.76 GiB
                          ID-3: /dev/sdc vendor: Western Digital model: WD800AAJS-75M0A0
                            size: 74.51 GiB
                          ID-4: /dev/sdd vendor: BHT model: WR202F0032G 670270F5 size: 28.5 GiB
                          ID-5: /dev/sde type: USB vendor: SanDisk model: Cruzer Blade
                            size: 3.73 GiB
                          Message: No optical or floppy data found.
                        Partition:
                          Message: No partition data found.
                        Swap:
                          ID-1: swap-1 type: partition size: 4.5 GiB used: 0 KiB (0.0%)
                            dev: /dev/sdb2 label: N/A uuid: 0823dac2-ed12-43e1-8144-069e95c39a8a
                        Sensors:
                          System Temperatures: cpu: 38.0 C mobo: N/A gpu: nouveau temp: 39.0 C
                          Fan Speeds (RPM): N/A
                        Info:
                          Processes: 151 Uptime: 4m Init: SysVinit runlevel: 5 Compilers: gcc: 10.2.1
                          Packages: 1569 Shell: Bash v: 5.1.4 inxi: 3.3.19

                        CPU =>Intel Core i7-2600 @ 3.40 GHz 04 Cores / 08 Threads.
                        RAM =>12 Gb DDR3 1333
                        GPU =>Palit GeForce GT 1030 2Gb GDDR5 (Driver Nvidia Current)
                        Monitor => Samsung SyncMaster T22A300
                        Goldentech GT-H61

                        Member
                        scruffyeagle

                          I want to make a link for my desktop, to open my Budgeting Spreadsheet – but it’s not working. I’m attaching 3 screenshots: Trying to make the link, failing to make the link, and the file’s properties.

                          Background info that might be important:
                          * I repartitioned my external hard drive, where all my data files are kept.
                          * I re-encrypted partition #7, where my Budgeting Spreadsheet is stored. This changed its encryption from TrueCrypt method to VeraCrypt method.
                          * I used a combination of copy/paste and LuckyBackup, to restore the data files from my backup external hard drive, into the newly formatted primary hard drive.

                          I suspect the problem is that the file’s properties now disallow anyone but the owner working with the files. I have 2 antiX OS’s, v19.4 and v21, on 2 different machines, but it doesn’t seem to make any difference which one I use. Neither antiX can make the needed link for the desktop.

                          But, I also have a Windows 10 installation of each of my laptops, and Windows can make the needed link.

                          In the course of trying to perform a normal backup, I found that the newly formatted primary drive’s files overwrote the original files on the backup drive. So, ALL of the restored files on both primary & backup external drives are now set as the limited permissions, not allowing anything for Group. This was inconvenient, but it didn’t cause any real problems right away, other than consuming extra time.

                          I can still access the Budgeting Spreadsheet, but I need to navigate to the subdirectory, and click on it directly. That’s an inconvenience, and I’d like to fix this problem instead of just living with it.

                          Note that I’d previously had a link on the desktop, to the Budgeting Spreadsheet, and it continued working after I reformatted the partitions and restored the files. But, what screwed things up was when I did a major restructuring of my archive of data files. The Budgeting Spreadsheeit isn’t where it used to be, and requires a new link on the desktop. Which is what I don’t seem to be able to create.

                          Also note that I can’t make links to other normal data files on the external HD’s So, the problem isn’t limited to just the Budgeting Spreadhseet. It’s all the data files on the external HD’s.

                          I’m including the output of inxi -Fxxxrz.
                          At least, for one of the machines… Neither the antiX 19.4 or the antix 21 can make the needed link.

                          I’m not sure how to fix this. Can anybody talk me through it?

                          —————————–

                          spirit@antix194:~
                          $ inxi -Fxxxrz
                          System:
                            Kernel: 4.9.0-264-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
                              v: 8.3.0 Desktop: IceWM v: 3.2.3 vt: 7 dm: SLiM v: 1.3.6
                              Distro: antiX-19.4_x64-full Grup Yorum 20 May 2021
                              base: Debian GNU/Linux 10 (buster)
                          Machine:
                            Type: Portable System: Dell product: Latitude E6400 v: N/A
                              serial: <superuser required> Chassis: type: 8 serial: <superuser required>
                            Mobo: Dell model: 0U692R serial: <superuser required> BIOS: Dell v: A34
                              date: 06/04/2013
                          Battery:
                            ID-1: BAT0 charge: 76.4 Wh (102.0%) condition: 74.9/76.4 Wh (98.1%)
                              volts: 12.1 min: 11.1 model: Panasonic DELL FU44196 type: Li-ion
                              serial: <filter> status: full
                          CPU:
                            Info: dual core model: Intel Core2 Duo P8600 bits: 64 type: MCP
                              smt: <unsupported> arch: Penryn Yorkfield rev: A cache: L1: 128 KiB
                              L2: 3 MiB
                            Speed (MHz): avg: 800 min/max: 800/2401 boost: enabled cores: 1: 800
                              2: 800 bogomips: 9575
                            Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
                          Graphics:
                            Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Dell
                              driver: i915 v: kernel arch: Gen5 ports: active: LVDS-1
                              empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2, VGA-1 bus-ID: 00:02.0
                              chip-ID: 8086:2a42 class-ID: 0300
                            Display: x11 server: X.Org v: 1.20.4 driver: X: loaded: intel gpu: i915
                              display-ID: :0.0 screens: 1
                            Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 338x211mm (13.31x8.31")
                              s-diag: 398mm (15.69")
                            Monitor-1: LVDS-1 mapped: LVDS1 model: Seiko Epson 0x5441 res: 1280x800
                              hz: 60 dpi: 107 size: 303x190mm (11.93x7.48") diag: 358mm (14.1")
                              modes: 1280x800
                            OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express v: 2.1 Mesa 18.3.6
                              direct render: Yes
                          Audio:
                            Device-1: Intel 82801I HD Audio vendor: Dell driver: snd_hda_intel
                              v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e class-ID: 0403
                            Sound Server-1: ALSA v: k4.9.0-264-antix.1-amd64-smp running: yes
                          Network:
                            Device-1: Intel 82567LM Gigabit Network vendor: Dell driver: e1000e
                              v: 3.2.6-k port: efe0 bus-ID: 00:19.0 chip-ID: 8086:10f5 class-ID: 0200
                            IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
                            Device-2: Intel WiFi Link 5100 driver: iwlwifi v: kernel bus-ID: 0c:00.0
                              chip-ID: 8086:4232 class-ID: 0280
                            IF: wlan0 state: down mac: <filter>
                          RAID:
                            Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
                              v: 3.0 port: 6ea0 bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A
                              class-ID: 0104
                          Drives:
                            Local Storage: total: 1.14 TiB used: 140.8 GiB (12.1%)
                            ID-1: /dev/sda vendor: Toshiba model: MK2561GSYN size: 232.89 GiB
                              speed: 3.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: 0C scheme: MBR
                            ID-2: /dev/sdb type: USB vendor: Western Digital
                              model: WD My Passport 0748 size: 931.48 GiB type: N/A serial: <filter>
                              rev: 1019 scheme: MBR
                          Partition:
                            ID-1: / size: 28.71 GiB used: 8.8 GiB (30.7%) fs: ext4 dev: /dev/sda5
                          Swap:
                            ID-1: swap-1 type: partition size: 9.77 GiB used: 0 KiB (0.0%) priority: -1
                              dev: /dev/sda3
                          Sensors:
                            System Temperatures: cpu: 41.0 C mobo: N/A sodimm: SODIMM C
                            Fan Speeds (RPM): cpu: 3022
                          Repos:
                            Packages: apt: 2162
                            Active apt repos in: /etc/apt/sources.list.d/antix.list
                              1: deb http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster/ buster main nonfree nosystemd
                            Active apt repos in: /etc/apt/sources.list.d/buster-backports.list
                              1: deb http://deb.debian.org/debian/ buster-backports non-free contrib main
                            Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                              1: deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
                            Active apt repos in: /etc/apt/sources.list.d/debian.list
                              1: deb http://ftp.us.debian.org/debian/ buster main contrib non-free
                              2: deb http://security.debian.org/ buster/updates main contrib non-free
                            No active apt repos in: /etc/apt/sources.list.d/onion.list
                            No active apt repos in: /etc/apt/sources.list.d/various.list
                          Info:
                            Processes: 187 Uptime: 2h 9m wakeups: 5 Memory: 3.82 GiB
                            used: 762.6 MiB (19.5%) Init: SysVinit v: 2.93 runlevel: 5 default: 5
                            Compilers: gcc: 8.3.0 alt: 8 Shell: Bash v: 5.0.3 running-in: roxterm
                            inxi: 3.3.19
                          spirit@antix194:~
                          $

                          =============================
                          NOTE: I screwed up the screenshot for trying to make a link, the first time I tried – made it look like I hadn’t changed the filename. But, I DID. So, I tried again, and took a new screenshot – but, the forum’s editing doesn’t let me see or edit the attachments! It made it look as if the attachments were simply GONE – which is why I added them all a 2nd time. So, just ignore the 1st 3 attachments, which includes the defective 1st copy of trying to make a link screenshot.

                          #99874
                          Member
                          RockZombie4

                            So I tried installing the drivers that worked for me in linux mint, but APT can’t find them.

                            Also, here is the output that came from inxi -Fxz:

                            $ inxi -Fxz
                            System:
                              Kernel: 5.10.142-antix.2-amd64-smp arch: x86_64 bits: 64 compiler: gcc
                                v: 10.2.1 Desktop: IceWM v: 3.0.1
                                Distro: antiX-22_x64-full Grup Yorum 18 October 2022
                                base: Debian GNU/Linux 11 (bullseye)
                            Machine:
                              Type: Laptop System: HP product: HP Pavilion x360 Convertible
                                v: Type1ProductConfigId serial: <superuser required>
                              Mobo: HP model: 8074 v: 66.35 serial: <superuser required> UEFI: Insyde
                                v: F.33 date: 07/31/2015
                            Battery:
                              ID-1: BAT0 charge: 24.5 Wh (92.8%) condition: 26.4/26.4 Wh (100.0%)
                                volts: 8.0 min: 7.6 model: 333-54-2A HV02032XL status: discharging
                            CPU:
                              Info: quad core model: Intel Pentium N3700 bits: 64 type: MCP arch: Airmont
                                rev: 3 cache: L1: 224 KiB L2: 2 MiB
                              Speed (MHz): avg: 2072 high: 2408 min/max: 480/2400 cores: 1: 2400
                                2: 2408 3: 1523 4: 1957 bogomips: 12800
                              Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
                            Graphics:
                              Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
                                Integrated Graphics
                                vendor: Hewlett-Packard driver: i915 v: kernel arch: Gen8 bus-ID: 00:02.0
                              Device-2: Chicony HP Truevision HD type: USB driver: uvcvideo
                                bus-ID: 1-5.2:5
                              Display: server: X.Org v: 1.20.11 driver: X: loaded: modesetting
                                unloaded: fbdev,vesa gpu: i915 resolution: 1366x768~60Hz
                              OpenGL: renderer: Mesa DRI Intel HD Graphics 405 (BSW) v: 4.6 Mesa 20.3.5
                                direct render: Yes
                            Audio:
                              Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
                                High Definition Audio
                                vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
                              Sound Server-1: ALSA v: k5.10.142-antix.2-amd64-smp running: yes
                            Network:
                              Device-1: Realtek RTL810xE PCI Express Fast Ethernet
                                vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 02:00.0
                              IF: eth0 state: down mac: <filter>
                              Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter
                                vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 2000
                                bus-ID: 03:00.0
                              IF: wlan0 state: up mac: <filter>
                            Bluetooth:
                              Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
                                bus-ID: 1-5.1:4
                              Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: running
                                rfk-block: hardware: no software: yes address: <filter>
                            Drives:
                              Local Storage: total: 465.76 GiB used: 4.37 GiB (0.9%)
                              ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB
                            Partition:
                              ID-1: / size: 220.03 GiB used: 4.36 GiB (2.0%) fs: ext4 dev: /dev/sda3
                              ID-2: /boot/efi size: 512 MiB used: 4.7 MiB (0.9%) fs: vfat
                                dev: /dev/sda2
                            Swap:
                              Alert: No swap data was found.
                            Sensors:
                              System Temperatures: cpu: 47.0 C mobo: N/A
                              Fan Speeds (RPM): N/A
                            Info:
                              Processes: 159 Uptime: 32m Memory: 3.7 GiB used: 1.2 GiB (32.3%)
                              Init: SysVinit runlevel: 5 Compilers: gcc: 10.2.1 Packages: 1569
                              Shell: Bash v: 5.1.4 inxi: 3.3.19
                            
                            
                            #99544
                            Member
                            spaz

                              Hey Robin!
                              Thanks very much again.
                              I meant to thank you for your awesome help/explanation with Samba too.
                              I wrote up a PM to send you….
                              but it doesn’t seem like PMs are an option on these forums, and my thread was closed.
                              anyway….
                              Thank you for taking the time for that – I learned a lot about how to think these things through,
                              and it was my first experience with “dependecy hell”.

                              Back to this thread…

                              My system supports hibernate.
                              I have experienced systems not waking from hibernate on a desktop – similar to you with an NVIDIA card.
                              On my desktop: I swapped the NVIDIA out with an ATI Radeon and works fine (:
                              No more NVIDIA and their closed source bullshit when I have other options.

                              For my laptop in this thread:
                              I have confirmed it supports hibernate, per your instructions.
                              pm-is-supported –hibernate; echo $?
                              this returns 0.

                              However, when after I put it into hibernate – by running
                              sudo pm-hibernate

                              …when I awaken the laptop :
                              it is as if it was starting freshly from a poweroff.
                              I have to decrypt the encrypted drive,
                              no applications are open etc.

                              …So:: I suspect I do not have a large enough swap.
                              I will try and expand it – and see how it works.

                              When you say (in your second post) ::
                              “antiX doesn’t make use of this specific way of management.”

                              Which “specific way of management” does it make use of?
                              Is this in reference to init system related things?
                              Is it related to differences between system-d and whatever antix22 is using (runit or openrc I guess?)

                              I ran :
                              sudo service –status-all
                              and it returned some interesting results about what was enabled and disabled (:

                              Thanks again!

                              #99528
                              Moderator
                              Brian Masinick

                                On another matter, I’ve read complaints about some kernels and also about some Web browsers.
                                Since I’ve been writing this thread, I checked ps_mem.py again, and I was pleased to see that there was no hint of increased memory usage, and in fact, the standard Firefox binary combined with an efficient Liquorix 6.1.11-1 kernel and the runit scheduler, memory is consistent, and on more than one occasion when I close a few tabs, within a few minutes browser cache memory is released. Firefox does tend to cache a lot of initial memory and the base image is somewhat heavy, but in context, not for the resources that I have available at all.

                                Information to support this –

                                pinxi -zv5
                                System:
                                  Kernel: 6.1.11-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc
                                    v: 10.2.1 Desktop: IceWM v: 3.3.1 Distro: antiX-21-runit_x64-full Grup
                                    Yorum 30 October 2021 base: Debian GNU/Linux 11 (bullseye)
                                Machine:
                                  Type: Laptop System: HP product: HP Laptop 14-fq1xxx v: N/A
                                    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.8 min: 11.3 model: HP Primary status: not charging
                                Memory:
                                  RAM: total: 7.1 GiB used: 1.59 GiB (22.4%)
                                  RAM Report: permissions: Unable to run dmidecode. Root privileges
                                    required.
                                CPU:
                                  Info: 6-core model: AMD Ryzen 5 5500U with Radeon Graphics bits: 64
                                    type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
                                  Speed (MHz): avg: 1759 high: 2100 min/max: 1400/4056 boost: enabled cores:
                                    1: 1397 2: 2100 3: 1397 4: 2100 5: 1397 6: 2100 7: 1396 8: 2100 9: 1531
                                    10: 2100 11: 1397 12: 2100 bogomips: 50307
                                  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
                                Graphics:
                                  Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel
                                    arch: GCN-5 bus-ID: 03:00.0 temp: 46.0 C
                                  Device-2: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo
                                    bus-ID: 1-3:3
                                  Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: amdgpu
                                    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
                                    resolution: 1920x1080~60Hz
                                  API: OpenGL v: 4.6 Mesa 20.3.5 renderer: AMD RENOIR (DRM 3.49.0
                                    6.1.11-1-liquorix-amd64 LLVM 11.0.1) direct-render: Yes
                                Audio:
                                  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
                                    driver: snd_hda_intel v: kernel bus-ID: 03:00.1
                                  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
                                    vendor: Hewlett-Packard driver: snd_rn_pci_acp3x v: kernel bus-ID: 03:00.5
                                  Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard
                                    driver: snd_hda_intel v: kernel bus-ID: 03:00.6
                                  Sound API: ALSA v: k6.1.11-1-liquorix-amd64 running: yes
                                  Sound Server-1: PulseAudio v: 14.2 running: no
                                Network:
                                  Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
                                    port: f000 bus-ID: 01:00.0
                                  IF: wlan0 state: up mac: <filter>
                                Bluetooth:
                                  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
                                    bus-ID: 1-4:4
                                  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0
                                    lmp-v: 5.2
                                Drives:
                                  Local Storage: total: 238.47 GiB used: 30.73 GiB (12.9%)
                                  ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNV256G KIOXIA
                                    size: 238.47 GiB temp: 29.9 C
                                  Message: No optical or floppy data found.
                                Partition:
                                  ID-1: / size: 47.76 GiB used: 30.69 GiB (64.3%) fs: ext4 dev: /dev/nvme0n1p3
                                    label: rootantiX21 uuid: e1d85e10-a42a-4ed5-a98e-c860607e6910
                                  ID-2: /boot/efi size: 256 MiB used: 42.4 MiB (16.6%) fs: vfat
                                    dev: /dev/nvme0n1p1 label: SYSTEM uuid: 669B-9111
                                Swap:
                                  ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
                                    dev: /dev/nvme0n1p6 label: N/A uuid: d5ee9225-6bf8-4ea5-9299-547b7272c289
                                Sensors:
                                  System Temperatures: cpu: 49.1 C mobo: N/A gpu: amdgpu temp: 45.0 C
                                  Fan Speeds (RPM): fan-1: 0 fan-2: 0
                                Info:
                                  Processes: 266 Uptime: 51m Init: runit runlevel: 2 Compilers: gcc: 10.2.1
                                  Packages: 1852 Shell: Bash v: 5.1.4 pinxi: 3.3.25-1

                                --
                                Brian Masinick

                                #99504
                                Member
                                xunil

                                  Hi,

                                  Having installed antiX on my quite old ASUS laptop I am really impressed how fast the laptop is working under antX, especially though it has a recognized memory of mere 2 GB on 1 memory bank (the second memory bank does not seem to work, although the RAM module is ok, found that out by swapping the modules around).
                                  Because of the great overwhelming performance (compared to Win10 on the same machine) I now would like to install antiX-22-base.iso onto my even older IBM Thinkpad T30 with 1,8 GHz CPU and a small RAM of 512 MB.
                                  Afrer the USB stick was prepared to boot with the USB Livemaker on the antiX-22 laptop and trying to boot on the IBM machine, I merely get a prompt, nothing else. Cannot enter any commands or whatsoever.
                                  What could I have done wrong? In the near past I’ve tried several lightweight Linux distros on that old IBM, coz I am looking for a distro to install for good. Most of the others had slight hickups e.g. wifi hardware not found etc., but all of them actually booted from the sticks I had created with the LiveUSBmaker from the antiX machine (ASUS).

                                  Any help is really appreciated, as I’d need this little IBM machine quite soon (want to take it with me, when I start working as a truck driver again) for those nights where I won’t manage to come home.

                                  Regards
                                  xunil

                                Viewing 15 results - 121 through 135 (of 1,706 total)