Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 05:06
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
HowTo: Lucid 5.2 - swap fbpanel for Tint2 panel
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 05 Feb 2011, 16:55    Post subject:  HowTo: Lucid 5.2 - swap fbpanel for Tint2 panel  

Lucid 5.2 openbox windows manager and Tint2 panel.



First install Tint2.pet
http://www.smokey01.com/stu90/lucid.puppy.pets/tint2-0.7.1-1.pet

Then open Rox-filer file manager and navigate to /root directory - in a clear area right mouse click > Display > Show hidden

Now in the /root directory look for the file .xinitrc

Before we edit this file first make a back up copy in case you want to revert back to the lucid default with fbpanel - drag & drop > Copy to some other directory or partition.

On the /root/.xinitrc file Right mouse button click > file '.xinitrc' > open as text


The two lines we will edit are line:164 and line:169

On both lines delete the fbpanel text and replace it with tint2

So now lines 164 to 169 in /root/.xinitrc should look like this:
Code:
 if [ -f /usr/bin/tint2 ];then
  #a bit of a hack: when 3builddistro runs fixmenus, which calls variconlinks,
  #which populates /var/local/icons with symlinks, /usr/local/lib/X11/pixmaps
  #is not yet populated (happens at first boot, from default icon theme)...
  [ ! -e /var/local/icons/home48.png ] && ln -fs /usr/local/lib/X11/pixmaps/* /var/local/icons/
  tint2 &

After you have edited save the /root/.xinitrc file where it is.

Next go to menu > System > Bootmanager configure bootup Then Manage services - Choose which system services to start at bootup and untick fbpanel

Now restart x-server or switich to openbox with wm-switcher
Menu > Desktop > Desktop Settings > WM switcher switch between windowsmanagers

You should now have Tint2 panel instead of Fbpanel when you are useing the openbox windows manager - tint2 is very customizable and there are lots of tint2 setups for it if you search google "tint2 config" - the file you will need to edit to change the tint2 panel is /root/.config/tint2/tint2rc

Below is an example of another tint2 panel configuration.

And the code for it:
Code:
#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 3
border_width = 1
background_color = #000000 60
border_color = #ffffff 30

rounded = 3
border_width = 1
background_color = #ffffff 0
border_color = #ffffff 20

rounded = 3
border_width = 1
background_color = #000000 18
border_color = #ffffff 35

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 90% 36
panel_margin = 0 0
panel_padding = 2 0
font_shadow = 0
panel_background_id = 0
wm_menu = 1

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = multi_desktop
#taskbar_mode = single_desktop
taskbar_padding = 0 0 2
taskbar_background_id = 3

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 0
task_text = 1
task_width = 240
task_centered = 1
task_padding = 4 2
task_font = Aller 9
task_font_color = #000000 70
task_active_font_color = #ffffff 85
task_background_id = 2
task_active_background_id = 1

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray_padding = 4 6 0
systray_background_id = 1

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %a %d / %I:%M %p
time1_font = Aller Bold 12
#time2_format = %I:%M %p
#time2_font = Aller 10
clock_font_color = #ffffff 100
clock_padding = 6 2
clock_background_id = 1
#clock_lclick_command = xclock
#clock_rclick_command = orage

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 1
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #ffffff 76
battery_padding = 1 0
battery_background_id = 1


#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = none
mouse_scroll_up = toggle
mouse_scroll_down = iconify
Back to top
View user's profile Send private message 
alexandrion


Joined: 19 Feb 2011
Posts: 105

PostPosted: Sat 19 Feb 2011, 03:54    Post subject:  

hi,
do you have any idea why the icons are not the way they should be?

http://img576.imageshack.us/img576/4215/fffn.png
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 19 Feb 2011, 09:24    Post subject:  

If you mean the system tray icons - i presume these are displayed in the order they are started, as far as i am aware Tint2 has no control over that order?
Are they in a different order when using a different windows manager - Maybe try a full reboot see if they change position.
Back to top
View user's profile Send private message 
alexandrion


Joined: 19 Feb 2011
Posts: 105

PostPosted: Sat 19 Feb 2011, 11:34    Post subject:  

look closer at the application icons, here's how they should look like (same config different distro)

http://img337.imageshack.us/img337/4224/0041y.png
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 19 Feb 2011, 13:26    Post subject:  

Yes i see what you are reffering to now - I don't know what that theme is could you post the config file?
I just edited the theme i am using to:
Code:
#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 0

And it displays icons only ok.
Back to top
View user's profile Send private message 
alexandrion


Joined: 19 Feb 2011
Posts: 105

PostPosted: Fri 22 Apr 2011, 05:39    Post subject:  

sorry i didn't answer few months ago but i left puppy, i'm back now (not sure for how long)
i'm still not sure as to why the icons didn't display properly but now they work p.s. i used a tint2 pet file i made from the latest tint2 ppa since the latest tint2 allows dragging icons along the panel

p.s. here's how my tint2 looks (if anyone else is interested)

http://i.imgur.com/AAg1S.png
Back to top
View user's profile Send private message 
SimpleWater

Joined: 19 Apr 2011
Posts: 95

PostPosted: Fri 24 Jun 2011, 16:43    Post subject:    

I do not recommend this. I tried this out and followed the directions carefully, and it kinda of broke puppy. While its a little buggy, restarting x crashes it, also the tray applets stop functioning properly. The worst part is, if you switch back to fbpanel, meaning you replace .xinitrc with your backup, activate it from the bootloader, and uninstall the pet. You will still have the same problems, there is no fixing it. So, if you would not like to break your system like i did, then do not do it.
Back to top
View user's profile Send private message 
lithpr


Joined: 10 Mar 2011
Posts: 186

PostPosted: Sat 25 Jun 2011, 07:45    Post subject:  

I've had great success using tint2. I say, "go for it" Smile
Back to top
View user's profile Send private message 
stu90


Joined: 25 Feb 2010
Posts: 1401
Location: England. Dell Inspiron 1501. Dpup

PostPosted: Sat 25 Jun 2011, 08:23    Post subject:  

SimpleWater wrote:
I do not recommend this. I tried this out and followed the directions carefully, and it kinda of broke puppy. While its a little buggy, restarting x crashes it, also the tray applets stop functioning properly. The worst part is, if you switch back to fbpanel, meaning you replace .xinitrc with your backup, activate it from the bootloader, and uninstall the pet. You will still have the same problems, there is no fixing it. So, if you would not like to break your system like i did, then do not do it.


Hello SimpleWater,
Your results seem to differ greatly from my own experience - having used this method for quite a while now on numerous frugal installs of the official lucid puppy and my own lucid based puplets i haven't encountered any of the problems you refer to, on any of them!

As far as i am aware they only thing changed here is the executable to run - instead of fbpanel it executes tint2 - i don't see how this would cause any of the problems you had or are having?
Back to top
View user's profile Send private message 
SimpleWater

Joined: 19 Apr 2011
Posts: 95

PostPosted: Wed 29 Jun 2011, 01:37    Post subject:  

stu90 wrote:


Hello SimpleWater,
Your results seem to differ greatly from my own experience - having used this method for quite a while now on numerous frugal installs of the official lucid puppy and my own lucid based puplets i haven't encountered any of the problems you refer to, on any of them!

As far as i am aware they only thing changed here is the executable to run - instead of fbpanel it executes tint2 - i don't see how this would cause any of the problems you had or are having?


Hello stu90,
I decided to install a fresh lupu_525 to see the outcome of the results. So, i followed the steps equally, save for re-startingx. Instead i restarted the computer, only because i was a little paranoid. You see, previously, when i did re-startx, X would fail to start, and neither startx or xwin could boot it, forcing me to hit the off switch. And things went permanently glitchy from there.

This time around, it is working perfectly, and i do fancy the look Cool

I will re-start everything from the beginning, and use this fresh lupu with tint2 successfully installed Smile
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Wed 29 Jun 2011, 02:08    Post subject:  

I have also had great success with Openbox/Tint2, nothing broke. Smile
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
oldyeller


Joined: 15 Nov 2011
Posts: 772
Location: Mishawaka IN

PostPosted: Thu 22 Dec 2011, 15:26    Post subject: Post subject  

I like the tint2

But how can I get a menu for the apps besides using the mouse?

Thanks
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4229
Location: Gatineau (Qc), Canada

PostPosted: Sun 03 Nov 2013, 11:28    Post subject: Re: Post subject  

oldyeller wrote:
I like the tint2

But how can I get a menu for the apps besides using the mouse?

Thanks


You could try aragon's simple puppy menu 3:
http://murga-linux.com/puppy/viewtopic.php?search_id=1608960216&t=84166

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 2905
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 13 May 2014, 19:36    Post subject: Stu90 : tint2 step by step  

Stu90 : tint2 step by step : absolutely perfect description.
Success ! merci.
tint2_menu-0.12.pet
Description  Tint2 another one
pet

 Download 
Filename  tint2_menu-0.12.pet 
Filesize  83.06 KB 
Downloaded  34 Time(s) 
tint2.jpg
 Description   Topics about tint2
 Filesize   53.1 KB
 Viewed   70 Time(s)

tint2.jpg


_________________
Puppy, il ne lui manque que la parole !
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0901s ][ Queries: 13 (0.0079s) ][ GZIP on ]