zlatinb / muwire

MuWire file sharing client for I2P
GNU General Public License v3.0
193 stars 27 forks source link

Need support for 1280x720 #116

Closed danrobi11 closed 2 years ago

danrobi11 commented 2 years ago

Hey. I thought I would come say Hi on Christmas eve. You kind of triggered me with your Twitter post ;)

But I cant. For some reason MuWire is the only App that does not display full screen. There's a part at the bottom that does not display regardless if I put the buffer to full-screen. Therefore, I cant do much. Also, the name of MuWire. Why is it showing up as com-muwire-gui-LinuxLauncher? Im running the AppImage.

Well, Merry Christmas zlatinb. Which you well.

For reference: EXWM $ xrandr --listmonitors | grep -v Monitors 0: +LVDS 1280/309x720/174+0+0 LVDS 1: +HDMI-0 1280/477x720/268+0+0 HDMI-0 muwire-with-exwm

zlatinb commented 2 years ago

Hey @danrobi11 good to hear from you!

I assume you're running the AppImage. That uses it's own main class called com.muwire.gui.LinuxLauncher and your window manager picks that up as the name. It's harmless.

I haven't used the EXWM window manager but I'm guessing it's not letting you resize windows? You can hack your way around that by editing $HOME/.config/MuWire/gui.properties and changing the following two values:

mainFrameX=1280
mainFrameY=720

or whatever X and Y values you wish to use. On older installs of MuWire the file would be located in $HOME/.MuWire/gui.properties.

Let me know if that works and merry Xmas!

danrobi11 commented 2 years ago

Well, I did not expected support on Christmas eve. Very nice of you. looks like its a EXWM issue. Everything works fine with xfce. Whatever value I set it to, I get a blank screen with EXWM. Therefore, I'll have to play with EXWM/xrandr resolution. Sorry for the trouble. I'll see you soon in MuWire ;) Closing.

zlatinb commented 2 years ago

Regarding the blank screen, take a look at this wiki page https://github.com/zlatinb/muwire/wiki/Issues-with-Linux-WMs

Someone reported that setting the options there fixed their blank window problem. But that won't work with the AppImage, you would have to use the .zip or build from source.

danrobi11 commented 2 years ago

Hey. Just saw your new msg. It does not work on my end. Added both export. Tried with the .zip. Changing value in the gui.properties = blank screen. Had to try to change the value cuz the default reso in gui.properties was too small. Something 1200x1000. Im running my lappy with external monitor. Possible that MuWire register the lappy screen instead of the external monitor? Feels like it. Hence the low default reso in gui.properties? Lappy screen reso doesnt go over 1366x768. External monitor 1920x1080.

danrobi11 commented 2 years ago

New follow up. Tested the new beta appimage. Which I just figured why I had this issue. The issue was coming from my Emacs init.el file. There was something wrong with my EXWM format config. My bad :/