Using rxvt-unicode as an application launcher

So I followed the wiki and have the following command bound to Super+BackSpace:
$ urxvt -geometry 80x3+480+320 -name 'bashrun' -e sh -c "/bin/bash -i -t"
The niggle I'm having is that the window is still open even after I've launched chromium or whatever. Ideally I'm looking for something to quickly and easily add to the above command. I did disocover that
$ (chromium &); exit
does what I'm looking for, but it's somewhat unwieldy to type, Any suggestions?

billodwyer wrote:I'm using Openbox, so obviously I can use the trackpad to summon the root-menu, and I have the same menu bound to Super+Space. It just doesn't feel as efficient as possible to browse through the menu using either the keyboard or the mouse. My laptop has limited space so I'm keen to avoid installing packages that I don't absolutely need. When I discovered the urxvt launcher functionality, it seemed a good way to go.
I just bind commands to keys to launch things.
This would be an example:
<keybind key="Super-w">
<action name="Execute">
<command>termite -e weechat-curses</command>
</action>
</keybind>
I'm not sure if this helps, but I hope it does.
Last edited by Jellicent (2014-01-24 22:35:53)

Similar Messages

  • [SOLVED] Emacs + rxvt-unicode Cursor Bug

    When running emacs inside of a rxvt-unicode terminal, pressing the spacebar advances the cursor as it should, but sometimes it does not erase the cursor from it's previous position.  Entering a third character will finally make this superfluous cursor disappear.
    I have found references to similar issues in an Ubuntu bug report and a livejournal post, both of which date back to 2008.  I am not sure if these issues are directly related or just similar in appearance.  I seem to recall having similar issues with the cursor under emacs around three years ago when I was running Ubuntu and gnome-terminal.
    Has anyone else noticed this?  It's quite distracting when I'm typing in emacs and I've finally become annoyed enough to get this ball rolling.
    Duplicating the Bug
    Open a rxvt-unicode terminal and launch emacs with the following comand:
    emacs -nw
    Create a new emacs buffer named "foo".
    Switch the buffer "foo" to "text-mode".
    Turn on the "visual-line-mode" minor mode.
    Type the following into the emacs buffer, replacing <space> with the actual whitespace (i.e. spacebar) character:
    1234<space>1234<space>1234<space>
    The third space will advance the cursor but not erase the cursor from its previous position, making it look twice as wide.  Entering a third character will advance the cursor once more, and things will look normal again.
    Failed Workarounds
    In my attempt to understand the problem, I have tried a few things which don't seem to help.
    Setting the TERM environment variable to various values including "linux", "screen", "vt100", "vt102", etc.
    Turning cursor blinking on and off in the rxvt-unicode configuration.
    Successful Workarounds
    I have discovered a few workarounds, which may give some clues as to the root of the problem.
    If I use rxvt-unicode to launch an instance of Gnu Screen and run emacs inside of that, the problem disappears.
    If I run emacs emacs inside of an xterm instead of rxvt-unicode the problem disappears.
    If I set column-number-mode in emacs as suggested by the aforementioned livejournal post, the problem will also disappear.
    Last edited by battlepanic (2011-11-21 20:00:53)

    I spoke with someone familiar with rxvt-unicode and got some answers.  It seems that this is likely related to tab characters being output instead of spaces which may be an emacs optimization of some sort.  Turning on the +ptab switch when invoking rxvt-unicode seems to elimnate the issue.  A log of my discussion follows for anyone curious.
    < __OoO__ > battlp: emacs outputs a tab character
    < __OoO__ > battlp: which is "wide"
    < __OoO__ > battlp: so you don't see an extra cursor, just the cursor
    itself is wider
    < __OoO__ > battlp: you can probably work around this emacs issue by
    using "+ptab" when strating urxvt
    < battlp > __OoO__: interesting. Is this "wide" cursor a unique
    feature of urxvt? I've tested all the other terms I can
    think of and haven't seen the same thing.
    < __OoO__ > any temrinal has this
    < __OoO__ > but only urxvt can store tabs
    < __OoO__ > thats mostly useful when you want to paste text and want
    tabs intact
    < __OoO__ > because other terminals always convert tabs to whitespace
    < __OoO__ > sorry, spaces
    < battlp > Not your domain, I know, but any clue why emacs would be
    spitting a tab in this plain "text" mode. It seems
    bizarre.
    < __OoO__ > tab is both a tab character as you are used to
    < __OoO__ > as well as a cursor movement
    < __OoO__ > for emacs, it's probably an optimization
    < __OoO__ > 9000 cpu cycles wasted to avoid an extra space going over
    your serial line
    < __OoO__ > on second thought, its pretty bizarre, because thereis
    only one space
    < __OoO__ > but then, can happen if your screen engine it too
    intelligent
    < battlp > I also can't predict which spaces will do this. Running
    emacs inside of screen eliminates the issue, to, which I
    also don't understand.
    < __OoO__ > likely, screen's engine isn't so cool and uses plain old
    spaces or cursor movements
    < __OoO__ > which spaces - probably the ones falling directly before a
    tab boundary, i.e. at 7th, 15th etc.
    < __OoO__ > column
    < battlp > That sounds like it might be the spots where I'm seeing it.
    Turning on emacs' column-number-mode Make it disappear for
    the most part, except when backspacing.
    < __OoO__ > so will +ptab, which tells urxvt to treat tab as a cursor
    movement only
    < battlp > Just tried to measure it with ruler-mode and of course that
    makes it disappear as well.
    < battlp > Yep, +ptab makes it go away.

  • [SOLVED] rxvt-unicode: disable iso 14755

    Hi,
    I want to disable all the urxvt functionalities associated with the ctrl+shift keys. Is there a way to do this at runtime ?
    The PKGBUILD seems to have the "disable-frills" flag. Then the only thing related to ctrl+shift should be iso 14755.
    I was using rxvt-unicode-256color from AUR before and this was not happening.
    Last edited by X-dark (2011-01-03 16:15:19)

    either compile with --disable-iso14755 or try URxvt* iso14755: False  and URxvt* iso14755_52: False
    Last edited by Mr.Elendig (2011-01-03 16:07:46)

  • [Solved] Rxvt-Unicode-256colors , -pe tabbed extension problem.

    Hello.
    I use rxvt-unicode-256colors for long time.
    Wheb try to run -pe tabbed extension I got following errors:
    iurxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
    urxvt: Can't call method "focus_in" on an undefined value at /usr/lib/urxvt/perl/tabbed line 161.
    urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
    urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
    urxvt: Can't call method "focus_out" on an undefined value at /usr/lib/urxvt/perl/tabbed line 169.
    urxvt: Can't call method "focus_in" on an undefined value at /usr/lib/urxvt/perl/tabbed line 161.
    urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
    urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
    urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
    urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
    urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
    urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
    urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
    urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
    urxvt: Can't call method "key_press" on an undefined value at /usr/lib/urxvt/perl/tabbed line 177.
    urxvt: Can't call method "key_release" on an undefined value at /usr/lib/urxvt/perl/tabbed line 185.
    urxvt: Can't call method "focus_out" on an undefined value at /usr/lib/urxvt/perl/tabbed line 169.
    urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
    urxvt: Can't call method "parent" on an undefined value at /usr/lib/urxvt/perl/tabbed line 82.
    And opened terminal is not responsive
    Thanks for help.
    Last edited by SpeedVin (2009-08-16 19:51:55)

    I just rebuild and reinstall both perl and rxvt-unicode-256colors packages but still have the error
    I think I must give a try to another term and I will quote myself:
    I think I will give chance to another terminal , can you give me some proposition? :)
    -It must be lightweight,tabbed,and flexible :)
    Roxterm is good?
    Phh and it must use my .Xdefaults config
    Last edited by SpeedVin (2009-08-16 19:16:31)

  • [SOLVED] Escape sequences instead of colors in rxvt-unicode

    On a Git cheat sheet I found that I could add nice colors to Git's output, so I edited my ~/.gitconfig by adding:
    [color]
    ui = auto
    [color "branch"]
    current = yellow reverse
    local = yellow
    remote = green
    [color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red bold
    new = green bold
    [color "status"]
    added = yellow
    changed = green
    untracked = cyan
    However, when performing a git log my terminal looks like this:
    ESC[33mcommit 226dcb52565b58952b78fb107d8d9def3ca396abESC[m
    Merge: 8f8af9f 93341d8
    where ESC's colors are reversed. So, instead of yellow commit lines it outputs everything in plain text.
    What's wrong with my configuration? I am using rxvt-unicode 9.15-3.
    Last edited by Marcel- (2012-12-06 13:14:12)

    Someone on the mailing list said that this was due to incorrect parameters to my pager, less. Adding -R to $LESS (or deleting the variable entirely) solved this issue.

  • Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

    The issue described in this thread is still outstanding for a number of users.
    It seems to boil down to this: when using rxvt-unicode with xcompmgr and an Xft font (Liberation Mono, DejaVu Sans Mono, and Terminus were among those tested), the terminal cursor will disappear.  Typing some text and pressing backspace will cause it to reappear.
    Furthermore, the entire window sometimes disappears when switching workspaces in Openbox.  Repeated workspace switches or minimizing / restoring the window (via a panel, such as tint2) can make it reappear.
    A workaround is to set URxvt*cursorUnderline in ~/.Xdefaults, but some users prefer a block cursor.

    The suggestion of installing libxft-lcd was made.  I did so, commented-out the URxvt*cursorUnderline line in ~/.Xdefaults, logged out of X, and restarted slim from tty1.
    % ldd /usr/bin/urxvt | grep Xft
    libXft.so.2 => /usr/lib/libXft.so.2 (0x00007fd35f179000)
    % pacman -Qo /usr/lib/libXft.so.2
    /usr/lib/libXft.so.2 is owned by libxft-lcd 2.2.0-1
    After restarting slim, the problem persists.  After rebooting, the problem still persists.
    xterm does not exhibit this problem, nor does emacs.  I use both programs with libxft and blinking block cursors, and they both work as expected.  This seems to be an issue with running rxvt-unicode in combination with xcompmgr.  From my POV, it doesn't seem that intel drivers are to blame, but I suppose I wouldn't rule them out.
    Last edited by hexadecagram (2011-10-09 21:23:43)

  • Rxvt-unicode 9.16-1 and click to launch url (urlLauncher)

    After upgrading to rxvt-unicode 9.16-1 I found out I can't click to open a url in my browser.
    Turns out
    URxvt.urlLauncher: firefox
    doesn't do anything because http://cvs.schmorp.de/rxvt-unicode/Changes the new version introduced
    INCOMPATIBLE CHANGE: renamed urlLauncher resource to url-launcher.
    Sidenote: https://www.archlinux.org/packages/comm … t-unicode/ says that gtk2-perl is an optional dependency to use the urxvt-tabbed, but I've been using urxvt-tabbed w/o it (even after the update).

    I found this with urxvt-perls; I had to change url-select.launcher to get it working again...

  • Application launched from Windows using Unix Adobe Document Server  Issue

    Hello,<br /><br />Sample application is written to merge two or more pdf files using Adobe Document Server.The sample application is using Webservice and laucnhed from Winodows and the AdobeDocument Server is in Unix.<br />I am getting following error:<br /><br />java.lang.UnsupportedOperationException: DON'T USE read()!!!<br />     at com.adobe.altercast.sdk.utils.FixedLengthInputStream.read(Unknown Source)<br />     at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)<br />     at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)<br />     at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown Source)<br />     at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown Source)<br />     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)<br />     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)<br />     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)<br />     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)<br />     at com.adobe.altercast.sdk.impl.webservice.parsers.SOAPParserBase.parse(Unknown Source)<br />     at com.adobe.altercast.sdk.impl.webservice.envelopes.ResponseEnvelope.parse(Unknown Source)<br />     at com.adobe.altercast.sdk.impl.webservice.methods.WebMethod.invokeRemotely(Unknown Source)<br />     at com.adobe.altercast.sdk.impl.webservice.ServerWebService.invokeWebMethod(Unknown Source)<br />     at com.adobe.altercast.sdk.impl.webservice.ServerWebService.execute(Unknown Source)<br />     at PDFMerge.merge(PDFMerge.java:364)<br /><br />The same application works when I launch from Unix, so I was guessing its the Pdf file paths in windows. I found the following link for UNC path issue for Adobe Document Server:<br />http://support.adobe.com/devsup/devsup.nsf/docs/53397.htm<br /><br />The latest commands.xml file:<br />The xml file for PDF Merge:<br /><?xml version="1.0" encoding="UTF-8"?><commands><br /><loadContent source="file:///c:/pdf/test1.pdf" out="f1"/><br /><loadContent source="file:///c:/pdf/test2.pdf" out="f2"/><br /><assemblePDF><br /><document source="f1"/><br /><document source="f2"/><br /></assemblePDF><br /><saveContent name="file:///c:/pdf/test_merge_ts.pdf"/><br /></commands><br /><br />Still I am having the same error mentioned above.<br /><br />I am using following piece of code to launch webservice:<br />http://UnixServerName:8019/altercast/AlterCast<br /><br />Thanks in advance for any suggestion to resolve my issue.<br /><br />Sridhar

    It might be deliberate, Acrobat and Reader software is not intended to run in a service environment.

  • [SOLVED] Problem launching rxvt-unicode

    $ rxvt-unicode
    bash: rxvt-unicode: command not found
    $ pacman -Q rxvt-unicode
    rxvt-unicode 9.10-1
    PS: I'm having to type all this since copying from xterm refuses to work...
    Last edited by NoobCp (2011-04-10 18:45:01)

    The wiki links to http://pod.tst.eu/http://cvs.schmorp.de … rxvt.1.pod which says
    SYNOPSIS
    urxvt [options] [-e command [ args ]]

  • [SOLVED] Rxvt-unicode fails to paste PRIMARY selection owned by Vim

    Urxvt almost always work with the X PRIMARY selection. i.e., if I select some
    text in Firefox or other applications, I will be able to paste it in urxvt.
    But Vim seems to be an exception. Steps to reproduce:
      1. Select some text ("foo") in Vim, either using the mouse or in visual mode.
         Leave the Vim window open.
      2. In another urxvt window, press Shift-Insert, _nothing_ is pasted.
         Middle mouse click has the same effect as Shift-Insert in urxvt.
      3. Issue the command `xsel -po`, and the text "foo" is printed. This means
         the text is indeed what the X PRIMARY selection holds (or points to).
      4. The text "foo" is also pasted in Firefox by middle mouse click.
         The text "foo" is also pasted in xterm by either middle mouse click or
         Shift-Insert.
      5.1. If you do `xsel -po | xsel -pi`, urxvt will behave like everyone else.
      5.2. Without doing 5.1, quit Vim (:q). After that, "foo" will be pasted in
           urxvt by Shift-Insert.
           What Vim does on quit is documented in its help (:h x11-cut-buffer):
    Vim wrote:
    There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7.  Vim only
    uses CUT_BUFFER0, which is the one that xterm uses by default.
    Whenever Vim is about to become unavailable (either via exiting or becoming
    suspended), and thus unable to respond to another application's selection
    request, it writes the contents of any owned selection to CUT_BUFFER0.  If the
    "+ CLIPBOARD selection is owned by Vim, then this is written in preference,
    otherwise if the "* PRIMARY selection is owned by Vim, then that is written.
    My guesses are:
      * Urxvt somehow requires the cut buffer (CUT_BUFFER0) to sync with the
        PRIMARY selection, otherwise it will fail to request the PRIMARY selection.
      * The reason why text selected from applications other than Vim can be pasted
        just fine in urxvt is probably that they always sync the cut buffer with the
        PRIMARY selection.
    I may be wrong, so please do comment.
    If my conclusion proves to be right, I will file a bug report to rxvt-unicode.
    Edit: This issue is fixed in rxvt-unicode 9.12.
    Last edited by lolilolicon (2011-07-02 16:31:45)

    lolilolicon wrote:
    Urxvt almost always work with the X PRIMARY selection. i.e., if I select some
    text in Firefox or other applications, I will be able to paste it in urxvt.
    But Vim seems to be an exception. Steps to reproduce:
      1. Select some text ("foo") in Vim, either using the mouse or in visual mode.
         Leave the Vim window open.
      2. In another urxvt window, press Shift-Insert, _nothing_ is pasted.
         Middle mouse click has the same effect as Shift-Insert in urxvt.
      3. Issue the command `xsel -po`, and the text "foo" is printed. This means
         the text is indeed what the X PRIMARY selection holds (or points to).
      4. The text "foo" is also pasted in Firefox by middle mouse click.
         The text "foo" is also pasted in xterm by either middle mouse click or
         Shift-Insert.
      5.1. If you do `xsel -po | xsel -pi`, urxvt will behave like everyone else.
      5.2. Without doing 5.1, quit Vim (:q). After that, "foo" will be pasted in
           urxvt by Shift-Insert.
           What Vim does on quit is documented in its help (:h x11-cut-buffer):
    Vim wrote:
    There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7.  Vim only
    uses CUT_BUFFER0, which is the one that xterm uses by default.
    Whenever Vim is about to become unavailable (either via exiting or becoming
    suspended), and thus unable to respond to another application's selection
    request, it writes the contents of any owned selection to CUT_BUFFER0.  If the
    "+ CLIPBOARD selection is owned by Vim, then this is written in preference,
    otherwise if the "* PRIMARY selection is owned by Vim, then that is written.
    My guesses are:
      * Urxvt somehow requires the cut buffer (CUT_BUFFER0) to sync with the
        PRIMARY selection, otherwise it will fail to request the PRIMARY selection.
      * The reason why text selected from applications other than Vim can be pasted
        just fine in urxvt is probably that they always sync the cut buffer with the
        PRIMARY selection.
    I may be wrong, so please do comment.
    If my conclusion proves to be right, I will file a bug report to rxvt-unicode.
    Hi lolilolicon,
    I cannot reproduce the errors from step 2. My system has the following packages:
    gvim 7.3.206-1
    vim-runtime 7.3.206-1
    rxvt-unicode 9.12-1
    To be fair, rxvt-unicode was upgraded to 9.12 recently (I think it was sometime last week), and I also recall vim's visual mode selections NOT being paste-able into a separate urxvt window. But I guess the 9.12 update fixed things. (There are a couple regression fixes with the words "selection" to describe them @ http://cvs.schmorp.de/rxvt-unicode/Changes .) I tested both gvim and regular console vim (visual mode) and it all worked. I also double-checked with `xsel -po`.

  • [SOLVED] Highlighted text in the shell, appearance rxvt-unicode

    Hi,
    Short question, when I highlight text in the shell or when text get highlighted in ncmpcpp or outer app running in the shell it gets basically impossible to read. Because background to text get the same color and strength then the text.
    what setting should I look for to change what it look like when I mark and highlight text in the shell?
    Thank you!
    All the best,
    Christer
    Last edited by agkbill (2012-10-13 20:41:41)

    Additional info.
    I am using i3 as window manager and  terminal emulator "rxvt-unicode-256color"
    .xinitrc
    # set the cursor
    xsetroot -cursor_name left_ptr
    # set German keyboard layout
    # setxkbmap -layout de
    # start xmonad
    #Power management turn off monitor etc
    #xset dpms 0 7200 10800 &
    xset -dpms; xset s off
    # xloadimage laddar bakgrundsbild fick det inte att fungera tillsamans med xcompmgr som man
    # använder för att få genomskinliga terminal fönster mm. Ersätter med bildvisaren "feh"
    #xloadimage -onroot -fullscreen /home/christer/devices-extern/windows7/archlinux/stone_wall_ce.png
    xrdb -merge ~/.Xresources # Denna rad behövs ifall man vill använda TERMINAL/emulator "urxvt"
    feh --bg-scale /home/christer/devices-extern/windows7/archlinux/stone_wall_ce.png
    setxkbmap -layout "us, se" -option "grp:alt_shift_toggle" #alt"grp:caps_toggle"
    xcompmgr -c &
    #xmonad
    #awesome
    exec /usr/bin/i3 -V -d all >~/i3log/i3log-$(date +'%F-%k-%M-%S') 2>&1
    .Xresources
    # transparency - true or false (default)
    #URxvt*transparent: true
    # tint with any color; i.e., blue, red, tomato4, olivedrab2, etc.
    # some nice listings are at:
    # http://www.nisrv.com/drupal/?q=node/11
    # http://www.htmlgoodies.com/tutorials/colors/article.php/3478921
    URxvt*tintColor: white
    URxvt*inheritPixmap: true
    # shading - 0 to 99 darkens, 101 to 200 lightens.
    # Don't use with tintColor; just use a darker or lighter color instead.
    #URxvt*shading: 40
    # scrollback buffer lines - 65535 is max on most machines (64 is default)
    URxvt*saveLines: 12000
    # font color (default is black)
    URxvt*foreground: DarkSlateGray1
    # background color (prior to tinting) (default is white)
    URxvt.depth: 32
    URxvt.background: [10]#black
    # Xft (X FreeType) with Bitstream, DejaVu, Liberation, or Terminus fonts:
    # Fedora/debian packages: libXft/libxft2
    # An anti-aliased font setup with Xft looks fantastic; it can be a bit choppy
    # on older systems. You can always turn off anti-aliasing (antialias=false) if
    # your terminal is sluggish. Use only ONE of the Xft pairs below:
    # Xft: Bitstream fonts
    # Fedora/debian packages: bitstream-vera-sans-mono-fonts/ttf-bitstream-vera
    #URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=12:antialias=true:hinting=true
    #URxvt*boldFont: xft:Bitstream Vera Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
    # Xft: DejaVu fonts
    # Fedora/debian packages: dejavu-sans-mono-fonts/ttf-dejavu
    URxvt*font: xft:DejaVu Sans Mono:pixelsize=12:antialias=true:hinting=true
    URxvt*boldFont: xft:DejaVu Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
    # Xft: Liberation fonts
    # Fedora/debian packages: liberation-mono-fonts/ttf-liberation
    #URxvt*font: xft:Liberation Mono:pixelsize=13:antialias=true:hinting=true
    #URxvt*boldFont: xft:Liberation Mono:bold:pixelsize=13:antialias=true:hinting=true
    # Xft: Terminus fonts
    # Fedora/debian packages: terminus-fonts/xfonts-terminus
    #URxvt*font: xft:terminus:pixelsize=15
    #URxvt*boldFont: xft:terminus:bold:pixelsize=15
    # Traditional fonts - a more traditional font setup in lieu of xft
    #URxvt*font:-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
    #URxvt*boldFont:-*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
    # Replace blue folder colors with a lighter shade for clarity. To
    # set colored folders and files within urxvt, xterm, and aterm, add
    # the following line to your ~/.bashrc ($HOME/.bashrc) file under
    # the heading "# User specific aliases and functions":
    # alias ls="ls -h --color=auto"
    URxvt*color4: RoyalBlue
    URxvt*color12: RoyalBlue
    # scrollbar - true (default) or false
    URxvt*scrollBar: false
    # scrollbar position - left=false (default) or right=true
    URxvt*scrollBar_right: false
    # scrollbar style - rxvt (default), plain, next, or xterm
    URxvt*scrollstyle: plain
    #Fade the text by the given percentage when focus is lost.
    URxvt*enable-fading on
    URxvt*fade 50
    URxvt*fadecolor black
    Biggest problem is when I running console based applications like ncmpcpp or ranger.
    Last edited by agkbill (2012-10-13 08:34:28)

  • Screen: Cannot find terminfo entry for 'rxvt-unicode', works in root

    I'm using screen (http://www.archlinux.org/packages/14519/) and it works fine under root, but it keeps saying it can't find the terminfo entry for anything when I'm under a different user ('linux', 'xterm', 'rxvt-unicode'). First I tried setting URxvt*termName: rxvt (xterm as well), then I tried copying screenrc from /etc/ and /etc/skel/ to my home directory as .screenrc, and finally I tried compiling from source as another user. Does anyone have any ideas how to fix this?

    phrakture wrote:Are you ssh'ing to another machine?
    Nope, I've installed arch on my laptop.
    This error typically happens when you ssh to a machine that does NOT have the terminfo installed.
    I don't know if terminfo is the correct name of the package, but pacman -Qs *term* or *info* or terminfo didn't show anything.
    Could you possibly post your screenrc, just so I can check?
    This is the config I've copied from /etc/skel/ to ~/, if I type nano .screenrc after logging in this is what I'll see.
    Edit: I forgot to say that screen produces the same results in xterm.
    # Example of a user's .screenrc file
    # This is how one can set a reattach password:
    # password ODSJQf.4IJN7E # "1234"
    # no annoying audible bell, please
    vbell on
    # detach on hangup
    autodetach on
    # don't display the copyright page
    startup_message off
    # emulate .logout message
    pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
    # advertise hardstatus support to $TERMCAP
    # termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
    # make the shell in every window a login shell
    #shell -$SHELL
    # autoaka testing
    # shellaka '> |tcsh'
    # shellaka '$ |sh'
    # set every new windows hardstatus line to somenthing descriptive
    # defhstatus "screen: ^En (^Et)"
    defscrollback 1000
    # don't kill window after the process died
    # zombie "^["
    # enable support for the "alternate screen" capability in all windows
    # altscreen on
    # xterm tweaks
    #xterm understands both im/ic and doesn't have a status line.
    #Note: Do not specify im and ic in the real termcap/info file as
    #some programs (e.g. vi) will not work anymore.
    termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
    terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
    #80/132 column switching must be enabled for ^AW to work
    #change init sequence to not switch width
    termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
    # Make the output buffer large for (fast) xterms.
    #termcapinfo xterm* OL=10000
    termcapinfo xterm* OL=100
    # tell screen that xterm can switch to dark background and has function
    # keys.
    termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
    termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
    termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
    # special xterm hardstatus: use the window title.
    termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
    #terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
    termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
    # emulate part of the 'K' charset
    termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
    # xterm-52 tweaks:
    # - uses background color for delete operations
    termcapinfo xterm* be
    # wyse terminals
    #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
    #essential to have it here, as this is a slow terminal.
    termcapinfo wy75-42 xo:hs@
    # New termcap sequences for cursor application mode.
    termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
    # other terminals
    # make hp700 termcap/info better
    termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
    # Extend the vt100 desciption by some sequences.
    termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
    terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
    termcapinfo linux C8
    # old rxvt versions also need this
    # termcapinfo rxvt C8
    # keybindings
    #remove some stupid / dangerous key bindings
    bind k
    bind ^k
    bind .
    bind ^\
    bind \\
    bind ^h
    bind h
    #make them better
    bind 'K' kill
    bind 'I' login on
    bind 'O' login off
    bind '}' history
    # Yet another hack:
    # Prepend/append register [/] to the paste if ^a^] is pressed.
    # This lets me have autoindent mode in vi.
    register [ "\033:se noai\015a"
    register ] "\033:se ai\015a"
    bind ^] paste [.]
    # default windows
    # screen -t local 0
    # screen -t mail 1 mutt
    # screen -t 40 2 rlogin server
    # caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
    # hardstatus alwaysignore
    # hardstatus alwayslastline "%Lw"
    # bind = resize =
    # bind + resize +1
    # bind - resize -1
    # bind _ resize max
    # defnonblock 1
    # blankerprg rain -d 100
    # idle 30 blanker
    Here's the other config file I've tried from /etc/
    # This is an example for the global screenrc file.
    # You may want to install this file as /usr/local/etc/screenrc.
    # Check config.h for the exact location.
    # Flaws of termcap and standard settings are done here.
    #startup_message off
    #defflow on # will force screen to process ^S/^Q
    deflogin on
    #autodetach off
    vbell on
    vbell_msg " Wuff ---- Wuff!! "
    # all termcap entries are now duplicated as terminfo entries.
    # only difference should be the slightly modified syntax, and check for
    # terminfo entries, that are already corected in the database.
    # G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
    # WS this sequence resizes our window.
    # cs this sequence changes the scrollregion
    # hs@ we have no hardware statusline. screen will only believe that
    # there is a hardware status line if hs,ts,fs,ds are all set.
    # ts to statusline
    # fs from statusline
    # ds delete statusline
    # al add one line
    # AL add multiple lines
    # dl delete one line
    # DL delete multiple lines
    # ic insert one char (space)
    # IC insert multiple chars
    # nx terminal uses xon/xoff
    termcap facit|vt100|xterm LP:G0
    terminfo facit|vt100|xterm LP:G0
    #the vt100 description does not mention "dl". *sigh*
    termcap vt100 dl=5\E[M
    terminfo vt100 dl=5\E[M
    #facit's "al" / "dl" are buggy if the current / last line
    #contain attributes...
    termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
    terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
    #make sun termcap/info better
    termcap sun 'up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt'
    terminfo sun 'up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>'
    #xterm understands both im/ic and doesn't have a status line.
    #Note: Do not specify im and ic in the real termcap/info file as
    #some programs (e.g. vi) will (no,no, may (jw)) not work anymore.
    termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
    terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
    # Long time I had this in my private screenrc file. But many people
    # seem to want it (jw):
    # we do not want the width to change to 80 characters on startup:
    # on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
    termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
    terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
    # Do not use xterms alternate window buffer.
    # This one would not add lines to the scrollback buffer.
    #termcap xterm|xterms|xs ti=\E7\E[?47l
    #terminfo xterm|xterms|xs ti=\E7\E[?47l
    #make hp700 termcap/info better
    termcap hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
    terminfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
    #wyse-75-42 must have defflow control (xo = "terminal uses xon/xoff")
    #(nowadays: nx = padding doesn't work, have to use xon/off)
    #essential to have it here, as this is a slow terminal.
    termcap wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
    terminfo wy75-42 nx:xo:Z0=\E[?3h\E[31h:Z1=\E[?3l\E[31h
    #remove some stupid / dangerous key bindings
    bind ^k
    #bind L
    bind ^\
    #make them better
    bind \\ quit
    bind K kill
    bind I login on
    bind O login off
    bind } history
    Last edited by siodine (2007-12-19 20:29:58)

  • Rxvt-unicode, TERM and visible content redraw (CTRL+L)

    Hi,
    I've recently switched to rxvt-unicode (from community) from gnome-terminal. The thing is that with the default TERM=rxvt-unicode-256color I can see the screen being redrawn, e.g. when I hit CTRL+L while I'm in the shell or when I use Page-Down/Up in VIM. It looks as if there was some kind of double-buffering lacking. In other words: open rxvt-unicode and when I hit CTRL+L I can see the shell prompt being redrawn (it's fast but still noticeable).
    The phenomenon doesn't exist in gnome-terminal. What's even more important, it doesn't exist in rxvt-unicode when I'm in tmux (which I have set to use TERM=screen-256color inside).
    What's also worth noting is that when I set TERM to screen-256color in rxvt itself (not using tmux) the flickering while the screen is redrawn is also gone. But I don't want to use it like this - it's never a good idea to mix TERM settings.
    Has anyone solved this problem without setting TERM to some non-rxvt value?
    Last edited by piotr.domagalski (2012-09-16 14:32:46)

    thisoldman wrote:
    I normally have laststatus=2, it's in my default .vimrc.  I'm not surprised at a flicker from vim's status bar, the information has to be reevaluated and the characters redrawn with every cursor movement.
    I don't use transparency with urxvt, could that be an aggravating factor for the prompt flicker?  I also wonder if screen flicker is as noticeable with a different shell or a different prompt?
    Does bash-completion affect the flicker?  It used to affect the redrawing of my PS1 but I haven't had that app installed for a couple of years now.
    No, I don't think it has anything to do with bash-completion. It is not a shell specific problem.
    I think it's something more low level, lack of some buffering or using it if TERM=rxvt-unicode-256color. You can see this effect in many applications (mocp, vim) when you force the terminal to be redrawn with ctrl+l. There's no such flicker with gnome-terminal (haven't tested other vte-based, though).
    And it's not that there's a major flaw in rxvt-unicode because by simply using tmux I can make this flickering stop in all these situations.
    Last edited by piotr.domagalski (2012-09-16 17:52:59)

  • How to Use Interactive Forms in BSP Applications - trouble with demo

    Is anyone else out there having trouble with the subject how to guide? https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e58022-2a39-2a10-69a8-c1a892e2b3f4
    I think I have everything built out correctly but I get the following run time error.
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
    Exception Class CX_SY_REF_IS_INITIAL
    Error Name 
    Program Z_PROCESS_BOOKING_FORM========CP
    Include Z_PROCESS_BOOKING_FORM========CM002
    ABAP Class Z_PROCESS_BOOKING_FORM
    Method DO_REQUEST
    Line 33 
    Long text An attempt was made to execute a dynamic method callon an initial(NULL-) object reference. The reference must refer to an object.
    Following is my code:  line 33 reads as strChecked = node->get_value( ).
    method DO_REQUEST.
    *CALL METHOD SUPER->DO_REQUEST
      data: bookingxml type string.
      bookingxml = request->get_cdata( ).
      data: streamFactory type ref to
      if_ixml_stream_factory.
      data: iStream type ref to if_ixml_istream.
      streamFactory = g_ixml->create_stream_factory( ).
      iStream =
      streamFactory->create_istream_string(
      bookingxml ).
      data: document type ref to if_ixml_document.
      document = g_ixml->create_document( ).
      data: parser type ref to if_ixml_parser.
      parser = g_ixml->create_parser( stream_factory =
      streamFactory
      istream =
      iStream
      document =
      document ).
      parser->parse( ).
      data: node type ref to if_ixml_node.
      data: strChecked type string.
      node = document->find_from_name( name = 'RESERVED'
      strChecked = node->get_value( ).
      data: reserved type BAPISBODAT-RESERVED.
      data: checked type i.
      move strChecked to checked.
      if ( checked = 1 ).
        reserved = 'X'.
      else.
        reserved = ''.
      endif.
      data: custbook type BAPISBONEW.
      node = document->find_from_name( name = 'AIRLINEID'
      custbook-airlineid = node->get_value( ).
      node = document->find_from_name( name = 'CONNECTID'
      custbook-connectid = node->get_value( ).
      data: fd type BAPISBONEW-FLIGHTDATE.
      data: strFd type string.
      node = document->find_from_name( name =
      'FLIGHTDATE' ).
      strFd = node->get_value( ).
      CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
      DATE_EXTERNAL = strFd
    * ACCEPT_INITIAL_DATE =
      IMPORTING
      DATE_INTERNAL = custbook-flightdate
      EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID = 1
      OTHERS = 2
      IF SY-SUBRC <> 0.
    * Do something
      ENDIF.
      node = document->find_from_name( name =
      'CUSTOMERID' ).
      custbook-customerid = node->get_value( ).
      node = document->find_from_name( name = 'CLASS' ).
      custbook-class = node->get_value( ).
      node = document->find_from_name( name = 'AGENCYNUM'
      custbook-agencynum = node->get_value( ).
      node = document->find_from_name( name = 'PASSNAME'
      custbook-passname = node->get_value( ).
      data: pb type BAPISBONEW-PASSBIRTH.
      data: strPb type string.
      node = document->find_from_name( name = 'PASSBIRTH'
      strPb = node->get_value( ).
      CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
      EXPORTING
      DATE_EXTERNAL = strPb
    * ACCEPT_INITIAL_DATE =
      IMPORTING
      DATE_INTERNAL = custbook-passbirth
      EXCEPTIONS
      DATE_EXTERNAL_IS_INVALID = 1
      OTHERS = 2
      IF SY-SUBRC <> 0.
    * Something
      ENDIF.
      data: bn type BAPISBOKEY-BOOKINGID.
      data: return type bapiret2_tab.
      data: errmsg type string.
      CALL FUNCTION 'BAPI_FLBOOKING_CREATEFROMDATA'
      EXPORTING
      RESERVE_ONLY = reserved
      BOOKING_DATA = custbook
    * TEST_RUN = ' '
      IMPORTING
    * AIRLINEID =
      BOOKINGNUMBER = bn
    * TICKET_PRICE =
      TABLES
    * EXTENSION_IN =
      RETURN = return.
      data: wa type bapiret2.
      loop at return into wa.
        if wa-type = 'E'.
          move wa-message to errmsg.
          response->append_cdata( errmsg ).
          response->append_cdata( '<BR>' ).
        endif.
      endloop.
    response->append_cdata( 'Flight booked, booking reference number: ').
      data: strBn type string.
      move bn to strBn.
      response->append_cdata( strBn ).
    endmethod.
    The first page works fine but when I submit my form it fails.  I debugged and the request object doesn't look right.
    Any ideas would be greatly appreciated.
    Regards,
    Dan
    Message was edited by:
            Dan Scheck
    Message was edited by:
            Dan Scheck

    Hi Surija,
    there is an issue with Internet Explorer that causes this problem when you launch the BSP applicaiton using the test menu in SE80. The issue does not occur with Firefox...very strange I know.
    Anyway, to get around this you just copy the BSP application URL and open a browser and paste the URL in...so essentially do not use the "Test" in SE80 to launch your application.
    Hope this fixes your problem!
    Cheers,
    Jeff

  • I used to have the iPhoto application and for some reason it is now gone. Do I have to pay 14.99 in order for me to be able to have it again or is there a way I can get it back. I have a MacBook pro 10.9.5 .

    I used to have the iPhoto application and for some reason it is now gone. Do I have to pay 14.99 in order for me to be able to have it again or is there a way I can get it back. I have a MacBook pro 10.9.5 .

    Depends on what you had
    If you had iPhoto version 9.5.1 then you can reinstall from the app store under purchases
    If you had any version of iPhoto '11 then you can install for free from the App store
    If you had any earlier version of iPhoto (iPhoto '09 version 8.x.x) or older then you need to purchase iPhoto '11 version 9.x.x from the app store
    If you had iPhoto '08 (version 7.x.x) or older then you also need to download and run the iPhoto library upgraded prior to launching the new iPhoto
    LN

Maybe you are looking for