You are not logged in.

#1 2013-07-08 18:28:31

crazyg4merz
Member
Registered: 2013-04-14
Posts: 40

Gtk event sounds on KDE?

This is really weird because I can't get event sounds on gtk based applications such as Firefox which used to be fine when I was on XFCE before moving to KDE. I've got libcanberra and gstreamer backend installed. Googled a lot and did a lot of things to make it working with no avail. Added the last three lines in both ~/gtkrc2.0 and ~/.config/gtk3.0/settings.ini. This is the output:

# File created by KDE Gtk Config
# Configs for GTK2 programs 

include "/usr/share/themes/Zukitwo/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
style "user-font" 
{
        font_name="Sans Serif "
}
widget_class "*" style "user-font"
gtk-font-name="Sans Serif  10"
gtk-theme-name="Zukitwo"
gtk-icon-theme-name="Mint-X"
gtk-fallback-icon-theme="Mint-X"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=0
gtk-button-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-sound-theme-name=ubuntu

Also checked the gnome sound settings using both gconf-editor and dconf-editor to enable the event sound but still got nothing.
Tested running "canberra-gtk-play -i phone-incoming-call" and it did play sound, but produced this:

** (canberra-gtk-play:983): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

** (canberra-gtk-play:983): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

Hope someone can help me. Thanks in advance smile

Offline

#2 2013-07-09 05:52:39

crazyg4merz
Member
Registered: 2013-04-14
Posts: 40

Re: Gtk event sounds on KDE?

anyone?

Offline

#3 2013-10-19 01:59:00

jwhendy
Member
Registered: 2010-04-01
Posts: 621

Re: Gtk event sounds on KDE?

I can't comment on your KDE issue, but have the same issue with the fallback.css error.

I'm trying to find a solution myself as well. Here's a link to an Arch Linux bug report reporting the issue, and it was closed as the theme should be providing gtk-fallback.css. I'm also using Zukitwo, but on openbox:

$ cat ~/.config/gtk-3.0/settings.ini
[Settings] 
gtk-theme-name=Zukitwo
gtk-icon-theme-name=ACYL_Icon_Theme_0.9.4
gtk-font-name=Myriad Pro 10
gtk-cursor-theme-name=comix
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb

When I start evince from the command line, I get the same error as you:

** (evince:26380): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

** (evince:26380): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

But I can find it on my system, so what is the issue with it not being found?

$ locate fallback.css
/usr/share/themes/Zukitwo/gtk-3.0/gtk-fallback.css

Is this a setup issue, or something with the Zukitwo PKGBUILD settings? The bug report makes it sound like that individual's issue was the package not providing the file, so if that was the case, it's not in mine. Any other suggestions?

Offline

Board footer

Powered by FluxBB