You are not logged in.

#1 2014-07-26 12:27:44

macross
Member
Registered: 2009-11-16
Posts: 21

[Partially solved] Xfce4 issues

So i have installed arch with xfce4 DE and i have noticed that my back light adjustments were not working. So i have searched around the internet and found that if you add acpi_osi=Linux in the grub.conf file back light adjustments starts working. But after adding that parameter xfce no longer notifies me when i change brightness with that popup bar. I would like to get it working again because it's nice to have a visual indication of screen brightness.

Another issue is with xfce fonts. When i change font from Sans to let's say helvetica all xfce panels crash and only way to get them back it is to manually edit xfce settings and set it to the default font. How could this issue be solved?

Last edited by macross (2014-07-28 15:36:38)

Offline

#2 2014-07-26 17:34:14

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [Partially solved] Xfce4 issues

macross wrote:

So i have installed arch with xfce4 DE and i have noticed that my back light adjustments were not working. So i have searched around the internet and found that if you add acpi_osi=Linux in the grub.conf file back light adjustments starts working. But after adding that parameter xfce no longer notifies me when i change brightness with that popup bar. I would like to get it working again because it's nice to have a visual indication of screen brightness.

Can you tell us more about your system?
1. The make and model.
2. The graphics adapters and the drivers you are using? This should help:

lspci -k | grep -A2 VGA

3. Your current set of recognized backlight interfaces?

for interface in /sys/class/backlight/*; do echo -e "\n $interface"; cat $interface/{brightness,max_brightness,actual_brightness}; done

4. What version of xfce4-power-manager are you running?

xfce4-power-manager -V

Another issue is with xfce fonts. When i change font from Sans to let's say helvetica all xfce panels crash and only way to get them back it is to manually edit xfce settings and set it to the default font. How could this issue be solved?

Where/how are you changing the font? Does this happen with all fonts or just Helvetica?

Offline

#3 2014-07-26 18:31:29

macross
Member
Registered: 2009-11-16
Posts: 21

Re: [Partially solved] Xfce4 issues

toz wrote:

Can you tell us more about your system?
1. The make and model.
2. The graphics adapters and the drivers you are using? This should help:
lspci -k | grep -A2 VGA

1. Laptop model: Acer travelmate 5742.
2. Intel hd graphics and i'm using xf86-video-intel driver from official arch repos.
Output of lspci -k | grep -A2 vga

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
	Subsystem: Acer Incorporated [ALI] Device 0487
	Kernel driver in use: i915
toz wrote:

3. Your current set of recognized backlight interfaces?

I also should add that changing brightness values in acpi_video0 does nothing, but it works with the intel_backlight.

 /sys/class/backlight/acpi_video0
9
9
4

 /sys/class/backlight/intel_backlight
486
976
486
toz wrote:

4. What version of xfce4-power-manager are you running?

Xfce Power Manager 1.2.0git-75107db
toz wrote:

Where/how are you changing the font? Does this happen with all fonts or just Helvetica?

I'm changing it from the xfce appearance menu. It happens with almost all fonts. For example with monospace font only "appearance" menu crashes when i'm trying to open it, but with helvetica all xfce panels crash.

Last edited by macross (2014-07-26 18:32:44)

Offline

#4 2014-07-26 19:19:18

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [Partially solved] Xfce4 issues

For the brightness notification issue, I would give the video.use_native_backlight=1 kernel parameter a try instead of "acpi_osi=Linux". If that doesn't work, try the /etc/X11/xorg.conf.d/20-intel.conf hack as noted in the Intel wiki entry.

As for the font issue, from a terminal window, quit the xfce4-panel:

xfce4-panel -q

...then start it up manually:

xfce4-panel

...then try to change the font again and note if any error messages appear in the terminal window.

Offline

#5 2014-07-26 19:57:11

macross
Member
Registered: 2009-11-16
Posts: 21

Re: [Partially solved] Xfce4 issues

toz wrote:

video.use_native_backlight=1

Thanks now my brightness adjustment works like a charm!

As for the xfce4 panel crash this is the error i get while trying to launch it from the command line:

xfce4-panel: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Aborted
[macross@slacker ~]$ 
(wrapper:820): Gdk-WARNING **: GdkWindow 0x1c00004 unexpectedly destroyed

(wrapper:822): xfce4-panel-wrapper-CRITICAL **: Wrapper actions-2: Could not get owner of name 'org.xfce.Panel': no such name.
The program 'wrapper' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDamage (invalid Damage parameter)'.
  (Details: serial 334 error_code 151 request_code 143 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Offline

#6 2014-07-26 20:16:09

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [Partially solved] Xfce4 issues

Good news about the brightness.

For the fonts, try rebuilding your font cache first:

fc-cache -vf

...and trying again.

Offline

#7 2014-07-27 05:38:57

macross
Member
Registered: 2009-11-16
Posts: 21

Re: [Partially solved] Xfce4 issues

toz wrote:

Good news about the brightness.

For the fonts, try rebuilding your font cache first:

fc-cache -vf

...and trying again.

Unfortunately it still doesn't work.

Offline

#8 2014-07-27 10:01:39

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [Partially solved] Xfce4 issues

Similar error message to this thread. Installing the ttf-droid font resolved that issue. I don't think it was installing the font that helped, but possibly the cache rebuilding in the post install that fixed the problem. Try running, as root:

fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF

If that doesn't work, try installing the ttf-droid font.

Offline

#9 2014-07-28 13:04:33

macross
Member
Registered: 2009-11-16
Posts: 21

Re: [Partially solved] Xfce4 issues

toz wrote:

Similar error message to this thread. Installing the ttf-droid font resolved that issue. I don't think it was installing the font that helped, but possibly the cache rebuilding in the post install that fixed the problem. Try running, as root:

fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF

If that doesn't work, try installing the ttf-droid font.

Nope nothing works. Oh well i guess i can live with it it's not that big of a deal as long as i can use custom installed fonts. Thanks for your help!

Offline

Board footer

Powered by FluxBB