can't rotate cube with scroll wheel on edge.

Asked by ummmimrob

Hello i just upgraded to gusty from feisty and i was previously using beryl. I was able to set it so that when my mouse was at the edge of the screen (any side) i could rotate the cube left or right depending which way i rotated my scroll wheel. now with the integrated compiz for gusty i can not seem to make this happen and it is very annoying because i use to use this feature extremely regularly. i would greatly appreciate any help as i am still kinda new to Linux in general. Thanks in advance!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alan (mrintegrity) said :
#1

it can be set in the compiz settings manager (ccsm) under "rotate cube" plugin. you may have to apt-get install the program first. please also remember that gutsy has not been released yet and as such is connsidered "unsupported"

Revision history for this message
ummmimrob (ummmimrob) said :
#2

thank you Alan for your response and i do understand that gusty is not considered supported.i am asking here because i don't think this is a technical glitch with the software simply an operator who dosent know the correct procedure to get the desired effect i want. i should have made my problem a bit clearer, i have been using the compiz settings manager and i cannot seen to figure out how to make what i described happen if in fact it is possible in this version. i have played around for a few hours now under the "rotate cube plug in" common sense would tell me to go under the "actions" double click on "Rotate left" then select all of the edges i wish.Also for edge button one of the scroll wheel buttons (which i am 90% sure are Button4 and Button5) And then repeat these steps for "Rotate Right"

This does not seem to work so i must be doing something wrong or perhaps this simply is not yet supported.

Revision history for this message
Alan (mrintegrity) said :
#3

I am using gutsy on a test box here and that feature is enabled by default it seems. I did notice that it won't work when the pointer is EXACTLY up against the screen edge (for example pixel 0 or 800 on an 800x600 resolution screen) but it will work if the pointer is a few pixels away from the edge, I imagine this is to avoid the accidental screen rotation.

Revision history for this message
Alan (mrintegrity) said :
#4

incidentally you can find out exactly which numbers the buttons on your mouse have assigned using the "xev" program, open a terminal and type "xev" move the pointer inside the window (there will be a massive ammount of output in the terminal you have open, don't worry about it). Holding the mouse still in this window scroll the mouse wheel once in both directions, some more information will be output to the terminal and this contains all the information about the button event. Here is an example from my own mouse:

ButtonRelease event, serial 32, synthetic NO, window 0x5000001,
    root 0x187, subw 0x0, time 1484112274, (179,115), root:(211,226),
    state 0x1010, button 5, same_screen YES

You can see the last line there contains "button 5"

Alan

Revision history for this message
ummmimrob (ummmimrob) said :
#5

Yes now i am sure the wheel is button4 and button5 and i have mad a little more progress. if i enable view port switcher i can do exactly what i want to but only if the mouse is over the desktop. and anywhere on the desktop for that matter as long as it is not over any open window. i often have full screen windows open so this does not help for view ports with those. i feel i am doing something wrong with these settings that i have circled. http://picasaweb.google.com/ummmimrob/Linux/photo#5116126275456503410
i have tried many different combinations but nothing seems to work. <Control><Alt>Left and <Control><Alt>Right work just fine but in no way have i been able to get this to happen with the scroll wheel on the edge of the screen with full screen windows open, i guess im being a bit picky but having this option save me from having to add the workspace switcher to my panel.

Revision history for this message
Alan (mrintegrity) said :
#6

well, I know for a fact that that would do my head in, every time i tried to scroll a webpage or some other app the cube rotated..

Revision history for this message
ummmimrob (ummmimrob) said :
#7

if i scroll an app or a web page i will either scroll with the mouse over the page or click and drag the scroll bar so for me it would work great. but i guess until a future update or something im just gonna have to live without it, i supose i could uninstall compiz and revert back to the version of beryl i had but i realy like how well it is integrated.

Revision history for this message
Alan (mrintegrity) said :
#8

Little issues like that will get resolved over the course of the following months, it probably is a good idea to go back to beryl (it is still supported) if you find that functionality to be essential.

Revision history for this message
Paul Nickerson (pgn674) said :
#9

Well, my CompizConfig Settings Manager looks different. I have version 0.6.99.

I went into the Rotate desktop cube plugin, and selected the Bindings tab. I then changed the mouse rotate left option to <LeftEdge>Button4, and the mouse rotate right option to <RightEdge>Button5.

You can see what I did here: http://picasaweb.google.com/pgn674/ScreenShots/photo#5118331053213807074

Revision history for this message
David Hammond (dhammond-webdevout) said :
#10

It doesn't work in Gutsy because the Rotate Left and Rotate Right settings are bound to Gnome's keyboard shortcuts (that's what the blue text means). When you edit them in CompizConfig Settings Manager, it doesn't actually modify the gconf entries. You can fix it by editing those gconf entries manually:

1. Open gconf-editor.
2. Go to apps -> compiz -> plugins -> rotate -> allscreens -> options.
3. Set both rotate_left_edge and rotate_right_edge to Top,TopRight,Right,BottomRight,Bottom,BottomLeft,Left,TopLeft.
4. Set rotate_left_edgebutton to 4.
5. Set rotate_right_edgebutton to 5.

That should be it.

Revision history for this message
David Hammond (dhammond-webdevout) said :
#11

Hm... It seems my solution doesn't work across sessions. Once you log out and back in, the rotation doesn't work anymore.

I've written a workaround script here: http://www.webdevout.net/tidings/2007/10/19/how-to-enable-edge-mouse-wheel-rotate-in-gutsy/

Can you help with this problem?

Provide an answer of your own, or ask ummmimrob for more information if necessary.

To post a message you must log in.