1

I bind the expose function to my top-right and bottom-left corners. It works well. However, if I reboot my pc, it won't be binded anymore. In the compizconfig settings, it's still binded, but I need to remove the bind and rebind - and it works again. Needless to say, every annoying.

Any fixes out there?

2
  • what do you mean by expose function? please name which plugin instead & I'll give you a possible workaround.
    – doug
    May 31, 2015 at 17:14
  • @doug In compizconfig, it's the "scale" option under windows management, bindinds-> Initiate picker for all windows. Appreciate your help!
    – cbll
    Jun 1, 2015 at 11:32

1 Answer 1

0

This is just a workaround -

Set up compiz as you wish, then in ccsm go > Preferences > Plugin List

From there disable "Automatic plugin sorting" > in right side column (enabled plugins), highlight scale & click on the Down button until it's below the unityshell plugin (usually the last listed

Then close ccsm leaving auto plugin sorting disabled. If making any changes in the future 1st re-enable auto plugin sorting, make changes then disable, ect.

2nd alt. workaround, don't do above one

Use a start up script to reset the binding. This could be done thru an autostart .desktop that is set for a small delay of a couple of sec.

One example of window picker all to bottom right

In ~/.config/autostart create a desktop file, named scale1.desktop here to test.

(- or create via cli -

mkdir -p ~/.config/autostart

gedit ~/.config/autostart/scale1.desktop

Insert, (copy & paste best way) this inside, the Exec= line has a command to set the binding, the delay line is set to 3 sec if need be it can be adjusted. Note that the command can also be run from a terminal to test, ect. Also note that the Exec= is one line if it appears differently in this post so do c&p rather than type, To show that, the command is

dconf write /org/compiz/profiles/unity/plugins/scale/initiate-all-edge "'BottomRight'"

So c&p this into the newly created .desktop file

[Desktop Entry] Type=Application Name=Set scale binding1 Exec=dconf write /org/compiz/profiles/unity/plugins/scale/initiate-all-edge "'BottomRight'" Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true X-GNOME-Autostart-Delay=3

Would look like this in gedit

scale1.desktop

A 3rd way would be to change the default bindings of None for these actions to what you want, however that's a bit involved & not suitable for here, ubuntu forums better for that.

8
  • Alternative 1 does not work. It makes Ubuntu log out so I need to type my password again? That's weird. I'm unsure of how to approach alternative 2?
    – cbll
    Jun 1, 2015 at 23:30
  • Not sure why you can't use ccsm as described, makes no sense. Anyway for 2 start by opening a terminal then copy & paste the 2 commands under or create via cli into terminal 1 at a time, press enter to execute. This will open gedit with a blank file. In that file copy & paste all of the above under So c&p this into the newly created .desktop file , then save the file & exit gedit. If you don't still get this then please start a thread in ubuntu forums > Desktop Environments. (- it's so much easier than the limitations here..
    – doug
    Jun 2, 2015 at 1:14
  • I tried using Unity Tweak tool as it could do the same as CompizConfig.... Yet, the same problem remains. It resets every time i reboot? What could be the problem since it's not confined to compiz? hmm?
    – cbll
    Jun 2, 2015 at 5:05
  • I messed up something in dconf. Now, every time I hit the top-right corner(hot corner), it simply blackscreens and takes me back to the login process of Ubuntu? This is weird..
    – cbll
    Jun 2, 2015 at 5:20
  • Open ccsm > Preferences > Plugin List & enable Automatic plugin sorting if you have it disabled. Then open Scale > Bindings & set all the edge ones (monitor icon) back to defaults by clicking on the little x icon button on far right. Then I don't know, gave you 2 simple methods that didn't involve tweak tool or anything else.
    – doug
    Jun 2, 2015 at 10:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .