You are not logged in.
Pages: 1
I use xfce4-terminal with the --drop-down option (in fullscreen) and have a keybind set to show/hide this terminal.
When the terminal renders, there's a 1 pixel white border around the terminal, and due to this, my font doesn't align to the bottom due to the 2px of height taken by the border.
I looked through the settings and I couldn't find the option to turn this off. I set up an environment and cloned the git repo for xfce4-terminal, so if any devs want to help me find a way to hack at it to not show the white border that would be great, Thanks!
Offline
I looked through the settings and I couldn't find the option to turn this off. I set up an environment and cloned the git repo for xfce4-terminal, so if any devs want to help me find a way to hack at it to not show the white border that would be great, Thanks!
diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index 0b763b5..3dd7ed8 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -256,9 +256,9 @@ terminal_window_dropdown_init (TerminalWindowDropdown *dropdown)
/* adjust notebook for drop-down usage */
gtk_notebook_set_tab_pos (GTK_NOTEBOOK (window->notebook), GTK_POS_BOTTOM);
- gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), TRUE);
+ gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), FALSE);
terminal_window_notebook_show_tabs (window);
- terminal_util_set_style_thinkess (window->notebook, 1);
+ terminal_util_set_style_thinkess (window->notebook, 0);
/* actions we don't want */
action = gtk_action_group_get_action (window->action_group, "show-borders");
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I looked through the settings and I couldn't find the option to turn this off. I set up an environment and cloned the git repo for xfce4-terminal, so if any devs want to help me find a way to hack at it to not show the white border that would be great, Thanks!
diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c index 0b763b5..3dd7ed8 100644 --- a/terminal/terminal-window-dropdown.c +++ b/terminal/terminal-window-dropdown.c @@ -256,9 +256,9 @@ terminal_window_dropdown_init (TerminalWindowDropdown *dropdown) /* adjust notebook for drop-down usage */ gtk_notebook_set_tab_pos (GTK_NOTEBOOK (window->notebook), GTK_POS_BOTTOM); - gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), TRUE); + gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), FALSE); terminal_window_notebook_show_tabs (window); - terminal_util_set_style_thinkess (window->notebook, 1); + terminal_util_set_style_thinkess (window->notebook, 0); /* actions we don't want */ action = gtk_action_group_get_action (window->action_group, "show-borders");
Awesome! Before I came to ask for help, I set
gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), TRUE);
to
gtk_notebook_set_show_border (GTK_NOTEBOOK (window->notebook), FALSE);
but I didn't see
terminal_util_set_style_thinkess (window->notebook, 1);
So it ended up not working. I think it was because of the misspelling of thickness, haha!
Is there a plan to add this to the settings in the drop down section?
Anyway, thanks for the help!
Last edited by paull (2015-05-26 15:37:03)
Offline
Are you sure you have the latest from git? See: http://git.xfce.org/apps/xfce4-terminal … dropdown.c - the line #261 exits (and yes, for some reason thickness is mis-spelled).
You need to kill all instances of xfce4-terminal (or log out and back in again) for it to work. Or for testing purposes, run it with the "--disable-server" parameter so it runs in a new instance:
xfce4-terminal --disable-server --drop-down
Is there a plan to add this to the settings in the drop down section?
Not that I am aware of - its currently hard-coded.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yup, it works now! Thanks for the help.
Offline
There is a bug on this. You might like to add a comment there https://bugzilla.xfce.org/show_bug.cgi?id=10297
Offline
There is a bug on this. You might like to add a comment there https://bugzilla.xfce.org/show_bug.cgi?id=10297
Ha-ha - and I commented on the bug report and promptly forgot about it. Growing old is not all its made out to be.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Growing old is not all its made out to be.
No, it's even more...
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
Growing old is not all its made out to be.
Yeah - but think of the alternative.
Laughing,
MDM
Offline
ozjd wrote:There is a bug on this. You might like to add a comment there https://bugzilla.xfce.org/show_bug.cgi?id=10297
Ha-ha - and I commented on the bug report and promptly forgot about it. Growing old is not all its made out to be.
Well it was nearly two years ago :-) . Thanks for updating it, with the patch we might see some action on it.
Offline
Pages: 1
[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 562.91 KiB (Peak: 579.76 KiB) ]