Author |
Message |
stu90

Joined: 25 Feb 2010 Posts: 1399 Location: England. Dell Inspiron 1501. Dpup
|
Posted: 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
|
|
 |
alexandrion

Joined: 19 Feb 2011 Posts: 105
|
Posted: 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
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1399 Location: England. Dell Inspiron 1501. Dpup
|
Posted: 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
|
|
 |
alexandrion

Joined: 19 Feb 2011 Posts: 105
|
Posted: 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
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1399 Location: England. Dell Inspiron 1501. Dpup
|
Posted: 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
|
|
 |
alexandrion

Joined: 19 Feb 2011 Posts: 105
|
Posted: 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
|
|
 |
SimpleWater
Joined: 19 Apr 2011 Posts: 94
|
Posted: 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
|
|
 |
lithpr

Joined: 10 Mar 2011 Posts: 186
|
Posted: Sat 25 Jun 2011, 07:45 Post subject:
|
|
I've had great success using tint2. I say, "go for it"
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1399 Location: England. Dell Inspiron 1501. Dpup
|
Posted: 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
|
|
 |
SimpleWater
Joined: 19 Apr 2011 Posts: 94
|
Posted: 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
I will re-start everything from the beginning, and use this fresh lupu with tint2 successfully installed
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3726 Location: UK
|
Posted: Wed 29 Jun 2011, 02:08 Post subject:
|
|
I have also had great success with Openbox/Tint2, nothing broke.
_________________ Spup Frugal HD and USB
Root forever!
|
Back to top
|
|
 |
oldyeller

Joined: 15 Nov 2011 Posts: 888 Location: Alaska
|
Posted: 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
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12070 Location: Gatineau (Qc), Canada
|
Posted: 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
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Tue 13 May 2014, 19:36 Post subject:
Stu90 : tint2 step by step |
|
Stu90 : tint2 step by step : absolutely perfect description.
Success ! merci.
Description |
Tint2 another one
|

Download |
Filename |
tint2_menu-0.12.pet |
Filesize |
83.06 KB |
Downloaded |
183 Time(s) |
Description |
Topics about tint2 |
Filesize |
53.1 KB |
Viewed |
666 Time(s) |

|
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
|
Back to top
|
|
 |
|