Search Results for 'conky weather'

Forum Forums Search Search Results for 'conky weather'

Viewing 15 results - 31 through 45 (of 77 total)
  • Author
    Search Results
  • #76435

    In reply to: CLI or conky

    Anonymous


      (the colors can be changed according to taste)

      I present here the antiX-Conky modified by me
      to the community.

      I have included above the Greek spelling of antiX as published by @anticapitalista. If you don’t want that, you can comment out or comment in lines 1 and 2.

      Below I have included the simplest Accuweather weather from @TBG. This can also be removed, if you don’t want it, by commenting out lines 135-144. The last line 145, a blank line, must be kept.

      For those who want to have the weather, the following preparations must be made:

      1. in a terminal enter this command
      git clone https://gitlab.com/teobigusgeekus/Accuweather_conky_script.git
      that will create the directory “Accuweather_conky_script” in your /home, where the script and the necessary data will be.

      2. open a browser with the link address: ( https://www.accuweather.com/ ) and search your city. When you find it, copy the whole line.(Ctrl+l)

      3. go to the directory Accuweather_conky_script and search the script “accuweather” and open it. In lines 12-16 you already see such address lines. Paste your copied one according to this pattern. Comment the line from Kastoria from (#). Save the script and close it.
      Check and make the script executable.

      4. create a directory .fonts in your /home.
      Download the font monofur with your browser at the address ( https://www.dafont.com/search.php?q=monofur ) into your download directory. Unzip the .zip file and copy/move the monof55.ttf and monof56.ttf into the newly created and hidden folder .fonts . Do the same with the fonts ConkyWeather.ttf and ConkyWindNESW.otf from the Accuweather_conky_script directory.
      If you have these 4 fonts in .fonts you have to make your system familiar with them. To do this, open a terminal again and enter the command (as user):
      fc-cache -v -f
      That’s it.
      Now you can call the conky in the terminal (I assume you have killed an already running conky before, otherwise this new one will be on top).

      Since the terminal is still open
      conky -c ~/.conkyrc1 &
      You see how the script fetches the data. When it’s done, the conky will appear on the desk. But maybe Conky is too fast and the data is “getting used to”. Therefore kill the Conky in a second terminal with
      pkill -xf "conky -c /home/user/.conkyrc1" &
      wait a bit and start it again in the first terminal after you killed the conky process there with Ctrl+c.

      Have fun!

      conkyrc1

      # Standard antiX .conkyrc file
      # For conky editing help and commands visit = Casey's Conky Reference with Examples {http://www.ifxgroup.net/conky.htm}
      # modified @male 2022-01-30
      
      # 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
      
      # 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=10
      #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 normal #desktop
      
      # Text alpha when using Xft
      xftalpha 1.0
      
      # Update interval in seconds
      update_interval 1
      
      # Use double buffering (reduces flicker, may not work for everyone)
      double_buffer yes
      no_buffers yes
      
      # 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
      
      color1 ffffff
      color2 fffff0
      color3 ff8800
      color4 ffff00
      color5 77ccff
      color6 5599cc
      
      # Text alignment, other possible values are commented
      # alignment top_left
      alignment top_right
      #alignment bottom_left
      #alignment bottom_right
      
      # Minimum size of text area
      minimum_size 200 700
      maximum_width 200
      
      gap_x 20
      gap_y 40
      
      # Add spaces to keep things from moving about?  This only affects certain objects.
      use_spacer none #right
      
      override_utf8_locale yes
      uppercase no
      
      # if_up_strictness link:  up | link | address
      if_up_strictness address
      
      TEXT
      #${alignc}${font gentium:size=16}${pre_exec cat /etc/antix-version | cut -c1-8}
      ${alignc}${font DejaVu Sans:bold:size=14}άντιξ-21
      ${alignc}${color6}${font gentium:size=9}${kernel}${color}
      Uptime:${alignr}${uptime}${font}
      Desktop:${alignr}${execi 60 disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
      res:${alignr}${pre_exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
      dpi:${alignr}${pre_exec 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"}
      ${color}Init:${alignr}${pre_exec detect-init.sh}
      
      Load:${font gentium:size=7}${alignr}${loadavg}${color3}(1, 5, 15 min)${color}${font}
      CPU:${alignr}${cpu}%
      ${alignr}${cpugraph cpu0 20,170 9955cc 5599cc -l}
      Disk:${alignr}${diskio /dev/sda4}
      ${alignr}${diskiograph /dev/sda4 20,170 5599cc 9955cc -l}${if_up eth0}
      eth0 up: $alignr ${upspeedf eth0}
      ${alignr}${upspeedgraph   eth0 20,170 fffff0 ff8800 -l}
      eth0 down: $alignr ${downspeedf eth0}
      ${alignr}${downspeedgraph eth0 20,170  ff8800 fffff0 -l}${endif}${if_up eth1}
      eth1 up: $alignr ${upspeed eth1}
      ${alignr}${upspeedgraph   eth1 20,170 fffff0 ff8800 -l}
      eth1 down: $alignr ${downspeed eth1}
      ${alignr}${downspeedgraph eth1 20,170  ff8800 fffff0 -l}${endif}${if_up wlan0}
      wlan0 up: $alignr ${upspeed wlan0}
      ${alignr}${upspeedgraph   wlan0 20,170 fffff0 ff8800 -l}
      wlan0 down: $alignr ${downspeed wlan0}
      ${alignr}${downspeedgraph wlan0 20,170 ff8800 fffff0 -l}${endif}${if_up wlan1}
      wlan1 up: $alignr ${upspeed wlan1}
      ${alignr} ${upspeedgraph   wlan1 20,170 fffff0 ff8800 -l}
      wlan1 down: $alignr ${downspeed wlan1}
      ${alignr}${downspeedgraph wlan1 20,170 ff8800 fffff0 -l}${endif}
      ${alignr}${color6}Used ${color}/ ${color6}Total ${color}
      RAM:${alignr}${mem} / ${memmax}
      ${alignr}${memgraph 20,170 ebcb8b bf616a -l}
      Swap:${alignr}${swap} / ${swapmax}
      /root:${alignr}${fs_used /} / ${fs_size /}
      ${color1}${swapbar 0,210}${color}
      ${texeci 500 bash $HOME/Accuweather_conky_script/accuweather -f}\
      ${voffset 5}${goto 10}${font conkyweather:size=35}${texeci 600  sed -n '22p' $HOME/Accuweather_conky_script/curr_cond}${font monofur:size=25}${goto 80}${texeci 600 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}°
      ${voffset -5}${goto 6}${font monofur:size=9}CURRENTLY: ${goto 70}${texeci 600  sed -n '4p' $HOME/Accuweather_conky_script/curr_cond} 
      ${goto 6}WIND: ${goto 70}${texeci 600 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond}  ${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond}${goto 160}${voffset -10}${font ConkyWindNESW:size=30}${texeci 600 sed -n '27p' $HOME/Accuweather_conky_script/curr_cond}\
      ${voffset 2}${goto 6}${font monofur:size=9}PRESSURE: ${goto 70}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}
      ${voffset 5}${goto 15}${texeci 600 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}${goto 80}${texeci 600  sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}${goto 150}${texeci 600  sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}
      ${goto 10}${font conkyweather:size=25}${texeci 600  sed -n '107p' $HOME/Accuweather_conky_script/daily_forecast}${goto 80}${texeci 600  sed -n '108p' $HOME/Accuweather_conky_script/daily_forecast}${goto 150}${texeci 600  sed -n '109p' $HOME/Accuweather_conky_script/daily_forecast}
      ${voffset -18}${goto 30}${font monofur:size=9}${texeci 600  sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}${goto 100}${texeci 600  sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}${goto 170}${texeci 600  sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}
      ${goto 20}${font monofur:size=10}${texeci 600 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 90}${texeci 600 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}${goto 160}${texeci 600 sed -n '22p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z|cut -c1-3}
      
      #75897

      In reply to: CLI or conky

      Anonymous

        In the syntax of the conky version1.9 there is still the command
        pre_exec

        You could use this command like this

        ${goto 10}Weather
        #${font DejaVu Sans:size=8.5}${texeci 1200 curl -s 'wttr.in/Stockholm?format=+%l+%c+%t+%w+%P+%h+%m+&M'}
        ${font DejaVu Sans:size=8.5}${pre_exec curl -s 'wttr.in/Stockholm?format=+%l+%S+%s&M'}${font}


        Try it out.

        #75727

        In reply to: CLI or conky

        Member
        PPC

          People will have to modify the location and also the size of the roxterm window for individual situations.

          Not really. Now you can install the ft10-transformation package. It creates a menu entry, “Weather”, that summons a small terminal window (so it fits most displays) that shows wttr.in, using a better way to get the user’s location, and also localizes its contents to the system’s language.

          I do love the conky displaying the weather, I had mine showing just text, this is much nicer!

          P.

          • This reply was modified 1 year, 3 months ago by PPC.
          #75723

          In reply to: CLI or conky

          Member
          calciumsodium

            I have not visited the forum for a while, but I noticed these weather suggestions for conky. So I wanted to try them out because they might be useful for me.

            I was able to get them to work. Thank you.
            I wanted two weather locations so I added these lines to the .conkyrc file

            Waukee weather:
            ${font DejaVu Sans:bold:size=9.82}${texeci 1200 curl 'wttr.in/waukee?u?q?0T?Q'}${font}
            
            Green Bay weather:
            ${font DejaVu Sans:bold:size=9.82}${texeci 1200 curl 'wttr.in/green+bay?u?q?0T?Q'}${font}

            I was also able to load the weather on startup in roxterm using the links2 program.
            I added the following line to startup:

            x-terminal-emulator --geometry 130x80+200+0 -e links2 wttr.in/waukee &

            People will have to modify the location and also the size of the roxterm window for individual situations.
            Thanks for these tips.

            • This reply was modified 1 year, 3 months ago by calciumsodium.
            #75713

            In reply to: CLI or conky

            Anonymous

              If you want to display a simple weather in your antiX conky, you should first influence the size of the conky window:
              Above TEXT would be

              # Minimum size of text area
              minimum_size 180 620
              maximum_width 180

              180 for the width and 620 for the length

              Below TEXT this would be at the end

              Weather
              ${font DejaVu Sans:size=8} ${texeci 1200 curl 'wttr.in/KSO?q?0T?Q'}${font}

              or
              ${font DejaVu Sans:size=8} ${texeci 1200 curl 'wttr.in/KSO?u?q?0T?Q'}${font}

              curl retrieves the weather of your location here every 20minutes.
              Used wttr.in from chubin, here with the IATA code of Kastoria airport (GR). The unit of measurement is additionally converted with “?u”.
              So if you prefer °F instead of °C.

              OR

              #75006

              In reply to: CLI or conky

              Anonymous

                This is a weather conky based on the scripts of @TeoBigusGeekus — https://forums.bunsenlabs.org/viewtopic.php?id=189

                -WUnderground conky script – All users and
                -Moongiant conky script

                The basic idea comes from @Sector11 with the accuweather-script.
                Based on that @unklar realized it with the wunderground-script. I stole everything from both.
                https://forums.bunsenlabs.org/viewtopic.php?pid=99260#p99260
                https://forums.bunsenlabs.org/viewtopic.php?pid=93835#p93835

                If you are interested, download the scripts and read the README file.
                Start small if you have no experience yet! The original syntax is 1.10

                If you have questions, ask.

                #73199
                Moderator
                BobC

                  Interestingly, about 5 or 10 minutes later it did switch to ft10. My guess is it was doing the installs but not showing anything on the screen.

                  If it would be easy, I’d suggest just letting it output what is going on to a terminal window so I know its still working on it.

                  I tested the toolbar icon manager, and I like that it now uses app-select. I double clicked the program and it added the icon to the toolbar.

                  Searchmonkey looks like it has oodles of features, haven’t really tried it yet.

                  The Weather icon works here 🙂

                  I like that it changed the default file manager and the way zzzfm installed, no surprise programs running on the first click.

                  One thing missing is a “Show Desktop” icon. Maybe we could make one without using the IceWM one?

                  Something I do miss from conky and the IceWM monitors is some sort of readout on what is my wifi IP address, and is there data moving up/down, which ConnMan doesn’t show. I don’t need to see it all the time, but it would be nice if it was readily available. I noticed that right clicking the CPU monitor ran a program, and just wondering if there is something already included in antiX we could run if you right click the network icon?

                  I tried the updater icon, and it works. Is it going to check for updates automatically periodically, or just when clicked? Normal users don’t think of those things till its too late and something blows up is something I’ve seen too many times. I have some code that runs from cron if interested…

                  All in all, it’s impressive! Very friendly 🙂

                  #73126
                  Member
                  PPC

                    @BobC – No hurry! I’m quite happy with how FT10 looks and feels.

                    I just fixed, in the latest version 0.9.9.4 (https://gitlab.com/antix-contribs/ft10-transformation/-/blob/main/packages/ft10-transformation_0.9.9.4-testing_all.deb), the “+/-” English tooltip, to be more descriptive, and also reworked a bit the window that manages the menu, so the “tiles” button is easier to use (changed its icon and also, when you toggle Titles on/off, the menu pops open, so you can instantly see the change).

                    My goal is that FT10 makes antiX as easier to use as possible, allowing quick and easy access to the most used features (and also adding a few tiny ones, like the weather and news apps). I trully hope that any newbie using FT10 will almost instantly get how it works, and how to customize it. I tried to address some of the points many newbies raised in the forum, over time: How do I add icons to the toolbar? How to change the clock? How do add an application to the menu? Ft10 also makes it easier and faster to find applications, search for file and update the system.
                    I used to hate the Tiles on Windows 8, but I hope that the Tiled menu offers a fast way to perform most of the basic tasks (the first section is related to the generic apps- file manager, web browser, etc, plus the calculator), then Office work (also pdf documents reader and mtpaint) and on-line services (youtube, weather, news and access to bit torrents)- it includes conky toggle because it can be handy to quickly toogle it on/off. The single remaining space in the Tiles section I have reserved it for gnome clocks, in my system- because if you are at the computer and want to set an alarm do to something, it’s faster to use it than using a smartphone). The single feature I would like to be on the tiles would be a nice Gui Calendar (sea monkey’s Calendar is great, but, by default it’s not a stand alone app- it can become one, installing an extension).

                    The biggest criticism I can make to FT10 is not having a GUI to edit the Tiles… They can be edited manually, but it’s not a very intuitive task, because the application, the icon, and the title for each Tile are mixed with a bunch of numbers that set the Tile position… If you want to manually edit the tiles, you can do so, editing “~/.config/jgmenu/tiles.csv” in a text editor, Back it up first, just in case…

                    P.

                    • This reply was modified 1 year, 4 months ago by PPC.
                    #72708
                    Member
                    PPC

                      Version 0.9.7.2 is out (the .2 is due to me always messing up when creating the .deb package with the intended changes), once again with tiny improvements:
                      – New default “tiles” in the menu: mpaint, Weather, News
                      – New option on the toolbar manager- “Show window titles on toolbar”
                      – Reworked the toolbar manager so on/off settings work just by clicking the button, without further warning- just click the respective buttons to: toogle autohide toolbar; 24/12h clock; Display window titles in toolbar.

                      Easy TO DO’s:
                      -Add an option, to the toolbar manager to toggle on/off the system resources gauge (it’s only really useful for folks with low end computers, for those that never have problem with CPU/RAM usage, it just takes up toolbar space…)
                      -Change some icons
                      -improve localization

                      Hard TO DO’s (possible not ever implemented):
                      – Light toolbar, with a GUI way to switch between light/dark modes (that would also change gtk themes to match the toolbar)

                      @Bobc – I have one empty “tile” on my default layout, I’ll try placing a title to toogle conky on/off- it has it’s uses, after all, like checking out network at a glance…
                      I get that automatically disabling conky and volume icon would make it even simpler to set up FT10 for a newbie- the only reason I’ve not implemented this yet is this: I don’t want to change any setting that affects a Window Manager other than the one where FT10 got installed- so users can switch to pristine WM’s quickly if they want to, or if they manually mess up the tint2 config file…
                      Probably next week, I’ll go back to the roots of the transformation pack and create a .deb package “pro” version- that forces installation of zzzfm, forces zzzfm as default file manager (it would be perfect if I found a way to also automatically apply the recycle bin/bookmark changes, not no can do, at least for now), disable volumeicon and conky…
                      Any other automatic change you would like me to try to apply in the “pro” version of the transformation pack?

                      As always, enjoy

                      P.

                      #72627
                      Member
                      PPC

                        LOL!
                        Thanks for your input, Moddit! I had to use an on-line translator for the first German phrase and I have to guess the meaning of the second one…
                        I’ll see what I can do about mimicking Forced Updates and Blue Screens Of Death…

                        Now seriously – I wanted, with this project, to achieve several things:
                        – Get a system that I love using and filled any my UI needs.
                        – Get a system that helped me adapt to when I’m forced to work with Windows 10
                        – … Make that available to other antiX users
                        – … and finally turn experimenting with antiX into a easier and more pleasurable experience for non-linux users and maybe help antiX gain some more users. It’s not meant “to be Windows”, just be as easy, or easier to use as Windows, for folks that have only known that operating system.

                        I agree with anticapitalista that this Transformation Pack is not meant as a general antiX user interface- it violates several antiX principles- it includes a new toolbar that takes slightly more resources than the default toolbars that come with our Window Managers, it includes a new menu, that also takes slightly more resources (although it’s configured to not stay resident in RAM, so it only uses resources when it’s being displayed) when we have amazing default menus, very uniform across all 3 window managers.

                        But that slight increase on resource usage has to be put into context- the toolbar includes stuff that make using both Conky and Volumeicon irrelevant- not running those 2 apps makes running FT10 use less system resources than the default setup… All that making some nice extras available to the user: easy to read system resources monitor, easy access to Connman Network Manager and volume (without using any extra RAM). Also offers previews of running windows, and a menu that allows fast search of apps- app-select is great (and I use to as a way to select apps to be added to the menu) but fast it’s not, on very old machines- jgmenu’s search is instant!

                        Also the “+/-” icon makes it easy for anyone to manage toolbar icons (and right clicking that icon is a way more friendlier and safe experience to manage the toolbar than the default tint2 config GUI)

                        The menu makes it easy to manage favorite/pinned apps (in Windows lingo). Maybe we should include, out of the box, as a favorite, the menu entry to toggle between categories/tiled menu templates- both I and Xecure tried to appeal to both folks that like the cleaner look of Windows 10 menu, and the default general Linux menus, with categories (tip: for those that like Windows 11 menu, the menu entry that manages favorites also allows to toggle between displaying/hiding Tiles.

                        I also though that antiX users deserved some simple and tiny apps, like Weather and News (I’ll be adding those as “tiles” in a future version). I also would like to add a tiny open source alarm/count-down timer- I found one in the Busen labs forum, but it does not state it’s OpenSource in the code… and some functions do not work in antiX (canceling the alarm, disabling to system tray icon).- Way of into the future I’ll probably try making a script inspired by that one… it’s not a priority.
                        Also a nice “hidden feature” is that you can create ~/yad-agenda.txt ~/yad-calendar.txt and insert events (starting with the date, as used by your system by default), a space and then the entry for that day)- those events will be displayed when the user hover the mouse point on that day, on the menu- it does not include any alarms, it’s just a complementary way to keep track of events, that does not cost any system resources).

                        @Moddit- is there any interest in helping localize FT10 to German? 🙂

                        P.

                        • This reply was modified 1 year, 5 months ago by PPC.
                        • This reply was modified 1 year, 5 months ago by PPC.
                        Member
                        PPC

                          @BobC – You can try using the menu with categories, to get a more “Windows7” feel from the Transformation Pack- we tried to please both Windows7 and Windows10 cast aways 🙂
                          I have more recent versions, with some improvements (mostly, a “show desktop” bar, on the further right, and many localization improvements- the script to add/remove toolbar icons now shows the icons, not just app names…
                          Well, my slowest machine is a 32bits/1gb RAM HP laptop that runs great with antiX 19,4 runit, min-fluxbox and FT10, no desktop icons, no conky, no volume icon… I also have jgmenu configured to stay memory resident, so it opens faster on that machine – that’s the setup I use, even on my quad-core/4gb/SSD desktop… Except when opening large apps (Libreoffice/firefox) there isn’t that big of difference between those machines that have maybe a 10 years age gap, maybe more…

                          Edit: Weird, your Windows 7 situation- my netbook still has Windows7Pro on it (it came that way, from factory, I kept it because it also has a licensed MS Word installation, that may be handy for some documents), last time I booted into it, a few months ago, it worked fine (but I don’t think I connected to the internet)

                          Personal note: I’ve been using my tint2 for a very long time- I got used to seeing the system resources on the toolbar, in a easy human readable format, and also having the network/volume/weather icons on the “pseudo” system tray, without eating my system resources, and recently I’ve become very adapted to the menu that allows me locate and launch apps much faster than running the excelent app-select (I was tempted to use app-select’s output to add icons the toolbar/menu, it’s that flexible, but I digress).
                          If your users like the toolbar or any of the 2 available menus, you probably won’t have to do much maintenance- the way to add/remove apps to the toolbar and to the menu is self evident. with the package installer, antix updater and the log off button on the toolbar, there’s not much need to use the menu, and with the system resources displayed on the toolbar, there’s no much need for conky (the same can be said for the default icewm toolbar, but it’s much harder to read system resources from it). With the GUI tint2_manager.sh script (sadly, not localized) changing the toolbar position/size/auto hide is simple (we need a .desktop to launch it) is also a breeze… and you would not have much work helping managing those computers…

                          P.

                          • This reply was modified 1 year, 5 months ago by PPC.
                          • This reply was modified 1 year, 5 months ago by PPC.
                          #53877
                          Member
                          ex_Koo

                            @lubod

                            Cleaned up your code lines.

                            # stuff after 'TEXT' will be formatted on screen
                            
                            TEXT
                            
                            ${alignc} $nodename
                            ${hr 2}
                            ${alignc}${font DejaVu Sans:size=12}${time %I:%M %P} ${font}
                            ${alignc}${time %a %d %B %Y}
                            ${alignc} ${color8}On: ${color}$uptime
                            ${stippled_hr 1}
                            ${alignc}${execpi 300 curl curl wttr.in/Cairns?format=3}
                            ${stippled_hr 1}
                            Fm/Wm:${color8}${alignr}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null} ${color}
                            Res:${alignr}${color8}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"} ${color}
                            Automount: ${alignr}${color8}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"} ${color}
                            ${stippled_hr 1} ${color}
                            Cpu:${alignr}${color8}${cpu}% ${color}
                            Core 0 temp:${color8} ${alignr}${hwmon 4 temp 1}°C ${color}
                            Freq:${color8}${alignr}${freq} Mhz ${color}
                            Disk activity:${alignr}${color8}${diskio} ${color}
                            ${stippled_hr 1}
                            ${if_up wlan0}${color}Wlan upload: $alignr${color8} ${upspeed wlan0} ${color}
                            Wlan download: $alignr${color8} ${downspeed wlan0} ${color}
                            ${stippled_hr 1}
                            Essid:${alignr}${color8} ${wireless_essid wlan0} ${color}
                            Ip:${alignr}${color8} ${addr wlan0} ${color}
                            Speed:${alignr} ${color8} ${wireless_bitrate wlan0} ${color}
                            Link strength:${alignr} ${color8} ${wireless_link_qual_max wlan0} ${color}
                            ${stippled_hr 1}
                            ${color}${alignr}${color8}Used ${color}/ Total ${color}
                            Ram:${alignr}${color8}$mem ${color} / $memmax
                            Swap:${alignr}${color8}$swap ${color} / $swapmax
                            Disk:${alignr}${color8}${fs_used /} /${color} ${fs_size /}
                            ${color8}${alignc}${execi 1000 persist-enabled} ${color}
                            ${stippled_hr 1} ${color}
                            Ac adapter:${alignr}${color8} ${acpiacadapter AC} ${color}
                            Battery:${alignr} ${color8}${battery_percent BAT0}% ${color}
                            ${stippled_hr 1}

                            ${color} & ${color3} are the same color = white
                            Was not sure what to do with weather went the easy way.
                            ${execi 1000 persist-enabled} not sure what this line does. comes up as a blank line for me..
                            ${battery_percent BAT0} change to what your battery number BAT0 BAT1 etc.

                            Links for you..
                            https://github.com/chubin/wttr.in the right way to check the weather!
                            https://askubuntu.com/questions/1190907/how-can-i-get-conky-to-display-weather sort of interesting.

                            http://www.ifxgroup.net/conky.htm Casey’s Conky Reference with Examples

                            Please don’t bring politics here.

                            #51163
                            Member
                            lubod

                              I wasn’t sure if this subforum is the place to post this, but if not, feel free to move it, so long as I can still edit/read it later. 🙂

                              I took the default .conkyrc from antix 19 base, and customized! It was made for version 17, but now modified for 19, and verified to also work on 17 again.

                              Changed things like the Title (top line) from static text (antix1) to data pulled from the system via CLI (terminal).
                              That way it is live, and reflects the version number.

                              There are now (more?) horizontal lines between separate items, like Title and Time. Double line below Title, single dotted line elsewhere, for a lighter touch. Time is PM (12 hour time), unlike the tray, which is 24 hour time. Day of the week and month is abbreviated, else it overflows the screen on Wednesday or December.

                              Weather info. See comments in file for URL to reconfigure for your locale.

                              CPU temp. works for this model (Nokia Booklet 3G), YMMV if sensor is not detected or without a driver.

                              WLAN info, including current ESSID, LAN IP, Signal Strength, etc.

                              AC adapter and battery status (also may be model dependent, and may not display exactly without reconfiguration)

                              Text I find important is highlighted blue (color8), (color) is white. See file for examples.

                              Left or right aligned, or centered, to be readable.

                              All text, for less moving stuff to overload CPU/GPU, and take less space on screen, this screen is only 1280 x 720.

                              Enjoy. 🙂

                              • This topic was modified 2 years, 3 months ago by lubod. Reason: Upload rejected by WordPress. Added .txt suffix
                              Attachments:

                              Restore older computers to working order.
                              Computers everyone else insists are obsolete and useless.

                              Current recordholder:
                              Generic Pentium III 600 Mhz with 512Mb RAM and 10Gb HD
                              Working on Cyrix M2 333 Mhz with 64Mb RAM and OS on IDE to SD card 4Gb

                              #51148
                              Moderator
                              BobC

                                PPC, I guess that weather site is no longer working, but I imagine there are other options to get it and display it, even maybe by using a “Weather Conky” that just runs when you tell it to, and gets killed when you close it.

                                The disk space couldn’t run as part of the CPU option, but I created a separate option for it and fixed the df command. For slower machines it would make sense to run them on a wider interval.

                                I removed the second volume icon.

                                Its using 146 mb of memory at idle, which is higher than IceWM (I think), but it is nice. It’s definitely much more comfortable to work than normal FluxBox. Tint2 even has an “autohide” ability, and your separate toolbar icon manager was a nice touch.

                                All in all, you really made it familiar that a non-technical person could use and tweak easily themselves. The only part I had to fix by hand was the disk space.

                                #46823
                                Member
                                PPC

                                  Hi everyone.

                                  Some weeks ago I began experimenting with tint2 toolbar- it’s a feature rich toolbar, also very nice looking and with small resources footprint – I use it to have fluxbox use even less idle RAM, while having all the resources I need:
                                  – the toolbar has “quick launch” icons, very easy to manage- so, I do not need to have desktop icons
                                  – the toolbar is configured to display RAM and CPU usage, so I do not need to run Conky
                                  – the toolbar includes a simple “volume manager” GUI, so I do not need volume-icon running.

                                  It’s configured to have many resources available in the Windows 10 toolbar, and even some more…

                                  I do not think, for now, this merits a spin, but, using Skidoo’s advice, maybe a “transformation pack”.
                                  You can safely install it into bare metal, but I would advise to try it first on a live system or virtual machine.
                                  The install script downloads and installs tint2, rofi and skippy-xd (only the first package is essential), configures the tint2 toolbar, makes spacefm the default file manager, sets min-fluxbox to be the default desktop. and edits some configurations on fluxbox init file. Back that file up before running the script or, if after running the script, simply delete the last lines appended to the init file to get back your default fluxbox toolbar.
                                  To get back to your default desktop log off and press F1 until you see the desired desktop name (ex: the default is rox-icewm), enter your password, and you’re back to good old default antiX)

                                  Edit#
                                  Script’s requirements: – antix 19.X “full” – internet connection Inserted on request from PPC

                                  How to download the “transformation pack”:
                                  for now it’s available here:
                                  # https://gofile.io/d/rA8FR6 Edit: requested by PPC
                                  Click the “download” button and you’re set.

                                  The script is also mirrored here:
                                  https://www.dropbox.com/sh/g3njbppcma87fwp/AADEXZ7RxETYwmIrr0rxCczCa?dl=0

                                  How to install the transformation pack”:
                                  -Menu > Applications > System > SpaceFM
                                  -Navigate to where you downloaded the file mentioned above. Right click to select it > Proprieties > permitions > Check the first box next to “execute” or “executable” (there’s no harm if you check all 3 boxes on that column) > click “ok”
                                  -Now right click that file again and choose “execute”
                                  – A GUI that looks just like antiX updater will check for updates. when it’s finished, click “ok” on the window that pops up. Wait a few seconds (depending on your internet connection speed- on mine the entire process takes less than a minute).
                                  -If all goes well, you’ll get a new toolbar, very similar to the Windows 10 one.

                                  How to use the toolbar:
                                  The first 4 icons on the left are:
                                  – “Start menu” – left clicking it summons the fluxbox menu, right click it summons tint2’s “proprieties” window – be careful with that: I would advise to use only the “launcher” tab – to add/remove icons to the toolbar launcher section
                                  – “Find” -left clicking it summons the incredibly fast rofi locate script; right clicking it summons app-select. Middle clicking it summon the very fast rofi app starter – begin typing your app’s name or description, click it from the list…
                                  – “Window switcher” – left click summons a very nice looking live preview of all non minimized windows (skippy-xd), right click minimizes all open windows (so you can see the desktop)
                                  – “File Manager” (spacefm)

                                  Then there’s a list of “launcher” icons you can manage from tint2’s “properties” window

                                  Then icons of the running applications. Hover over them to get the window name and preview. Left click the icon to change to that window, middle click to toggle that window’s size, right click closes that window…

                                  To the right is:
                                  -percentual indication of CPU usage
                                  – RAM usage, in Mb
                                  – Internet (wi-fi) icon – clicking it summons connman’s cmst, – click the “wireless” tab to manage wi-fi networks
                                  – Volume (left click the icon to get the volume applet, right click it to close the volume applet)
                                  – Weather app ( Wttr.in)
                                  – system tray (by default is should display nothing – because the volume and network icons are embebed on the toolbar bar, not displayed in the system tray)
                                  – Clock and date (left click it summons the calendar GUI)
                                  – Exit button (launches the “exit session” window)

                                  Note: I do not expect this to be very heavily used because folks that need it the most, windows refugees will find it hard to perform the necessary steps to install this 🙂

                                  My goal is to reduce to the minimum the need to use menus, everything is available from the toolbar…

                                  P.

                                  • This topic was modified 2 years, 5 months ago by ModdIt.
                                  • This topic was modified 2 years, 5 months ago by ModdIt.
                                  • This topic was modified 2 years, 5 months ago by christophe. Reason: added alternate download location with PPC's auth
                                Viewing 15 results - 31 through 45 (of 77 total)