Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Sugar
sugar
sugar-39.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sugar-39.patch of Package sugar
Index: sugar-0.98.8/bin/sugar.in =================================================================== --- sugar-0.98.8.orig/bin/sugar.in +++ sugar-0.98.8/bin/sugar.in @@ -42,7 +42,12 @@ if test -z "$SUGAR_PROFILE"; then fi if test -z "$SUGAR_SCALING"; then - export SUGAR_SCALING=72 + dpi=$(xdpyinfo | grep resolution: | grep -o '[0-9]\+' | head -n1) + if [ $dpi -ge 200 ]; then + export SUGAR_SCALING=100 + else + export SUGAR_SCALING=72 + fi fi export GTK2_RC_FILES="@prefix@/share/sugar/data/sugar-$SUGAR_SCALING.gtkrc"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor