SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2008-12-09 03:31:59

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,054
Website

Howto replace lxpanel with tint2 & trayer

I am really digging the tint2 panel and trayer combination as used in the current CrunchBang Linux "Lite" edition. I like it so much I have replaced lxpanel completey on all of my systems. If anyone is interested in doing the same, here is a quick howto. Note, this howto uses the config files from the CrunchBang "Lite" edition, it also assumes you have not already set-up tint2 and trayer.

Here goes...

1. Open a terminal and enter the following command to download the required packages:

sudo apt-get install tint2 trayer

2. Create a new file at ~/.config/tint/tintrc and copy in the following:

#---------------------------------------------
# TINT CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_mode = multi_monitor
panel_monitor = 1
panel_position = bottom left
panel_size = 0 28
panel_margin = 5 0
panel_padding = 10 0
font_shadow = 0

#---------------------------------------------
# PANEL BACKGROUND AND BORDER
#---------------------------------------------
panel_rounded = 0
panel_border_width = 0
panel_background_color = #000000 0
panel_border_color = #000000 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_text_centered = 0
task_width = 32
task_margin = 0
task_padding = 0
task_icon_size = 24
task_font = sans 7
task_font_color = #ffffff 0
task_active_font_color = #ffffff 0

#---------------------------------------------
# TASK BACKGROUND AND BORDER
#---------------------------------------------
task_rounded = 0
task_background_color = #000000 0
task_active_background_color = #000000 10
task_border_width = 0
task_border_color = #000000 0
task_active_border_color = #000000 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %X %x 
time1_font = sans 9
#time2_format = %A %d %B
#time2_font = sans 9
clock_font_color = #ffffff 100

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

3. Open ~/.config/openbox/autostart.sh for editing and replace the reference to lxpanel with the following:

# Launch panel
(sleep 2s && tint) &

# Launch system tray
(sleep 2s && trayer --expand true --transparent true  --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) &

3. Restart your Openbox session for the changes to take affect.

I hope someone finds this useful. smile

Update: Oops, I forgot to add the obligatory screenshot!

crunchbang-tint-and-trayer.jpg?w=450&h=&cache=cache

Offline

Be excellent to each other!

#2 2008-12-09 03:38:23

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Howto replace lxpanel with tint2 & trayer

Excellent, I've been waiting for this one smile

Offline

#3 2008-12-09 03:54:23

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,911

Re: Howto replace lxpanel with tint2 & trayer

This is elegant yet geeky! A must have for the little eee screen.

And I'm pleased to say this hack works on CrunchBang 8.04 too! trayer is in the Hardy repositories, but tint2 is not. I was able to install tint2 by adding the openbox-related repository below to my /etc/apt/sources.list. CAUTION: I'm not sure whether this is a good idea or not; see below!

deb http://ppa.launchpad.net/k-belding/ubuntu hardy main
deb-src http://ppa.launchpad.net/k-belding/ubuntu hardy main

Again, that is for Hardy users only; Intrepid users are ok!

(update) If you just want to install tint2, you should edit the repo above out of your sources.list file after you've installed it. Otherwise, the next time you apt-get upgrade, you'll get a whole lot of new openbox packages. This might even be a good thing, but proceed with caution.

Last edited by snowpine (2008-12-09 04:42:08)


/hugged

Offline

#4 2008-12-09 04:04:48

NewCityVegas
Resident Tech Reporter
From: ANTI-CENSORSHIP
Registered: 2008-12-02
Posts: 554
Website

Re: Howto replace lxpanel with tint2 & trayer

Well, it fits with the "minimalist" focus but I hope you are not considering replacing lxpanel in the main distro.  Personally I like easy access "choices" - unified menu, Super hotkeys, lxpanel visible icons if you want them.

I wanted to play with "lite" for a friend's dual-boot EEE PC 900.  However, I would need to reinstall lxpanel to make it more comfortable for typical PC users.

Last edited by NewCityVegas (2008-12-09 04:07:03)


============= You are the dreamer - and the dream =============

gooplusplus.com (goo++) --- compact web tools + 77 internet radio stations

Offline

#5 2008-12-09 04:48:33

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,911

Re: Howto replace lxpanel with tint2 & trayer

NewCityVegas wrote:

Well, it fits with the "minimalist" focus but I hope you are not considering replacing lxpanel in the main distro.  Personally I like easy access "choices" - unified menu, Super hotkeys, lxpanel visible icons if you want them.

I wanted to play with "lite" for a friend's dual-boot EEE PC 900.  However, I would need to reinstall lxpanel to make it more comfortable for typical PC users.

I agree with NewCityVegas! I think it's an appropriate time to start 'forking' the #! full and lite desktops. But make it easy for people (like me) to mix & match features, for example switching to tint2/trayer in #! full or firefox in #! lite. smile


/hugged

Offline

#6 2008-12-09 05:05:38

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Howto replace lxpanel with tint2 & trayer

I'm not sure I understand what you mean by 'easy' to mix and match features. In either install you have the basics and what you do with it from there is up to you via synaptic or apt. The help you need to do some of the more obscure stuff is here on the forums and growing by the day. I guess I'm saying that it is already, pretty easy smile

Offline

#7 2008-12-09 05:24:21

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,911

Re: Howto replace lxpanel with tint2 & trayer

omns wrote:

I'm not sure I understand what you mean by 'easy' to mix and match features. In either install you have the basics and what you do with it from there is up to you via synaptic or apt. The help you need to do some of the more obscure stuff is here on the forums and growing by the day. I guess I'm saying that it is already, pretty easy smile

Hi Omns, I agree... exactly... I meant 'easy' like this thread. A tutorial that not only worked, it gave me enough information to go back to my Hardy box and retro-hack the panel. I like a distro that encourages me to learn. For example to install #! onto the eee. smile


/hugged

Offline

#8 2008-12-09 05:30:46

seth
#! CrunchBanger
Registered: 2008-11-30
Posts: 109

Re: Howto replace lxpanel with tint2 & trayer

heh, nice wallpaper.

Offline

#9 2008-12-11 16:56:14

NWAdawg
Bob Da Dawg!
From: Arkansas US
Registered: 2008-11-27
Posts: 192
Website

Re: Howto replace lxpanel with tint2 & trayer

How can I edit system tray to get larger icons?


-Bob- 
Ubuntu User #24005, Linux User #480025
identi.ca  friendfeed  facebook

Offline

#10 2008-12-11 17:06:25

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,054
Website

Re: Howto replace lxpanel with tint2 & trayer

NWAdawg wrote:

How can I edit system tray to get larger icons?

You could try adding the height argument when launching it, e.g. --height xx where xx is the value in pixels. I think your results may vary with this as some applications have set icon sizes. Still, give it a try and see what happens. smile

Offline

#11 2008-12-11 17:12:04

NWAdawg
Bob Da Dawg!
From: Arkansas US
Registered: 2008-11-27
Posts: 192
Website

Re: Howto replace lxpanel with tint2 & trayer

corenominal wrote:
NWAdawg wrote:

How can I edit system tray to get larger icons?

You could try adding the height argument when launching it, e.g. --height xx where xx is the value in pixels. I think your results may vary with this as some applications have set icon sizes. Still, give it a try and see what happens. smile

Thanks corenomina that did.


-Bob- 
Ubuntu User #24005, Linux User #480025
identi.ca  friendfeed  facebook

Offline

#12 2009-01-17 21:46:46

1esproc
Member
Registered: 2009-01-16
Posts: 15

Re: Howto replace lxpanel with tint2 & trayer

Anyone else get "task on all desktop : ignored" when launching something like gedit? Why is gedit setting itself that way? I notice that lxpanel displays a task button with no issues for gedit.

I've compiled tint2 from SVN, still the same issue (no task button for gedit). Made the following patch, probably causes issues on multi-monitor/multi-desktop setups

http://medic.dediweb.com/task.c.diff

Last edited by 1esproc (2009-01-17 22:30:17)

Offline

#13 2009-02-03 08:43:50

underscore3d
Member
From: California
Registered: 2009-02-03
Posts: 21
Website

Re: Howto replace lxpanel with tint2 & trayer

I am liking Tint2 quite a bit.  I immediately changed lxpanel to pypanel which I than changed to tint2.  The trayer is an awesome addition.  I didn't know about this app until I stumbled upon this post. big_smile

I am having trouble modding tint2 though.  Is there a way to show all apps that are open and show which desktops they are open on?


ploop ploop ploopity ploop ploop ploop

Offline

#14 2009-03-17 10:39:08

ottomar
Member
From: France, Vesoul
Registered: 2009-02-20
Posts: 44
Website

Re: Howto replace lxpanel with tint2 & trayer

hi #!
I'm trying today tint & trayer in place of pypanel
I appreciate the fact that when you shutdown firefox, it does'nt crash it ! pypanel doesn't close completely firefox : I have to open system-monitor !

something bad : the shade command does'nt work !
an idea ?

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = close
mouse_right = shade
mouse_scroll_up = toggle
mouse_scroll_down = iconify

Edit :

underscore3d wrote:

Is there a way to show all apps that are open

in your tintrc

panel_mode = multi_desktop
panel_monitor = 1

in your tint bar, you'll have the zones of your desktops (even the empty ones)

five desktops :
tbnlnlt47l2mnnsm65mh2-2009-03-17-1237287132_1280x1024_scrot.png

help for tint
http://tint2.googlecode.com/files/tint-0.6.pdf

Last edited by ottomar (2009-03-17 11:10:40)

Offline

#15 2009-03-29 21:33:46

cain
#! Member
From: Jacksonville, FL
Registered: 2009-03-28
Posts: 55

Re: Howto replace lxpanel with tint2 & trayer

This was very complicated for me for some reason.  Some advice for newbies learning the OS by customizing it yourself.

For me to find ~/.config/.

I had to SUPER + F go to Tools then view folder as root.  On the view menu check if not checked the view hidden files and explore /home/username/ directory.  Only way I could find it.

Also not sure if corenominals thing applies for Jaunty, but it didn't finish installing for me.  I had to go to the TINT2 main site which is

There, I followed the steps of downloading the packets using the Ubuntu command which is below.

sudo aptitude install libcairo2-dev libpango1.0-dev libglib2.0-dev libimlib2-dev libxinerama-dev libxrandr-dev

Then I downloaded the Tint2 pre-built binaries from the link for Jaunty.

Then just double click on the file to run.  If you find that you can not execute this .deb file, you should open up a terminal and change the permissions to execute.

Example:   chmod +x tint2_0.7.svn.rev69-1_amd64.deb

After that, its like they said about creating the /home/username/.config/tint/tintrc file.  If you does not work using tint/tintrc, then do it under tint2/tintrc.
Further help here for super noobs: Just right click this folder area and click Create New -> Text File.  Rename it tintrc and put the core's code from above.

Also when I went to add the two lines (and remove the lxpanel) to the autostart.sh, I used TINT2 as opposed to tint.  That made tint2 work:

# Launch panel
(sleep 2s && TINT2) &

# Launch system tray
(sleep 2s && trayer --expand true --transparent true  --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) &

Afterwords do a complete reboot, and everything should be working

Not bad for a linux newbie : P

Last edited by cain (2009-03-29 21:51:47)

Offline

#16 2009-04-03 06:37:25

crazybilly
#! Member
Registered: 2008-12-05
Posts: 73

Re: Howto replace lxpanel with tint2 & trayer

Ooo, I'm digging this.

I just perused the wiki docs on configuring it. What I didn't see (but wish I did) was an option for vertical positioning, particularly w/ corenominal's icon-only config.

If I could get a decent-looking, icons only taskbar to run along one side of my widescreen monitor, I'd be a lot happier.


Peaces, crazybilly

Offline

#17 2009-04-03 20:36:41

mumpf
New Member
Registered: 2009-04-03
Posts: 6

Re: Howto replace lxpanel with tint2 & trayer

What is wrong with my ~/.config/openbox/autostart.sh?
I have followed the instructions (based on crunchbang lite 8.10.02) for steps 1. and 2.

~/.config/tint/tintrc is an exact copy of the author's proposal.

However I still get the standard crunchbang desktop.


# Run the system-wide support stuff
. $GLOBALAUTOSTART

# Programs to launch at startup
# =============================

# Start session manager
lxsession &

# Enable power management
gnome-power-manager &

# Set keyboard map if different than UK
# Uncomment one to enable, or define your own.
# setxkbmap us & # United States
# setxkbmap ca & # Canada
# setxkbmap fr & # Francais
# setxkbmap br & # Brazil
setxkbmap de_CH & # Schweiz
# setxkbmap cz & # Czech Republic
# setxkbmap it & # Italy
# setxkbmap pl & # Poland
# setxkbmap nl & # Netherlands
# etc.

# Force openoffice.org to use GTK theme
# enable this if you install openoffice
#export OOO_FORCE_DESKTOP=gnome

# Set-up automounting
pcmanfm --daemon-mode &

# Set desktop wallpaper
nitrogen --restore &

# Enable Eyecandy - off by default
# see "/usr/bin/crunchbang/xcompmgr-crunchbang" for more info
#xcompmgr-crunchbang --startstop &

# Start screensaver deamon
gnome-screensaver &

# Launch panel
(sleep 2s && tint) &

# Launch system tray
(sleep 2s && trayer --expand true --transparent true  --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) &

# Launch network manager applet
(sleep 1s && nm-applet) &

# Launch clipboard manager
(sleep 1s && parcellite) &

# Uncomment to enable system updates at boot
#(sleep 180s && system-update) &

# Check for restricted hardware
(sleep 5s && jockey-gtk --check) &

# Launch Conky
conky -q &

Thanks and best regards

mumpf

Last edited by mumpf (2009-04-04 14:07:51)

Offline

#18 2009-04-03 20:59:45

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

Re: Howto replace lxpanel with tint2 & trayer

I have my directory:  ~/.config/tint2/tint2rc

In my autostart.sh:

(sleep 2s && tint2) &

If that doesn't fix it post your tint2rc and your screen resolution and I can give it a try locally.

Last edited by kBang (2009-04-03 21:03:03)


I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Offline

#19 2009-04-03 21:25:08

omns
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,131

Re: Howto replace lxpanel with tint2 & trayer

mumpf wrote:

What is wrong with my ~/.config/openbox/autostart.sh?

You may be using the latest svn version of tint. Try changing tint to tint2 in your autostart.sh

Offline

#20 2009-04-04 12:49:10

mumpf
New Member
Registered: 2009-04-03
Posts: 6

Re: Howto replace lxpanel with tint2 & trayer

I have changed tint to tint2 in my autostart.sh. However I still do not get the tint trayer. sad

This is my ~/.config/tint2/tint2rc (I have removed my ~/.config/tint directory)

#---------------------------------------------
# TINT CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_mode = multi_monitor
panel_monitor = 1
panel_position = bottom left
panel_size = 0 28
panel_margin = 5 0
panel_padding = 10 0
font_shadow = 0

#---------------------------------------------
# PANEL BACKGROUND AND BORDER
#---------------------------------------------
panel_rounded = 0
panel_border_width = 0
panel_background_color = #000000 0
panel_border_color = #000000 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_text_centered = 0
task_width = 32
task_margin = 0
task_padding = 0
task_icon_size = 24
task_font = sans 7
task_font_color = #ffffff 0
task_active_font_color = #ffffff 0

#---------------------------------------------
# TASK BACKGROUND AND BORDER
#---------------------------------------------
task_rounded = 0
task_background_color = #000000 0
task_active_background_color = #000000 10
task_border_width = 0
task_border_color = #000000 0
task_active_border_color = #000000 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %X %x 
time1_font = sans 9
#time2_format = %A %d %B
#time2_font = sans 9
clock_font_color = #ffffff 100

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

My resolution: 1280x1024@60Hz (ATI radeon 8500)

By the way: I like crunchbang. Makes my old Athlon XP fly

You may be using the latest svn version of tint.

I don't have a clue what this means, I have simply installed tint using sudo apt-get install tint2 trayer

Last edited by mumpf (2009-04-04 13:52:08)

Offline

#21 2009-04-04 15:27:41

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

Re: Howto replace lxpanel with tint2 & trayer

panel_size = 0 28

That's the killer!  That 0 is the width of Tint2!  LOL...0 pixels wide....

You can either use a percentage or the actual width you want.  100% is what I use, this makes it easier of you share your tint2rc with someone since their screen resolution may not match yours, the percentage will give the same width regardless.

I suggest you change it to 100% or max screen width then start tweaking if you don't like the size.

Your panel background and border isn't right either, there should be 3 entries, you have 1...in fact that tint2rc doesn't look right...


Here, this gives a phat bottom line.  I commented out the date and changed the font to Sans since you should have that font, change things to your heart's desire (I have the tray disabled you can uncomment it if you want it):

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER   
#---------------------------------------------
rounded = 0
border_width = 0
background_color = #000000 50
border_color = #000000 50

rounded = 0
border_width = 0
background_color = #000000 0 
border_color = #000000 0 

rounded = 0
border_width = 0
background_color = #000000 0
border_color = #000000 0

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom left
panel_size = 100% 50
panel_margin = 0 20 #94
panel_padding = 7 -2
font_shadow = 0
panel_background_id = 1

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_monitor
taskbar_padding = 0 0 0
taskbar_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_width = 140
task_centered = 1
task_padding = 6 19
task_font = Sans 8
task_font_color = #AEC3D9 100
task_active_font_color = #DCDCDC 100
task_background_id = 0
task_active_background_id = 0

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
#systray_padding = 6 2 2
#systray_background_id = 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format =%H:%M
time1_font =Sans 8
#time2_format = .:: %A, %d %B ::.
time2_font = Sans 10
clock_font_color = #DCDCDC 100
clock_padding = 2 10
clock_background_id = 0

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

Here is a thin bottom line, this time I have the date in the time field, again I have the tray disabled (uncomment if you want):

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 3
border_width = 0
background_color = #000000 100
border_color = #000000 100

rounded = 0
border_width = 0
background_color = #535758 100 
border_color = #535758 100 

rounded = 0
border_width = 0
background_color = #000000 100
border_color = #000000 100 

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom right
panel_size = 101% 16
panel_margin = -2 0 #94
panel_padding = 7 -2
font_shadow = 0
panel_background_id = 1

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_monitor
taskbar_padding = 0 0 0
taskbar_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 0
task_text = 1
task_width = 140
task_centered = 1
task_padding = 6 0
task_font =  Sans 7
task_font_color = #628CB2 100
task_active_font_color = #DCDCDC 100
task_background_id = 1
task_active_background_id = 3

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
#systray_padding = 6 2 2
#systray_background_id = 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
#time1_format =%H:%M  .:: %A, %d %B ::.
time1_font = Sans 7
time2_format = 
time2_font = Sans 10
clock_font_color = #DCDCDC 100
clock_padding = 2 -2
clock_background_id = 0

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

Last edited by kBang (2009-04-04 15:36:20)


I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Offline

#22 2009-04-04 19:37:14

mumpf
New Member
Registered: 2009-04-03
Posts: 6

Re: Howto replace lxpanel with tint2 & trayer

Hi kBang

I have replaced my tint2 config file content by your proposal (thin bottom line), still no panel... By the way: my original config file is the one from corenominal.

Last edited by mumpf (2009-04-04 19:48:21)

Offline

#23 2009-04-04 19:39:43

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

Re: Howto replace lxpanel with tint2 & trayer

mumpf wrote:

Hi kBang

I have replaced my tint2 config file content by your proposal (thin bottom line), still no panel...


Then it isn't your tint2rc.  Do these checks:

Check 1:  Make sure you have tint2 (per Philip's instructions)
Check 2:  Make sure you have ~/.config/tint2
Check 3:  REMOVE any ~/.config/tint/xxxxrc files, I think this is your current problem, tint2 will load these first (Note:  this is tint, not tint2, directory)
Check 4:  Ensure you have a ~/.config/tint2/tint2rc file that works.

Last edited by kBang (2009-04-04 19:40:42)


I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Offline

#24 2009-04-04 19:54:53

mumpf
New Member
Registered: 2009-04-03
Posts: 6

Re: Howto replace lxpanel with tint2 & trayer

Check 1:  Make sure you have tint2 (per Philip's instructions)

I'm sure, because I get the message after the apt-get command, that tint2 and trayer is the most recent version

Check 2:  Make sure you have ~/.config/tint2

I do have the directory ~/.config/tint2

Check 3:  REMOVE any ~/.config/tint/xxxxrc files, I think this is your current problem, tint2 will load these first (Note:  this is tint, not tint2, directory)

there is no more ~/.config/tint

Check 4:  Ensure you have a ~/.config/tint2/tint2rc file that works.

I have copied kBang's content into the tint2rc file (not anything else).

Offline

Be excellent to each other!

#25 2009-04-04 20:13:52

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

Re: Howto replace lxpanel with tint2 & trayer

mumpf wrote:

Check 1:  Make sure you have tint2 (per Philip's instructions)

I'm sure, because I get the message after the apt-get command, that tint2 and trayer is the most recent version

Check 2:  Make sure you have ~/.config/tint2

I do have the directory ~/.config/tint2

Check 3:  REMOVE any ~/.config/tint/xxxxrc files, I think this is your current problem, tint2 will load these first (Note:  this is tint, not tint2, directory)

there is no more ~/.config/tint

Check 4:  Ensure you have a ~/.config/tint2/tint2rc file that works.

I have copied kBang's content into the tint2rc file (not anything else).


Is your wallpaper completely black?  You see, the config files I gave you are by default completely dark, you won't see anything unless you have something open (the small bottom one doesn't even have the clock enabled by default).

This version will be completely white (the bar will be), if you still see nothing I have no clue what is going on.

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER   
#---------------------------------------------
rounded = 0
border_width = 0
background_color = #FFFFFF 100
border_color = #FFFFFF 100

rounded = 0
border_width = 0
background_color = #000000 0 
border_color = #000000 0 

rounded = 0
border_width = 0
background_color = #000000 0
border_color = #000000 0

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom left
panel_size = 100% 50
panel_margin = 0 20 #94
panel_padding = 7 -2
font_shadow = 0
panel_background_id = 1

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_monitor
taskbar_padding = 0 0 0
taskbar_background_id = 0

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_width = 140
task_centered = 1
task_padding = 6 19
task_font = Sans 8
task_font_color = #AEC3D9 100
task_active_font_color = #DCDCDC 100
task_background_id = 0
task_active_background_id = 0

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
#systray_padding = 6 2 2
#systray_background_id = 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format =%H:%M
time1_font = Sans 8
#time2_format = .:: %A, %d %B ::.
time2_font = Sans 10
clock_font_color = #000000 100
clock_padding = 2 10
clock_background_id = 0

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo