Monday, April 23, 2007

Instructions to get fullscreen, background wine applications in beryl

Assumptions:
1) You have wine and know how to use it (Running programs, winecfg, etc)
2) You have beryl running.
3) You have some amazing application that you want to run in fullscreen and in the background. (And possibly with different opacity, brightness, etc). I would recommend Dream Aquarium. thedarkmaskter has a tutorial on his blog on how to set it up. (Note, some setting will change from his instructions)
4) You have download the source code to Beryl Window Property Setter. It's a small application I wrote to get this to work. Should just download the file on the home page, then run make.

Instructions:
1) Run winecfg. Go to the graphics tab and check "Emulate a virtual desktop". Set "Desktop Size" to your desktop size. (I have mine set at 1400x900 and it runs smoothly). All other settings shouldn't make a difference. Although, I have "Allow the window manager to control the windows" unchecked. Hit OK.
2) Run the program through wine. ie: wine "C:\\Program Files\\Dream Aquarium\\Dream_Aquarium.scr". Now you should have the screensaver running in a window that is the size of your desktop. Make all settings (Number of fish, etc) you want now, because you won't be able to change them afterwards.
3) run bwpropset as follows: ./bwpropset -fs -s -sp -st -nf -ni -b -op .8
Then you'll see a crosshair. Select the wine window. If all goes well, you should have the window in the background of your desktop, much like xwinwrap.

Some more details:
-fs = fullscreen
-s = sticky
-sp = skip pager
-st = no focus
-ni = no input
-b = background
-op .8 = opacity at 80%

Play around with it until you find settings you like. Use the --help option for other features and possibilities.

11 comments:

Unknown said...

Very Nice !
Works a treat here. All I need now is a way of doing it all automatically, i.e. launching Dream Aquarium and sending it to the desktop at startup.
Any ideas ?

Mat

Unknown said...

Very Nice,
Works a treat here.
Issues I've got are 1) that I can't drag files to folders on the desktop any more as the folders don't open on mouseover anymore. 2) The background on my gdesklets dock resets to the nautilus desktop background whenever I click on it.
Do you think there's a way of writing a script to automate this at startup ? i.e a way that doesnt need you to select Dream Aquarium with the crosshair ?

Anyway Thanks

Mat

The DarkMaster said...

Ah ah ah! You really are the greatest :)
My compliments! Now I have an entire new world of fun opened in front of me :)
Suggestion to anyone: set the wallpaper to a black plain color when using any 3D windows screensaver with this tool. It will help a lot distinguishing the real screensaver and the icons on the desktop with an opaciti of 0.6 or 0.65
And Neaveru, visit my blog to look at the news. I posted a modyfied version of your how-to for users using crossover and dream aquarium specifically :)
bye and thanks for the great work!!! It absolutely rocks!!!

Unknown said...

Works on my PC (A643000+, nvidia 5600 AGP, 1GB RAM) but i have to install lots of x11 header files to rum the 'make' command in my system (kubuntu), easy with apt. Thanks a lot.

mysticmatrix said...

Vagner can you tell me which pakages had you installed to compile this stuff?

Better still, can you give me your binary
( I'm using ubuntu feisty so might give a try

Scirocco said...

When I try to run make I get this error

"cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o bwpropset.o bwpropset.c
bwpropset.c:25:36: fel: X11/extensions/Xrender.h: file or directory does not exist
make: *** [bwpropset.o] error 1"

Tried to convert it with alien to a deb but it didnt work either. I am running Ubuntu 7.10

Johnny Birchett said...

In gutsy, I installed libxext-dev and libxrender-dev. Synaptic took care of the rest of the header packages. Compiled fine. Unfortunately, this didn't run correctly on my T60 with Intel graphics.

Senator Jenkins said...
This comment has been removed by the author.
Gulo gulo said...

Really cool setup

I am trying to get DA run as wallpaper on my hardy box under compiz.I have DA running fine under wine 1.1.17 but cant get it to run as wallpaper.

Any help would be appreciated

Gulo gulo

Anonymous said...

I came across this site after buying a little of my medication of Generic Viagra. It's very useful to know about the content of this link Buy Viagra Cheap Viagra.

Unknown said...

Hi,

I have DA running on Wine (eg. UBUNTU 10.10.) Then I followed up your directions for making it a Wallpaper:

1. I've downloaded the bwpropset-0.1.tar.gz in /home.

2. I've extracted the contents to the same directory (eg., /home/bwpropset-0.1)

3. I've run "sudo make -f Makefile" (it didn't allow me to do it withouth su privileges...)

... and then I've got the following error message:


cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -c -o bwpropset.o bwpropset.c
bwpropset.c:18: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [bwpropset.o] Error 1

Please provide Step by Step instructions, assuming that it is a Fresh UBUNTU 10.10 install, and that I am not a savvy C programmer, please...

Thanks HERNAN