SEARCH

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

You are not logged in.

#1 2012-07-24 07:07:27

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

autostart menu / tint2 [ SOLVED ]

Hi Folks

I have caused myself another problem. I have been playing around with tint2 which works fine I think, at least it start up doing what i want. The thing is that the clipboard and volune nolonger appear in the system tray. I altered the autostart menu to be the same as pidsley suggested which then let tint2 start ok but now clipboard and volume control don't show up, any ideas why ? I have not changed anything else honest smile

Last edited by Gordon (2012-07-25 14:55:49)


Cheers smile smile
Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card

Offline

Be excellent to each other!

#2 2012-07-24 08:44:18

skbierm
#! Member
From: Germany
Registered: 2012-07-17
Posts: 76
Website

Re: autostart menu / tint2 [ SOLVED ]

1. Is there still any icon in you're tint2rc? If not, it might be possible, the systray is deactivated in you're actual tint2rc. It's hard to say and comes out of the blue if you don't paste you're tint2rc & openbox-autostart

2. The order of starting things, the timing .... sometimes doesn't let start things in Openbox. Found that out on myself in the last two days.

3. volumeicon has a bug, when the slider is at 100% (I reported that already upstream to Debian), that can let it crash on start or when you click twice on the symbol, so it's possible, volumeicon never starts up ... but because parcellite is missing ...

4. If you would like to try the original config settings - but didn't save them for yourself, they are in the folder /etc/skel. From there, on setting up a new folder, Crunchbang copies all the files to the home folder of a newly created user.

Offline

#3 2012-07-24 17:48:08

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: autostart menu / tint2 [ SOLVED ]

Hi skbierm,

Thanks for the reply.

The system tray is active as the icon for wired network is there. I had a look at /etc/skel and the doesn't apper to anythig different to me other than the block command for nitroge etc in the autostart menu, anyway here are my autostqart and tint2 files

## 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:
## [url]http://openbox.org/wiki/Help:Autostart[/url]
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## [url]http://crunchbanglinux.org/forums/[/url]
##
## Have fun! :)


## Group start:
## 1. nitrogen - restores wallpaper
## 2. compositor
## 3. sleep - give compositor time to start
## 4. conky
## 5. tint2 panel

nitrogen --restore &
cb-compositor --start &
sleep 2s &
conky -q &
tint2 &

#(\
nitrogen --restore && \
cb-compositor --start && \
sleep 2s && \
conky -q && \
tint2 &&
)& 

## Enable hot corners
cb-hotcorners --daemon &

## FIXME: volumeicons requires an extra-long sleep,
## else it fails to start?!
(sleep 10s && volumeicon) &

## 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 && parcellite) &

## 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 Statler say a little adage
#(sleep 120s && cb-fortune) &

## GNOME PolicyKit and Keyring
(\
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 && \
/usr/bin/gnome-keyring-daemon --start --components=ssh && \
/usr/bin/gnome-keyring-daemon --start --components=secrets && \
/usr/bin/gnome-keyring-daemon --start --components=pkcs11 && \
/usr/bin/gnome-keyring-daemon --start --components=gpg \
) &

## Enable Numbers Lock
numlockx on &

and tint2

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

# Background definitions

#  ID 1

rounded = 8
border_width = 0
background_color = #000000 30    # white 

#  ID 2

rounded = 8
border_width = 0
background_color = #ff0000 30   #red

# ID  3

rounded = 8
border_width = 0
background_color = #ffffff 30   # black

#  ID 4

rounded = 1
border_width = 1
background_color = #ff00ff 30  # fuchsia

#  ID 5 

rounded = 8
border_width = 1
background_color = #7cfc00 30    # lawn green

#  ID 6 

rounded = 8
border_width = 1
background_color = #0000ff 30 # blue

#  ID 7 
 
rounded = 8
border_width = 0
background_color = #0088cc 30   # cyan

#  ID 8 
  
rounded = 8
border_width = 1
background_color = #ffff19 30    # yellow

#  Panel

panel_monitor = 1
panel_position = bottom center horizontal
panel_items = TSC
panel_size = 94% 30
panel_background_id = 0
panel_margin = 0 -1
panel_padding = 10 4 4
panel_dock = 0
wm_menu = 1
panel_layer = bottom
panel_background_id = 3 0

#  Panel Autohide

autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 1.5
autohide_height = 6
strut_policy = follow_size

#  Taskbar

taskbar_mode = multi_desktop
taskbar_padding = 6 0 6
taskbar_background_id = 1
taskbar_active_background_id = 6   # blue
taskbar_name = 1
taskbar_name_font = Comic Sans MS 9
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #828282 100
taskbar_name_active_font_color = #828282 100

#  Tasks

urgent_nb_of_blink = 20
task_icon = 1
task_centered = 1
task_maximum_size = 40 40
task_padding = 2 2
task_background_id = 3    #  black
task_active_background_id = 2    # red
task_urgent_background_id = 4   # fuchsia
task_iconified_background_id = 3  # black

#  Task Icons

task_icon_asb = 80 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 80 0 0

#  Fonts

task_font =Comic Sans MS 06_55 6
task_font_color = #828282 60
task_active_font_color = #828282 100
task_urgent_font_color = #FFFFFF 100
task_iconified_font_color = #d8d8d8 60
font_shadow = 0

#  Launcher 

launcher_padding = 8 4 4
launcher_icon_size = 24
launcher_icon_theme = gnome-colors-statler
launcher_item_app = /usr/share/applications/terminator.desktop
launcher_item_app = /usr/share/applications/xfce4-file-manager.desktop
launcher_item_app = /usr/share/applications/gedit.desktop
launcher_item_app = /usr/share/applications/iceweasel.desktop

#  System Tray

systray = 1
systray_padding = 4 2 3
systray_sort = ascending
systray_background_id = 8   #  yellow
systray_icon_size = 24
systray_icon_asb = 100 0 0

#  Clock

time1_format = %H:%M %A %d %B
time1_font = Comic sans MS bold 10
clock_font_color = #FF0000 80
clock_padding = 12 4
clock_lclick_command = gsimplecal
clock_rclick_command = gsimplecal
clock_background_id = 7 30   # cyan

#  Tooltips

tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 7
tooltip_font_color = #d8d8d8 100
tooltip_font = Comic Sans MS normal 9.0

#  Mouse

mouse_middle = none
mouse_right = toggle
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#  End of config

hope this helps and sorry that I didn't post them before sad


Cheers smile smile
Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card

Offline

#4 2012-07-25 09:23:22

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: autostart menu / tint2 [ SOLVED ]

Hi Folks

Been messing with autostart again and it seems that just commenting out the group command for nitrogen etc does not work you have to delete it. I have just done that and now my clipboard manager is shown in the system tray again so all I have to do now is get the volume icon to appear in the tray so back to playing around again smile

EDIT to correct typo's

Last edited by Gordon (2012-07-25 15:02:29)


Cheers smile smile
Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card

Offline

#5 2012-07-25 15:01:19

Gordon
#! CrunchBanger
From: Blackpool, Lancashire, UK
Registered: 2012-05-22
Posts: 204

Re: autostart menu / tint2 [ SOLVED ]

Hi Folks,

Sucess They all now come up upon reboot and initial startup. It seem that volumeicon really does need a long sleep indeed. I have got it to work on 100% with a sleep time of 15 seconds, thanks to skbierm for his post gave me the pointer.

Again thanks skbierm all's well now smile:)


Cheers smile smile
Gordon
Using Janice Testing at present also sid and systemd
A7N8X delux motherboard, 1 GB ram, AMD ATHLON XP 2800+ ( 2255 Mhz ), Nvidia Geforce PNY 62000 graphics card

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