Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF in Xmonad  (Read 806 times)

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
DF in Xmonad
« on: July 07, 2012, 01:58:31 pm »

(Initially posted here, however, it was pointed out that DF general might be a better place. Rather than bug Toady to move the post, I'll just create a new one here.)

I currently use Xmonad, a tiling window manager. I'm having some predicaments with Dwarf Fortress' window size/scaling. I set DF to float-full on startup (doFullFloat), but it doesn't apply. When DF starts, the screen flickers for a fraction of a second, and then it just floats manually. When I tile it, the window increases in size, but the actual graphics stay at the default size no matter what, regardless of how I change the size of the window (even if I float it manually). If I start DF floated and manually tile it, it works as expected.

On another note, Stonesense will not float at all, even with rules that definitely should affect it.

Does here anyone use Xmonad and play DF that could help me out?
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

Nightscar982

  • Bay Watcher
    • View Profile
Re: DF in Xmonad
« Reply #1 on: July 07, 2012, 07:56:59 pm »

Isnt the the size of DF tiles set in the init itself? I read somewhere on the forum recently that the maximum amount of tiles DF can display is hardcoded at 280*300 or something, but I'm not sure

I havent really used Xmonad, so I cant help you there, nor am I sure how relevant my post is to your situation.
Logged
In all things you were. In nothing you become.

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: DF in Xmonad
« Reply #2 on: July 08, 2012, 01:49:03 am »

It is, but that's not the issue. It starts at the default size (whatever's set in the init, in this case, 80x25), and if started tiled, will not resize regardless of the size of the window. Blank space will fill whatever is outside that 80x25-tile area.

Also, after further research, this seems to be an issue with any tiling WM and DF, not just Xmonad.
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!