~stuff
17 itemsDownload ./*


..
chatnicks.png
dysphoria-spotify-playlist.url
euphoria-spotify-playlist.url
ffmpeg-gif-record
homepage.webm
openbox-size-hint-patch
pick-your-drug.url
scrot-video
serenity-spotify-playlist.url
streamit
twily.deviantart.url
twily.gif
twily.screenfetch.png
twily.webm
twilypastes.url
unicode_list
water_fantasy_art_artwork_huts_2560x1440_....


stuffopenbox-size-hint-patch
2 years agoDownloadRawClose


#
# This is an guide to remove size hints on terminal
# and forced aspect ratio on mpv/mplayer in OpenBox.
#

# Clone source code into ~/openbox.git
$ git clone https://github.com/danakj/openbox ~/openbox.git

# Goto the directory
$ cd ~/openbox.git

# Edit file 'client.c' with your preferred text editor
$ vim ./openbox/client.c

# In this file goto Line 1742 or search for 'PAspect'
# Make the following changes to the file then save and exit
#
#   -1742:  if (size.flags & PAspect) {
#   +1742:  /*if (size.flags & PAspect) {
#
#   -1749:  }
#   +1749:  }*/
#
#   -1760:  if (size.flags & PResizeInc && size.width_inc && size.height_inc)
#   +1760:  /*if (size.flags & PResizeInc && size.width_inc && size.height_inc)
#
#   -1761:     SIZE_SET(self->size_inc, size.width_inc, size.height_inc);
#   +1761:     SIZE_SET(self->size_inc, size.width_inc, size.height_inc);*/
#

# Install with the following commands
# (See 'README.GIT' for more information on building)
$ ./bootstrap
$ ./configure
$ make
$ sudo make install

# Restart OpenBox or test with another session

Top
twily at openmailbox dot org
©twily.info 2013 - 2017



744 941 visits
... ^ v