Search Results for 'swap'

Forum Forums Search Search Results for 'swap'

Viewing 15 results - 16 through 30 (of 1,706 total)
  • Author
    Search Results
  • #106240
    Moderator
    Brian Masinick
      System:
        Host: antixBeta-hp-14-fq-1025 Kernel: 6.2.14-1-liquorix-amd64 arch: x86_64
          bits: 64 compiler: gcc v: 12.2.0 Desktop: IceWM v: 3.3.3
          Distro: antiX-23-beta1-runit_x64-full Grup Yorum 21 March 2023 base: Debian
          GNU/Linux 12 (bookworm)
      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.9 min: 11.3 model: HP Primary status: not charging
      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: 2041 high: 2100 min/max: 1400/4056 boost: enabled cores:
          1: 2100 2: 2100 3: 2100 4: 2100 5: 2100 6: 2100 7: 2100 8: 2100 9: 1397
          10: 2100 11: 2100 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: 38.0 C
        Device-2: Chicony HP TrueVision HD Camera driver: uvcvideo type: USB
          bus-ID: 1-3:3
        Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
          unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
          resolution: 1920x1080~60Hz
        API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM
          15.0.6 DRM 3.49 6.2.14-1-liquorix-amd64) direct-render: Yes
      Network:
        Device-1: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: kernel
          port: f000 bus-ID: 01:00.0
        IF: wlan0 state: up mac: d8:80:83:b7:f8:bd
      Drives:
        Local Storage: total: 238.47 GiB used: 22.52 GiB (9.4%)
        ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNV256G KIOXIA
          size: 238.47 GiB temp: 21.9 C
      Partition:
        ID-1: / size: 47.76 GiB used: 22.47 GiB (47.0%) fs: ext4 dev: /dev/nvme0n1p5
        ID-2: /boot/efi size: 256 MiB used: 56.1 MiB (21.9%) fs: vfat
          dev: /dev/nvme0n1p1
        ID-3: swap-1 size: 7.81 GiB used: 0 KiB (0.0%) fs: swap
          dev: /dev/nvme0n1p6
      Info:
        Processes: 231 Uptime: 8m Memory: available: 7.08 GiB used: 677.2 MiB (9.3%)
        Init: runit runlevel: 2 Compilers: gcc: 12.2.0 Packages: 1764 Shell: Bash
        v: 5.2.15 pinxi: 3.3.27-1

      --
      Brian Masinick

      #106231
      Member
      h2

        Not an inxi issue, it’s believing what /sys tells it, which itself is believing what the battery tells it.

        In this case the error is obvious, the current charge value has been swapped with the original charge capacity value.

        You’ll see gibberish values now and then, but that’s usually caused by faulty reporting by either the system or the battery. I had a dead battery which I was testing the other day, and it initially happily reported itself as being at 111% of original design capacity, but sadly, it was simply dead. A few restarts and unplugs later, it reported itself I think at 100% of design capacity, but it was dead. The parts of that it got right were the voltage, which was below minimum, and the current charge, which was zero, since it’s dead.

        I’d say these types of misreportings are maybe more than anything else a hint that there may be an issue with the battery, or the battery management chip, which I think is often inside batteries. Usually it’s some nonsense value, but in this case, it’s pretty clear that teh current charge value is being swapped by the design capacity value, but that’s happening before /sys and inxi do anything with that data almost certainly.

        Battery:
        ID-1: BAT0 charge: 48.8 Wh (144.8%) condition: 33.7/48.8 Wh (68.9%)


        @rokytnji
        : Something seems a bit off with your battery charge percentage.

        Battery:
        ID-1: BAT0 charge: 48.8 Wh (144.8%) condition: 33.7/48.8 Wh (68.9%)


        @rokytnji
        : Something seems a bit off with your battery charge percentage.

        This I think is a case of an unexpected result pointing not to an inxi bug or error, but a possible hardware issue or error. Or the battery could always have had this glitch, batteries and their electronics are weird creatures.

        One easy test is to just leave it plugged in long enough to make sure of full charge, then unplug it, and check with the machine every 30 or so minutes to see how long it runs for unplugged. If it’s a very short time, the battery is failing, but still has x percent of its design capacity, if its’ a fairly long time, then it’s probably just confused. Also, you can just run it down, to zero, then recharge it, then check that number again, if it still insists the current charge is equal to the design capacity, then it’s just an electronic glitch in the battery, the downside is you won’t be able to determine its state of charge that way.

        • This reply was modified 4 days, 11 hours ago by h2.
        • This reply was modified 4 days, 11 hours ago by h2.
        • This reply was modified 4 days, 11 hours ago by h2.
        Member
        greyowl

          I am running antiX 21 on a Dell Latitude D620. I increased the RAM from 3GB to 4 GB (two 2 GB sticks). However, the available memory is only 3.17 GB.

          The Bios Setup shows the following:
          Memory installed= 4096 MB
          Memory available= 3319 MB
          Memory Speed= 667 MHz
          Memory Technology= DDR2 SDRAM
          Note: Due to an amount of memory being assigned for system use, Memory Available is less than memory installed.

          Below is the result of inxi -Fxz:
          user@antix1:~
          $ inxi -Fxz
          System:
          Kernel: 4.19.0-256-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
          v: 10.2.1 Desktop: IceWM v: 3.3.3 Distro: antiX-21_x64-full Grup Yorum 31
          October 2021 base: Debian GNU/Linux 11 (bullseye)
          Machine:
          Type: Portable System: Dell product: Latitude D620 v: N/A
          serial: <superuser required>
          Mobo: Dell model: 0FT292 serial: <superuser required> BIOS: Dell v: A07
          date: 12/18/2006
          Battery:
          ID-1: BAT0 charge: 0% condition: 0.0/57.7 Wh (0.1%) volts: 4.9 min: 11.1
          model: Sanyo DELL JD6057 status: charging
          CPU:
          Info: dual core model: Intel Core2 T7200 bits: 64 type: MCP
          arch: Core2 Merom rev: 6 cache: L1: 128 KiB L2: 4 MiB
          Speed (MHz): avg: 1465 high: 1931 min/max: 1000/2000 cores: 1: 1931 2: 999
          bogomips: 7989
          Flags: ht lm nx pae sse sse2 sse3 ssse3 vmx
          Graphics:
          Device-1: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics
          vendor: Dell driver: i915 v: kernel arch: Gen-3.5 bus-ID: 00:02.0
          Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel dri: i915
          gpu: i915 resolution: 1440×900~60Hz
          API: OpenGL v: 1.4 Mesa 20.3.5 renderer: Mesa DRI Intel 945GM
          direct-render: Yes
          Audio:
          Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Dell
          driver: snd_hda_intel bus-ID: 4-1:2 v: kernel bus-ID: 00:1b.0
          Device-2: Tenx USB AUDIO type: USB
          driver: hid-generic,snd-usb-audio,usbhid
          Sound API: ALSA v: k4.19.0-256-antix.1-amd64-smp running: yes
          Network:
          Device-1: Broadcom NetXtreme BCM5752 Gigabit Ethernet PCI Express
          vendor: Dell Latitude D620 driver: tg3 v: 3.137 port: N/A bus-ID: 09:00.0
          IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
          Device-2: Broadcom BCM4311 802.11a/b/g vendor: Dell Wireless 1490 Dual
          Band WLAN Mini-Card driver: b43-pci-bridge v: N/A bus-ID: 0c:00.0
          IF-ID-1: wlan0 state: down mac: <filter>
          Drives:
          Local Storage: total: 74.53 GiB used: 13.88 GiB (18.6%)
          ID-1: /dev/sda vendor: Hitachi model: HTS541680J9SA00 size: 74.53 GiB
          Partition:
          ID-1: / size: 69.11 GiB used: 13.88 GiB (20.1%) fs: ext4 dev: /dev/sda1
          Swap:
          ID-1: swap-1 type: partition size: 3.75 GiB used: 0 KiB (0.0%)
          dev: /dev/sda2
          Sensors:
          System Temperatures: cpu: 58.0 C mobo: N/A sodimm: SODIMM C
          Fan Speeds (RPM): cpu: 2892
          Info:
          Processes: 157 Uptime: 8m Memory: 3.17 GiB used: 1.38 GiB (43.7%)
          Init: SysVinit runlevel: 5 Compilers: gcc: 10.2.1 Packages: 1616 Shell: Bash
          v: 5.1.4 inxi: 3.3.25

          How can I increase the amount of available memory?

          • This topic was modified 4 days, 11 hours ago by greyowl.

          Dell Latitude D620 laptop with antiX 22 (64 bit)

          #106060
          Moderator
          Brian Masinick
            pinxi -jabxx
            System:
              Host: antixBeta-hp-14-fq-1025 Kernel: 6.2.14-1-liquorix-amd64 arch: x86_64
                bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0 intel_pstate=disable
                hpet=disable rcupdate.rcu_expedited=1
                BOOT_IMAGE=/boot/vmlinuz-6.2.14-1-liquorix-amd64
                root=UUID=d4f28f3d-bba2-45a8-856f-984e1f9cbb30 ro quiet selinux=0
              Desktop: IceWM v: 3.3.3 dm: slimski v: 1.5.0
                Distro: antiX-23-beta1-runit_x64-full Grup Yorum 21 March 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: SerialNumber
                status: not charging
            CPU:
              Info: 6-core AMD Ryzen 5 5500U with Radeon Graphics [MT MCP] arch: Zen 2
                speed (MHz): avg: 2067 min/max: 1400/4056
            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: 45.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:2 chip-ID: 04f2:b6f1
                class-ID: 0e02 serial: 0001
              Display: server: X.Org v: 1.21.1.7 driver: X: loaded: amdgpu
                unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
                resolution: 1920x1080~60Hz
              API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM
                15.0.6 DRM 3.49 6.2.14-1-liquorix-amd64) direct-render: Yes
            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
            Drives:
              Local Storage: total: 238.47 GiB used: 21.96 GiB (9.2%)
            Swap:
              Kernel: swappiness: 10 (default 60) cache-pressure: 50 (default 100)
              ID-1: swap-1 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
                priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6
            Info:
              Processes: 234 Uptime: 11m wakeups: 450 Memory: 7.08 GiB
              used: 1.48 GiB (20.9%) Init: runit v: N/A runlevel: 2 tool: service
              Compilers: gcc: 12.2.0 alt: 12 Packages: pm: dpkg pkgs: 1763 libs: 803
              tools: apt,apt-get,nala,synaptic Shell: Bash v: 5.2.15 running-in: roxterm
              pinxi: 3.3.26-45

            --
            Brian Masinick

            #106049

            In reply to: ave AntiX is GREAT !!!

            Member
            arq.baramov

              The partition installation.
              When things come to partitioning, or to how and where to install linux. what partition where to put(mount 😉 ) , ANTIX really shine.
              Yes, making things in table form, with predefined paths needed for installation, is the best solution!!!
              Does it have place for improvement – yes, very small, something like a scheme what where to have, just for dummers, and for very beginners.
              But let me share my opinion about other installers in this field – partitions.
              Some of the installers like 4 fedora, alma, mandjaro, are like a dummy kid. You select a partition, you add a name / mounting point, you pick format or not, and you add it, and it dessapear 🙂 .
              Or in debians – it just not let you even pick a place / drive to mount home folder separately.
              And all of them INSIST to format the swap partition, which happened to be formatted, just a frendly remark, don’t alow reformat of swap, or you have to go through all installed distros, and have to edit the /etc/fstab
              This is it – if you want a linux, and you want to NOT REFORMAT your disk, or delete some data, you must start with ANTIX.
              Everything else is to go on the roads with traps.

              Forum Admin
              rokytnji

                Just a hill billy guess. Maybe zram included with swap would fix this.

                I use zram on one Dell laptop.

                https://www.antixforum.com/forums/topic/swap-zram-to-improve-performance/

                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

                #106012
                Forum Admin
                rokytnji

                  Power was out from storms so charging laptop batteries used during power outage.

                  On the dell antiX laptop

                  harry@biker:~
                  $ inxi -Fxz
                  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.3 Distro: antiX-21_x64-full Grup Yorum 31
                      October 2021 base: Debian GNU/Linux 11 (bullseye)
                  Machine:
                    Type: Laptop System: Dell product: Latitude E4310 v: 0001
                      serial: <superuser required>
                    Mobo: Dell model: 0T6M8G v: A01 serial: <superuser required> BIOS: Dell
                      v: A03 date: 07/08/2010
                  Battery:
                    ID-1: BAT0 charge: 48.8 Wh (144.8%) condition: 33.7/48.8 Wh (68.9%)
                      volts: 12.6 min: 11.1 model: Samsung SDI DELL RM6618A status: charging
                  CPU:
                    Info: dual core model: Intel Core i5 M 520 bits: 64 type: MT MCP
                      arch: Westmere rev: 5 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
                    Speed (MHz): avg: 1469 high: 1549 min/max: 1199/2400 boost: enabled cores:
                      1: 1549 2: 1485 3: 1332 4: 1512 bogomips: 19152
                    Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
                  Graphics:
                    Device-1: Intel Core Processor Integrated Graphics vendor: Dell driver: i915
                      v: kernel arch: Gen-5.75 bus-ID: 00:02.0
                    Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel dri: i965
                      gpu: i915 resolution: 1366x768~60Hz
                    API: OpenGL v: 2.1 Mesa 20.3.5 renderer: Mesa DRI Intel HD Graphics (ILK)
                      direct-render: Yes
                  Audio:
                    Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Dell 5
                      driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
                    API: ALSA v: k5.10.153-antix.1-amd64-smp status: kernel-api
                    Server-1: PulseAudio v: 14.2 status: off
                  Network:
                    Device-1: Intel 82577LM Gigabit Network vendor: Dell driver: e1000e
                      v: kernel port: 6040 bus-ID: 00:19.0
                    IF: eth0 state: down mac: <filter>
                    Device-2: Intel Centrino Advanced-N 6200 driver: iwlwifi v: kernel
                      bus-ID: 02:00.0
                    IF: wlan0 state: up mac: <filter>
                  Bluetooth:
                    Device-1: Dell DW375 Bluetooth Module type: USB driver: btusb v: 0.8
                      bus-ID: 2-1.7:3
                    Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 2.0
                      lmp-v: 3.0
                  Drives:
                    Local Storage: total: 59.71 GiB used: 15.74 GiB (26.4%)
                    ID-1: /dev/mmcblk0 model: 00000 size: 3.81 GiB
                    ID-2: /dev/sda vendor: Kingston model: SV300S37A60G size: 55.9 GiB
                  Partition:
                    ID-1: / size: 51.88 GiB used: 15.74 GiB (30.3%) fs: ext4 dev: /dev/sda1
                  Swap:
                    ID-1: swap-1 type: partition size: 2.87 GiB used: 0 KiB (0.0%)
                      dev: /dev/sda2
                    ID-2: swap-2 type: zram size: 472.7 MiB used: 0 KiB (0.0%) dev: /dev/zram0
                    ID-3: swap-3 type: zram size: 472.7 MiB used: 0 KiB (0.0%) dev: /dev/zram1
                    ID-4: swap-4 type: zram size: 472.7 MiB used: 0 KiB (0.0%) dev: /dev/zram2
                    ID-5: swap-5 type: zram size: 472.7 MiB used: 0 KiB (0.0%) dev: /dev/zram3
                  Sensors:
                    System Temperatures: cpu: 54.0 C mobo: N/A sodimm: SODIMM C
                    Fan Speeds (RPM): cpu: 0
                  Info:
                    Processes: 168 Uptime: 11m Memory: 7.69 GiB used: 973.1 MiB (12.4%)
                    Init: SysVinit runlevel: 5 Compilers: gcc: 10.2.1 Packages: 1670 Shell: Bash
                    v: 5.1.4 inxi: 3.3.26
                  harry@biker:~
                  $ 
                  

                  Was on the MX dell laptop earlier charging the battery.

                  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

                  #106011
                  Forum Admin
                  rokytnji

                    Here is the conky from antiX Dell Laptop.

                    # Standard antiX .conkyrc file
                    # For conky editing help and commands visit = Casey's Conky Reference with Examples {http://www.ifxgroup.net/conky.htm}
                    
                    # set to yes if you want Conky to be forked in the background
                    background yes
                    
                    short_units yes
                    
                    cpu_avg_samples 1
                    net_avg_samples 1
                    
                    out_to_console no
                    
                    # X font when Xft is disabled, you can pick one with program xfontsel
                    #font 7x12
                    #font 6x10
                    #font 7x13
                    font 8x12
                    #font 7x12
                    
                    # Use Xft?
                    use_xft yes
                    
                    # Xft font when Xft is enabled
                    #xftfont gentium:size=12
                    #ftfont DejaVu Sans:size=10
                    xftfont DejaVu Sans:bold:size=9
                    #xftfont DejaVu Sans:size=9
                    
                    # Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
                    own_window yes
                    own_window_transparent yes
                    own_window_hints undecorated,below,sticky,skip_taskbar
                    own_window_type desktop
                    
                    # Text alpha when using Xft
                    xftalpha 1.0
                    
                    #on_bottom no
                    
                    # Update interval in seconds
                    update_interval 1
                    
                    # Use double buffering (reduces flicker, may not work for everyone)
                    double_buffer yes
                    
                    # Minimum size of text area
                    minimum_size 55
                    maximum_width 180
                    
                    # Draw shades?
                    draw_shades no
                    
                    # Draw outlines?
                    draw_outline no
                    
                    # Draw borders around text
                    draw_borders no
                    
                    # Stippled borders?
                    stippled_borders 0
                    
                    # border margins
                    #border_margin 10
                    
                    # border width
                    border_width 2
                    
                    # Default colors and also border colors
                    default_color white
                    default_shade_color white
                    default_outline_color white
                    
                    #color ffffff
                    color4 yellow
                    color8 77ccff
                    color9 5599cc
                    
                    # Text alignment, other possible values are commented
                    # alignment top_left
                    alignment top_right
                    #alignment bottom_left
                    #alignment bottom_right
                    
                    # Gap between borders of screen and text
                    
                    gap_x 20
                    gap_y 40
                    
                    # Add spaces to keep things from moving about?  This only affects certain objects.
                    use_spacer right
                    
                    # Subtract file system buffers from used memory?
                    no_buffers yes
                    
                    # if_up_strictness link:  up | link | address
                    if_up_strictness address
                    
                    # set to yes if you want all text to be in uppercase
                    uppercase no
                    
                    TEXT
                    ${alignc}antiX 21/22
                    ${alignc}${if_existing /run/runit.stopit}runit ${else} init [V] ${endif}antiX
                    Time:$alignr${time %I:%M}
                    Date:$alignr${time %A %d %Y}
                    ${alignc}${color8}${font DejaVu Sans:size=12}${time %H:%M} ${font} ${color}
                    ${alignc}${time %a %d %b}
                    ${alignc}Uptime: $uptime
                    ${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
                    res:${alignr}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
                    dpi:${alignr}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
                    Automount: ${alignr}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"}
                    CPU:${alignr}${cpu}%
                    Freq:${alignr}${freq}
                    ${color}Init:${alignr}${color3}${execi 60 detect-init.sh}
                    ${alignr}${cpugraph cpu0 30,170 5599cc 5599cc}
                    Disk:${alignr}${diskio}
                    ${alignr}${diskiograph 30,170 5599cc 5599cc}${if_up eth0}
                    eth0 up: $alignr ${upspeed eth0}
                    ${alignr}${upspeedgraph   eth0 30,170 5599cc 5599cc}
                    eth0 down: $alignr ${downspeed eth0}
                    ${alignr}${downspeedgraph eth0 30,170  5599cc 5599cc}${endif}${if_up eth1}
                    eth1 up: $alignr ${upspeed eth1}
                    ${alignr}${upspeedgraph   eth1 30,170 5599cc 5599cc}
                    eth1 down: $alignr ${downspeed eth1}
                    ${alignr}${downspeedgraph eth1 30,170  5599cc 5599cc}${endif}${if_up wlan0}
                    wlan0 up: $alignr ${upspeed wlan0}
                    ${alignr}${upspeedgraph   wlan0 30,170 5599cc 5599cc}
                    wlan0 down: $alignr ${downspeed wlan0}
                    ${alignr}${downspeedgraph wlan0 30,170 5599cc 5599cc}${endif}${if_up wlan1}
                    wlan1 up: $alignr ${upspeed wlan1}
                    ${alignr} ${upspeedgraph   wlan1 30,170 5599cc 5599cc}
                    wlan1 down: $alignr ${downspeed wlan1}
                    ${alignr}${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
                    ${alignr}${color8}Used / Total ${color}
                    RAM:${alignr}$mem / $memmax
                    Swap:${alignr}$swap / $swapmax
                    / Disk:${alignr}${fs_used /} / ${fs_size /}
                    ${alignc}${execi 1000 persist-enabled}
                    #Battery: ${battery_percent BAT0}% ${alignr}${color8}${battery_bar 8,70 BAT0} # You may need to change BAT0 to BAT1 or add the same line again if you have more then one battery. 
                    #${execi 1000 acpi 2>/dev/null | grep -q . && echo "Battery: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}
                    ${texeci 1800 curl 'wttr.in/Pecos?q?0?T'}
                    
                    

                    screenshot

                    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

                    #106010
                    Forum Admin
                    rokytnji

                      I use the same conky on MX laptop. Here it is

                      conky.config = {
                      -- Standard antiX .conkyrc file written by Team antiX.
                      -- Feel free to use. 
                      -- anticapitalista@riseup.net
                      
                      -- Note: delete the line above to disable automatic scaling with DPI
                      -- on the live system.
                      
                      -- set to yes if you want Conky to be forked in the background
                          background = true,
                      
                          short_units = true,
                      
                          cpu_avg_samples = 1,
                          net_avg_samples = 1,
                      
                          out_to_console = false,
                      
                      -- X font when Xft is disabled, you can pick one with program xfontsel
                      --font 7x12
                      --font 6x10
                      --font 7x13
                          font = '8x12',
                      --font 7x12
                      --font *mintsmild.se*
                      --font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
                      --font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
                      
                      -- Use Xft?
                          use_xft = true,
                      
                      -- Xft font when Xft is enabled
                      --xftfont gentium:size=12
                      --ftfont DejaVu Sans:size=10
                          font = 'DejaVu Sans:bold:size=9',
                      --xftfont DejaVu Sans:size=9
                      
                      -- Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
                          own_window = true,
                          own_window_transparent = true,
                          own_window_hints = 'undecorated,skip_taskbar,sticky',
                      
                      -- Text alpha when using Xft
                          xftalpha = 1.0,
                      
                      --on_bottom no
                      
                      -- mail spool
                      -- mail_spool $MAIL
                      
                      -- Update interval in seconds
                          update_interval = 1,
                      
                      -- Use double buffering (reduces flicker, may not work for everyone)
                          double_buffer = true,
                      
                      -- Minimum size of text area
                          minimum_width = 5, minimum_height = 5,
                          maximum_width = 180,
                      
                      -- Draw shades?
                          draw_shades = false,
                      
                      -- Draw outlines?
                          draw_outline = false,
                      
                      -- Draw borders around text
                          draw_borders = false,
                      
                      -- Stippled borders?
                          stippled_borders = 0,
                      
                      -- border margins
                      --border_margin 10
                      
                      -- border width
                          border_width = 1,
                      
                      -- Default colors and also border colors
                          default_color = 'white',
                          default_shade_color = 'white',
                          default_outline_color = 'white',
                      
                          color1 = 'ffffff',
                          color2 = 'ffffff',
                          color3 = 'ffffff',
                          color4 = 'yellow',
                          color8 = '77ccff',
                          color9 = '5599cc',
                      
                      -- Text alignment, other possible values are commented
                      -- alignment top_left
                          alignment = 'top_right',
                      --alignment bottom_left
                      --alignment bottom_right
                      
                      -- Gap between borders of screen and text
                      
                          gap_x = 30,
                          gap_y = 30,
                      
                      -- Add spaces to keep things from moving about?  This only affects certain objects.
                          use_spacer = 'right',
                      
                      -- Subtract file system buffers from used memory?
                          no_buffers = true,
                      
                      -- if_up_strictness link:  up | link | address
                          if_up_strictness = 'address',
                      
                      -- set to yes if you want all text to be in uppercase
                          uppercase = false,
                      
                      -- boinc (seti) dir
                      -- seti_dir /opt/seti
                      
                      --# antiX additives examples. Add below Text##
                      --#Battery examples##
                      --#${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}% 
                      --#${color}battery:${color} ${battery}
                      --${color}ACPI Battery: ${color}$battery
                      --${battery_bar 11,0}
                      --#Wireless example##
                      --${color}Wireless:
                      --${color}essid: ${wireless_essid $template6}
                      --${color}IP:${color} ${addr $template6}
                      --${color}speed: ${color} ${wireless_bitrate $template6}
                      --${color}link strength: ${color} ${wireless_link_bar 7,50 $template6}
                      
                          own_window_argb_value = 0,
                          own_window_argb_visual = true,
                          own_window_colour = '000000',
                      
                      -- time template
                          
                          template0 = [[${if_match "pmfix${time %p}" == "pmfix"}${time \1}${else}${time %I:%M}${endif}]],
                      
                      -- battery templates
                      
                          template1 = [[${if_existing /sys/class/power_supply/BAT\1}\n${color}bat\1:${color3}${alignr}${battery_percent BAT\1}%\n${color1}$alignr${battery_bar 4,170 BAT\1}${endif}]],
                          template2 = [[${template1 0}${template1 1}]],
                          
                      -- network templates
                      
                      --    template3 = [[${color}\1 \2: $alignr${color3} ${\2speed \1}\n${color2}$alignr${\2speedgraph   \1 30,170 5599cc 5599cc}]],
                      --    template4 = [[${if_up \1}${template3 \1 up}\n${template3 \1 down}\n${endif}]],
                      --    template5 = [[${template4 $template4}${template4 $template5}${template4 $template6}${template4 $template7}]],
                      
                      	template4 = 'eth0', 
                      	template5 = 'eth1', 
                      	template6 = 'wlan0', 
                      	template7 = 'wlan1', 
                      
                          
                      };
                      
                      -- fluxbox adjustment
                      return_code = os.execute('pidof -q fluxbox')
                      if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
                         _VERSION ~= 'Lua 5.1' and return_code then
                         conky.config.own_window_transparent = true
                         conky.config.own_window_argb_visual = false
                      end
                      
                      -- stuff after 'TEXT' will be formatted on screen
                      
                      conky.text = [[
                      ${color3}${alignc}MX Linux
                      ${color8}$alignc${font DejaVu Sans:size=12}${template0 %H:%M}$font
                      ${color}${alignc}${time %a %d %b}
                      ${color}${alignc}Uptime: $uptime
                      
                      ${color}res:${alignr}${color3}${execi 600 xdpyinfo | awk '/dimensions/ { print $2}' }
                      ${color}dpi:${alignr}${color3}${execi 600 xdpyinfo | awk '/resolution/ { sub(/x[0-9]*/,"",$2); print $2}' }
                      ${color}cpu use:${alignr}${color3}${cpu}${color}%
                      ${color}cpu freq:${color3}${alignr}${freq}
                      ${color}$alignr${cpugraph cpu0 30,170 5599cc 5599cc}\
                      # battery
                      ${template2}
                      ${color}disk I/O:${alignr}${color3}${diskio}
                      ${color}${alignr}${diskiograph 30,170 5599cc 5599cc}\
                      # network
                      ${if_up $template4}
                      ${color}$template4 up: $alignr${color3} ${upspeed $template4}
                      ${color}$alignr${upspeedgraph   $template4 30,170 5599cc 5599cc}
                      ${color}$template4 down: $alignr${color3} ${downspeed $template4}
                      ${color2}$alignr${downspeedgraph $template4 30,170  5599cc 5599cc}${endif}${if_up $template5}
                      ${color}$template5 up: $alignr${color3} ${upspeed $template5}
                      ${color}$alignr${upspeedgraph   $template5 30,170 5599cc 5599cc}
                      ${color}$template5 down: $alignr${color3} ${downspeed $template5}
                      ${color2}$alignr${downspeedgraph $template5 30,170  5599cc 5599cc}${endif}${if_up $template6}
                      ${color}$template6 up: $alignr${color3} ${upspeed $template6}
                      ${color2}$alignr${upspeedgraph   $template6 30,170 5599cc 5599cc}
                      ${color}$template6 down: $alignr${color3} ${downspeed $template6}
                      ${color2}$alignr${downspeedgraph $template6 30,170 5599cc 5599cc}${endif}${if_up $template7}
                      ${color}$template7 up: $alignr${color3} ${upspeed $template7}
                      ${color2}$alignr${upspeedgraph   $template7 30,170 5599cc 5599cc}
                      ${color}$template7 down: $alignr${color3} ${downspeed $template7}
                      ${color2}$alignr${downspeedgraph $template7 30,170 5599cc 5599cc}${endif}
                      ${color}${alignr}${color8}Used / Total
                      ${color}mem:${alignr}$mem ${color3} /${color} $memmax
                      ${color}swap:${alignr}$swap ${color3} /${color} $swapmax
                      ${color}root:${alignr}${fs_used /} ${color3} /${color} ${fs_size /}
                      ${execi 1800 curl 'wttr.in/Pecos?q?0?T'} ]]
                      
                      

                      You can give it try. I have no eth0 box graph either on this dell xt2.
                      Here is the screenshot\

                      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

                      Member
                      Pelucia Siffred

                        PPC, disabling swap does not clear the contents of it, the bits remain there until they are overwritten.
                        Robin is right, you need to use dd command to overwrite the data with random values.
                        Thanks.

                        Member
                        Robin

                          but it *should* clean up the contents of your swap.

                          No. You’d need to overwrite the drive area multiple times using dd with random characters and signs, before recreating the new empty swap on it. Otherwise a true security specialist will easily recover the former plain text content. But, for this task of secure deletion you’d need to ask your security expert, since there is no recipe working for all drive types the same 🙂

                          Windows is like a submarine. Open a window and serious problems will start.

                          Member
                          PPC

                            So it seems, that, for your particular security needs, antiX was “broken”.

                            I can’t help you to get an encrypted swap file, it may even not be corrently possible: please see the top of this link (a warning dated from 2017) https://unix.stackexchange.com/questions/64551/how-do-i-set-up-an-encrypted-swap-file-in-linux#64569
                            It seems that if you want encrypted swap, the best way to go is using a partition

                            Edit: if all you want is to make sure that a particular person does not get his hands on the contents of your swap, I have a low tech way to go about it: a shortcut that closes all running windows (there’s a script for that on the forum), then disable swap and enable it back on. I have not tested this, but it *should* clean up the contents of your swap.
                            You can run this script at log-off, or every time you want. It’s a compromise between security and ease of use, and you get to keep using a swap file (that I think will be the default in antiX’s future).

                            Since my time here is limited, I probably won’t be able to post on this thread any longer… Best of luck!

                            P.

                            • This reply was modified 1 week ago by PPC.
                            Member
                            Pelucia Siffred

                              Hi PPC,
                              I want an encrypted swap file because I type a lot of passwords on my computer (email, enfs, veracrypt) and my computer is shared with multiple people. One of these people is information security technician and can take the passwords I type by inspecting the Swap file. I read on the internet that it is possible to take a lot of information from the swap file, including passwords that are typed on that computer.
                              Simply tell me not to use encrypted swap doesn’t help at all.

                              Member
                              PPC

                                You wont probably like my opinion:
                                – If it isn’t broken, don’t try to fix it…

                                Disable the swap (you mentioned file, but the same should apply to a partition), replace it with a non encrypted one, re-enable the swap, be happy…
                                Why do you need an encrypted swap? Are you a journalist/spy/mobster/terrorist? I can see the value of having data on an encrypted partition or even a protected folder/volume (yeah, I use those), but an encrypted swap partition? As you can see, it’s more trouble than it’s worth…

                                P.

                                Edit: I read the “Why” section of the link you provided. Nope, I still do not think it’s advisable to encrypt a swap file, and I also deal with sensitive data, now and then. I never had a drive that was inside the warranty period fail on me- that’s partly because I only ever owned a new computer twice in my life. If a drive has to go “back to factory!” I think it will probably get trashed. I don’t think it’s probable someone trying to recover data from a broken drive, just to see if there’s something juicy, not unless you are in one of the categories I mentioned above. If you are… Hum… if you have encrypted data and someone really wants it, there are ways to making you talk and give away the password…
                                I noticed the instructions were at least half a dozen years old… they may be a bit outdated…

                                • This reply was modified 1 week ago by PPC.
                                • This reply was modified 1 week ago by PPC.
                                • This reply was modified 1 week ago by PPC.
                                Member
                                Pelucia Siffred

                                  I used a swap file in antiX-21 and everything worked perfectly fine, however I decided to replace the swap file I was using with an encrypted swap file and the system started to have problems. Now my computer freezes when it starts swapping making the mouse and keyboard stop working, the only thing I can do is hard reset. I setup encrypted swap file following this tutorial: https://web.archive.org/web/20160504140513/http://hydra.geht.net/tino/howto/linux/cryptswap/
                                  I already tested with two different kernels (5.10.57-antix.1-amd64-smp and 4.9.0-279-antix.1-amd64-smp) and the problem happened with both. My hardware configuration is in the attached file.
                                  Does anyone know of any settings I can use to try and fix this?

                                  Attachments:
                                Viewing 15 results - 16 through 30 (of 1,706 total)