You are not logged in.

#1 2017-10-11 21:39:41

folti
Member
Registered: 2017-10-11
Posts: 9

Exclude conky and specific terminator profile from skippy-xd

Installed skippy-xd, running daemon in autostart script, created bl-hotcorners dir in ./config, created bl-hotcornersrc with skippy-xd with appropriate commands (gmrun and skippy-xd --activate-window-picker) and it all works nice smile


BUT, when I activate skippy-xd's window picker it offers me conky and terminator profile for desktop I had set in autostart script ( terminator --profile desk -b --geometry 1250x1250+2+33 &).

Is there a way for skippy to EXCLUDE conky and that specific terminator profile and INCLUDE all other windows?

How to manipulate skippy-xd (and where) to force it NOT to show some apps and a specific terminator profile?

Offline

#2 2017-10-12 06:23:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Exclude conky and specific terminator profile from skippy-xd

I can't find anything in the skippy-xd.rc-default file and their configuration guide doesn't have any clues.

For conky you could try changing the window_type and see if that will exclude it from skippy-xd's attention.

I have to ask though, how did you install skippy-xd?

The use of PPAs is discouraged in BunsenLabs, I can package it up for Debian if you want it.

Offline

#3 2017-10-12 06:37:20

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Exclude conky and specific terminator profile from skippy-xd

Pretty sure it didn't show conky last time I tested, so that might depend on conky window type (guessing), can't find anything mentioning ignoring windows on github page/issues, but it would be weird if there is no such functionality. edit: HoaS was faster.

edit2:
a. terminator has 'hide from taskbar' in global settings, which will hide it from skippy as well.
b. terminator has -c option, which may be the starting point to configure that specific class/instance as hidden using openbox configs (not tested)

Last edited by brontosaurusrex (2017-10-12 08:01:13)

Offline

#4 2017-10-12 10:32:17

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

Head_on_a_Stick wrote:

I can't find anything in the skippy-xd.rc-default file and their configuration guide doesn't have any clues.

For conky you could try changing the window_type and see if that will exclude it from skippy-xd's attention.

brontosaurusrex wrote:

Pretty sure it didn't show conky last time I tested, so that might depend on conky window type (guessing), can't find anything mentioning ignoring windows on github page/issues, but it would be weird if there is no such functionality. edit: HoaS was faster.

Thanks guys smile That was it. Just changed own_window_type from normal to desktop

Head_on_a_Stick wrote:

I have to ask though, how did you install skippy-xd?

The use of PPAs is discouraged in BunsenLabs, I can package it up for Debian if you want it.

No, I was following guidelines and installed it witk dpkg -i from https://code.google.com/archive/p/skippy-xd/downloads Got myself burned many times with PPA's big_smile

(I'm an old user who revisits community. Last install on my machine was CrunchBang Waldorf. I bought a new machine so I installed BunsenLabs ; )

brontosaurusrex wrote:

edit2:
a. terminator has 'hide from taskbar' in global settings, which will hide it from skippy as well.
b. terminator has -c option, which may be the starting point to configure that specific class/instance as hidden using openbox configs (not tested)

a. Yes, it's ticked. It hides it from taskbar. But the "Hide size from title" is also ticked, but on startup, it shows me a bar with size in pixels, which disappears when I click on it. (It's pretty annoying, but I should live with it, I think. Or not?...I guess it's something in terminator config file, which I'm pasting down...)

b. Hm. When I start it in autostart with

terminator --profile desk -b -c --geometry 1250x1250+2+33 --layout novi_lej &

it starts it hidden. You think it's argument within -c option? To show terminal itself, but skiping the taskbar?

Here is terminator config file, if it can help:

[global_config]
  enabled_plugins = CustomCommandsMenu, InactivityWatch, TestPlugin, ActivityWatch, TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, Logger, MavenPluginURLHandler, LaunchpadBugURLHandler
  title_hide_sizetext = True
  sticky = True
  borderless = True
  title_transmit_bg_color = "#000000"
  hide_from_taskbar = True
  tab_position = hidden
  inactive_color_offset = 1.0
  title_inactive_bg_color = "#000000"
[keybindings]
  hide_window = <Shift><Control>a
[profiles]
  [[default]]
    palette = "#000000:#cc0000:#4e9a06:#c4a000:#3465a4:#75507b:#06989a:#d3d7cf:#555753:#ef2929:#8ae234:#fce94f:#729fcf:#ad7fa8:#34e2e2:#eeeeec"
    background_image = None
    background_darkness = 0.83
    scrollback_lines = 5000
    background_type = transparent
    use_system_font = False
    cursor_color = "#d8d8d8"
    scroll_on_output = False
    show_titlebar = False
    color_scheme = custom
    font = Monospace 10
    scrollback_infinite = True
  [[desk]]
    scrollbar_position = hidden
    palette = "#444444:#3d3d3d:#909090:#666666:#676767:#6f6f6f:#8e8e8e:#d3d7cf:#555753:#ababab:#d2d2d2:#d5d5d5:#c3c3c3:#d1d1d1:#c2c2c2:#eeeeec"
    background_image = /home/folti/slike/wallpapers/Carbon_Fibre.png
    background_darkness = 0.97
    use_system_font = False
    scroll_on_output = False
    icon_bell = False
    show_titlebar = False
    font = Monospace 10
    scrollback_infinite = True
[layouts]
  [[default]]
    [[[child1]]]
      type = Terminal
      parent = window0
    [[[window0]]]
      type = Window
      parent = ""
      size = 680, 540
  [[novi_lej]]
    [[[child0]]]
      position = 0:28
      type = Window
      order = 0
      parent = ""
      size = 880, 540
    [[[terminal1]]]
      profile = desk
      type = Terminal
      order = 0
      parent = child0
[plugins]

Last edited by folti (2017-10-12 10:33:44)

Offline

#5 2017-10-12 10:37:42

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Exclude conky and specific terminator profile from skippy-xd

should be

-c classnameOfYourChoice

Offline

#6 2017-10-12 10:42:07

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

So, the new questions are:

a. How can

terminator --profile  desk

be always bellow all windows?
b. How do I get rid of that bar which shows terminal size on stratup, but disappears  when I click anywhere in terminator parameter?
c. How to hide terminator's desk profile from skippy-xd? (I installed sakura for default terminal- it's a workaround, but it keeps the terminator and sakura divided when terminator's option "Show on all workspaces" is true and when I want another independent terminal)

Offline

#7 2017-10-12 10:44:40

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

brontosaurusrex wrote:

should be

-c classnameOfYourChoice

What is classnameOfYourChoice? Layout name or profile name? Or both? neutral

Can You give me an example?

Offline

#8 2017-10-12 11:13:41

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Exclude conky and specific terminator profile from skippy-xd

I tryed, but could not make it work with class names anyway, but 'role' seems to work:

a. terminator -r "noskippy"
b. obapps, add that window with that role and enable 'Skip pager' and 'Skip Taskbar', which should make an entry in .config/openbox/rc.xml like:

<application class="Terminator" name="terminator" role="noskippy" type="normal"><skip_taskbar>yes</skip_taskbar><skip_pager>yes</skip_pager></application>

Still missing needed granularity (it's a workaround)), i'll blame skippy.

Last edited by brontosaurusrex (2017-10-12 11:17:26)

Offline

#9 2017-10-12 11:47:37

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

Ok, I've put in ~/.config/openbox/rc.xml

<application class="Terminator" name="terminator" role="noskippy" type="normal"><skip_taskbar>yes</skip_taskbar><skip_pager>yes</skip_pager></application>

and added to autostart script this line

terminator --profile desk -b --layout novi_lej -r noskippy &

No luck. Skippy still shows it.

Then I tried with putting this line in autostart script (in case colons are the problem)

terminator --profile desk -b --layout novi_lej -r "noskippy" &

..and skippy still shows it.

Offline

#10 2017-10-12 12:05:50

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

Maybe I should define role in terminator config file?

Offline

#11 2017-10-12 12:43:52

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Exclude conky and specific terminator profile from skippy-xd

If there is 'role per profile', then yes. Any 'xml' errors on 'openbox --restart' ?

Last edited by brontosaurusrex (2017-10-12 12:49:03)

Offline

#12 2017-10-12 12:55:59

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

folti@sokrat:~$ openbox --restart
folti@sokrat:~$ 

No errors, as I can see

Offline

#13 2017-10-12 13:03:24

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

Am I putting it in the right place in rc.xml? (just a tought)

.....
  </menu>
  <applications>
	  <application class="Terminator" 
	  name="terminator" 
	  role="noskippy" 
	  type="desktop">
	  <skip_taskbar>yes</skip_taskbar>
	  <skip_pager>yes</skip_pager>
	  <shade>no</shade>
      <layer>below</layer>
      </application>
    <!--
  # this is an example with comments through out. use these to make your
  # own rules, but without the comments of course.
  # you may use one or more of the name/class/role/title/type rules to specify
  # windows to match

  <application name="the window's _OB_APP_NAME property (see obxprop)"
              class="the window's _OB_APP_CLASS property (see obxprop)"
               role="the window's _OB_APP_ROLE property (see obxprop)"
              title="the window's _OB_APP_TITLE property (see obxprop)"
               type="the window's _OB_APP_TYPE property (see obxprob)..
                      (if unspecified, then it is 'dialog' for child windows)">
  # you may set only one of name/class/role/title/type, or you may use more
  # than one together to restrict your matches.

  # the name, class, role, and title use simple wildcard matching such as those
  # used by a shell. you can use * to match any characters and ? to match
  # any single character.

  # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  #    or desktop

  # when multiple rules match a window, they will all be applied, in the
  # order that they appear in this list


    # each rule element can be left out or set to 'default' to specify to not
    # change that attribute of the window

    <decor>yes</decor>
    # enable or disable window decorations

    <shade>no</shade>
    # make the window shaded when it appears, or not

    <position force="no">
      # the position is only used if both an x and y coordinate are provided
      # (and not set to 'default')
      # when force is "yes", then the window will be placed here even if it
      # says you want it placed elsewhere.  this is to override buggy
      # applications who refuse to behave
      <x>center</x>
      # a number like 50, or 'center' to center on screen. use a negative number
      # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
      # right edge (or bottom).
      <y>200</y>
      <monitor>1</monitor>
      # specifies the monitor in a xinerama setup.
      # 1 is the first head, or 'mouse' for wherever the mouse is
    </position>

    <focus>yes</focus>
    # if the window should try be given focus when it appears. if this is set
    # to yes it doesn't guarantee the window will be given focus. some
    # restrictions may apply, but Openbox will try to

    <desktop>1</desktop>
    # 1 is the first desktop, 'all' for all desktops

    <layer>normal</layer>
    # 'above', 'normal', or 'below'

    <iconic>no</iconic>
    # make the window iconified when it appears, or not

    <skip_pager>no</skip_pager>
    # asks to not be shown in pagers

    <skip_taskbar>no</skip_taskbar>
    # asks to not be shown in taskbars. window cycling actions will also
    # skip past such windows

    <fullscreen>yes</fullscreen>
    # make the window in fullscreen mode when it appears

    <maximized>true</maximized>
    # 'Horizontal', 'Vertical' or boolean (yes/no)
  </application>

  # end of the example
-->
    <!--
    <application class="Gimp" name="gimp" role="gimp-toolbox" type="utility">
      <maximized>vertical</maximized>
    </application>
    <application class="Gimp" name="gimp" role="gimp-dock" type="utility">
      <maximized>vertical</maximized>
    </application>
    <application class="Gimp" name="gimp" role="gimp-image-window" type="normal">
      <position force="no">
        <x>center</x>
        <y>center</y>
      </position>
    </application>

    <application class="Gimp" name="gimp-2.8" role="gimp-toolbox" type="utility">
      <maximized>vertical</maximized>
    </application>
    <application class="Gimp" name="gimp-2.8" role="gimp-dock" type="utility">
      <maximized>vertical</maximized>
    </application>
    <application class="Gimp" name="gimp-2.8" role="gimp-image-window" type="normal">
      <position force="no">
        <x>center</x>
        <y>center</y>
      </position>
    </application>
-->
  </applications>
</openbox_config>

Offline

#14 2017-10-12 14:15:00

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: Exclude conky and specific terminator profile from skippy-xd

No idea what's the problem
https://transfer.sh/15jtZ1/10122017.swaddling.1611.mp4
besides silly terminator edge that goes away when clicked.

Offline

#15 2017-10-12 15:04:00

folti
Member
Registered: 2017-10-11
Posts: 9

Re: Exclude conky and specific terminator profile from skippy-xd

smile
Thank You for the effort. To be honest, I was too enthusiastic (like a baby big_smile ) about a new machine so, in that outburst of joy, I wanted to give it a little bit of eye-candy with conkys,"visually integrated desktop terminal", hotcorners and desktop icons. I would probably comment out all of that after a month or even a week. big_smile

Eye-candy looks best with compiz. And if I wanted compiz, I would be runnig debian-gnome or debian-kde. For eye-candy without compiz-"troubles" I would be running debian-cinnamon.

And thank You for reminding of that. Bunsen is, by default, great mix of practically minimal debian with fast openbox (and I hope it is stable as crunchbang was). And that is what I really want from mine machine.

So, altought this topic isn't [SOLVED], I find it [resolved] smile tnx again smile

Offline

Board footer

Powered by FluxBB