tetromino    15/03/22 17:50:32

  Added:                90-xcursor-theme-gnome
  Log:
  Set XCURSOR_THEME from current dconf settings so non-gtk applications get the 
right mouse cursor. Note: you will have to log out and back in to update the 
env variable after changing the mouse cursor in gnome-tweak-tool.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0x18E5B6F2D8D5EC8D)

Revision  Changes    Path
1.1                  gnome-base/gnome-session/files/90-xcursor-theme-gnome

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-session/files/90-xcursor-theme-gnome?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-session/files/90-xcursor-theme-gnome?rev=1.1&content-type=text/plain

Index: 90-xcursor-theme-gnome
===================================================================
#!/bin/sh

if [ "$DESKTOP_SESSION" = "gnome" -o "$DESKTOP_SESSION" = "cinnamon" ]; then
    XCURSOR_THEME=`dconf read /org/gnome/desktop/interface/cursor-theme` 2> 
/dev/null
    if [ x"$XCURSOR_THEME" = "x" ]; then
        export XCURSOR_THEME="Adwaita"
    else
        # 'dconf read' wraps string output in single quotes
        eval export "XCURSOR_THEME=$XCURSOR_THEME"
    fi
fi




Reply via email to