New Conky set for Mabox Istredd

There are new Conky set available for upcoming Mabox Istredd. They intended to use with new tool Colorizer.
You can have it now by installing mabox-colorizer.

There are 9 conky configs:

  • 3 with keyboard shortcuts
  • 2 sysinfo (with bars or graphs)
  • 2 with clock (and date)
  • Mabox 3D logo
  • and one with quote

If you like to translate it to your language, please send them back to me so I can include them.
Github repo → GitHub - Mabox-Linux/conkies-mabox-istredd: conkies-mabox-istredd

Only five conkies need to be translated: 3 with shortcuts and 2 sysinfo.

Colorizer will let you edit individual conkies easily, click “EDIT…”, Conky will be reloaded automatically after you save file.

10 Likes

please whenever you have time until this weekend, send me those 5 conky files to translate into Spanish (3 with shortcuts + 2 sysinfo conkies)

3 Likes

You have them already if you installed mabox-colorizer, You can just run colorizer, enable conkies and edit them comfortably having live preview with your changes.

3 Likes

I would like to translate them into Danish and other things that can be translated into Danish. But how do I do this, I do not know anything about GitHub

4 Likes

@Snubbi you can send me translated Conkys to e-mail. I will PM you my address.

As of other things… There is no easy way to translate, it’s a lot of work, and I can’t imagine doing it without Git.
Let’s postpone it for the future.

3 Likes

Hi, @napcok !

I found another conky. It’s a NETWORK info conky, which is missing translation in Spanish. I do not know if you already discarded it or it’s within the current release. Anyways, here’s it’s translated into Spanish, because I cannot upload the .conkyrc file itself:

conky.config = {
-- WINDOW
  own_window = true,
  own_window_type = 'desktop',
  own_window_transparent = false,
  own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
  own_window_colour = '#0f090b',
  own_window_class = 'Conky',
  own_window_title = 'Mabox Network Conky',
    
  alignment = 'top_left',
  gap_x = 1830,
  gap_y = 930,
  minimum_height = 60,
  minimum_width = 64,
      
-- FONTS
  use_xft = true,
  font = 'Cantarell:size=9',
  xftalpha = 1,
  override_utf8_locale = true,

-- COLORS
  draw_shades = false,
  default_shade_color = '#000000',
  draw_outline = false,
  default_outline_color = '#222222',

  default_color = '#f7d0ad',
  color0 = '#e3a062',
  color2 = '#877786',

-- BORDERS
  draw_borders = true,
-- Stippled borders?
  stippled_borders = 0,
-- border margins
  border_inner_margin = 8,
  border_outer_margin = 8,
-- border width
  border_width = 1,
-- graph borders
  draw_graph_borders = true,

-- MISC
-- Boolean value, if true, Conky will be forked to background when started.
  background = true,
  short_units = true,
    

-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
  use_spacer = 'none',

-- Subtract (file system) buffers from used memory?
  no_buffers = true,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
--imlib_cache_size = 0,

-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
  double_buffer = true,
  update_interval = 1,
};

conky.text = [[
${color}RED
${color}Dispositivo ${alignr}${color0}enp0s16f1u1
${color}Dirección IP ${alignr}${color0}${addr enp0s16f1u1}
${color}Descarga $color0${downspeed enp0s16f1u1} ${alignr}${color0}${upspeed enp0s16f1u1}${color} Subida
${color2}${downspeedgraph enp0s16f1u1 30,100 -t} ${alignr} ${upspeedgraph enp0s16f1u1 30,100 -t}
${color}Total Descarga ${color0}${totaldown enp0s16f1u1} ${alignr}${color0}${totalup enp0s16f1u1}${color} Total Subida
${color0}${hr}
${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d/ -f2 | sort | uniq -c | sort -nr}
]];

I hope @ben_chile would approve it ;D

I am using it, so it’ ok for someone else

2 Likes

Another issue about new conkies.

Sometimes I get this strange menu when I wheel UP or DOWN the middle button in my mouse.

What surprises most is the message “Old syntax detected”. Where?
If I click on arrow to see the submenu, I click on Edit file, but nothing happens. I mean, Geany does not open any file. The same when I click on the Edit file order, below the “Old syntax!!! detected” message.

In my rc.xml Openbox config file, I disabled the mouse gesture of middle click up/down. I guess I did it correctly… but then this strange behavior started to happen. Nothing to die for, btw :sweat_smile:

As you can see at the bottom right corner of the image, there it is the Network conky that I translated above.

1 Like

I remember something like that occurred few months ago. Probably something is wrong with rc.xml
Please compare your rc.xml with current one:

mb-reset -c obrcxml

Hola @lobaluna. Conky cambió la sintaxis porque ahora usa lua.

https://puna.upf.edu/es/agregar-0

http://www.lua.org/pil/contents.html

Manual Lua

Espero te sirva :+1:

1 Like

Hola, Claudio. Sí, hay unos scripts de una versión más viejona de Mabox que fallan. Tendré que ponerme a estudiar. ¡Gracias!

1 Like

Thanks, napcok.
Let me check and report back.

1 Like

Some findings, @napcok regarding the conkyctl command:

When I open the /usr/bin/conkyctl file, I see that you have hardwired this conky:

BASECONKY="$CONKYDIR/sysinfo_mbcolor.conkyrc"

I did some adaptation of the standard conkies, putting my own customization, and renamed the file (to avoid overwriting when any update comes in) to sysinfo_mbcolor_lobaluna.conkyrc.

I also noted that my customized conky files do not follow the Colorizer theme. Only standard files.

So, before doing anything that breaks the system :laughing:, what dou you think?

  1. Is this BASECONKY file of mine causing the strange “old syntax” message to appear? Because in my current conky session I’m not using the standard file. I totally confirm that the error messages come up when I do click-down on the Desktop.

  2. What is the right way to customize a conky file and avoid overwriting?

1 Like

Hi @lobaluna,
Colorizer only treats Conky as fully supported if its name ends in _mbcolor.conkyrc.
Otherwise it should work partially if Conky is written in the new syntax.

Try to rename your file to: sysinfo_lobaluna_mbcolor.conkyrc

Can you share the file you are using?

1 Like

Sure thing. It’s exactly the same as your, just with my own kb shortcuts. After regenerating and changing the name as you suggested, Colorizer is working ok in all my conkies! :dancer:
My own MaboxTools conky is as follows below.

However, MaboxTools, Shortcuts and TilingTerminal conkies also are modified with my own kbd shortcuts. Now all of three show the old syntax error. Funny thing.

I did some reformat of spaces (two spaces, uniformly) at the beginning of every line, according to the specs of Lua (as I read).

mabox_tools-Lobaluna_mbcolors.conkyrc:

conky.config = {
-- WINDOW
  own_window = true,
  own_window_type = 'desktop',
  own_window_transparent = false,
  own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
  own_window_colour = '#393228',
  own_window_class = 'Conky',
  own_window_title = 'Mabox Tools Conky',
    
  alignment = 'top_left',
  gap_x = 16,
  gap_y = 49,
  minimum_width = '200',

-- FONTS
  use_xft = true,
  font = 'Cantarell:size=9',
  xftalpha = 1,
  override_utf8_locale = true,

-- COLORS
  draw_shades = false,
  default_shade_color = '#000000',
  draw_outline = false,
  default_outline_color = '#222222',

  default_color = '#eff4f9',
  color0 = '#c9cfd4',

-- BORDERS
  draw_borders = true,
-- Stippled borders?
  stippled_borders = 0,
-- border margins
  border_inner_margin = 8,
  border_outer_margin = 8,
-- border width
  border_width = 1,

-- MISC
-- Boolean value, if true, Conky will be forked to background when started.
  background = true,

-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
  use_spacer = 'none',

-- Subtract (file system) buffers from used memory?
  no_buffers = true,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
  imlib_cache_size = 0,

-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
  double_buffer = true,
  update_interval = 1,
};

conky.text = [[
${color}MENUS/SIDEPANELS ${color0} ${hr 1}${voffset -2}
${color0}Main menu  ${alignr}${color}super / super+spacebar
${color0}Settings menu ${alignr} ${color}super+s
${color0}Left ${alignr} ${color}ctrl+super+left
${color0}Right ${alignr} ${color}ctrl+super+right
${color0}Places ${alignr} ${color}super+.
${color}CONFIG MENUS ${color0} ${hr 1}${voffset -2}
${color0}Tint2 ${alignr}${color}super+alt+p
${color0}Conky ${alignr}${color}super+alt+c
${color0}Menu/Panels  ${alignr}${color}super+alt+m
${color0}Wallpaper ${alignr}${color}super+alt+w
${color0}ScreenLocker ${alignr}${color}super+alt+l
${color}MABOX LINUX TOOLS ${color0} ${hr 1}${voffset -2}
${color0}Command Palette  ${alignr}${color}super+F1
${color0}Colorizer  ${alignr}${color}super+alt+o
${color0}Color Menu  ${alignr}${color}super+alt+z
${color0}Espanso - text expander ${alignr}${color}super+alt+e
${color0}Exit dialog ${alignr}${color}super+x
${color0}Screenshot tool ${alignr}${color}super+PrtScr
]];
2 Likes

I played quickly with your config and something is wrong with detecting used conky config after click…

I’m not sure what is going on, but seems like with increased gap_x a little everything works fine.
Try gap_x = 20,

I have to look closer at this anyway.

Edit:
Looks like gap must be greater than:
border_inner_margin + border_outer_margin + border_width

1 Like

I guess I hit a bug in conky itself. I’ll need to investigate further.

I tried your suggestion, but look, conky is not responding. I put alignment to the right, increased the gap_x and yet … nada! What yo see is after saving the file and applying the change.

I also noticed that even I write and save a change in the conkyrc file, the conky does not reload automatically, which used to be the right behavior days ago…

(Something fishy this way comes! :sweat_smile: )

1 Like

Hi @lobaluna.

Can you change the border color?
I have not been able to do it by modifying the code or using colorize

Hi, @Claudio !

I only can when my file is named as napcok said.

Are you trying to change the color by editing the file?

1 Like

Yes, I work on the original files. I keep a copy under a different name so I can go back if I make a mistake.
Something I must be doing wrong