2

I would like to hide the launcher only when an application goes maximized. This would be really useful when using my browser, because I could have that additional space. Auto-hiding the Launcher isn't good for me, since I want to use the launcher, just not when an application is maximized.

αғsнιη
  • 35,660
XeZrunner
  • 479

2 Answers2

3

Short answer:

If you want more spaces than maximize just press F11.

αғsнιη
  • 35,660
  • What if I'm doing other stuff in other windows, and I want to look at the time..? I don't want to press F11 each time I go back to Firefox. – XeZrunner Sep 03 '14 at 13:05
  • @Sebastian What you want exactly? do you want to see the time? or do you want to hide the launcher? or do you want to additional spaces? You want to see the time, access the launcher, more space at the same time??? – αғsнιη Sep 03 '14 at 13:14
  • @Sebastian You can always make unity launcher icons with small size. see here and with smaller size see here. thanks – αғsнιη Sep 03 '14 at 14:18
2

First workaround

I wrote a little script for you. You can download it here. There is also description how to install and use script. If you have any doubts please let me know


One more workaround

Create bash script with this content:

#!/bin/bash
CURR_WIN_NAME=`xdotool getwindowfocus getwindowname`
wmctrl -r $CURR_WIN_NAME -b toggle,fullscreen

Save it somewhere, for example /home/sebastian/bash_scripts/fullscreen. Make it executable

$ chmod +x /home/sebastian/bash_scripts/fullscreen

Go to System Settings / Keyboard / Shortcuts / Custom Shortcuts.

Add new shortcut, where:

Name: fullscreen

Command: /home/sebastian/bash_scripts/fullscreen

enter image description here

Now add some Shortcut for this script, for example Shift + F11.

Now try press Shift + F11 while using any application


For more information:

Detecting Currently Active Window

Launch Application In Full Screen Mode

c0rp
  • 9,820
  • 3
  • 38
  • 60
  • I don't think you get what I mean. I want to hide the launcher, not make an application fullscreen. Kindof like the intelligent mode in Ubuntu 11 but only hide when the active window is maximized. – XeZrunner Sep 03 '14 at 15:24
  • @Sebastian I wrote script and update answer – c0rp Sep 03 '14 at 18:38
  • I guess the best way to explain it is like: If an application is FOCUSED, and is in the MAXIMIZED state, then hide the Unity launcher ONLY, I need the top panel. If the application that's maximized gets unfocused or unmaximized, show the launcher(the launcher on the side). – XeZrunner Sep 04 '14 at 09:59
  • 1
    @Sebastian That is exactly what I did here. This link also in answer – c0rp Sep 04 '14 at 10:35
  • Oh sorry I didn't see that. It seems like that the script really does work, gonna try it out, and if it works, I'm going to mark this answer as correct. – XeZrunner Sep 04 '14 at 12:15
  • @Sebastian I wrote this script before your last comment. So it ignores if window Maximized or not. If you still need it, let me know – c0rp Sep 04 '14 at 12:47