xfce4-genmon-scripts
xfce4-genmon-scripts copied to clipboard
network panel: INVALID
network panel shows invalid. Xubuntu 20.04
Could you provide us some screenshots?
network-panel.sh depends on ship you can download it, install it by appending it in your PATH environmental variable.
If you have issues with the dependency, please let me know.
Could you provide us some screenshots?
network-panel.sh depends on ship you can download it, install it by appending it in your PATH environmental variable.
If you have issues with the dependency, please let me know.
hey thanks for answering me, well that is a little complicated, why don't get the data from where xfce network plugin ( which comes by default in xfce4) atleast don't need install anything extra and have the same stats as the ship dependency. Anyways I'll try soon. Also do you know where I can get stats from dualshock3/4 battery? I want create a script to show dualshock battery and merge here
First of all, ship
is a bash script without any extra dependencies and can run on almost every linux distro, it's nice to have it in xfce4-genmon-scripts root directory.
As for the gamepad panel, is nice as an idea. You can either grab some stats from usb or bluetooth. bluez utilities are handy here. Also check this link for more information.
Unfortunately, I don't own any gamepad (yet, maybe) so I cannot provide any code for this. You could try implement this as a feature, fork the repo and then submit a pull request.
First of all,
ship
is a bash script without any extra dependencies and can run on almost every linux distro, it's nice to have it in xfce4-genmon-scripts root directory.As for the gamepad panel, is nice as an idea. You can either grab some stats from usb or bluetooth. bluez utilities are handy here. Also check this link for more information.
Unfortunately, I don't own any gamepad (yet, maybe) so I cannot provide any code for this. You could try implement this as a feature, fork the repo and then submit a pull request.
with help of some other devs I discovered how get battery percentage: upower -e to discover devices. upower -i /org/freedesktop/UPower/devices/gaming_input_sony_controller_battery_00o06of5obbo49o42 This works very well. The approach with upower I guess it can be more compatible with future linux?
But Also this is much easier as results the battery percentage: cat /sys/class/power_supply/sony_controller_battery_<device_id>/capacity
cat /sys/class/power_supply (lists all controllers)
just need do something like a for to list all connected controllers and show their respective battery. Can you help doing the interface and the loop to get all connected controllers? I will be the tester
Aboutxfce4-genmon-scripts root directory. where is that directory? I will paste the bash script into it and see if works
For the dualshock support, please refer here It is ready to be tested as you asked @samuk190
@samuk190
About xfce4-genmon-scripts root directory. where is that directory? I will paste the bash script into it and see if works
xfce4-genmon-script
root directory is the directory created after the git clone
oh my bad. so I did that, I put ship folder into it, and still network invalid, I tried change permsisions, none. Also spotify and spotify-panel does not work and freeze my entire UI so now I need restart, task manager freezing after that. (using spotify latest from snap) and gpu works showing driver version but temp and other stuff doesnt show correctly, I edited the .sh script to show the temperature atleast, see the pic: https://i.imgur.com/HnOt913.png my guess is that nvidia smi updated and the command to show temperature has changed the display of info, because in the script it is getting info from nvidia smi and cutting the text to show the info if you need I can make separate issues about them,
I removed the submodule ship
as it adds more complexity to the code and it's a lot harder to maintain the xfce plugins. Please check again for issues on network-panel.
Thank you.
I removed the submodule
ship
as it adds more complexity to the code and it's a lot harder to maintain the xfce plugins. Please check again for issues on network-panel.
It should work now without ship
right?
It is not working on Linux Mint 21.2 and showing Invalid