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

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

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

Unread post by noo_b_nomnoms » Sat Nov 11, 2017 9:25 pm

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!
Last edited by noo_b_nomnoms on Sun Nov 12, 2017 2:14 am, edited 2 times in total.
Sir! Put down the hammer and slowly step away from the computer.

User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

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

Unread post by noo_b_nomnoms » Sat Nov 11, 2017 9:48 pm

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.
Sir! Put down the hammer and slowly step away from the computer.

User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

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

Unread post by noo_b_nomnoms » Sun Nov 12, 2017 2:27 am

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
Sir! Put down the hammer and slowly step away from the computer.

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

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

Unread post by wuxmedia » Sun Nov 12, 2017 1:37 pm

good one, rubber duck forum
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

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

Unread post by noo_b_nomnoms » Mon Nov 13, 2017 9:12 am

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!
Sir! Put down the hammer and slowly step away from the computer.

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

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

Unread post by wuxmedia » Mon Nov 13, 2017 9:38 am

It is good to keep a reference to ones fuck ups, check my post history :)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

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

Unread post by noo_b_nomnoms » Mon Nov 13, 2017 9:47 am

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! :))
Sir! Put down the hammer and slowly step away from the computer.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

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

Unread post by machinebacon » Mon Jan 22, 2018 8:06 am

.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"
..gnutella..

User avatar
noo_b_nomnoms
MILF
Posts: 522
Joined: Sat Jan 09, 2016 5:13 pm
Location: USA

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

Unread post by noo_b_nomnoms » Sun Feb 11, 2018 3:45 am

^You are correct, sir! Much thanks! :)
Sir! Put down the hammer and slowly step away from the computer.

Post Reply