Page 1 of 1

[SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Sat Nov 11, 2017 9:25 pm
by noo_b_nomnoms
I don't know why I can't keep this stuff straight, smh.
As of right now, when I use dkeger, I get this:

Code: Select all

Copying colorbar to /home/chuck/.Xresources_colors
xrdb: colon missing on line 18, ignoring line
chuck@hello:~ $ xrdb -merge ~/.Xresources
xrdb: colon missing on line 18, ignoring line
chuck@hello:~ $ 
I look at my .Xresources and:

Code: Select all

!! LinuxBBQ default .Xresources !!

!! will be overridden by .Xresources_colors
*background: #000000
*foreground: #ffffff
*trasparency: true
*shading: 75

*font:			-*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*
*boldFont:		-*-fixed-bold-r-semicondensed-*-13-*-*-*-*-*-*-*

!! example for display configuration
Xft*dpi:                96
Xft*antialias:          true
Xft*hinting:            none
Xft.autohint:           0
Xft.antialias:          1
Xft.hintstyle:          hintfull
Xft.rgba:               rgb
Xft.lcdfilter:          lcddefault

*include </home/chuck/.Xresources_colors>
Here's my .xinitrc:

Code: Select all

#!/bin/bash

xset s off &
xset -dpms &

# source the Xresources for the terminal
xrdb ~/.Xresources &

# set the mouse pointer
xsetroot -cursor_name left_ptr &

# Ctrl-Alt-Backspace kills the X session
setxkbmap -option terminate:ctrl_alt_bksp

# sets your keyboard to 'us' keymap
setxkbmap us &

# call /usr/include/ulimit.h
ulimit -c unlimited &

# if you want a notification daemon
dunst -c ~/.config/dunst/dunstrc &

# geek wall
#xsetroot -bg "#131113" -mod 3 3

# pretty picture
feh --bg-fill ~/wallpapers/Debian_Sexy_wallpaper_5.jpg

#exec blackbox
#exec fluxbox
exec pekwm

# if you need dbus, use this line
#exec dbus-launch --exit-with-session openbox-session

# else use this
compton -bcCGf -i 0.8 -e 0.8 --no-fading-openclose --sw-opti &
exec x-window-manager
And when I log out/in I can tell .Xresources is not being used because white background in the terminal.
This is something I've messed up, but I can't figure it out, I have done searches until my eyes have blurred. It HAS to be something simple- just staring at me,,,,but my head is hurting and I just want to get this one last thing out of the way. Then this pekwm desktop will be done, and I can breathe again!
Any help? Just slap me in the face and wake me up, lols!

Re: .Xresources, xrdb, transparency, and keeping them

Posted: Sat Nov 11, 2017 9:48 pm
by noo_b_nomnoms
screenshot_20171111_144012.png
I know it's me. Above is my noobdesk (using my ~/.files)

And here is /usr/bin/pekwm:
screenshot_20171111_143932.png
with the mods made only to start-wm (background and compton). I added the xfce-panel through "run", It's not in my start-wm, of course.
Also, the terminal background is black in the /u/b/p.

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Sun Nov 12, 2017 2:27 am
by noo_b_nomnoms
OK! So, if any noob such as myself runs across this, just ask yourself one question:
"Is this a custom desktop that I made, and did I load a custom, oh, say...."noobdesk-start" script in /usr/local/bin/ ?
Then the only way that I am going to be able to use my ~/.Xresources file is if I point that script to it!

Code: Select all

xrdb ~/.Xresources &
Want a background for that pekwm?

Code: Select all

feh --bg-fill ~/wallpapers/bg.jpg &
Want some desktp-wide transparency?

Code: Select all

compton -bcCGf -i 0.8 -e 0.8 --no-fading-openclose --sw-opti &
Panel (volumeicon for the panel), conky....IT ALL GOES THERE!

I am going to leave this up, because I can guarantee you that this won't be the last time I lose the two brain cells I have left!
screenshot_20171111_191056.png

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Sun Nov 12, 2017 1:37 pm
by wuxmedia
good one, rubber duck forum

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Mon Nov 13, 2017 9:12 am
by noo_b_nomnoms
Embarrassing! I wanted to yank it down as soon as I figured out what I'd done, but that would be so NOT noo_b, lols!

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Mon Nov 13, 2017 9:38 am
by wuxmedia
It is good to keep a reference to ones fuck ups, check my post history :)

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Mon Nov 13, 2017 9:47 am
by noo_b_nomnoms
Right on! I knew I'd been through something like that before, and I spent two days looking for it, smh!
This page is bookmarked! :))

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Mon Jan 22, 2018 8:06 am
by machinebacon
.Xresources has a typo:

Code: Select all

*trasparency: true
should be

Code: Select all

*transparency: true
and the last line you can write

Code: Select all

#include ".Xresources_colors"

Re: [SOLVED (I am so dumb, sometimes)] .Xresources, xrdb, transparency, and keeping them

Posted: Sun Feb 11, 2018 3:45 am
by noo_b_nomnoms
^You are correct, sir! Much thanks! :)