Gnome terminal disable shortcuts

Hello,
How can I disable all terminal shortcuts, I'm interested especially in the Ctrl+PageUp and Ctrl+PageDown.
Thanks a lot,

pntruongan wrote:
twouters wrote:
Fixed it for me, don't know if it's a correct solution.
For gtk-2 apps add this in ~/.gtkrc-2.0
binding "NoKeyboardNavigation" {
unbind "<shift>F10"
class * binding "NoKeyboardNavigation"
For gtk-3 apps like gnome-terminal and nautilus I created a new file: ~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "<shift>F10"
gtk-key-bindings: NoKeyboardNavigation
[edit]I did have to close _all_ terminal windows before these changes were in effect.[/edit]
Worked beautifully for me. This problem has been haunted me for years until somebody point me to this thread recently, thank you very much.
Well, you can't be faulted for trying to disable this with the general settings facilities. The point of GNOME is an integrated environment. If that is the only solution, it is an oversight on the part of the GNOME devs in terms of said integration.
Last edited by Avant-texte (2012-02-26 06:46:24)

Similar Messages

  • Cannot start xconsole or gnome-terminal after update

    I use fluxbox, and I have gnome-terminal bound to a keyboard shortcut as well as a menu item. However, since upgrading to GNOME 2.26, gnome-terminal would not start. There is no visual indication of failure; the window just doesn't show up.
    I also tried xconsole (by adding xconsole to the menu through TTY), and I get a message saying simply that "couldn't open console"
    I read something about the permissions of /dev/console not being set probably, and that commenting out lines in /etc/fbtab would help, but no such table file exists on my system.
    Thanks in advance for your help.

    I am not sure whether the following patch makes sense but it fixes aforementioned problems with gnome-terminal.
    By following the suggestion from http://bugzilla.gnome.org/show_bug.cgi?id=564649 I have created the following patch:
    --- src/terminal.c 2009-03-30 18:17:08.000000000 +0100
    +++ src/terminal.c 2009-05-09 21:14:25.129888742 +0100
    @@ -448,11 +448,11 @@
    * session bus running), we'd crash later on. Tell the user about it
    * now, and exit. See bug #561663.
    - if (!gconf_ping_daemon ())
    - g_printerr ("Failed to contact the GConf daemon; exiting.\n");
    - exit (1);
    +/* if (!gconf_ping_daemon ()) */
    +/* { */
    +/* g_printerr ("Failed to contact the GConf daemon; exiting.\n"); */
    +/* exit (1); */
    +/* } */
    gtk_window_set_default_icon_name (GNOME_TERMINAL_ICON_NAME);
    and modified the PKGBUILD:
    # $Id$
    # Maintainer: Jan de Groot <[email protected]>
    pkgname=gnome-terminal
    pkgver=2.26.1
    pkgrel=1
    pkgdesc="The GNOME Terminal Emulator"
    arch=(i686 x86_64)
    license=('GPL')
    depends=('gconf>=2.26.0-2' 'vte>=0.20.1' 'startup-notification>=0.9')
    makedepends=('pkgconfig' 'gnome-doc-utils>=0.16.0' 'intltool')
    options=('!emptydirs')
    url="http://www.gnome.org"
    groups=('gnome-extra')
    install=gnome-terminal.install
    source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2 ${pkgname}-${pkgver}.patch)
    md5sums=('49acf3da4c820249b763d636f27e3a46' '0862775e42f767b9dc4a1f59bbd9e527')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -p0 < ${startdir}/${pkgname}-${pkgver}.patch
    ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --disable-scrollkeeper || return 1
    make || return 1
    make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
    install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
    gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-terminal ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
    rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
    I installed modified gnome-terminal and works like a charm as a standalone application in my xmonad window manager session without tweaking env vars, gconf, dbus or gnome-settings-daemon.
    Cheers, George

  • Gnome-terminal problems

    Hi there,after upgrade to gnome-terminal 3.12.1-1,I found some errors appears :
    First, when I want to open a new terminal use my custom shortcuts Ctrl+Alt+T,sometimes it will make the whole screen freeze, and I have to switch to another TTY to kill it.Then I check my system log, there are many warnings like:
    org.gnome.Terminal[958]: (gnome-terminal-server:7346): GLib-GObject-WARNING **: g_object_weak_unref: couldn't find weak ref 0x7faec0b2c420(0x14e1550)
    Is there something wrong ?I also try to compile it by myself , but it gives a warning:
    server.c: In function ‘main’:
    server.c:113:5: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
         (void) chdir ("/");
         ^
    are all the problems caused by this ?How could I handle this, can anyone fix that?Thanks for your works.Sorry for my poor English.

    That compiler warning is probably benign (harmless).  The function appears to change the working directory and then return a void pointer.  The pointer is not used because, apparently, in this case it is not needed.

  • Cannot use byobu shotcut in gnome-terminal after upgrading GNOME 3.12

    I cannot use byobu to create a vertical pane in gnome-terminal after upgrading to gnome 3.12.
    The shortcut of creating vertical pane is Shift+F2. When I press these keys, there is `6~' showing
    in the terminal.
    I have tried this key binding in urxvt terminal. It still doesn't work. However, when I tried in Xfce-terminal,
    byobu worked well.
    Any ideas? Many thanks.

    nashamri wrote:
    Okay I think I found a workaround, Byobu depends on tmux and the same issue is happening with tmux with Shift and all the function keys.
    So to get things working, just set the env variable $TERM to "screen-256color"
    $ export TERM=screen-256color
    and then run byobu again. I'm not sure if this will break other things, I'll report back if I find anything.
    Thank you so much for this workaround! I already discussed the topic here without any success: https://bbs.archlinux.org/viewtopic.php?id=184603.
    Regards,
    eNauz

  • Gnome-terminal on login

    Can't seem to figure out why the Gnome-terminal automatically starts up on the desktop after I have logged in via gdm.
    Running ArchLinux 'Don't Panic'. Anybody know how I can disable this ?
    TIA/aakeg

    Go to the preferences menu, select sessions, locate your gnome-terminal and delete it from there. I guess your session was saved with gnome-terminal opened, it will open it again every time unless you delete it from the session or save a new session without it.

  • No scrolling when viewing man pages with Gnome terminal?

    Hi all,
    I have just installed Oracle Solaris 11 on x86. For a long time I've used Solaris 9 on SPARC. I like the new OS, but I'm having a problem viewing man pages with Gnome terminal. When I view a long man page, e.g., "man newfs", I don't get a functional scroll bar on the right hand side of the window. And although the space bar works to advance the page, when I reach the end, it doesn't return to the command prompt. It just beeps, prints "END", and I can only exit by closing the window. Can anyone tell me how to fix this? Suggestions would be much appreciated.
    Many thanks,
    Chris Tidy

    It does sound like you're using "less" instead of more. When you see the "(END)" prompt you can simply type "q" and it will exit back to the command line prompt making it unnecessary to close the window. See the "less" manual page for more detail on the less command. Under Solaris 9 the paging was done with the "more" command. If you set the PAGER environment variiable to "more" the man page will use more and revert to the behavior you'd be used to with Solaris 9. Less erases the text you've already read when you type that final "q" which is a behavior I don't like. I didn't bother to determine if there is a way to fix that with less, I just went back to more. The choice between "more" and "less" is a personal preference.

  • [SOLVED] Gnome 3.12 : gnome terminal does not run anymore

    I had the following message when trying to run gnome-terminal after updating to 3.12:
    Error creating terminal: Message did not receive a reply (timeout by message bus)
    I have found a fix, so I'll share it with the community. The problem was that I had vte3-mosh-fix installed from the aur, version 0.34.9 and that gnome-terminal now requires vte3 0.36.0.
    Switching to the official vte3 package fixes the issue.

    Thank you for posting the solution.  I would have never even remembered that I had installed that mosh fix, let alone thought to remove it.

  • Urxvt vs gnome-terminal font style difference

    Hi All,
    I`m using ubuntu mono font with cleartype patches for my terminal. On gnome-terminal the fonts look good  but on rxvt-unicode they look different (more sharp, thin and wide).
    How do I make the fonts look good in urxvt just like gnome-terminal?
    In the screenshot above, left side is gnome-terminal and right is rxvt-unicode.
    Here is the relevant chunk from ~/.Xresources:
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hintstyle: hintslight
    URxvt*font: xft:ubuntu mono:size=13:style=medium:antialias=true
    URxvt*boldFont: xft:ubuntu mono:size=13:style=medium:antialias=true
    Thanks.

    orschiro wrote:You need to install rxvt-unicode-patched from the AUR as by default urxvt has some font rendering problems.
    Thanks. I should have mentioned this before, I`m using rxvt-unicode-256xresources from AUR. This packages has same patches as rxvt-unicode-patched. However, I have tried both rxvt-unicode-patched and rxvt-unicode-256xresources and both versions have the same issue.
    On the flip side, I removed the xft,freetype2 and cairo cleartype patches and installed -ubuntu patches. With this I was able to get the desired quality in urxvt, but then gnome-terminal,emacs and other X apps get the bad font rendering.
    Unfortunately, I do no understand the details of font configuration like antialias-ing, hinting etc to tweak this.
    Last edited by acewin (2011-10-17 12:33:24)

  • Gnome 3.12 cannot launch gnome-terminal with sudo

    I am suffering from a problem that seems similar to the thread https://bbs.archlinux.org/viewtopic.php?id=180103 and https://bbs.archlinux.org/viewtopic.php?pid=1402702 but since they are marked solved I am opening my own.
    My real problem is I use this encrypted USB stick called an ironkey. Without going into too much detail, in order to unlock the encrypted partition on it I need to run an executable on it, typically like this:
    sudo /run/media/ccooper/IronKey/linux/ironkey
    I am getting the error
    Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1
    The ironkey launcher for some reason spawns a new terminal to ask for my passphrase, which is the problem.
    I have narrowed it down to just being unable to launch gnome-terminal with sudo or as root.
    So in summary, i can launch a gnome-terminal as my normal user, but not with sudo. I also cannot sudo -i and launch a gnome-terminal either.
    I have run the localectl and localegen commands, as described as the "fix" but they do not help me.
    # localectl
    System Locale: LANG=en_US.UTF-8
    VC Keymap: n/a
    X11 Layout: n/a

    Thanks for the reply OOO, I'm just about to open bug for gnome (did a break for lunch )
    Are you still suffering from the issue?
    can you please provide some details, for example your gnome version and if you have gnome-screensaver and or xscreensaver installed and or activated?
    are you using GDM or lightDM?
    I noticed from: https://wiki.archlinux.org/index.php/GNOME that the display manager has role in the locking/screesaver mechanism:
    Note: Native support for screenlocking in GNOME is provided by GDM. If you choose to not use GDM you will need to use a different screen locking program such as XScreenSaver.
    about your say for Antergos,
    I would like to direct you to: distrowatch
    Antergos using standart arch and AUR packages (managed by packman), I would say that Antergos is arch, just with graphical installer..
    If you think that it's not arch, we can continue and argue about this fact, but I would like to concentrate on trying to understand and resolve the "blank screen" issue (that I believe is actually a gnome issue )
    opened: https://bugzilla.gnome.org/show_bug.cgi?id=737256
    please add your info there as well.
    Thanks,
    Elia.

  • [solved] Internal padding in gnome-terminal

    Hi there,
    Is there a way to define an internal padding in gnome-terminal of Gnome 3.8?
    The output is too close to the window borders and I would like to have them placed a bit more inside.
    At the moment it looks like that: http://i.imgur.com/QlVPrFf.png
    Thanks!
    EDIT:
    To move the terminal output away from the window borders create the stylesheet ~/.config/gtk-3.0/gtk.css with the following setting:
    TerminalScreen {
    -VteTerminal-inner-border: 10px 10px 10px 10px;
    Last edited by orschiro (2013-05-26 20:15:42)

    On most recent Gnome 3.16 we need to create the stylesheet ~/.config/gtk-3.0/gtk.css with the following setting:
    VteTerminal,
    TerminalScreen {
    padding: 10px 10px 10px 10px;
    -VteTerminal-inner-border: 10px 10px 10px 10px;
    Ref.: https://wiki.archlinux.org/index.php/GN … e_terminal

  • Gnome-Terminal can't open links anymore

    Hey
    I'm using Awesome as "DE" and gnome-terminal as my default terminal.
    The Problem is that I can't open links in gnome-terminal anymore (through right click->open link). I get the Error:
    Could not open the address "$Link"
    Operation not supported
    In the "gnome-default-applications-properties" I set "Custom" and used "chromium" as command.
    Does somebody maybe know what the problem could be or at least where I can get a bit more error logs?
    greetings
    vIiRuS

    What is the output when you run 'x-www-browser' in a console?  It *should* work as I just had to investigate the very same issue this past weekend and it cleared up the problem for me.
    Edit: Oh wait, I just re-read your first post...instead of right-clicking, try control+click.  That's what I use.
    Last edited by thayer (2010-08-03 19:35:11)

  • Root in Gnome Terminal has wrong $PATH [Solved]

    Hello
    wehn i open a Root terminal in gnome the Root user hasn't  the full PATH (only /usr/ucb:/bin:/usr/bin:/etc)
    I have no idea what is wrong.
    Thanks for every answer.
    Last edited by ZeroCool (2009-10-12 21:06:34)

    Stefan Husmann wrote:This bug is confirmed by a user  in german forum. B, you are right, but a normal su should take the environment from the underpriviliged user who switches to root, and not to something insane. Where does this /usr/ucb come from? The path does not even exist.:/
    Big Thanks for this information Now i know what is it.
    When i use
    gksudo -l gnome-terminal
    i became
    [zerocool@bruel ~]$ gksudo -l gnome-terminal
    (gksudo:15810): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
    (gksudo:15810): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
    (gksudo:15810): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
    (gksudo:15810): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed

  • Gnome terminal doesn't launch

    Hey I just installed gnome on a fresh install of arch but if I try to login via GDM and launch gnome terminal I get the error "Error constructing proxy for org.gnome.Termina:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 8". This is running the latest gnome in the repo (not testing).

    i hope this helps http://bbs.archlinux.org/viewtopic.php?id=180103

  • [sovled] gnome3.12 locale issue, cannot open gnome-terminal

    I update gnome from 3.10 to 3.12, everything works fine except that I cannot open gnome-terminal, the error message shows
    (process:2410): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
    Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1.
    The other problem is that I cannot start fcitx(I use it to input chinese) either, there is somethings wrong in my locale, when I type 'locale ' it shows
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_MESSAGES to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=en_US-UTF-8
    LC_CTYPE=en_US-UTF-8
    LC_NUMERIC="en_US-UTF-8"
    LC_TIME="en_US-UTF-8"
    LC_COLLATE=C
    LC_MONETARY="en_US-UTF-8"
    LC_MESSAGES="en_US-UTF-8"
    LC_PAPER="en_US-UTF-8"
    LC_NAME="en_US-UTF-8"
    LC_ADDRESS="en_US-UTF-8"
    LC_TELEPHONE="en_US-UTF-8"
    LC_MEASUREMENT="en_US-UTF-8"
    LC_IDENTIFICATION="en_US-UTF-8"
    LC_ALL=
    I try to reinstall the glibc or regenerate the locale-gen, but none of them solve the problem,  so can anyone help me? thanks.
    Last edited by wntyygtwxf (2014-04-11 10:25:48)

    I have resolved this issue. The reason I guess is also "locale"
    "$localectl" output "System Locale: n/a" and I check the /etc/locale.conf I found this file is lost.
    So after I press below command and reboot the machine, gnome-terminal could be started.
    # localectl set-locale LANG="en_US.UTF-8"
    Thanks all!
    gogoer wrote:
    I don't meet C locale error message after I exec gnome-terminal. Although that, I post below output. 
    ~  locale -a
    C
    en_US
    en_US.iso88591
    en_US.utf8
    POSIX
    zh_CN
    zh_CN.gb18030
    zh_CN.gb2312
    zh_CN.gbk
    zh_CN.utf8
    ~  localectl
    System Locale: n/a
    VC Keymap: n/a
    X11 Layout: n/a
    clfarron4 wrote:@gogoer, did you also get a message about the C locale, or is this an unrelated issue (in which you need to start a new thread)?

  • [SOLVED] Odd font spacing in gnome-terminal

    Hi guys, i'm new to Arch and i'm loving it: everything is working flawlessly apart from monospaced fonts that look more spaced than what i'm used to (Ubuntu), here is what i'm talking about:
    I tried -lcd and -ubuntu packages, changed hintstyle to both full/medium/slight but all to no avail, do you have any ideas?
    Here is my configuration, that i'm using in Ubuntu and Arch right now:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font">
    <edit name="autohint" mode="assign"><bool>false</bool></edit>
    <edit name="antialias" mode="assign"><bool>true</bool></edit>
    <edit name="hinting" mode="assign"><bool>true</bool></edit>
    <edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
    <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
    </match>
    </fontconfig>
    Thank you in advance!
    <edit>
    Some clarifications: the configuration does get applied, so it's not due to misplaced configuration files, the font tracking just doesn't look right.
    The depicted font in the screenshots is Menlo, but any other monospaced font, such as the Droid Mono, will look wrongly spaced.
    </edit>
    Last edited by bmanuel (2011-11-06 11:12:45)

    Oh well, it seems i got it: it seems that just selecting a size of 7.5 instead of 8 get exactly the same spacing as if using a size of 8 in Ubuntu, this without installing any -ubuntu/-lcd/-cleartype patches, only vanilla arch packages.
    The dumb gnome-3 new font selector will *not* permit selecting intermediate sizes and won't let you enter "7.5", so fire up gconf-editor and just change the value for apps.gnome-terminal.profiles.Default to be, as in my case, "Menlo 7.5".
    Finally, sensible spacing in my terminals!

Maybe you are looking for