You are not logged in.
Hi, everyone . This is my first post. I am facing a problem using xterm. The background appears only for very short duration of time when i start xterm then it gets reset to black, despite my configs in ~/.Xresources
[~]$ xterm -version
XTerm(344)
[~]$ awesome --version
awesome v4.3 (Too long)
• Compiled against Lua 5.3.5 (running with Lua 5.3)
• D-Bus support: ✔
• execinfo support: ✔
• xcb-randr version: 1.6
• LGI version: 0.9.2
[~]$compton --version
v5.1
My ~/.Xresources file
! --------- Global-------
! ------------------------------
Xcursor.theme: Bibata_Amber
Xcursor.size: 32
!! --------------------------
!xterm settings
!-----------------------------
XTerm.termName: xterm-256color
! Make 'Alt' key behave as on other terminal emulators
XTerm.vt100.metaSendsEscape: true
! Fix the backspace key
XTerm.vt100.backarrowKey: false
XTerm.ttyModes: erase ^?
! Use a nice truetype font and size by default...
XTerm.vt100.faceName: DejaVu Sans Mono:style=Book:antialias=true
! Every shell is a login shell by default (for inclusion of all necessary environment variables)
xterm.loginshell: true
! I like a LOT of scrollback...
xterm.savelines: 16384
XTerm.vt100.foreground: white
XTerm.vt100.background: green
My ~/.xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# start some nice programs
# Disable access control
xhost +SI:localuser:$USER
# Make Java applications aware this is a non-reparenting window manager.
export _JAVA_AWT_WM_NONREPARENTING=1
# Fallback cursor
xsetroot -cursor_name left_ptr
# Keyboard repeat rate
xset r rate 300 15
# swap capslock and esc
setxkbmap -option caps:swapescape
# disable audio beeping
xset -b
# trigger pulse audio widget to start
pamixer --get-volume > /dev/null &
# enable tap to click
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
# Start the gnome-keyring-daemon from xinitrc
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
# source 50-systemd-user.sh
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
# Start awesome wm
awesome Last edited by aurphile (2019-03-09 08:59:01)
Offline
Does this also happen if you eg run "xterm -hold -e ls"? (this will open and keep an xterm printing the contents of the current directory)
To be sure: by "background" you mean "green" (not somehow the wallpaper)?
Offline
doing "xterm -hold -e ls"
It holds xterm printing contents and background remains green.
Thank you for reply.
I was confused about wallpaper. It was my python-pywal doing color changes.
Sorry, if i wasted your time
Last edited by aurphile (2019-03-09 08:37:23)
Offline
No problem.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline