- This topic has 25 replies, 7 voices, and was last updated Mar 19-7:33 pm by olsztyn.
-
AuthorPosts
-
March 18, 2023 at 2:06 pm #102492Member
RJP
::Volume indicator works fine if it placed $HOME folder. Indicador does not work other locations. Maybe the script should edit like
touch /tmp/volume.txt echo '0' > /tmp/volume.txt [[ $(cat /tmp/volume.txt) -eq 1 ]] && exit 0… so that it works from other locations too?
- This reply was modified 1 month, 3 weeks ago by RJP.
March 18, 2023 at 4:01 pm #102495MemberLead Farmer
::I have to admit I did not previously paid attention to this thread since I am not typically using IceWM. However I just flipped over to IceWM and installed this volume indicator for testing/evaluation purpose.
Having just tested I have to say that it works very nicely. I do like it the way it works. When the time allows I will also test under JWM, reformatting the keys syntax of course, but it should work as well.
Just to mention, on antiX 23, where I am testing, IceWM Settings to edit are no longer in the Control Center. So, instead the key file in ./icewm folder must be edited for mapping of keys.Thanks Lead Farmer! Very nice…
Thanks for the feedback.
Interesting decision moving IceWM keys from the setting in Control Center, I hope the Devs will add a easy to accesses it instead of opening a file in a hidden folder.
March 18, 2023 at 4:19 pm #102496Memberolsztyn
::Interesting decision moving IceWM keys from the setting in Control Center, I hope the Devs will add a easy to accesses it instead of opening a file in a hidden folder.
In my understanding this was actually to move various IceWM options to a dedicated to IceWM app, where you pick options you want via buttons instead of manually editing IceWM config file. This IceWM config screen is mostly the entire collection of IceWM tweaks developed by PPC and BobC.
There is a sub-app to add/delete IceWM keys, where the keys you need for this volume control can be added. These on-screen config controls are actually easier to use than the traditional IceWM settings was in Control Center.As I mentioned before I do not typically use IceWM anymore but I still have it installed for testing.
Your Volume control caan be also easily installed under JWM, which was my main WM until relatively recently.- This reply was modified 1 month, 3 weeks ago by olsztyn.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersMarch 18, 2023 at 4:22 pm #102497MemberLead Farmer
::Volume indicator works fine if it placed $HOME folder. Indicador does not work other locations. Maybe the script should edit like
touch /tmp/volume.txt echo '0' > /tmp/volume.txt [[ $(cat /tmp/volume.txt) -eq 1 ]] && exit 0… so that it works from other locations too?
It will not work that way. you need a separate file to store the value if volume indicator in running or not, with 0 not running as the default value, and 1 mean it’s running, by knowing the status I can exit script if the hotkey is pressed for the second time and not show the volume indicator again, turning it on or off with the same keys.
You can add the file in the startup but I think it defy purpose, and also the images of the speaker and headphone using the same path.
- This reply was modified 1 month, 3 weeks ago by Lead Farmer.
- This reply was modified 1 month, 3 weeks ago by Lead Farmer.
March 18, 2023 at 4:37 pm #102503MemberRJP
::Volume indicator works fine if it placed $HOME folder. Indicador does not work other locations. Maybe the script should edit like
touch /tmp/volume.txt echo '0' > /tmp/volume.txt [[ $(cat /tmp/volume.txt) -eq 1 ]] && exit 0… so that it works from other locations too?
It will not work that way. you need a separate file to store the value if volume indicator in running or not, with 0 not running as the default value, and 1 mean it’s running, by knowing the status I can exit script if the hotkey is pressed for the second time and not show the volume indicator again, turning it on or off with the same keys.
You can add the file in the startup but I think it defy purpose, and also the images of the speaker and headphone using the same path.
Really?
Attachments:
March 18, 2023 at 6:34 pm #102506MemberLead Farmer
::@RJP English is not my first language, so it’s hard to me explain why volume.txt should be a separate file, and not be created from the script, I recommend you use the original script.
- This reply was modified 1 month, 3 weeks ago by Lead Farmer.
March 19, 2023 at 6:31 am #102532MemberRJP
::@RJP English is not my first language, so it’s hard to me explain why volume.txt should be a separate file, and not be created from the script, I recommend you use the original script.
I do not speak english, but I tried to say that if volume.txt is into /tmp, the script can be launched other locations than $HOME/volume_indicator too. Your script is working fine.
- This reply was modified 1 month, 3 weeks ago by RJP.
March 19, 2023 at 6:55 am #102534Member
ile
March 19, 2023 at 4:31 pm #102582MemberLead Farmer
::There is a sub-app to add/delete IceWM keys, where the keys you need for this volume control can be added. These on-screen config controls are actually easier to use than the traditional IceWM settings was in Control Center.
I looked it up, it’s the Add Key app, it’s looks ok (except it’s width is twice my screen width), but I prefer to edit the text file myself.
I looked in the control center script and saved the “Edit IceWM Setting” command in case I will want to make a menu shortcut in the future.geany $HOME/.icewm/winoptions $HOME/.icewm/preferences $HOME/.icewm/keys $HOME/.icewm/startup $HOME/.icewm/toolbar $HOME/.icewm/menu &- This reply was modified 1 month, 2 weeks ago by Lead Farmer.
- This reply was modified 1 month, 2 weeks ago by Lead Farmer.
March 19, 2023 at 5:00 pm #102593Moderator
Brian Masinick
::Menu –> System –> Control Centre, then select Edit IceWM settings does exactly the same thing – it starts up the default IDE editor, Geany with the same configuration files.
Your way is fine; those who prefer the graphical interface can access it through the Control Centre.
--
Brian MasinickMarch 19, 2023 at 7:33 pm #102601Memberolsztyn
::Menu –> System –> Control Centre, then select Edit IceWM settings does exactly the same thing – it starts up the default IDE editor, Geany with the same configuration files.
Not in antiX 23 though. IceWM settings is gone from Control Center in antiX 23. By design.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters -
AuthorPosts
- You must be logged in to reply to this topic.

