- This topic has 410 replies, 25 voices, and was last updated Jan 26-1:03 pm by marcelocripe.
-
AuthorPosts
-
December 28, 2021 at 5:45 am #73935Moderator
BobC
::All, I looked at Marcelo’s zzzfm configuration mods and I came up with 3 questions.
1. Is replacing the familiar word “Delete” with “Move to Trash”, and “Recycle Bin” with “Trash” going to be ok for everyone? I suppose the easy way to know is have there been any problems with that naming? Maybe I’m worrying about something unimportant. I do think the Rox-Filer mod I found used the same terms.
2. How would we automate the translation of strings? I see directory names and labels that would need to be translated, not just labels. I’m thinking there would need to be a base versions of what needed to be added, changed, and deleted, with the strings marked, translations of the strings, and a program to do that. I suppose the main thing is does the code already exist and how do we feed it.
3. I worry about using “mv” to move the files to trash and wonder if this works for all types of files. Are there files (like links, maybe) that using mv would cause major problems for? I don’t actually know, I’m just asking the question to gain confidence that this idea works without causing any harm.
cstm_35d59dc9-label=Mover para a Lixeira cstm_35d59dc9-icon=gtk-delete cstm_35d59dc9-prev=edit_rename cstm_35d59dc9-line=mv --backup=numbered %F ~/.local/share/Trash/filesPS:
4. I understand not wanting to add dependencies to get the wifi info. I will see if I can use the script you posted before and try to modify/tweak it. Other possible solutions would be to use cbm if it was installed, and another would be to just pop up a conky window with the info.5. I haven’t tried “light mode”. I will give it a try tonight or tomorrow.
Would you like help? What would you like me to do? for Marcelo’s trash bin, I think it needs an automatic script of some kind, but thats just me. I might be able to write it.
- This reply was modified 1 year, 4 months ago by BobC.
- This reply was modified 1 year, 4 months ago by BobC.
December 28, 2021 at 2:48 pm #73961Member
marcelocripe
::Hello BobC.
I noticed last night that the zzzFM session file in pt-BR has this error in the rename option, even so, I appreciate you letting me know about it. Today I’m going to make the correction and send it back to archive.org.
All, I looked at Marcelo’s zzzfm configuration mods and I came up with 3 questions.
The truth is, all the settings that are in the session file (pt-BR) are based on the settings that PPC sent me more than a year ago. I’ve included internal drives view and file and folder display type to make them more perishable with the Windows file manager. Credits are all from PPC.
1. Is replacing the familiar word “Delete” with “Move to Trash”, and “Recycle Bin” with “Trash” going to be ok for everyone? I suppose the easy way to know is there been any problems with that naming?
The names that are displayed to the user can be changed freely, this I have already tested and had no problems. It is interesting that zzzFM and Rox-Filer can have the same texts. But, honestly, I think that Rox-Filer has a behavior that users of Windows and other GNU/Linux distributions can’t get used to and that’s why they prefer zzzFM/SpaceFM which has a more “normal” behavior.
2. How would we automate the translation of strings?
BobC, I know how to make these changes manually and line by line. Unfortunately, I don’t know how to program a script that can automatically make changes to the session file text. In addition to the need to replace the texts for each language, you need the command $ mkdir -p ~/.local/share/Trash/files/ to create the folder.
3. I worry about using “mv” to move the files to trash and wonder if this works for all types of files. Are there files (like links, maybe) that using mv would cause major problems for?
I also don’t know if “move to trash” works for all file types. As far as I was able to test, everything worked correctly.
– – – – –
Olá BobC.
Eu percebi ontem à noite que o arquivo session do zzzFM em pt-BR está com este erro na opção renomar, mesmo assim, eu agradeço por você me avisar sobre isso. Hoje eu vou fazer a correção e enviar novamente para o archive.org.
All, I looked at Marcelo’s zzzfm configuration mods and I came up with 3 questions.
A bem da verdade é que, todas as configurações que estão no arquivo session (pt-BR) são baseadas nas configurações que o PPC me enviou há mais de ano. Eu incluí a vizualização das unidades internas e o tipo de exibição dos arquivos e pastas para ficarem mais perecidas com o gerenciador de arquivos do Windows. Os créditos são todos do PPC.
1. Is replacing the familiar word “Delete” with “Move to Trash”, and “Recycle Bin” with “Trash” going to be ok for everyone? I suppose the easy way to know is have there been any problems with that naming?
Os nomes que são exibidos para o usuário podem ser alterados livremente, isso eu já testei e não tive problemas. É interessantes que o zzzFM e o Rox-Filer possam ter os mesmos textos. Mas, sinceramente, eu acho que o Rox-Filer possui um comportamento no qual os usuários do Windows e de outras distribuções GNU/Linux não conseguem se acostumar e por isso preferem o zzzFM/SpaceFM que possui um comportamento mais “normal”.
2. How would we automate the translation of strings?
BobC, eu sei fazer estas alterações manuais e linha por linha. Infelizmente, eu não sei programar um script que possa fazer as alterações automaticamente do textos do arquivo session. Além da necessidade de fazer a substituição do textos para cada idioma, é necessário o comando $ mkdir -p ~/.local/share/Trash/files/ para criar a pasta.
3. I worry about using “mv” to move the files to trash and wonder if this works for all types of files. Are there files (like links, maybe) that using mv would cause major problems for?
Eu também não sei se “mover para a lixeira” funciona com todos os tipos de arquivos. Até onde eu consegui testar, tudo funcionou corretamente.
December 29, 2021 at 10:26 pm #74074MemberPPC
::Version 1.0 RC1 is out:
Changes:
-Fixed a visual bug in “move icon” function in Tint2 toolbar manager
-Fixed some extra stuff to improve compatibility with JWM window manager
-Updated some .desktop files and pt-BR localizationsDecember 30, 2021 at 10:01 am #74106ModeratorBobC
::Would this be of any interest? It uses a separate conky that stays on the screen for 20 seconds, so it wouldn’t add any dependencies
Attachments:
December 30, 2021 at 11:10 am #74121MemberPPC
::@BobC – very nice idea… It would be even better if it included the network name, perfect if it was pop up (so users could see it without having to minize/move windows to see the desktop- or is there a way to make conky appear above all other windows?- That would really, really make it ideal- can you send the code my way, so I can test it?
By the way- at least for now I don’t think FT10 can ship with a script to add a trash can to zzzfm- it’s a bit complex to do that
Also: what’s your opinion on the new icon set and the light mode?
I created from scratch most of the icons, they look clean and highly visible, but they seem a bit to “simplistic”…Edit: it seems it’s possible to have Conky as a moveable window on top of other windows: https://bbs.archlinux.org/viewtopic.php?id=190491
P.
- This reply was modified 1 year, 4 months ago by PPC.
December 30, 2021 at 3:24 pm #74163ModeratorBobC
::I figured out how to get the network name, but I will need to change the layout.
Its already designed to pop up in its own window on top of others at the right side bottom of the screen above the taskbar/tray. It assumes the taskbar/tray is at the bottom of the screen.
Yes, I agree the zzzfm trash should be separate. Do you think we should use trash.cli or the mv methodology? Maybe it could be included once it works standalone.
I spent my time on the network stuff instead of testing, but will test your latest code along with the conky network stuff in the next few nights over the holiday (I have that on a 2nd testing machine). I will figure out the code to add the conky network stuff to the right click in the tint2 config and make a zip of its pieces.
December 30, 2021 at 4:56 pm #74176MemberPPC
::@BobC – I forgot to tell you:
We can localize menu entries adapting the process used by the Ft10 installer – use variables on the template file, use sed to convert variable to text, localizing what’s needed. Adding localized “Downloads” , “Documents”, “Video”, etc bookmarks is relatively doable, because we get get those localized folders names.
The real problem is managing to automate adding the needed entries to the zzzfm config file…
As far as I know, each entry on zzzfm’s config file has a seemingly randomly generated ID that varies from one install to another (at least it does on my devices) and points to the id of the previous entry and also to the id of the next entry.
It’s doable to create a script that finds (using sed or some other way) the id of the last pre-existing config file entry and then inserts it as the “previous” entry to the entries to be added (I’m picturing adding Bookmarks with icons and a Trash can/recycle bin at one go- once we have a script that allows us to insert something to the config file, we can insert as many entries as we need…
Now about the best methodology- I use both, on all my computers (I mean one with trash-cli, the others with mv to trash) for over a year now, and I never had a single problem- so for “normal daily” usage both options should be safe- I never tested moving links (I think I just had to create one such thing, to dedug a problem, long ago), etc, just folders and files… In one device I use a one-liner that, if the trash folder does not exist, creates it, then moves the file(s)S/folder(s) to it.
Pros of using “mv”- no dependencies
Pros of usinf “trash-cli”- move powerfull- it has buit-in restore features, from the cli, because it’s really a “trash-can”, that can be used even is cli…If you want the part of my zzzfm config file that relates to the bookmarks (so you can see the icons I use, search for “-icon”, and also see how I implemented a “Recent files” using zzzfm own resources, that work way better than using the system’s default “recent files” list that our Recent’s menu entries show):
cstm_4503d3c7-x=3 cstm_4503d3c7-y= cstm_4503d3c7-z=~ cstm_4503d3c7-label=Home cstm_4503d3c7-icon=gtk-home cstm_4503d3c7-next=cstm_36e8cf4f cstm_4503d3c7-parent=main_book cstm_36e8cf4f-x=3 cstm_36e8cf4f-y= cstm_36e8cf4f-z=~/Documentos cstm_36e8cf4f-label=Documentos cstm_36e8cf4f-icon=gtk-file cstm_36e8cf4f-next=cstm_3481d8d9 cstm_36e8cf4f-prev=cstm_4503d3c7 cstm_3481d8d9-x=3 cstm_3481d8d9-y= cstm_3481d8d9-z=~/Transferências cstm_3481d8d9-label=Transferências cstm_3481d8d9-icon=download cstm_3481d8d9-next=cstm_5f4a2ebe cstm_3481d8d9-prev=cstm_36e8cf4f cstm_27c1126d-x=3 cstm_27c1126d-y= cstm_27c1126d-z=~/.local/share/Trash/files cstm_27c1126d-key=-1 cstm_27c1126d-label=Reciclagem cstm_27c1126d-icon=gtk-delete cstm_27c1126d-prev=cstm_2f64c612 cstm_0a65e573-y= cstm_0a65e573-key=65535 cstm_0a65e573-label=Enviar para a Reciclagem cstm_0a65e573-icon=gtk-delete cstm_0a65e573-next=cstm_5c2eaced cstm_0a65e573-cxt=2%%%%%0%%%%%2%%%%%0%%%%%~/.local/share/Trash/files cstm_0a65e573-prev=cstm_58d5ac05 cstm_0a65e573-line=mv --backup=numbered %F ~/.local/share/Trash/files cstm_0a65e573-task=1 cstm_0a65e573-task_err=1 cstm_0a65e573-task_out=1 cstm_0a65e573-keep=1 cstm_5c2eaced-y= cstm_5c2eaced-label=Terminal cstm_5c2eaced-icon=gtk-terminal cstm_5c2eaced-cxt=0%%%%%2%%%%%0%%%%%4%%%%% cstm_5c2eaced-prev=cstm_0a65e573 cstm_5c2eaced-line=roxterm cstm_5c2eaced-task=1 cstm_5c2eaced-task_err=1 cstm_5c2eaced-task_out=1 cstm_5c2eaced-keep=1 cstm_36854925-next=cstm_6057fda0 cstm_36854925-tool=14 cstm_36854925-prev=cstm_3bd8e62f cstm_2f64c612-x=3 cstm_2f64c612-y= cstm_2f64c612-z=/usr/share/applications cstm_2f64c612-label=applications cstm_2f64c612-icon=cm_thumbnailsview cstm_2f64c612-next=cstm_27c1126d cstm_2f64c612-prev=cstm_42688f76 cstm_5f4a2ebe-x=3 cstm_5f4a2ebe-y= cstm_5f4a2ebe-z=~/Imagens cstm_5f4a2ebe-label=Imagens cstm_5f4a2ebe-icon=viewimage cstm_5f4a2ebe-next=cstm_761a7cd5 cstm_5f4a2ebe-prev=cstm_3481d8d9 cstm_761a7cd5-y= cstm_761a7cd5-label=Recentes cstm_761a7cd5-icon=history cstm_761a7cd5-next=cstm_42688f76 cstm_761a7cd5-prev=cstm_5f4a2ebe cstm_761a7cd5-line=eval "<code>zzzfm -g --title "zzzfm" window-icon history --chooser --button close</code>" && xdg-open "$dialog_chooser1" cstm_761a7cd5-task_err=1 cstm_761a7cd5-task_out=1 cstm_761a7cd5-keep=1 cstm_42688f76-x=3 cstm_42688f76-y= cstm_42688f76-z=/media/rootMX17/home/XXXX cstm_42688f76-key=-1 cstm_42688f76-label=MX home cstm_42688f76-next=cstm_2f64c612 cstm_42688f76-prev=cstm_761a7cd5 cstm_5226f079-y= cstm_5226f079-label=Montar Drive Windows cstm_5226f079-next=cstm_460a538d cstm_5226f079-parent=main_tool cstm_5226f079-line=gksu mount /dev/sda2 /mnt cstm_5226f079-task_err=1 cstm_5226f079-task_out=1 cstm_5226f079-keep=1 cstm_6ebdb292-y= cstm_6ebdb292-label=Desmontar Disco Windows cstm_6ebdb292-prev=cstm_460a538d cstm_6ebdb292-line=sudo umount /dev/sda2 cstm_6ebdb292-task_err=1 cstm_6ebdb292-task_out=1 cstm_6ebdb292-keep=1 cstm_460a538d-label=Novo _comando cstm_460a538d-next=cstm_6ebdb292 cstm_460a538d-prev=cstm_5226f079 cstm_460a538d-task=1 cstm_460a538d-task_err=1 cstm_460a538d-task_out=1 cstm_460a538d-keep=1 cstm_3d0fd631-x=1 cstm_3d0fd631-y= cstm_3d0fd631-label=zzzfm --version cstm_3d0fd631-prev=sep_h1 cstm_3d0fd631-task_err=1 cstm_3d0fd631-task_out=1 cstm_3d0fd631-keep=1 panel1_list_large0-b=2 cstm_58d5ac05-y= cstm_58d5ac05-label=Limpar Reciclagem cstm_58d5ac05-next=cstm_0a65e573 cstm_58d5ac05-cxt=0%%%%%0%%%%%2%%%%%0%%%%%~/.local/share/Trash/files cstm_58d5ac05-prev=edit_delete cstm_58d5ac05-line=ls cstm_58d5ac05-task=1 cstm_58d5ac05-task_err=1 cstm_58d5ac05-task_out=1 cstm_58d5ac05-keep=1December 31, 2021 at 6:41 am #74198ModeratorBobC
::Ok, I got the window rearranged and the ESSID added to the output. Here is a pic and the .conkyrc-ft10br zipped along with the two image files needed which I’m putting in $HOME/.conky. Next to write the code to drive it from the right click. The code I’m using to test it is:
conky -c $HOME/.conkyrc-ft10br -o -i 20 -a brThe conky I based this on was from https://www.deviantart.com/bigrza/art/notifyOSD-conky-206763506 by BigRZA
- This reply was modified 1 year, 4 months ago by BobC.
December 31, 2021 at 7:19 am #74203Anonymous
::trash and wonder… would cause major problems
From a root-permissioned window, lets perform a fat-finger operation ~~ move /usr/share/icons/ to trash. No worries, eh? The result would be immediately noticed and we would immediately undo. Inadvertent (or otherwise naive) removal of individual files though, may well go unnoticed… and represents a loaded footgun scenario.
December 31, 2021 at 11:05 am #74210ModeratorBobC
::When I moved it to my test system it had troubles. On that machine the command to get the ESSID works from a terminal, but isn’t working in the conky. But it did work for both on my main system. BTW, the code needs cleanup in the ethernet and PPP sections, as well as changing the fonts to ones included in antiX. Maybe someone else will see my goof as far as the ESSID not appearing…
- This reply was modified 1 year, 4 months ago by BobC.
December 31, 2021 at 11:10 am #74211MemberPPC
::@skidoo- You are, as always correct on your analisys- but doesn’t the same thing apply to any “Trash can/ recycle bin”?
And wouldn’t it be worse if the user removes folders/files in a OS that does not allow for easy “undo”?@All – Version 1.0 is out!
Changes:
-Thanks to BobC right clicking the Network toolbar icon makes a pop appear with info about your connection (it goes away after 20 seconds)
-The calendar allows to add/edit events, by left clicking any date. The events are stored at ~/yad-calendar.txt (that can be manually edited in any text editor)
-I swapped the last 2 Tiles, and pre added a last Tile to access gnome-clocks (that line has to be uncommented in tiles.csv)
-Small edit in jgmenu-edit.desktopThat’s all, folks, for now I packed as many features as I could, without any extra resource usage. There are still many things in my to-do list, but that’s for an eventual next release.
If a bug/typo is found, let me know and I’ll try to solve it and update the package, but for now FT10 is in “feature freeze” – no feature will be added.
Thanks to Marcelocripe and BobC, but specilly to Xecure ( that’s responsable for many features and the original packaging) for helping make FT10 what it currently is!
If would be great to see FT10 (and jgmenu’s) packages added to the antiX repository, so installing it is even easier for the newbies it’s meant to help transition to antiX…Happy new year, everyone!
- This reply was modified 1 year, 4 months ago by PPC.
December 31, 2021 at 3:48 pm #74232MemberPPC
::@BobC – I’ve just tested the new Network info applet under a device connected to a network cable and get what you mean by the code needing some clean up 🙁
I adapted that conky window so it fits better with FT10 design, using the default Wi-fi icon and not using the background with round corners – only the conky config file is needed.
I also tested on a 32bits laptop and, in fact, the wi-fi network name is not displayed… I’m guessing that 2022 will start with FT10 V.1,0b, after all 🙁P.S.-
I also like the wi-fi icon you are using- is it’s license GPL or Creative Commons, something that we can include in FT10?P.
Edit: I forgot to post the updated code of the conky (the ethernet info looks much better, also translated the warning about lack o network to English, used Up and down arrows for Upload and Download speed):
###################### # - Conky settings - # ###################### update_interval 1 total_run_times 0 net_avg_samples 1 cpu_avg_samples 1 imlib_cache_size 0 double_buffer yes no_buffers yes ##################### # - Text settings - # ##################### use_xft yes xftfont Ubuntu:size=9 override_utf8_locale yes text_buffer_size 2048 ############################# # - Window specifications - # ############################# own_window_class Conky own_window yes own_window_type override own_window_hints undecorated,sticky,skip_taskbar,skip_pager own_window_type desktop own_window_type normal own_window_class conky alignment tr gap_x 12 gap_y 12 minimum_size 330 100 default_bar_size 60 8 ######################### # - Graphics settings - # ######################### draw_shades no default_color efefef default_shade_color 1d1d1d color0 ffffff color1 ffffff color2 ffffff TEXT ${voffset 5} # |--WLAN0 ${if_up wlan0} ${voffset -13}${goto 30}ESSID: ${execi 12 iwgetid -r} IP: ${color2}${addr wlan0}${color} Signal: ${font Ubuntu:style=Bold:size=9}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr 15} ${voffset 7}${goto 95}${voffset -4}Upload: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed wlan0}${color}${font} ${goto 237}Total : ${font Ubuntu:style=Bold:size=9}${color2}${totalup wlan0}${color}${font} ${voffset 4}${goto 95}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed wlan0}${color}${font} ${goto 237}Total: ${font Ubuntu:style=Bold:size=9}${color2}${totaldown wlan0}${color}${font} # |--ETH0 ${else}${if_up eth0} ${voffset -13}${color0}${font Liberation Serif:size=10}${font Liberation Serif}${color}${goto 95}${voffset -6}▲: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${font} ${alignr 15}${color2}${upspeedgraph eth0 8,60 92B6F1 CCDFFF}${color} ${goto 95}Total: ${color2}${totalup eth0}${color} ${voffset -2}${color0}${font VariShapes Solid:size=14}${font Liberation Serif}${color}${goto 95}${voffset -6}▼: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${font} ${alignr 15}${color2}${downspeedgraph eth0 8,60 92B6F1 CCDFFF}${color} ${goto 95}Total: ${color2}${totaldown eth0}${color} ${voffset -2}${color0}${font Poky:size=13} ${font}${color}${goto 95}${voffset -4}IP: ${alignr 15}${color2}${addr eth0}${color} #${goto 95}Öffentliche IP: ${alignr 15}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color} # |--PPP0 ${endif}${else}${if_up ppp0} ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 95}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed ppp0}${color}${font} ${alignr 15}${color2}${upspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color} ${goto 95}Insgesamt: ${color2}${totalup ppp0}${color} ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 95}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed ppp0}${color}${font} ${alignr 15}${color2}${downspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color} ${goto 95}Insgesamt: ${color2}${totaldown ppp0}${color} ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 95}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr ppp0}${color} ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 95}No network${endif}${endif} ${image /usr/local/lib/ft10/icons/wifi-f10.png -p 30,55 -s 40x40}- This reply was modified 1 year, 4 months ago by PPC.
December 31, 2021 at 4:13 pm #74234ModeratorBobC
::Thanks, skidoo, yes, with authority that could really do some damage.
PPC, another way to get that ESSID would be:
iwconfig wlan0 | grep ESSID | sed -e 's/.*ESSID:"\(.*\)".*/\1/'I’ll have to try it on the other machine. I’ll see if I can clean up the fonts and eth0/eth1 connections too. I don’t have a ppp0 connection to try anymore. I have modems, but nowhere to dial into.
December 31, 2021 at 4:36 pm #74238MemberPPC
::@BobC: thanks, I’ll try to test it tomorrow.
I edited the wi-fi icon to make it visible in both light and dark backgrounds (like all FT10 icons). The result is atached, it’s not perfect, and I’m not sure witch looks better, the old one or this…Attachments:
December 31, 2021 at 5:05 pm #74243ModeratorBobC
::Yes, I agree on the concept of icons that work regardless of background or theme. Other than that, if possible, fewer images added is better.
Boy, those fonts in that thing are a real mess… I was looking at this last night after coding for 22 hours of work and play combined, and was happy to get the wlan0 working, until I moved it to my test machine and it failed there. Now I need to move to a different room with hardwired ethernet so I can see what eth0 looks like.
My new code for ESSID didn’t work on the test machine, either 🙁
PS: I also agree on the up/down arrows, and avoiding words that need to be translated, but didn’t know how to do it. The Greek symbol for Sum (223 ASCII) would work nicely instead of the word “Total:”, also.
- This reply was modified 1 year, 4 months ago by BobC.
-
AuthorPosts
- You must be logged in to reply to this topic.



