You are not logged in.

#1 2010-03-06 14:15:25

B15HOP
Member
From: Australia
Registered: 2005-02-10
Posts: 138

URxvt tries to randomly print

While in a urxvt shell, urxvt tries to run lpr. No idea why... Other than it is really annoying because it gets a bit trigger happy and does it one after another in succession.

b15hop@Enterprize_D $ cat ~/.Xdefaults 
!
rclock*background:    #000126
rclock*foreground:    #00ff00
!
! Rxvt colors and fonts (xterm replacement without graphics window)
!
urxvt.depth:            32
urxvt.background:        rgba:0000/0100/2700/aaaa
urxvt.inheritPixmap:        True
urxvt.transparent:        True
urxvt.fading:            20    !fade away 20% when unfocused.
urxvt.reverseVideo:        false
urxvt.urlLauncher:        firefox
!urxvt.perl-ext-common:        mark-urls
!urxvt.tintColor:        blue
urxvt.shading:            10
urxvt.scrollTtyKeypress:    True
!urxvt.termName:        urxvt
urxvt.internalBorder:        2
urxvt.print-pipe:        echo "echoing print"
!    urxvt.backspacekey:    "^H"
!
Rxvt*background:    #000126
Rxvt*foreground:    grey
Rxvt*colorBD:        #00ffff
Rxvt*colorUL:        #ffff00
Rxvt*color0:        #000000
Rxvt*color1:        #8b0000
Rxvt*color2:        #00ff00
Rxvt*color3:        #ffa500
Rxvt*color4:        #0044ff
Rxvt*color5:        #a020f0
Rxvt*color6:        #008b8b
Rxvt*color7:        #ccccdd
Rxvt*color8:        #5e5e64
Rxvt*color9:        #0000cc
Rxvt*color10:        #00ff00
Rxvt*color11:        #ffff00
Rxvt*color12:        #0055ff
Rxvt*color13:        #ff00ff
Rxvt*color14:        #00ffff
Rxvt*color15:        #ffffff
Rxvt*scrollColor:       #607090
Rxvt*troughColor:       #607090
Rxvt*font:        9x15
Rxvt*font4:        12x24
Rxvt*pixmap:        /apps/wm/common/backgrounds/water.xpm
Rxvt*backgroundPixmap:  water.xpm
Rxvt*mapAlert:        True
Rxvt*saveLines:         8000
Rxvt*termName:          vt100
Rxvt*scrollBar:         False
Rxvt*scrollBar_right:   True
Rxvt*geometry:        141x65+0+30
!
! Rxvt also reads some the XTerm* resources below...
!
! XTerm fonts and colors
!
XTerm.VT100.font:     -misc-fixed-medium-r-*-*-*-200-*-*-*-*-*-*
!!XTerm.VT100.font:     terminal8x15
!XTerm.VT100.font1:     terminal6x9
!!XTerm.VT100.font2:     terminal6x10
!!XTerm.VT100.font3:     terminal7x13
!!XTerm.VT100.font4:     terminal8x15
!!XTerm.VT100.font5:     terminal9x16
!XTerm.VT100.font6:     terminal9x16
!!XTerm.VT100.boldFont:    terminalB8x15
XTerm.VT100.loginShell:    true
XTerm.VT100.scrollBar:    true
XTerm.VT100.charClass:    33:48,37:48,45-47:48,64:48
XTerm.VT100.geometry:     80x24
XTerm.VT100.internalBorder:     4
XTerm*saveLines:        10000
XTerm*scrollbar.foreground:     #bbbbbbbbc8c8
XTerm*scrollbar.background:     #5e5e5e5e6464
XTerm*background:    #000011115e5e
XTerm*foreground:    #ffffffffffff
XTerm*cursorColor:    #0000ffffffff
XTerm*pointerColor:    #0000ffffffff
XTerm*pointerColorBackground:    #00008b8b8b8b
!
! xdvi
!
XDvi*background: #ffffffffffff
!
! plan
!
plan*background:        #a1a1a1a1b2b2
plan*colStd:            #111111112222
plan*colBack:           #bbbbbbbbcccc
plan*colCalBack:        #e5e5e5e5f6f6
plan*colCalShade:       #ccccccccdddd
plan*colCalAct:         #ffffffff0000
plan*colCalToday:       #0000ffffffff
plan*colCalFrame:       #e5e5e5e5f6f6
plan*colGrid:           #444444445555
plan*colWeekday:        #000000000000
plan*colWeekend:        #8b8b00000000
plan*colNote:           #00002222bbbb
plan*colNoteOff:        #47474747ffff
plan*colToggle:         #0000ffff0000
plan*colRed:            #ffff00000000
plan*colTextBack:       #cccc99996666
plan*colYearBack:       #e5e5e5e5f6f6
plan*colYearBoxBack:    #d4d4d4d4e5e5
plan*colYearNumber:     #000000000000
plan*colYearWeekday:    #222222223333
plan*colYearMonth:      #00008b8b8b8b
plan*colYearTitle:      #00008b8b8b8b
plan*colYearGrid:       #444444445555
plan*colHolidayBlack:   #000000000000
plan*colHolidayRed:     #ffff00000000
plan*colHolidayGreen:   #0000ffff0000
plan*colHolidayYellow:  #ffffffff0000
plan*colHolidayBlue:    #00000000ffff
plan*colHolidayMagenta: #ffff0000ffff
plan*colHolidayCyan:    #0000ffffffff
plan*colHolidayWhite:   #ffffffffffff
plan*colWeekBack:       #e5e5e5e5f6f6
plan*colWeekBoxback:    #ccccccccdddd
plan*colWeekTitle:      #222222223333
plan*colWeekGrid:       #666666667777
plan*colWeekDay:        #00008b8b8b8b
plan*colWeekNote:       #222222223333
plan*colWeekFrame:      #222222223333
plan*colWeekWarn:       #888888889999
plan*colWeekUser_0:     #47474747ffff
plan*colWeekUser_1:     #ffffa5a50000
plan*colWeekUser_2:     #00008b8b8b8b
plan*colWeekUser_3:     #a0a02020f0f0
plan*colWeekUser_4:     #ffffffff0000
plan*colWeekUser_5:     #0000ffffffff
plan*colWeekUser_6:     #cccc99996666
plan*colWeekUser_7:     #9090eeee9090
plan*menubar*fontList:  -*-helvetica-bold-*-normal-*-14-*
plan*fontList:          -*-helvetica-*-r-normal-*-14-*
plan*helpFont:          -*-helvetica-medium-r-normal-*-14-*
plan*calNumberFont:     -*-helvetica-*-r-*-*-34-*
plan*calNumberFontSm:   -*-helvetica-*-r-*-*-14-*
plan*calNoteFont:       -*-helvetica-*-r-*-*-12-*
plan*yearTitleFont:     -*-helvetica-*-r-*-*-34-*
plan*yearMonthFont:     -*-helvetica-*-o-*-*-17-*
plan*yearWeekdayFont:   -*-helvetica-*-o-*-*-12-*
plan*yearNumberFont:    -*-helvetica-*-r-*-*-12-*
plan*weekTitleFont:     -*-helvetica-*-r-*-*-18-*
plan*weekDayFont:       -*-helvetica-*-o-*-*-14-*
plan*weekHourFont:      -*-helvetica-*-r-*-*-14-*
plan*weekNoteFont:      -*-helvetica-*-r-*-*-14-*
plan*calBoxWidth:       100
plan*calBoxHeight:      80
plan*calBoxMargin:      20
plan*calArrowWidth:     10
plan*calBoxWidthSm:     40
plan*calBoxHeightSm:    34
plan*calBoxMarginSm:    10
plan*calArrowWidthSm:   6
plan*calBoxTitle:       25
plan*noIcon:            False
plan*showIconTime:      True
plan*frameToday:        False
plan*yearMargin:        20
plan*yearGap:           20
plan*yearTitle:         30
plan*yearBoxWidth:      30
plan*yearBoxHeight:     24
plan*weekMargin:        16
plan*weekGap:           6
plan*weekDayWidth:      80
plan*weekHourWidth:     50
plan*weekBarHeight:     20
plan*weekBarGap:        3
plan*weekMaxNote:       200
!
! X Clock
!
#xclock*width:        390
xclock*height:        30
#xclock*face:        Nasalization-20
#xclock*face:        Space age-20
#xclock*face:        Bionic Type Light-22
xclock*face:        consolas-18
xclock*analog:        False
xclock*foreground:    #00AA11
xclock*background:    black
xclock*update:        1
#xclock*padding:        1
b15hop@Enterprize_D $ cat ~/.bashrc

# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto -1'
alias l='ls --group-directories-first'
alias lh='l -lh'
alias s='l -a'
alias si='s -S'
alias c4='chmod 400'
alias c6='chmod 600'
alias c7='chmod 700'
alias c1='chmod 100'

alias mkdir='mkdir -m700'
alias xpdf='xpdf -fullscreen -cont'
alias Date='/bin/date +"%n %A, Day%_d of %B, %Y%n%n%l:%M%P (%k%M hours)%n"'
alias Fortune='fortune 50% linux startrek'

bash_prompt_command() {
    # How many characters of the $PWD should be kept
    local pwdmaxlen=25
    # Indicate that there has been dir truncation
    local trunc_symbol=".."
    local dir=${PWD##*/}
    pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen ))
    NEW_PWD=${PWD/#$HOME/\~}
    local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen ))
    if [ ${pwdoffset} -gt "0" ]
    then
        NEW_PWD=${NEW_PWD:$pwdoffset:$pwdmaxlen}
        NEW_PWD=${trunc_symbol}/${NEW_PWD#*/}
    fi
}

bash_prompt() {
local TITLEBAR='\[\033]0;\@                     ${PWD}\007\]'
local NONE="\[\033[0m\]" # unsets color to term's fg color

# regular colors
local K="\[\033[0;30m\]" # black
local R="\[\033[0;31m\]" # red
local G="\[\033[0;32m\]" # green
local Y="\[\033[0;33m\]" # yellow
local B="\[\033[0;34m\]" # blue
local M="\[\033[0;35m\]" # magenta
local C="\[\033[0;36m\]" # cyan
local W="\[\033[0;37m\]" # white

# empahsized (bolded) colors
local EMK="\[\033[1;30m\]"
local EMR="\[\033[1;31m\]"
local EMG="\[\033[1;32m\]"
local EMY="\[\033[1;33m\]"
local EMB="\[\033[1;34m\]"
local EMM="\[\033[1;35m\]"
local EMC="\[\033[1;36m\]"
local EMW="\[\033[1;37m\]"

# background colors
local BGK="\[\033[40m\]"
local BGR="\[\033[41m\]"
local BGG="\[\033[42m\]"
local BGY="\[\033[43m\]"
local BGB="\[\033[44m\]"
local BGM="\[\033[45m\]"
local BGC="\[\033[46m\]"
local BGW="\[\033[47m\]"

# Is this a User or Root ?
local UC=$EMG            # user's color
[ $UID -eq "0" ] && UC=$R    # root's color

PS1="${EMG}\u${EMK}@${W}\h \\$ ${NONE}"

if [ -x /usr/bin/fortune ]; then
    echo
    /usr/bin/fortune 50% linux startrek     # makes our day a bit more fun.... :-)
    /bin/date +"%n %A, Day %d of %B, %Y%n%n%l:%M%P (%k%M hours)%n"
fi

}

bash_prompt
unset bash_prompt

As you can see in my .Xdefaults I've disabled it by putting in:

urxvt.print-pipe:        echo "echoing print"

Any help would be appreciated. smile


"The ecological crisis is a moral issue."

Offline

Board footer

Powered by FluxBB