Gnome-terminal weird square

Hello,
I'm having a problem with gnome-terminal. I'm getting a weird square where it should just be a directory listing.
http://i36.tinypic.com/aw49k3.jpg - Pictures are better than words.
The character encoding is set to UTF-8, and my PS1="" line is:
PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:(\033[01;34m\]\w\[\033[00m\])\$ "
I don't have this problem in urxvt... Any ideas?

Looks like an escape was missing. Not sure why urxvt wasn't affected...
Does the following work as desired?
PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:(\[\033[01;34m\]\w\[\033[00m\])\$ "
cheers,

Similar Messages

  • Weird Gnome-Terminal font issue

    So i reinstalled arch yesterday and i'm having a problem with font rendering in gnome-terminal. Some letters will disappear, leaving the i-beam.
    It only happens sometimes, and happened on my previous install, but i don't know what i did to fix it then.
    Here's what it looks like
    Not sure what's causing it. I've tried other fonts, and it still happens. Atm i'm using Droid Sans Mono and i have the ubuntu font patches. Though i was having the issue before with the lcd font patches.

    Knute wrote:I was a help desk technician for many years, and learned that sometimes the best question to ask was "Is it plugged in?"
    Me too.
    And since most of installing arch and DE's is handled by pacman and not the installation media, it seems kind of irrelevant.
    I'm thinking it has to do with compositing or Nvidia drivers.
    I'm also getting some rendering problems in firefox, if i switch tabs, the tab will switch but the page will not. And i'll have to keep switching back and forth to get the tab switched.
    I'm currently running kernel26-ice with the latest nvidia proprietary drivers. I guess i'll try without compiz and see how it goes...

  • Weird Square Corner Window Decorations with GTK+ 3.16

    For some reason all GTK3 applications have weird square corners since I updated to GTK+ 3.16. Here is a screenshot of a music program I'm making exemplifying this problem: http://i.imgur.com/vMf3MUO.png
    It happens with ALL GTK3 applications.
    Here is my gtk.css in my ./config/gtk-3.0 folder of my home directory:
    .window-frame
    border-width: 5px;
    box-shadow: none;
    margin: 5;
    Is there anything in that file I can change to fix this problem? I'm using Fluxbox with compton.

    Even with the new completely updated Vertex theme downloaded from https://github.com/horst3180/Vertex-theme my title bars and gnome tweak tool are white and don't look anything like the screenshots of the creator. What are the potential causes of this? I have reinstalled all of gnome and everything but I just get back to the same appearance.

  • ( SOLVED )gnome-terminal, su, sudo, gksu, gksudo does not work

    Hello,
    In my fresh installed gnome3 graphical environment, in gnome-terminal, I can not gain root access.
    I've tried diverse su commands.
    1. su command, ends with:
    su -
    Password:
    su: Authentication failure
    2. sudo command, ends with:
    sudo -l
    [sudo] password for root:
    Sorry, try again.
    [sudo] password for root:
    Sorry, try again.
    [sudo] password for root:
    sudo: 2 incorrect password attempts
    Of course - each time, I typed correct password.
    In my sudoers file, group wheel ( into which belongs user I logged in ) has permissions to execute any command.
    3. gksudo with debug:
    gksudo -ld gnome-terminal
    No ask_pass set, using default!
    xauth: /tmp/libgksu-stbGos/.Xauthority
    STARTUP_ID: gksudo/gnome-terminal/879-0-Bex_TIME0
    cmd[0]: /usr/bin/sudo
    cmd[1]: -H
    cmd[2]: -S
    cmd[3]: -p
    cmd[4]: GNOME_SUDO_PASS
    cmd[5]: -u
    cmd[6]: root
    cmd[7]: --
    cmd[8]: gnome-terminal
    buffer: -GNOME_SUDO_PASS-
    brute force GNOME_SUDO_PASS ended...
    Yeah, we're in...
    sudo: 1 incorrect password attempt
    xauth: /tmp/libgksu-stbGos/.Xauthority
    xauth_env: /var/run/gdm/auth-for-tangram-9JYTNt/database
    dir: /tmp/libgksu-stbGos
    I've been asked for my password, not root, after typing I get "incorrect password attempt", if I type root pwd I get the same.
    4. Same with this command:
    gksu -ld gnome-terminal
    No ask_pass set, using default!
    xauth: /tmp/libgksu-SBPcOB/.Xauthority
    STARTUP_ID: gksu/gnome-terminal/1028-0-Bex_TIME0
    cmd[0]: /usr/bin/sudo
    cmd[1]: -H
    cmd[2]: -S
    cmd[3]: -p
    cmd[4]: GNOME_SUDO_PASS
    cmd[5]: -u
    cmd[6]: root
    cmd[7]: --
    cmd[8]: gnome-terminal
    buffer: -GNOME_SUDO_PASS-
    brute force GNOME_SUDO_PASS ended...
    Yeah, we're in...
    sudo: 1 incorrect password attempt
    xauth: /tmp/libgksu-SBPcOB/.Xauthority
    xauth_env: /var/run/gdm/auth-for-tangram-6RCSoJ/database
    dir: /tmp/libgksu-SBPcOB
    In multi-user-mode I can login to root account.
    Last edited by tangram (2013-12-23 08:42:09)

    tangram wrote:
    Hurrican, ok, there is no need to install antother terminal, as I wrote it did not work also in xterm.
    Yesterday evening, tired and sad that gk(su|sudo) still does not work,
    as the "last chance idea", I logged in into multi-user mode ( init level 3 ) and changed root's password,
    then loged in into graphical mode ( init level 5 ), start gnome-terminal and suddenly ... command "su -" started to work.
    By the way, similar solution ( but with chroot ) has suggested Gulver in his post ( this thread, answer #2 ).
    The question is, why root's password, set during install, after finished installation is recognized in text mode, but not im graphical ?
    First root's password was really simple, like "dog4356", without any national chars.
    You're right. I don't even have xterm installed so I guess I just singled out gnome-terminal and forgot that xterm also wasn't working.
    Forgive me for my shaky advice. Like you I've been super busy, and sweating out a fever of 102 degrees (that's Fahrenheit no my
    blood wasn't boiling ). Anyways, glad you got it working. After reading over the whole thread and thinking about it for a little bit, I
    can't really make a good guess as to what was happening.
    I'm sure you probably had tried this, but you could have typed the password out in the command line so you could see it. If there was
    something wrong with it, it would have shown up there as well. If it was perfectly fine, then it would have been very, very weird.
    The important thing is you got it working.
    Merry Christmas.

  • Pacman: no network connection in gnome-terminal since update.

    Since the upgrade to Gnome 2.30 I can not use any programs that require a network connection in gnome-terminal. The network works fine in Xterm and tty.
    To get an internet connection I use networkmanager-pptp to connect to a VPN, and I have a proxy server set in gnome-network-properties.
    Last edited by Rodan (2010-04-05 14:56:31)

    Rodan wrote:
    Since the upgrade to Gnome 2.30 I can not use any programs that require a network connection in gnome-terminal. The network works fine in Xterm and tty.
    To get an internet connection I use networkmanager-pptp to connect to a VPN, and I have a proxy server set in gnome-network-properties.
    weird, i am gonna look into this and inform you when i get some info. It seems like you have to edit gconf using gconf-editor.
    Last edited by raj7095 (2010-04-05 02:11:25)

  • Gnome-terminal ignoring ssh keyring when launched with --maximize flag

    So I noticed something weird when I tried launching gnome-terminal with the --maximize flag my keyring for my  ssh rsa key stopped working. It would ask for the password, and would still ask for it after I've entered it once. It works fine when I launch it without the option, but I don't see how the maximize flag could do this. Any ideas on why this is happening and how to fix it?

    hiushoz wrote:Again if only the google search results were
    a) relevant
    b) understandable
    then i wouldn't be on here.
    All I'm trying to do is get an answer to my question yes good no oh well. I understand moderating a forum is tough. Just pleae have some tolerance.
    @Cerales.
    Which of the two criteria do you not understand.
    @defears.
    Thanks for the advice. The thing is when I go
    exec ck-launch-session gnome-session
    the terminal briefly whines about not being able to open the display and logs me out. Even sudoing the same command doesn't change that.
    Furthermore
    ck-launch-session gnome-session
    nor
    gnome-session
    do the job.
    The funny thing is when I add to ~/.xinitrc the line you mentioned it launches. There's no annoying login terminal spouting error messages. Sadly they still exist in the output of tty1. Also some panel widgets like the network widget still aren't working but that I'll go about fixing separately.
    I'm just wondering what is wrong. Can someone please help.

  • 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-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.

  • 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

  • Weird square in Mavericks

    Hi everyone!
    Since I've installed OS X Mavericks in my MBP - laptop, sometimes I notice "weird square" on my screen. I dont think that my laptop's screen is broken because example when I noticed the square in Safari's address bar and moved it the square moving with it, and when I quit Safari, the mystery square disappeared and then i opened Safari again and the square didn't show anymore. That is happened about nine times after Mavericks and when I have Mountain Lion, there wasn't nothing squares like now.
    I took a screen shot today when the mystery square came to Safari:
    https://dl.dropboxusercontent.com/u/43447916/Apple/problem.png
    Can anybody help me with that?

    Hello Yarno90,
    Thank you for the details of the issue you are experiencing with the box on your display of your MacBook Pro.  I would be concerned about this too.
    I found an article with steps to troubleshoot issues with displays.  This article is for internal and external displays, so you can skip any steps referring to an external display.  I recommend reviewing the full article, but this step specifically stands out to me:
    Reset the system
    You can reset the Mac's parameter RAM and SMC.
    You can find the full article here:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Thank you for posting in the Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • Remote not working at all

    I just hooked up my apple TV (that we got 2 years ago) for the first time today.  I get the main language screen and then the random photos on my TV.  the apple tv has a white light but will not do anything when I try to use the remote.  could the ba

  • Mismatch in PS reports BW vs R3 Standard reports

    hello Gurus, I have loaded the 0PS_C04 (Controlling) for PS. The Budget data comapared to R3 figures are matching perfectly. Bu the Actual Cost show big difference. The R3 data using tcode:S_ALR_87013558 shows a very different Actual Cost. The report

  • Is anyone set up to use anycast for internal DNS?

    Good Afternoon, I've been considering using Anycast to provide some redundancy for internal DNS lookups. Configuring DNS and subsequent slave zones in Leopard is easy enough and as I understand it, Anycast is just a way of configuring routers so that

  • Using wildcards in combo box list

    Is it possible to key in the first letter of a member and retrieve all matches? For example, key in the letter A in the combo box and the drop down list is all of the members starting with the letter A. If so, how?This is for a product dimension that

  • Cannot See Database Tables in BI Discoverer Admin

    Hello All - My organization recently upgraded to Discoverer 10g from Discoverer 4i. In 10g the EUL is called BIEUL and in 4i it was called V9EUL. During the upgrade, all the Business Areas belonging to V9EUL in 4i were assigned to BIEUL in 10g. I'm n