Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detailed instructions for disabling the Compiz Grid plugin to the FAQ #44

Open
Atcold opened this issue Jul 29, 2014 · 11 comments

Comments

@Atcold
Copy link

Atcold commented Jul 29, 2014

Was: Broken window size cycling on Ubuntu 14.04

Issue

I am not sure if this is a bug or just something I did wrong.
On a Ubuntu 12.04 the window size cycling was working perfectly (I was able to switch from 1/2 to 1/3 to 2/3 by pressing the number multiple times).
Now that I've installed quicktile on Ubuntu 14.04, the only available size is 1/2.

Debugging tips

  • <Ctrl>+<Alt>+0 does minimise the current window.
  • <Ctrl>+<Alt>+5 does switch between maximised and "almost maximised".
  • If I open a terminal and try to cycle through the different position for the "corner sequences", the first is caught but the following repetitions just drop the number I'm pressing into the terminal.
  • The "side sequences" are, instead, always caught, but the dimension does not cycle.
@avaly
Copy link
Contributor

avaly commented Oct 18, 2014

I suspect that <Ctrl>+<Alt>+0 and <Ctrl>+<Alt>+5 work as you describe because they might be handled by the Grid plugin of Compiz. Try disabling that plugin or change the modifier keys.

@ssokolow
Copy link
Owner

Sorry about not responding to this. It arrived while my GitHub notifications were silently broken and I overlooked it when catching up.

The first thing you'll want to do is check whether the problem is in the keybinding part or the window-moving part.

On my system (Lubuntu 14.04.1), the following shell script snippet will cycle the active window through the various sizes without relying on the keybinding (You'll need to adjust the path to quicktile):

for X in 1 2 3 4; do sleep 1; ~/src/quicktile/quicktile.py top-left; done

If it works for you, then it's a keybinding issue and @avaly is probably right. If you still have the problem, then it's probably Unity messing with a particularly fragile aspect of QuickTile's current approach to determining where it is in the cycle.

Let me know which it is and I'll investigate further.

@ssokolow
Copy link
Owner

@Atcold: Ok, I've made the --debug output much easier to understand and added a line like this so it's easy to tell whether it's receiving the keypresses.

DEBUG: Received keybind: <Primary><Alt>KP_Home

Try with the latest revision and, if you don't see that when pressing a key, then @avaly is right. If you do see it, then paste the --debug output and we can work from there.

@Atcold
Copy link
Author

Atcold commented Oct 20, 2014

OK. I am sort of busy these days. But I will try eventually (since this app is awesome).
Here there are some instructions, but I remember that once, playing with it, I screwed up my desktop because it installed some GTK* stuff, and I had to purge them all, wasting a entire day.
Thank you guys!

@Atcold
Copy link
Author

Atcold commented Nov 5, 2014

OK, I have the same behaviour on my laptop, where I do not have installed your app. Hence, I believe that this Grid plugin of Compiz is conflicting.
About disabling it, I don't have a clue about how to do that. It would be nice if it would came by default with your app installation.

@ssokolow
Copy link
Owner

ssokolow commented Nov 6, 2014

@Atcold:

I can write instructions, but I can't write a script to do it for you. Force-overriding user preferences is fragile and a big no-no.

(And it leads to the mess you see on Windows where two or three different programs end up having tray icons whose only purpose is to squabble over who gets control over what.)

@Atcold
Copy link
Author

Atcold commented Nov 6, 2014

That would be great! As I said, I have already screwed up once, and it has been very painful recovering the whole stuff... without exactly knowing the reason for the desktop's crash.

@Atcold
Copy link
Author

Atcold commented Nov 6, 2014

Please, feel free to close this issue from the commit to the documentation 😉

@ssokolow
Copy link
Owner

ssokolow commented Nov 6, 2014

I run Lubuntu and usually don't run with any compositing, so I'll need to find a moment to set up Ubuntu in a VirtualBox VM first. Once I've done that, I'll ask you to double-check my instructions before I commit them.

@Atcold
Copy link
Author

Atcold commented Nov 6, 2014

Sure thing!

@ssokolow ssokolow changed the title Broken window size cycling on Ubuntu 14.04 Add more detailed instructions for disabling the Compiz Grid plugin to the FAQ Jan 24, 2020
@ssokolow
Copy link
Owner

I know it's been six years, but sorry that I forgot about this.

I'll rename it and leave it open as a reminder to write those instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants