mattersbas.blogg.se

How to use guake terminal
How to use guake terminal




how to use guake terminal

Window_rect = screen.get_monitor_geometry(0) Change monitor number to 1, as suggested above. To be able to do this you need to do 2 things.

how to use guake terminal

it will start from 0 but x coordinate will change and it should be equal to width of you left side monitor. The solution is very simple, as you want to align your Guake screen to your right hand side monitor so in starting position (x, y) of screen, y co-ordinate is going to be same i.e. Window_rect.x = total_width - window_rect.widthīasically, it uses 1 as the monitor index and later on, adds the right screen width to the start point display of the guake window Right_window_rect = screen.get_monitor_geometry(0) Window_rect.x = (total_width - window_rect.width) / 2 Window_rect.width = window_rect.width * width / 100 Window_rect.height = window_rect.height * height / 100 # see if we don't have another screen, and if so, use the first one Window_rect = screen.get_monitor_geometry(monitor) # future we might create a field to select which monitor you # get the rectangle just from the first/default monitor in the Halignment = _int(KEY('/general/window_halignment')) Height = _int(KEY('/general/window_height')) Horizontal alignment is given by window_alignment. Is the window_height property, width is window_width and the """Gets the final size of the main window of guake. What I did was to edit my /usr/bin/guake/ file replacing the get_final_window_rect method with this: def get_final_window_rect(self):

how to use guake terminal

I use two monitors and wanted Guake to be displayed on the right one (where by default it is displayed on the left one).






How to use guake terminal