You are not logged in.

#1 2014-03-28 21:07:09

_glitchware
Member
Registered: 2014-01-29
Posts: 29

Problems with ~/.xinitrc

Here is a copy of my ~/.xinitrc:

# ~/.xinitrc

# set background
sh ~/.fehbg &

# set xterm resources
xrdb -merge ~/.Xresources &

# xterm transparency
xcompmgr &

# begin awesome wm
exec awesome

When I start the x server, everything should load. This is the same xinitrc that I have on my other Arch install.

However, feh does not run. If I run

sh ~/.fehbg

it works fine, but it does not work on startup. -- SOLVED

As well, I can open up xterm and it will be transparent. If I open a second xterm, all xterm windows are then opaque.

I'm not sure what to do here. Any help is appreciated. I will provide you with all information you need.

Last edited by _glitchware (2014-03-28 22:33:14)

Offline

#2 2014-03-28 22:18:20

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: Problems with ~/.xinitrc

try

eval $(cat ~/.fehbg)

Offline

#3 2014-03-28 22:22:44

_glitchware
Member
Registered: 2014-01-29
Posts: 29

Re: Problems with ~/.xinitrc

@cris9228:

No luck. Still starts with the default wallpaper.

Offline

#4 2014-03-28 22:26:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Problems with ~/.xinitrc

awesome is setting the background - you need to disable that, then you'll be set.

Also, why "sh ~/.fehbg", I've never understood the desire to spawn processes which spawn processes which ....

Just put the feh command in your xinitrc.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-03-28 22:29:12

_glitchware
Member
Registered: 2014-01-29
Posts: 29

Re: Problems with ~/.xinitrc

@Trilby:

How would I go about disabling it in awesome? Just comment out where it sets it in rc.lua?

Also, I was just following the wiki's guide. I assume it's so you can set your wallpaper and not worry about having to change your .xinitrc every time

##EDIT

Just commented out the portion in rc.lua and it works now. Thanks, Trilby!

Last edited by _glitchware (2014-03-28 22:30:57)

Offline

#6 2014-03-28 22:31:04

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Problems with ~/.xinitrc

how about if you put the contents of the .fehbg script directly into .xinitrc?

xterm doesn't support transparency by default, so I'm assuming you've some kind of transset hack going on?
better option for transparent terminal emulator would be using rxvt-unicode for example, with built in transparent bg support

Offline

#7 2014-03-28 22:32:07

_glitchware
Member
Registered: 2014-01-29
Posts: 29

Re: Problems with ~/.xinitrc

@ooo

I'm following the wiki on it and using transset-df in my .bashrc

It's odd because it works perfectly fine on my laptop, but not on my desktop.

Last edited by _glitchware (2014-03-28 22:32:22)

Offline

Board footer

Powered by FluxBB