SEARCH

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

You are not logged in.

#1 2012-01-05 04:58:34

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

How To - Latest Tint2 Code and New Tint2 Additions

sudo apt-get install cmake

Last edited by VastOne (2012-01-17 00:45:12)

Offline

Be excellent to each other!

#2 2012-01-05 05:52:15

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

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

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------

# Background definitions
# ID 1 for Panel
rounded = 0
border_width = 0
background_color = #ffffff 0
#border_color = #000000 70

# ID 2
rounded = 1
border_width = 1
background_color = #ffffff 0
#border_color = #D8D8D8 29

# ID 3
rounded = 1
border_width = 1
background_color = #ffffff 0
#border_color = #121212 89

# ID 4
rounded = 1
border_width = 1
background_color = #ffffff 0
#border_color = #ED2323 60

# ID 5
rounded = 0
border_width = 1
background_color = #ffffff 0
#border_color = #000000 0

# ID 6
rounded = 6
border_width = 0
background_color = #ffffff 0
#border_color = #D8D8D8 0

# ID 7
rounded = 3
border_width = 0
background_color = #ffffff 0
#border_color = #222222 89

# ID 8
rounded = 1
border_width = 1
background_color = #ffffff 0
#border_color = #888888 200

# ID 9
rounded = 6
border_width = 0
background_color = #ffffff 0
#border_color = #888888 20

# ID 10
rounded = 0
border_width = 0
background_color = #ffffff 0
#border_color = #888888 20


#---------------------------------------------
# PANEL
#---------------------------------------------
# wm_menu = 1
panel_items = L
panel_monitor = all
panel_position = bottom left
panel_size = 530 70
panel_margin = 0 0
panel_padding = 10 0
font_shadow = 0
panel_background_id = 0
panel_layer = top

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = single_desktop
taskbar_padding = 0 0 0
taskbar_background_id = 1

#---------------------------------------------
# TASKS
#---------------------------------------------
#task_icon = 1
#task_text = 0
#task_width = 40
#task_centered = 1
#task_padding = 2 2
#task_font = sans 7
#task_font_color = #ffffff 70
#task_active_font_color = #ffffff 85
#task_background_id = 3
#task_active_background_id = 2

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
#systray_padding = 4 2 3
#systray_background_id = 1

#---------------------------------------------
# CLOCK
#---------------------------------------------
#time1_format = %H:%M
#time1_font = sans 8
#time2_format = %A %d %B
#time2_font = sans 6
#clock_font_color = #ffffff 76
#clock_padding = 4 4
#clock_background_id = 1

#---------------------------------------------
# BATTERY
#---------------------------------------------
#battery = 0
#battery_low_status = 7
#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 = 0

# Launchers
launcher_icon_theme = LinuxLex-8
launcher_padding = 5 0 10
launcher_background_id = 9
launcher_icon_size = 70
launcher_apps_dir = /home/vastone/.tint2launchers/


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


# Panel Autohide
autohide = 1
autohide_show_timeout = 0.0
autohide_hide_timeout = 0.0
autohide_height = 30
strut_policy = none

Last edited by VastOne (2012-01-10 08:12:11)

Offline

#3 2012-01-05 16:01:39

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: How To - Latest Tint2 Code and New Tint2 Additions

Kudos VastOne!! Thanks for the link! I will build my Tint2 later today. Love the detail of your How-tos..

Offline

#4 2012-01-05 17:58:14

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

And I just subscribed and need time to check this out.  big_smile

Back in a while to read.

Offline

#5 2012-01-05 18:55:47

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

Offline

#6 2012-01-06 01:30:23

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

My goodness, this is going to take me awhile to absorb it all in. smile

Offline

#7 2012-01-16 23:28:14

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions


#! Waldorf - 64bit - Xfce

Offline

#8 2012-01-16 23:30:53

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

sudo apt-get install subversion-tools

Offline

#9 2012-01-17 00:09:27

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

Thanks for that VastOne, worked that time.
Going through the rest of process now, not sure I'll have time to do it all tonight though.


#! Waldorf - 64bit - Xfce

Offline

#10 2012-01-17 00:20:10

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

After putting in the following command:

cmake -DCMAKE_INSTALL_PREFIX=/usr ./

I get the following:

CMake Error at CMakeLists.txt:16 (message):
  Not all dependencies fulfilled.  See
  http://code.google.com/p/tint2/wiki/Install


-- Configuring incomplete, errors occurred!
kris@kris-inspiron-1720:~/tint2-read-only$ make
make: *** No targets specified and no makefile found.  Stop.
kris@kris-inspiron-1720:~/tint2-read-only$ cmake -DCMAKE_INSTALL_PREFIX=/usr ./
-- checking for modules 'x11;xcomposite;xdamage;xinerama;xrender;xrandr>=1.3'
--   package 'xinerama' not found
--   package 'xrandr>=1.3' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:6 (pkg_check_modules)


-- checking for module 'pangocairo'
--   package 'pangocairo' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:7 (pkg_check_modules)


-- checking for module 'pango'
--   package 'pango' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:8 (pkg_check_modules)


-- checking for module 'cairo'
--   package 'cairo' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:9 (pkg_check_modules)


-- checking for module 'glib-2.0'
--   package 'glib-2.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:10 (pkg_check_modules)


-- checking for module 'gobject-2.0'
--   package 'gobject-2.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:11 (pkg_check_modules)


-- checking for module 'imlib2>=1.4.2'
--   package 'imlib2>=1.4.2' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:12 (pkg_check_modules)


CMake Error at CMakeLists.txt:16 (message):
  Not all dependencies fulfilled.  See
  http://code.google.com/p/tint2/wiki/Install

Further advice greatly appreciated, however it's time for me to hit the sack.  I hope to continue with this tomorrow.

Last edited by kri5 (2012-01-17 00:22:26)


#! Waldorf - 64bit - Xfce

Offline

#11 2012-01-17 00:24:09

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

sudo apt-get install libcairo2-dev libpango1.0-dev libglib2.0-dev libimlib2-dev libxinerama-dev libx11-dev libxdamage-dev libxcomposite-dev libxrender-dev libxrandr-dev

Offline

#12 2012-01-17 00:25:12

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

^ I will put that in the beginning How To as a step to fulfill

Thanks for pointing it out...

Offline

#13 2012-01-17 00:32:56

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

Offline

#14 2012-01-17 22:02:03

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

cmake -DCMAKE_INSTALL_PREFIX=/usr ./

#! Waldorf - 64bit - Xfce

Offline

#15 2012-01-17 22:05:25

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

What was the error messages that caused it to fail?

And no, according to the Tint2 page, those are Debian requirements.. for all levels of Debian

Offline

#16 2012-01-17 22:09:27

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

NO, still no joy after installing dependancies and running:

cmake -DCMAKE_INSTALL_PREFIX=/usr ./

I get the following error:

checking for module 'gtk+-x11-2.0'
--   package 'gtk+-x11-2.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found

#! Waldorf - 64bit - Xfce

Offline

#17 2012-01-17 22:18:20

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

Try building it this way

cd tint2-read-only

mkdir build

cd build

cmake -DCMAKE_INSTALL_PREFIX=/usr ../

make

sudo make install

Let me know please...

Offline

#18 2012-01-17 22:21:08

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

cmake -DCMAKE_INSTALL_PREFIX=/usr ./

Offline

#19 2012-01-17 22:21:51

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

VastOne@ I get the following error that way:

kris@kris-inspiron-1720:~$ cd tint2-read-only
kris@kris-inspiron-1720:~/tint2-read-only$ mkdir build
kris@kris-inspiron-1720:~/tint2-read-only$ cd build
kris@kris-inspiron-1720:~/tint2-read-only/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr ./
CMake Error: The source directory "/home/kris/tint2-read-only/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
kris@kris-inspiron-1720:~/tint2-read-only/build$ 

#! Waldorf - 64bit - Xfce

Offline

#20 2012-01-17 22:24:02

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

Once you install that dependency, try the build this way again

cd tint2-read-only
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make
sudo make install

Offline

#21 2012-01-17 22:54:15

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

OK, i shall see if i can find 'gtk+-x11-2.0', couldn't find it earlier but i only had a quick look.

Shall post back here either way, until then thanks for the support!


#! Waldorf - 64bit - Xfce

Offline

#22 2012-01-17 22:55:22

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

sudo apt-get install libgtk2.0-dev

Offline

#23 2012-01-17 23:16:43

kri5
#! Die Hard
From: L.G.C. UK
Registered: 2011-11-10
Posts: 568

Re: How To - Latest Tint2 Code and New Tint2 Additions

OK installed 'libgtk2.0-dev' from synaptic (i had to enable SID again) then ran:

cd tint2-read-only
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make
sudo make install

and it appears to have worked, at least there were no error messages anyway.

Thanks for the help again, i shall probably complete the rest of the setup tomorrow before my wife forgets what i look like lol.

Last edited by kri5 (2012-01-17 23:19:24)


#! Waldorf - 64bit - Xfce

Offline

#24 2012-01-17 23:20:05

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

tint -v 

Offline

Help fund CrunchBang, donate to the project!

#25 2012-01-18 01:56:46

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: How To - Latest Tint2 Code and New Tint2 Additions

cd tint2-read-only
cmake -DCMAKE_INSTALL_PREFIX=/usr ./
make
sudo make install

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.
Server: bleh

Debian Logo