16
DF General Discussion / Re: 2D mode "Display not found" (another linux issue)
« on: February 04, 2021, 10:28:59 pm »Nice, chown is the trick. Interestingly enough, the display error came back.going into /data/save and trying mkdir does give me a permission error! I didn't think to check the permissions of the folders themselves. In all honesty, permissions is something I've neglected to really read about and have been avoiding messing with. I went in as root and used chmod +rwx on 'save' and then went back to my own user, and still don't have permission. I guess it's my fault for not taking the time yet to read about this stuff, but do you know how I can change the permissions, and what they need to be set to?Most likely, you want to chown it to your user. Probably good to do on the whole df folder recursively.
ET be more helpful: That is, 'sudo chown -R melody ~/df4705' based on the information you've given.
Code: [Select]
melody@melody-pc:~/df4705/data/save$ mkdir region1
melody@melody-pc:~/df4705/data/save$ dir
current region1
melody@melody-pc:~/df4705$ ./df
Display not found and PRINT_MODE not set to TEXT, aborting.
For some background, here's some of my init, incase I messed up there. I am trying to run it in 2D, and would not like to run it in text mode. windowed or not windowed doesn't make a difference, the error still occurs.Code: [Select]
[GRAPHICS:YES]
[GRAPHICS_WINDOWEDX:0]
[GRAPHICS_WINDOWEDY:0]
[GRAPHICS_FONT:curses_square_16x16.png]
[GRAPHICS_FULLSCREENX:0]
[GRAPHICS_FULLSCREENY:0]
[GRAPHICS_FULLFONT:curses_square_16x16.png]
[GRAPHICS_BLACK_SPACE:YES]
[PRINT_MODE:2D]