Answers:
您可以通过使重力向上来解决问题。不,认真;)
您需要对文件进行简单的更改/usr/share/guake/guake.glade
。使用您喜欢的文本编辑器打开该文件,然后查找显示以下内容的行
<property name="gravity">static</property>
更改该行,使其显示为
<property name="gravity">north</property>
保存文件,重新启动Guake,间隙应该消失了。
瓜克林间空地导致终端返回菜单栏,我已经用nano / usr / bin / guake做到了
找到它并在返回之前添加window_rect.y = 25
def get_final_window_rect(self):
"""Gets the final size of the main window of guake. The height
is the window_height property, width is window_width and the
horizontal alignment is given by window_alignment.
"""
screen = self.window.get_screen()
height = self.client.get_int(KEY('/general/window_height'))
width = 100
halignment = self.client.get_int(KEY('/general/window_halignment'))
# get the rectangle just from the first/default monitor in the
# future we might create a field to select which monitor you
# wanna use
window_rect = screen.get_monitor_geometry(0)
total_width = window_rect.width
window_rect.height = window_rect.height * height / 100
window_rect.width = window_rect.width * width / 100
if width < total_width:
if halignment == ALIGN_CENTER:
window_rect.x = (total_width - window_rect.width) / 2
elif halignment == ALIGN_LEFT:
window_rect.x = 0
elif halignment == ALIGN_RIGHT:
window_rect.x = total_width - window_rect.width
window_rect.y = 25 # <<<<<<<<<<<<<<<<<<<<< here
return window_rect