You are not logged in.

#1 2013-12-23 05:37:34

mshan
Member
Registered: 2013-05-05
Posts: 105

[Solved] tint2 disappears if xterm is closed

I installed Arch base, grub, Xorg, video drivers, openbox, tint2, obconf, xterm, nitrogen on virtual machine.
edit ~/.xinitrc file like this:
tint2
exec openbox

yes, openbox starts if I login and do startx but tint2 doesn't start.
if I run tint2 in xterm, tint2 appears at the bottom of the screen and the message below shows in xterm
[msh@localhost ~] $ tint2
real transperancy off .... depth : 24
tint2: nb monitor 1, nb monitor used 1, nb desktop 4
tint2: pixmap background detection failed

the problem is that if I close xterm showing the message above, tint2 also disappear following the xterm I closed.
how can I make tint2 appears at start up and its appearance still (to not disappear with xterm)

Last edited by mshan (2013-12-24 06:37:13)


Amazing !

Offline

#2 2013-12-23 05:57:33

hibajugala
Member
Registered: 2013-01-12
Posts: 35

Re: [Solved] tint2 disappears if xterm is closed

try

#!/bin/sh

tint2 &
exec openbox

Although in your ~/.config/openbox there should be an autostart file where you can add

tint2 &

if you do not want the line in .xinitrc

Last edited by hibajugala (2013-12-23 06:01:02)

Offline

#3 2013-12-24 05:29:58

mshan
Member
Registered: 2013-05-05
Posts: 105

Re: [Solved] tint2 disappears if xterm is closed

ok, thz
problem to autostart tint2 is missing & , right. it works.
solution to this

mshan wrote:

yes, openbox starts if I login and do startx but tint2 doesn't start.
if I run tint2 in xterm, tint2 appears at the bottom of the screen and the message below shows in xterm
[msh@localhost ~] $ tint2
real transperancy off .... depth : 24
tint2: nb monitor 1, nb monitor used 1, nb desktop 4
tint2: pixmap background detection failed
the problem is that if I close xterm showing the message above, tint2 also disappear following the xterm I closed.
how can I make tint2 appears at start up and its appearance still (to not disappear with xterm)

is to edit ~/.config/openbox/menu.xml file.
I didn't read carefully openbox page of Archwiki. sorry for that


Amazing !

Offline

#4 2013-12-24 06:35:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] tint2 disappears if xterm is closed

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-12-24 08:50:25

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [Solved] tint2 disappears if xterm is closed

for future reference:

mshan wrote:

problem to autostart tint2 is missing & , right. it works.
solution to this is to edit ~/.config/openbox/menu.xml file.

sorry but that's wrong.
the solution to this is to edit ~/.config/openbox/autostart.

Last edited by ondoho (2013-12-24 08:51:04)

Offline

Board footer

Powered by FluxBB