Notifications - Trisquel Mini

6 respuestas [Último envío]
ritom
Desconectado/a
se unió: 09/28/2012

Hello trisquel partners.

I decided to install trisquel mini in my netbook and I was really surprised of how well it performed. Even if I can't have 3D acceleration to use the graphic card at full I wanted to switch from other non-free distro I was using on it because I didn't want to use a driver that besides of being privative it was imposing DRM to me by default >:(.

So my question is that is there a way to have volume-brightness notifications in trisquel mini, specially the volume because I can only change it manually and not with the Fn keys of my netbook, however I can change brightness with Fn keys but I don't see any notification. As a user of the standar version of trisquel I've never thought about these small details =/.

I assume this is proper of LXDE, and if there is a way to do a similar thing with the batery that would be a great help XD. I hope to have made myself clear since I'm not a native English speaker >_<.

Greetings and thanks for reading!

lembas
Desconectado/a
se unió: 05/13/2010

Hi there! I use the osd_cat command from xosd-bin package to display various things. For example this is my shortcut to display battery

osd_cat -A center -o10 -d3 -b percentage -T Battery -c yellow -P$((100*`cat /sys/class/power_supply/BAT1/charge_now`/`cat /sys/class/power_supply/BAT1/charge_full`)) -O1

Similarly you can find the brightness value somewhere under sysfs and feed it to osd_cat. You can use the amixer command to get and set volume.

No eye candy but gets the job done.

ritom
Desconectado/a
se unió: 09/28/2012

Thanks for your answer!.

Sorry for the dumb question, but how can I use/apply that code?. Could you please explain me a little bit more? >_<.

dadix
Desconectado/a
se unió: 07/01/2013

sudo apt-get update
sudo apt-get install xbacklight xfce4-power-manager xfce4-power-manager-data

After this must to go in: /etc/xdg/lxsession/Trisquel-mini
and edit the file "autostart" . Remove what you have and replace with these:

@lxpanel --profile Trisquel-mini
@xscreensaver -no-splash
@xfce4-power-manager
@pcmanfm --desktop --profile Trisquel-mini
@/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

Than restart your pc. Try Fn+your_key for brightness.

If is working in this way than these is a bug in Trisquel-mini and someone must to assign it in bug-tracker with above solution.

The latest alpha 2 of Lubuntu 13.10 has this implementation by default. So when the final version is ready the Trisquel mini may do the upgrade to this version of Lubuntu, which in my opinion with this version they finally have done a version that can work nice.

ritom
Desconectado/a
se unió: 09/28/2012

Thanks for your answer!.

I followed your instructions and now I have the batery manager of XFCE, something very useful that gives me more control over it. But, sadly I still can't change the volume with the Fn keys, the brightness notifications maybe require the propietary driver of my graphic card, I had them when I installed it in the non-free distro I was using before, but I can change it with Fn keys.

I checked lubuntu 13.04 some time ago, and I liked the fact it was able to generate thumbnails of videos, I hope to have that in my trisquel mini in a near future XD.

By the way, if this is a bug where should I report it?.

dadix
Desconectado/a
se unió: 07/01/2013

Remove this 3 packages and install them again but this time from Synaptic. Maybe it works with this metod.

xbacklight
xfce4-power-manager
xfce4-power-manager-data

sebelius
Desconectado/a
se unió: 08/22/2013

The attached file tells you how to change keyboard shortcuts.
I was not able post the instructions here as the xml code would not display.

AdjuntoTamaño
change_keyboard_shortcut.txt 1.03 KB