How to get a "Windows" working area (desktop) in Ubuntu?

Questions about Wine on Linux
Locked
jotape1960
Level 2
Level 2
Posts: 44
Joined: Tue Nov 24, 2015 12:05 am

How to get a "Windows" working area (desktop) in Ubuntu?

Post by jotape1960 »

I use Ubuntu Studio 15.10 and WineHQ 1.9.5, and I want to know if there is a way to get the following:

1) We can use 1, 2, 3 or more Working Areas (virtual desktops) into Ubuntu.

2) So, let's say we will want to use 2 different areas:
a) Main area (or desktop) to the normal Ubuntu software.
b) Second area (or desktop) only to the Windows software (under WineHQ, of course), including the "normal" Windows appearance desktop.

SO... How can I get this? Is it possible? ???

Because, I have 2 different areas, but both are identical (the same desktop appearance).

So... Any idea, please let me know.

Greetings & Blessings from Chile!!!

Juan
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to get a "Windows" working area (desktop) in Ubuntu?

Post by dimesio »

How to configure the Ubuntu desktop is not a Wine question. Ask on the Ubuntu forum.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: How to get a "Windows" working area (desktop) in Ubuntu?

Post by Bob Wya »

jotape1960 wrote:I use Ubuntu Studio 15.10 and WineHQ 1.9.5, and I want to know if there is a way to get the following:

1) We can use 1, 2, 3 or more Working Areas (virtual desktops) into Ubuntu.

2) So, let's say we will want to use 2 different areas:
a) Main area (or desktop) to the normal Ubuntu software.
b) Second area (or desktop) only to the Windows software (under WineHQ, of course), including the "normal" Windows appearance desktop.

SO... How can I get this? Is it possible? ???

Because, I have 2 different areas, but both are identical (the same desktop appearance).

So... Any idea, please let me know.

Greetings & Blessings from Chile!!!

Juan
Hi Juan!!

The answer is probably a resounding "sort-of"! You would probably want to run a "wine explorer" virtual wine desktop in a separate X session... That is a separate X Session from your normal Linux Desktop Environment. I've played about a little with this concept. For instance I've got SDDM (Login Manager) shortcuts that launch the Windows Steam client in either a 32-bit or a 64-bit Wineprefix... These wine sessions run in separately spawned X session...

Bob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: How to get a "Windows" working area (desktop) in Ubuntu?

Post by Bob Wya »

In my case to launch a single wine X Session, running a 32-bit Wineprefix with the Steam client, from my SDDM Login Manager requires:

Code: Select all

/usr/share/xsessions/steam32.desktop

Code: Select all

[Desktop Entry]
Name=Steam (32-bit)
Comment=Run Steam in a 32-bit Wineprefix
Exec=bash -l /usr/bin/steam-wine32.sh
TryExec=bash
Type=Application

Code: Select all

ln -s "${WINEPREFIX}/drive_c/Program Files/Steam/Steam32.sh" "/usr/bin/steam-wine32.sh"

Code: Select all

#! /bin/bash
#Steam32.sh

renice -n 20 $$

SCRIPT_PATH="$0"
SCRIPT_FOLDER=$( readlink -f "${SCRIPT_PATH}" )
SCRIPT_FOLDER=$( dirname "${SCRIPT_FOLDER}" )

export WINEPREFIX="${SCRIPT_FOLDER%/drive_c/Program Files/*}"
export WINEDEBUG=-all,+fps
export WINEARCH=win32

/usr/bin/xsetbg -fullscreen -onroot -border black "/home/robert/Pictures/Backgrounds/steam-background.png"

cd "${SCRIPT_FOLDER}"

nice -n -5 wine "Steam.exe" &
PID_STEAM=$!

sleep 5

while ps -p $PID_STEAM > /dev/null ; do
...
done

exit
Your case will be more complex - as you'll need probably need / want to run a multiple X Session simultaneously (mapping a keyboard shortcut to do the switching??). Perhaps you could try asking on Ask Ubuntu. But be warned this is quite advanced stuff! 8)

Bob
Locked