Check the GL_MAX_TEXTURE_SIZE using
Code:
glxinfo -l | grep GL_MAX_TEXTURE_SIZE
Code:
sudo vi /usr/bin/compiz
Now enable compiz with Appearance settings in ubuntu. The wallpaper will be redrawn, Hence we must enable wallpaper compiz plugin from CCSM (compizconfig setting manager).
But to enable wallpaper plugin we must disable nautilus desktop from gconf editor. I used this trick from tombuntu:
Code:
Launch the Run Application dialog with Alt-F2
and run gconf-editor.
Navigate to apps->nautilus->preferences
and unselect the show_desktop option.
Your desktop icons should disappear.
Now enable the wallpaper plugin from CCSM
Now just add the lines as commands to compiz and enjoy
My setup is
Code:
[TV connected to laptop via VGA]
__________ ___________
|1024x768| |1920x1080|
| laptop |---->| display |
|________| |_________|
/________/
Code:
bash -c "wmctrl -r :ACTIVE: -b remove,maximized_horz && wmctrl -r
:ACTIVE: -b remove,maximized_vert ;wmctrl -r :ACTIVE: -e 0,0,0,1024,768"
Code:
bash -c "wmctrl -r :ACTIVE: -b remove,maximized_horz && wmctrl -r
:ACTIVE: -b remove,maximized_vert ;wmctrl -r :ACTIVE: -e 0,1025,0,960,1080"
Code:
bash -c "wmctrl -r :ACTIVE: -b remove,maximized_horz && wmctrl -r
:ACTIVE: -b remove,maximized_vert ;wmctrl -r :ACTIVE: -e 0,1985,0,960,1080"
want win+3 --> restore to original pos (does not work sometimes)
Code:
bash -c "wmctrl -r :ACTIVE: -b toggle,maximized_vert && wmctrl -r
:ACTIVE: -b toggle,maximized_horz;"
No comments:
Post a Comment