WhitewaterFoundry / Pengwin

A Linux distro optimized for WSL based on Debian.
Other
1.48k stars 105 forks source link

Desktop implementation or browser #639

Open mattmazer0397 opened 4 years ago

mattmazer0397 commented 4 years ago

Is your feature request related to a problem? Please describe. I think this is considered a feature request.

Describe the solution you'd like I use WSL2, and launch a few GUI apps (along with xserver). I was if there were an official desktop environment for pengwin, or if it's all command-line/terminal based? If there is a desktop setup possible, how do set it up? I used a guide mentioned here ( https://techcommunity.microsoft.com/t5/windows-dev-appconsult/running-wsl-gui-apps-on-windows-10/ba-p/1493242 ) but RDP closes immediately after I login. I like the idea of being able to "compartmentalize" my windows and WSL2 setup in an attempt to focus on work and college related stuff. Using a desktop, rather than simply launching GUI apps, is one step closer to compartmentalization.

crramirez commented 4 years ago

Hello,

We are working on integrating Linux desktops in pengwin-setup. Meanwhile you can setup manually:


pengwin-setup update
# To be sure that you have the latest pengwin-setup

pengwin-setup autoinstall GUI GUILIB
# Install and configures the graphics environment. This is a crucial step

pengwin-setup autoinstall GUI TERMINAL XFTERM
# Install essential xfec4 support

pengwin-setup autoinstall GUI HIDPI
# Install the high dpi support
# You can perform the above with the pengwin-setup menu, just this way is more manageable for us to follow the steps

sudo apt install xfce4 -y
# Install xfce4

exit

Then be sure that you run your xserver in floating desktop mode, then run pengwin and execute:

xfce4-session

Regards

mattmazer0397 commented 4 years ago

That worked out perfectly! Thanks!! Just one or two quick questions. As far as closing the xserver goes, are there any "best practices," so to speak? Such as, always close xserver then pengwin? If you install programs from the command line do so without xserver open? Anything like that?

In pengwin-setup there is an option to configure x410 to always start when Pengwin is started (I think I remember that correctly). I don't use x410, I use the free VCxSRV...will that option work for both xservers, or no?

I assume I can run pengwin commands (e.g. pengwin-setup) from within the xserver terminal? Or are those considered "different terminals?"

I think that's all I had. Again, thanks a ton!!

WSLUser commented 4 years ago

If there were an official desktop environment for pengwin

I guess that would technically mean can Pengwin have it's own wallpapers like other WSL distro? Probably not a bad idea. Fits right in with the icon and background image requests. Probably can make an official package with some Pengwin logos that's included in pengwin-base.

crramirez commented 3 years ago

Sorry I didn't notice that I haven't answered you.

That worked out perfectly! Thanks!! Glad it worked!

Just one or two quick questions. As far as closing the xserver goes, are there any "best practices," so to speak? Such as, always close xserver then pengwin? If you install programs from the command line do so without xserver open? Anything like that? No, the only thing that you must have in mind is that VcXsrv starts in windowed mode and for running Xfce4 you will need desktop mode. When you install GUI programs run pengwin-setup startmenu so it can create startmenu shortcuts for you. But it is independent of if you are running the xserver or not.

In pengwin-setup there is an option to configure x410 to always start when Pengwin is started (I think I remember that correctly). I don't use x410, I use the free VCxSRV...will that option work for both xservers, or no?

There is an option for VCXSRV as well. Keep in mind that these start the xserver in Windowed mode. I assume I can run pengwin commands (e.g. pengwin-setup) from within the xserver terminal? Or are those considered "different terminals?"

If the terminal is included in Vcxsrv this one is running in Windows and you cannot invoke your Pengwin apps directly. But if the terminal was installed in Pengwin and run with VcXsrv, yes you can run them from the terminal. I think that's all I had. Again, thanks a ton!! You are very welcome

crramirez commented 2 years ago

Now pengwin-setup includes an option to install XFCE

crramirez commented 2 years ago

If there were an official desktop environment for pengwin

I guess that would technically mean can Pengwin have it's own wallpapers like other WSL distro? Probably not a bad idea. Fits right in with the icon and background image requests. Probably can make an official package with some Pengwin logos that's included in pengwin-base.

Now pengwin has a default wallpaper for XFCE