linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.53k stars 735 forks source link

[ Feature Request ] Zaphod modes #2181

Closed Prozium closed 8 years ago

Prozium commented 11 years ago

I use this configuration in my xorg.conf to enable zaphod mode Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" 2000 0 EndSection

Why "Screen1" 2000 0 ? Well because that places screen 1 far away from screen 0 thus jailing the mouse in each screen, i use a script mouse-switchscreen to move my pointer between the screens. This can be useful for eg only playing movies in screen 1

Fluxbox Openbox Xfce etc supports this configuration

However Cinnamon crashes during startup when using that configuration, i would love to have two separate cinnamon desktops, and for some ive spoken to wanted to have have Xfce on screen 1, for whatever needs they have.

I don't know if this is a correct zaphod mode configuration, but as i said it works fine ine fluxbox and xfce.

This might also cause issues with the hotplugging eg a HDMI cable, since right now when a second screen is attached cinnamon automaticly extends the screen.

I hope this is something possible to achieve

Prozium commented 11 years ago

What would be even more awesome would be to configure wich Window manager to be used in eg a session-management tool that controlls the startup of each window manager

AlbertJP commented 11 years ago

Cinnamon cannot run if you have no 3D acceleration available, which is likely the case in this zaphod setup. Even software rendering is not usable in case 3D gets disabled because of X screen setup.

Prozium commented 11 years ago

I have 3D Acceleration, i am using the proprietary nvidia drivers. Cinnamon works fine if i comment out Screen 1 "Screen1" 2000 0 So it's not a rendering issue thus making it a cinnamon issue. However Fluxbox, Openbox, XFCE etc accepts that setup and cinnamon does not.

AlbertJP commented 11 years ago

Are you sure you still have 3D acceleration as soon as you use multiple screens? Please confirm this by running inxi -Gx (if you are on Linux Mint).

Prozium commented 11 years ago

Here you go

glxinfo | grep render direct rendering: Yes OpenGL renderer string: GeForce 410M/PCIe/SSE2 GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_parameter_buffer_object2, GL_NV_path_rendering, GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_parameter_buffer_object2, GL_NV_path_rendering,

inxi -Gx Graphics: Card: NVIDIA GF119M [GeForce 410M] bus-ID: 01:00.0 X.Org: 1.14.1 driver: nvidia Resolution: 1366x768@60.0hz, 1920x1080@60.0hz GLX Renderer: GeForce 410M/PCIe/SSE2 GLX Version: 4.3.0 NVIDIA 319.23 Direct Rendering: Yes

AlbertJP commented 11 years ago

Could you post the output of cinnamon --replace in terminal while using this zaphod mode?

JosephMcc commented 8 years ago

Zaphod mode isn't going to be supported. I don't think the underlying libraries we use will even allow this.

AlbertJP commented 8 years ago

In #776 you suggested a partial fix, that Cinnamon not crash in this mode but instead use only one of the X screens, are you sure you want to close this bug?

JosephMcc commented 8 years ago

Unless I'm missing something, I didn't suggest any sort of fix. I closed it because it is a feature request to add support for Zaphod modes, which isn't going to happen. Your correct that it probably shouldn't crash though.