SEARCH

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

You are not logged in.

#426 2012-11-01 01:44:47

dgz
#! CrunchBanger
Registered: 2011-11-22
Posts: 150

Re: Tint2 Help

@vastone worked perfectly with 'TC', thanks:
iDRFS.th.png

Last edited by dgz (2012-11-01 02:00:24)


ooh baby i like it raw

Offline

Help fund CrunchBang, donate to the project!

#427 2012-11-26 02:58:16

rusty_jones
#! Member
Registered: 2011-05-05
Posts: 57

Re: Tint2 Help

Can someone explain post# 3999 to me. Because I'm getting the same message.


killall tint2
tint2: no process found
┌────[rusty@Flake]───────[21:35:54]───────[~]────────────────────────────────────────
└──> tint2 -c /home/rusty/tint2/tint2rc
real transparency on... depth: 32
xRandr: Found crtc's: 2
xRandr: Linking output DVI-I-2 with crtc 0
usage: tint2 [-c] <config_file>

Offline

#428 2012-11-26 03:29:54

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help

It needs to be

tint2 -c /home/rusty/.config/tint2/tint2rc

Or even easier

tint2

Because tint2 uses the default tint2rc that is in

/home/your username/config/tint2/

VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#429 2012-11-26 13:45:09

rusty_jones
#! Member
Registered: 2011-05-05
Posts: 57

Re: Tint2 Help

that's where my files are. My problem is that when i run tint2 it closed when i close terminal. when i run this command it does not show up.  pkill tint2 && tint2 & exit

Offline

#430 2012-11-26 14:11:06

dura
Bloated Gimp
From: interzone
Registered: 2012-09-15
Posts: 2,080

Re: Tint2 Help

^ If you are running tint2 from a terminal, and then close the terminal, it will kill the tint2 process. You need to have 'tint2 &' in your autostart to have it run from boot up and continue running in background.

Can someone explain post# 3999 to me. Because I'm getting the same message.

Relates to another thread- in the conky one I'm presuming. Though my telekineses is coming along leaps and bounds I am still not telepathic (or am I?)

P.S. If you're running cinnamon, which I think you are, you'd have to add tint2 to your startup applications/commands.

Last edited by dura (2012-11-26 14:28:15)

Offline

#431 2012-12-19 15:10:09

LupinIV
New Member
Registered: 2012-12-19
Posts: 7

Re: Tint2 Help

Hello,
I'm relatively new to the Crunchbang community.

I configured my tint2rc and for some reason it does not start after I logged in. I have to restart it manually, while the settings in the autostart.sh  seem to be alright to me:

tint2

#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------
# For more information about tint2, see:
# http://code.google.com/p/tint2/wiki/Welcome
#
# For more config file examples, see:
# http://crunchbanglinux.org/forums/topic/3232/my-tint2-config/

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

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

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

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = top center horizontal
panel_size = 100% 26
panel_margin = 0 0
panel_padding = 7 0
font_shadow = 0
panel_background_id = 1
wm_menu = 1

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

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 120 26
task_centered = 0
task_padding = 6 3
task_font = cure 8
task_font_color = #606060 100
task_active_font_color = #9BBAF1 100
task_background_id = 0
task_active_background_id = 1

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 0 2 8
systray_background_id = 0
systray_sort = right2left
systray_icon_asb = 100 0 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
#time1_format = %H:%M
#time1_font = sans 7
#time2_format = %A %d %B
#time2_font = sans 7
#clock_font_color = #9BBAF1 100
#clock_padding = 1 0
#clock_background_id = 0
#clock_lclick_command = orage
#clock_rclick_command = orage
#clock_tooltip = %A, %d/%m/%y

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 0
battery_low_status = 15
battery_low_cmd = notify-send "battery low"
bat1_font = cure 7
bat2_font = cure 7
battery_font_color = #9BBAF1 100
battery_padding = 1 0
battery_background_id = 0

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = #9BBAF1 100
tooltip_font = cure 7

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

# End of config

autostart

## Openbox autostart.sh
## ====================
## When you login to your CrunchBang Openbox session, this autostart script 
## will be executed to set-up your environment and launch any applications
## you want to run at startup.
##
## Note*: some programs, such as 'nm-applet' are run via XDG autostart.
## Run '/usr/lib/openbox/openbox-xdg-autostart --list' to list any
## XDG autostarted programs.
##
## More information about this can be found at:
## http://openbox.org/wiki/Help:Autostart
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://crunchbanglinux.org/forums/
##
## Have fun! :)

## GNOME PolicyKit and Keyring
eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &

## Set root window colour
hsetroot -solid "#2E3436" &

## Group start:
## 1. nitrogen - restores wallpaper
## 2. compositor - start
## 3. sleep - give compositor time to start
## 4. conky
## 5. tint2 panel
(\
nitrogen --restore && \
cb-compositor --start && \
sleep 2s && \
conky -q && \
tint2 \
) &

#recommended by http://wiki.ubuntuusers.de/tint2#Openbox
#DISPLAY=:0.1 openbox & DISPLAY=:0.1 tint2 &

## Volume control for systray
(sleep 2s && pnmixer) &

## Volume keys daemon
xfce4-volumed &

## Enable power management
xfce4-power-manager &

## Start Thunar Daemon
thunar --daemon &

## Detect and configure touchpad. See 'man synclient' for more info.
if egrep -iq 'touchpad' /proc/bus/input/devices; then
    synclient VertEdgeScroll=1 &
    synclient TapButton1=1 &
fi

## Start xscreensaver
xscreensaver -no-splash &

## Start Clipboard manager
(sleep 3s && clipit) &

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &

## Turn on/off system beep
xset b off &

## The following command runs hacks and fixes for #! LiveCD sessions.
## Safe to delete after installation.
cb-cowpowers &

## cb-welcome - post-installation script, will not run in a live session and
## only runs once. Safe to remove.
(sleep 10s && cb-welcome --firstrun) &

## cb-fortune - have Waldorf say a little adage
#(sleep 120s && cb-fortune) &

Can someone see a mistake?

Offline

#432 2012-12-19 17:27:56

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help

^ I do not see anything out of whack.

When you start in manually, do you run it from Alt F2 and just enter tint2 and it starts?  Does it run from terminal free of issues?  You might want to add a sleep 10 before the tint2 command to see if it is a timing issue.


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#433 2012-12-19 17:47:45

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 736

Re: Tint2 Help

@lubinIV

Like VastOne recommnds, add some time before starting tint2. Also, I have had similar issues depending on the order of starting tint2, conky, and a compositor (xcompmgr and compton in my case); so maybe re-arranging your start-up order for those three.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#434 2012-12-19 22:16:44

LupinIV
New Member
Registered: 2012-12-19
Posts: 7

Re: Tint2 Help

Thanks for your replies.

@VastOne
I starts from Terminal or with gmrun without problems. Adding sleep 10 did not work.

As PackRat recommended changing the order worked (a bit), yet now Conky (which is now the last to start up) does not start up automatically (it works from terminal etc). I even put some sleep time before Conky but it did not work.
Seems like the last entry in my autostart list is not working, for some reason ...

Offline

#435 2012-12-20 00:31:29

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 736

Re: Tint2 Help

^
Did you try the compositor as the last entry?

If not, give that a try, with about 6 seconds of sleep before starting it. I think that is what I had to do last time I messed with compositing at startup.


"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#436 2012-12-25 02:46:15

Thoralder
New Member
Registered: 2012-12-16
Posts: 9

Re: Tint2 Help

Does anyone have any idea as to how I can launch ncmpcpp from the tint2 launcher? I've tried everything I can think of and nothing works. I click and it does nothing other than freeze the launcher panel - I think at one point it also caused alsa to crash and then I ended up with loads of ncmpcpp instances at 20% cpu each, made my fans go crazy and scared me - I'm only new to this stuff ops

My tint2Launcher (How I'm calling the item to launch)

	launcher_item_app = /home/ca/.local/share/applications/ncmpcpp.desktop
	#launcher_item_app = /usr/share/applications/ncmpcpp.desktop

default ncmpcpp.desktop I found in /usr/share/applications

[Desktop Entry]
Type=Application
Name=Ncmpcpp
GenericName=NCurses Music Player Client
Exec=ncmpcpp
Terminal=true
Categories=AudioVideo;Audio;Player;ConsoleOnly;

My attempt at making my own ncmpcpp.desktop file

[Desktop Entry]
Categories=Audio;AudioVideo;
Exec=ncmpcpp
GenericName=Music Player
Icon=/home/ca/.icons/AwOkenWhite/clear/128x128/apps/solfege.png
Name=Music Player
Name[en_US]=Music Player
Comment=Music Player
Comment[en_US]=Music Player
Terminal=true
Type=Application
Version=1.0

Any ideas? I'd be very grateful.

Offline

#437 2012-12-25 03:01:25

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help

Terminal app, right?  Wouldn't you you have to run it as

Exec=terminator -x ncmpcpp

or

Exec=terminator -e ncmpcpp

or possibly

Exec=terminator -x ncmpcpp &

or

Exec=terminator -e ncmpcpp &
man terminator

-e, --command=COMMAND
    Runs the specified command instead of your default shell or profile specified command 
-x, --execute COMMAND [ARGS]
    Runs the rest of the command line instead of your default shell or profile specified command. 

Of course this depends on what you are using for terminal


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#438 2012-12-25 11:38:43

Thoralder
New Member
Registered: 2012-12-16
Posts: 9

Re: Tint2 Help

Outstanding! Thanks so much for your help VastOne  big_smile

To anyone wondering I used

Exec=terminator -e ncmpcpp

The one with -x also works. I first tried the one with & at the end but this returned the following error every time:

ca@auroraSpareLinux:~$ /bin/sh: Syntax error: ")" unexpected

I guess I was getting confused with it because when I ran the default ncmpcpp.desktop I found (With ncmpcpp as the exec) it would open fine from the file manager.

Thanks again VastOne, to you and anyone reading this, Merry Christmas smile

Offline

#439 2012-12-25 15:59:22

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help

^ Glad you got it sorted, thank you and Merry Christmas back at ya!


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#440 2012-12-30 02:01:58

LupinIV
New Member
Registered: 2012-12-19
Posts: 7

Re: Tint2 Help

PackRat wrote:

^
Did you try the compositor as the last entry?

If not, give that a try, with about 6 seconds of sleep before starting it. I think that is what I had to do last time I messed with compositing at startup.

Unfortunately this does not work either. The last entry in the list will not start up. Maybe I'll put some program as the last entry which i won't need at starting up ...

But Thanks for your answer.

Offline

#441 2013-02-20 15:23:40

silince
#! CrunchBanger
Registered: 2010-07-22
Posts: 140

Re: Tint2 Help

Ok, I've read various wikis and howto's but can't find a solution to this.

I don't want OB's title bars to get hidden by, or go over the front of tint2, so essentially reducing the screensize a bit.  I looked at panel_layer and strut_policy but neither seems to work how I want it to.  Am I on the right lines or looking at the wrong area?


#! Waldorf on VeryPC Low Energy Desktop, Lenovo Thinkpad SL510 and Lenovo Ideapad S205 / Raspbmc on Pi

Offline

#442 2013-02-20 15:30:53

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#443 2013-02-20 15:38:54

silince
#! CrunchBanger
Registered: 2010-07-22
Posts: 140

Re: Tint2 Help

Doesn't work I'm afraid - that was one of the first things I tried.  If you drag a window to tint 2 it still falls behind/in front of it.  Thanks for the speedy response though.


#! Waldorf on VeryPC Low Energy Desktop, Lenovo Thinkpad SL510 and Lenovo Ideapad S205 / Raspbmc on Pi

Offline

#444 2013-02-20 15:45:01

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help

Ahh I misunderstood your question, my bad.  Tint2 cannot be setup to function as a panel that way and from comments on the Tint2 wiki it has been requested for quite a long time but never implemented


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#445 2013-02-20 15:46:25

silince
#! CrunchBanger
Registered: 2010-07-22
Posts: 140

Re: Tint2 Help

Ah no worries.  I will await an update...


#! Waldorf on VeryPC Low Energy Desktop, Lenovo Thinkpad SL510 and Lenovo Ideapad S205 / Raspbmc on Pi

Offline

#446 2013-03-06 17:19:22

talkshowhost85
New Member
Registered: 2012-08-28
Posts: 3

Re: Tint2 Help

Hi,

I still don't understand which background represents which part of the panel or the taskbar. In fact I can't tell which part of the script points to which part of the panel. I tried the code.google.com website but I am still quite confused. Can someone enlighten me how the components of the panel come together? I notice that they are layered on top of each other with the opacity controlling the appearance of each layer but which layer is which?

Really sorry if this has been asked, if there's an answer just tell me there is, somewhere in this forum and I will search again.

Last edited by talkshowhost85 (2013-03-06 17:26:58)

Offline

#447 2013-03-06 18:11:38

VastOne
#! Ranger
From: #! Fringe Division
Registered: 2011-04-26
Posts: 9,719
Website

Re: Tint2 Help


VSIDO
If you build it, they will come...
Words That Build Or Destroy

Offline

#448 2013-04-27 13:07:12

Rutz
Member
Registered: 2012-12-26
Posts: 41

Re: Tint2 Help

Hey Guys,
Here another question.

I can't really figure it out. How can I make my Icons on the top right corner look like this:

http://crunchbang.org/images/screenshot … esktop.png (Or in an other way dark. But not coloured, like it's now)

Explain it please as easy as possible.

Thank You smile

Last edited by Rutz (2013-04-27 13:08:08)


Try "rm -rf /" - It'll fix it

Offline

#449 2013-04-27 14:07:08

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 9,014

Re: Tint2 Help

^ Those are the default Faenza-Dark-CrunchBang systray icons that come with Waldorf; if you have Waldorf installed and haven't changed the icon setting in lxappearance, your systray should look like that already.

If you have Statler installed, then you should be able to get the Waldorf icons by downloading the appropriate .deb here.

EDIT:  You'll need to restart X (rebooting is the cleanest way in Wheezy/Waldorf) for the change in icon theme to be reflected in Tint2's systray.

Last edited by pvsage (2013-04-27 15:03:26)


while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.

Offline

Help fund CrunchBang, donate to the project!

#450 2013-05-01 16:30:51

Kiyuubi
New Member
Registered: 2013-04-17
Posts: 6

Re: Tint2 Help

So I am trying to change my panel/taskbar color.  It is currently tranluscent, but I want it to be the same color as my window borders.  How can I go about doing this?  I read the manual and stuff, but I am still kinda confused.

1rkBL8x.png

sJg5Ask.png

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