Skip to content

Instantly share code, notes, and snippets.

@rubo77
Created June 21, 2015 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubo77/4589d7352631542a1ffb to your computer and use it in GitHub Desktop.
Save rubo77/4589d7352631542a1ffb to your computer and use it in GitHub Desktop.
scribus-starter startsscribus with resolution 1920x1080
#!/bin/bash
# set scaling to x1.0
gsettings set org.gnome.desktop.interface scaling-factor 1
gsettings set com.ubuntu.user-interface scale-factor "{'HDMI1': 8, 'eDP1': 8}"
xrandr -s 1920x1080
# call your program
/usr/bin/scribus-trunk
# set scaling to x2.0
gsettings set org.gnome.desktop.interface scaling-factor 2
gsettings set com.ubuntu.user-interface scale-factor "{'HDMI1': 8, 'eDP1': 16}"
xrandr -s 3200x1800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment