SEARCH

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

You are not logged in.

#1 2011-08-05 21:07:11

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

How-To xfce4-panel and tint2 panel launch scripts

sudo apt-get install wmctrl

Last edited by VastOne (2011-11-26 21:42:26)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-08-06 00:21:43

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

Re: How-To xfce4-panel and tint2 panel launch scripts

I chose tint2 as my final replacement.. It is the only one of the three that mimics cairo-dock in allowing the mouse scrollwheel to open apps

xfce4-panel also has a white background when you hover over an icon..  This does not happen to everyone and I have open threads trying to resolve it...

ADeskBar is good but seems to have lost it's developer and is being maintained on Conky PitStop.  It also seems "slow" to me in responses..

This is all IMHO, YMMV....

Last edited by VastOne (2011-08-06 00:53:33)

Offline

#3 2011-08-06 01:09:36

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Last edited by Sector11 (2011-08-06 01:14:07)

Offline

#4 2011-08-06 01:14:12

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#5 2011-08-06 01:15:37

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#6 2011-08-06 01:22:50

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#7 2011-08-06 01:25:00

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Last edited by Sector11 (2012-02-08 21:35:36)

Offline

#8 2011-08-17 18:45:46

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#9 2012-02-08 20:57:34

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#10 2012-02-13 19:29:32

Mandark
New Member
Registered: 2012-02-13
Posts: 4

Re: How-To xfce4-panel and tint2 panel launch scripts

Wonderful hack, while waiting for tint2 to add the support natively.

However, I'm having a problem with the application in focus not minimizing.
Instead, the script seems to defer any action until the application loses focus/gets minimized, only then to bring it back to focus smile

Anyone else have this problem?

Offline

#11 2012-02-13 19:33:32

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

Re: How-To xfce4-panel and tint2 panel launch scripts

^ Do you have xdotool installed?

What you are describing is what the original scripts did with just the wmctrl support

With the addition of xdotool, it should iconify either way when clicked on.

That is how it works for me.

I agree also. it would be nice if tint2 did this natively.

Offline

#12 2012-02-13 19:37:19

Mandark
New Member
Registered: 2012-02-13
Posts: 4

Re: How-To xfce4-panel and tint2 panel launch scripts

I do.
As this was just a quick virtualbox attempt, I'll try again at home, and report back with results.

Also, unminimizing is noticably slower than when using the taskbar... Sure hope they add it

Offline

#13 2012-02-13 19:57:39

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

Re: How-To xfce4-panel and tint2 panel launch scripts

I would also make sure that everything is in the path..  that you can run each of the tools and script from anywhere. shot in the dark,  I know.  smile

I recall an issue when I first set this up until I rebooted..

Offline

#14 2012-02-17 15:21:44

Mandark
New Member
Registered: 2012-02-13
Posts: 4

Re: How-To xfce4-panel and tint2 panel launch scripts

Well, seems there's a problem with xdotool...

First off, my version doesn't accept the syntax used in your example:
"xdotool getactivewindow getwindowpid" outputs "Usage: getactivewindow".

But, replacing the offenfing line with ACTIV_WIN=$(xdotool getwindowpid $(xdotool getactivewindow))
gets me to the proper if.

However, "xdotool windowminimize" keeps throwing Segmentation faults whichever way I try to invoke it.

Could you, perhaps, tell me which version you are using?
(I'm doing this on a vanilla Statler installation, standard repos, no fiddling)

Offline

#15 2012-02-17 15:30:12

Mandark
New Member
Registered: 2012-02-13
Posts: 4

Re: How-To xfce4-panel and tint2 panel launch scripts

Last edited by Mandark (2012-02-17 15:30:37)

Offline

#16 2012-03-04 16:46:41

rml
#! Member
Registered: 2012-02-10
Posts: 64

Re: How-To xfce4-panel and tint2 panel launch scripts

Last edited by rml (2012-03-04 16:48:40)

Offline

#17 2012-06-15 13:51:16

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

Re: How-To xfce4-panel and tint2 panel launch scripts

~/.config/tint2/t2launchrc

Last edited by Sector11 (2012-06-15 13:56:06)

Offline

#18 2012-06-15 22:39:22

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#19 2012-06-15 22:53:05

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

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#20 2012-10-01 14:36:21

mips
Member
Registered: 2011-07-19
Posts: 45

Re: How-To xfce4-panel and tint2 panel launch scripts

Would it be possible to add another function to this so when you middle or right click it opens another instance of the app and mousewheel scrolls through the open ones?

Offline

#21 2012-10-01 15:23:18

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

Re: How-To xfce4-panel and tint2 panel launch scripts

  mouse_scroll_up = next_task : send the focus to next task
  mouse_scroll_down = prev_task : send the focus to previous task

Offline

#22 2013-12-20 16:45:23

g33zr
#! Die Hard
From: Never Never Land
Registered: 2013-02-19
Posts: 635

Re: How-To xfce4-panel and tint2 panel launch scripts

@VastOne: I thought I'd experiment a bit with tint2 panel, and possibly with xfce4, but never got past

fff@crunchbang:~$ gksudo gedit /usr/local/bin/launch
(gksudo:5054): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed
fff@crunchbang:~$ 

Now I'm unable to access Thunar File Manager. Please advise.

Thanks

Last edited by g33zr (2013-12-20 16:45:47)

Offline

#23 2013-12-20 17:12:38

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: How-To xfce4-panel and tint2 panel launch scripts

Offline

#24 2013-12-20 17:27:48

g33zr
#! Die Hard
From: Never Never Land
Registered: 2013-02-19
Posts: 635

Re: How-To xfce4-panel and tint2 panel launch scripts

root@crunchbang:/home/fff# gedit /usr/local/bin/launch
bash: gedit: command not found
root@crunchbang:/home/fff# 

Offline

Help fund CrunchBang, donate to the project!

#25 2013-12-20 17:41:32

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: How-To xfce4-panel and tint2 panel launch scripts

root@crunchbang:/home/fff# gedit /usr/local/bin/launch
bash: gedit: command not found
root@crunchbang:/home/fff# 

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