Attachments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #163: separate_debug_from_xsession.patch

File separate_debug_from_xsession.patch, 404 bytes (added by erikos, 4 years ago)

source the debug options in the sugar executable

  • bin/sugar.in

    diff --git a/bin/sugar.in b/bin/sugar.in
    index af7f6b2..d88c8ed 100644
    a b  
    44    export SUGAR_SCALING=100 
    55fi 
    66 
     7# Source debug definitions 
     8if [ -f ~/.sugar/debug ]; then 
     9        . ~/.sugar/debug 
     10fi 
     11 
    712export GTK2_RC_FILES="@prefix@/share/sugar/data/sugar-$SUGAR_SCALING.gtkrc" 
    813 
    914if ! test -f "$GTK2_RC_FILES"; then