https://wiki.archlinux.org/api.php?action=feedcontributions&user=DaForester&feedformat=atomArchWiki - User contributions [en]2024-03-28T13:00:57ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Guake&diff=195286Guake2012-04-19T21:05:41Z<p>DaForester: /* 'Ctrl' Keybind Problem */</p>
<hr />
<div>[[Category:Terminal emulators (English)]]<br />
{{i18n|Guake}}<br />
{{Expansion}}<br />
<br />
{{Article summary start}}<br />
{{Article summary text|This article demonstrates the installation of Guake}}<br />
{{Article summary end}}<br />
<br />
[http://guake.org Guake] is a top-down terminal for [[GNOME]] (in the style of Yakuake for [[KDE]], [[Tilda]] or the terminal used in Quake).<br />
<br />
== Installation ==<br />
<br />
[[pacman|Install]] {{pkg|guake}}, available in the [[official repositories]].<br />
<br />
Also the development version is available and in the [[Arch User Repository|AUR]]: {{AUR|guake-git}}.<br />
<br />
==Usage==<br />
Once installed, you can start Guake from the terminal with:<br />
<br />
$ guake<br />
<br />
After guake has started you can right click on the interface and select Preferences to change the hotkey to drop the terminal automatically, by default it is set to F12.<br />
<br />
== Autostartup ==<br />
<br />
You may want Guake to load on starting up Desktop Environment. To do this, you need to<br />
{{bc|# cp /usr/share/applications/guake.desktop /etc/xdg/autostart/}}<br />
<br />
== 'Ctrl' Keybind Problem ==<br />
<br />
As of {{pkg|guake}} 0.4.2-7, there has been a noted bug affecting multiple users concerning the use of the 'Ctrl' key on the Keyboard Shortcuts to toggle guake visibility in the "Keyboard shortcuts" tab of guake-prefs (i.e. Users that setup 'Ctrl+Shift+z' to open the guake console can open it by pressing 'Shift+z', hence having the Ctrl key-bind irrelevant.<br />
<br />
There is a bug in the program that stores the settings in Toggle Guake Visibility that places the Ctrl string as "<Primary>" instead of "<Control>".<br />
<br />
The workaround is to use the command-line gconftool-2 from {{pkg|gconf}} package, get the current string shortcut string from /apps/guake/keybindings/global/show_hide, and replace all instances of "<Primary>" to "<Control>".<br />
<br />
To get what the current keyboard shortcut string is:<br />
{{bc|# gconftool-2 -g /apps/guake/keybindings/global/show_hide}}<br />
<br />
To activate the guake console with Ctrl+Shift+z for example:<br />
{{bc|# gconftool-2 -t string -s /apps/guake/keybindings/global/show_hide "<Control><Shift>z"}}<br />
<br />
It would be easier to use the graphical gconftool equivalent {{pkg|gconf-editor}} to browse for and edit the /apps/guake/keybindings/global/show_hide string. Replace "<Primary>" in the string with "<Control>".<br />
<br />
Alternatively you can use this script to replace instances of <Primary> with <Control> in the /apps/guake/keybindings/global/show_hide string:<br />
{{hc|~/replaceit.sh<br />
|#! /bin/bash<br />
|2=<nowiki>if which gconftool-2 &> /dev/null<br />
then<br />
val=$(printf "%s" $(gconftool-2 -g /apps/guake/keybindings/global/show_hide))<br />
newval=${val/"<Primary>"/"<Control>"}<br />
if [ "$newval" = "$val" ]<br />
then echo "No changes made. Could not find or replace <Primary> in your settings."<br />
else<br />
echo "Replacing old string $val with new string:$newval"<br />
gconftool-2 -t string -s /apps/guake/keybindings/global/show_hide "$newval"<br />
fi<br />
else<br />
echo "gconftool-2 not found. Please install gconf. Exiting..."<br />
fi</nowiki>}}</div>DaForesterhttps://wiki.archlinux.org/index.php?title=Guake&diff=195251Guake2012-04-19T11:48:48Z<p>DaForester: </p>
<hr />
<div>[[Category:Terminal emulators (English)]]<br />
{{i18n|Guake}}<br />
{{Expansion}}<br />
<br />
{{Article summary start}}<br />
{{Article summary text|This article demonstrates the installation of Guake}}<br />
{{Article summary end}}<br />
<br />
[http://guake.org Guake] is a top-down terminal for [[GNOME]] (in the style of Yakuake for [[KDE]], [[Tilda]] or the terminal used in Quake).<br />
<br />
== Installation ==<br />
<br />
[[pacman|Install]] {{pkg|guake}}, available in the [[official repositories]].<br />
<br />
Also the development version is available and in the [[Arch User Repository|AUR]]: {{AUR|guake-git}}.<br />
<br />
==Usage==<br />
Once installed, you can start Guake from the terminal with:<br />
<br />
$ guake<br />
<br />
After guake has started you can right click on the interface and select Preferences to change the hotkey to drop the terminal automatically, by default it is set to F12.<br />
<br />
== Autostartup ==<br />
<br />
You may want Guake to load on starting up Desktop Environment. To do this, you need to<br />
{{bc|# cp /usr/share/applications/guake.desktop /etc/xdg/autostart/}}<br />
<br />
== 'Ctrl' Keybind Problem ==<br />
<br />
As of {{pkg|guake}} 0.4.2-7, there has been a noted bug affecting multiple users concerning the use of the 'Ctrl' key on the Keyboard Shortcuts to toggle guake visibility in the "Keyboard shortcuts" tab of guake-prefs (i.e. Users that setup 'Ctrl+Shift+z' to open the guake console can open it by pressing 'Shift+z', hence having the Ctrl key-bind irrelevant.<br />
<br />
There is a bug in the program that stores the settings in Toggle Guake Visibility that places the Ctrl string as "<Primary>" instead of "<Control>".<br />
<br />
The workaround is to use the command-line gconftool-2 from {{pkg|gconf}} package and input the key settings into /apps/guake/keybindings/global/show_hide.<br />
<br />
{{bc| Example (to activate the guake console with Ctrl+Shift+z):<br />
# gconftool-2 -t string -s /apps/guake/keybindings/global/show_hide "<Control><Shift>z"}}<br />
<br />
It would be easier to use the graphical gconftool equivalent {{pkg|gconf-editor}} to browse for and edit the /apps/guake/keybindings/global/show_hide string. Replace "<Primary>" in the string with "<Control>".</div>DaForester