[Bug 1518473] Re: /sys/class/backlight/acpi_video0/brightness is broken

2017-12-11 Thread Alejandro Palacios
link-dupont really nailed it! I am having the same issue on an HP
Elitebook 8770w with ONLY an NVIDIA Quadro K3000M, using the proprietary
driver version 387.34 on Fedora 27, Kernel 4.14.3-300

I tried all:

acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native

to no avail, so removed all of that and installed inotify-tools, I do
have /sys/class/backlight/acpi_video0 so I ended up with the following
script in /home/YOURUSERHERE/Scripts/backlight_inotify.sh

#!/bin/sh

path=/sys/class/backlight/acpi_video0

luminance() {
read -r level < "$path"/actual_brightness
factor=$((100 / max))
printf '%d\n' "$((level * factor))"
}

read -r max < "$path"/max_brightness

nvidia-settings -n -a BacklightBrightness="$(luminance)"

inotifywait -me modify --format '' "$path"/actual_brightness | while read; do
nvidia-settings -n -a BacklightBrightness="$(luminance)"
done


And then created file brightnessfix.desktop under 
/home/YOURUSERHERE/.config/autostart


[Desktop Entry]
Name=Brightness Fix
Exec=/home/YOURUSERHERE/Scripts/backlight_inotify.sh
Terminal=false
Type=Application
Name[en_US]=backlightfix.desktop


It is a very effective workaround, thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518473

Title:
  /sys/class/backlight/acpi_video0/brightness is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/system76/+bug/1518473/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1509334] Re: [sru] plasma-nm blocks temporarily on startup w/o bluetooth device – KDE/Plasma very slow to launch (Kubuntu 15.10)

2016-03-23 Thread Alejandro Palacios
the empty session works! it brought the startup from 30-ish seconds down
to nothing!

thanks a lot!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509334

Title:
  [sru] plasma-nm blocks temporarily on startup w/o bluetooth device –
  KDE/Plasma very slow to launch (Kubuntu 15.10)

To manage notifications about this bug go to:
https://bugs.launchpad.net/plasma-nm/+bug/1509334/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1509334] Re: [sru] plasma-nm blocks temporarily on startup w/o bluetooth device – KDE/Plasma very slow to launch (Kubuntu 15.10)

2016-03-23 Thread Alejandro Palacios
I can confirm the problem, I installed kubuntu yesterday and it take
about 30 seconds to get a usable desktop. I will try "empty session"
solution and report.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509334

Title:
  [sru] plasma-nm blocks temporarily on startup w/o bluetooth device –
  KDE/Plasma very slow to launch (Kubuntu 15.10)

To manage notifications about this bug go to:
https://bugs.launchpad.net/plasma-nm/+bug/1509334/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs