SEARCH

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

You are not logged in.

#51 2012-09-08 01:46:32

jelloir
#! CrunchBanger
From: Outside the garden wall
Registered: 2009-08-21
Posts: 212

Re: The great #! forums i3 thread

Sure, it's my homage to Debian - the red is the official Debian Rubine Red.

The relevant colour and font sections are as follows:

# font for window titles
font xft:Liberation Sans Mono 8

# class                 border  backgrd text    indicator
client.focused          #d72f6b #d70a53 #FFFF50 #FFFF50
client.focused_inactive #06090d #06090d #696f89 #090e14
client.unfocused        #090e14 #090e14 #696f89 #090e14
client.urgent           #870000 #870000 #ffffff #090e14
client.background       #06090d

# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run -nb "#090e14" -nf "#696f89" -sb "#d70a53" -sf "#FFFF50" -fn "Liberation Mono-8"

bar {
    status_command i3status

    colors {
        background #090e14
        statusline #ffffff

        # class            border  backgrd text
        focused_workspace  #d72f6b #d70a53 #FFFF50
        active_workspace   #06090d #06090d #696f89
        inactive_workspace #06090d #06090d #696f89
        urgent_workspace   #d72f6b #d70a53 #FFFF50
    }
}

N.B. I use a patched version of dmenu to support Xft.  Likewise the latest git version of i3 to support Xft and the indicator hint.

If using URxvt and solid background colours, the following config is used:

In ~/.i3/config

exec --no-startup-id xsetroot -solid "#06090d"

In .Xdefaults

URxvt.background : #06090d

This matches client.background in i3.

Offline

Help fund CrunchBang, donate to the project!

#52 2012-09-08 07:43:12

chiffon_rouge
#! Member
Registered: 2011-07-24
Posts: 60

Re: The great #! forums i3 thread

Thank you very much. Amazing work on your end.

i3 is simply my favorite tiling wm, together with Spectrwm (both which I love for the great defaults) and kwin *cough*.

Offline

#53 2012-09-13 12:33:19

hochrappenkopf
#! CrunchBanger
From: Germany
Registered: 2011-02-15
Posts: 170

Re: The great #! forums i3 thread

gensym wrote:

^ The default configuration is pretty sane (though dmenu for some reason is bound to mod+d). Just install it and give it a go, it will give you a good idea of how things work and what i3 is capable of.

Really fine to use, if you read the excellent online-manuals - before starting with i3: wink

User Guide:   http://i3wm.org/docs/userguide.html
Shortcuts:     http://i3wm.org/docs/userguide.html#_de … eybindings


"If you can dream it, you can do it!" [Walt Disney]

Offline

#54 2012-09-13 14:53:23

servingwater
#! Junkie
Registered: 2009-02-28
Posts: 466

Re: The great #! forums i3 thread

i3wm simply rocks by far my favorite tiler by now ever since they imroved the bar management and included the tray.
And on top of that a very coherent and understanable text ffile to configure the damn thing.

Offline

#55 2012-09-21 08:31:47

xor
#! Die Hard
Registered: 2012-01-11
Posts: 775

Re: The great #! forums i3 thread

a new stable version (4.3) of our beloved i3 wm hast just been released. smile

read more here:

http://i3wm.org/downloads/RELEASE-NOTES-4.3.txt

Last edited by xor (2012-09-21 08:35:24)

Offline

#56 2012-10-27 20:38:10

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: The great #! forums i3 thread

Using i3wm for some months now. The only thing I'm missing is the option to have another menu than just dmenu. Something like debian menu on right-click or from a panel (like fbpanel). Would this be possible somehow in i3?
Thanks,
Tuna


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#57 2012-10-30 12:48:52

solloron1
New Member
Registered: 2012-10-30
Posts: 2

Re: The great #! forums i3 thread

jelloir wrote:

Anyone who has used i3 for a while may have come across the "Bars" issue with the edges of terminals - in my case URxvt.  I noticed a post from Michael Stapelberg on the mailing list today about a patch to resolve it and gave it a try.

http://infra.in.zekjur.net/archives/i3- … 00895.html

Great news!  Now you can set a wallpaper and happily have transparency without the yucky bars around terminal edges...

tZmR2MQ

There was a workaround if using solid colours but that's no longer needed with this patch which is due for inclusion in 4.3.

I am a bit of a noobie and I am wondering how do you apply that patch provided by the creator?  Thanks!

Offline

#58 2012-10-31 21:18:02

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: The great #! forums i3 thread

Tunafish wrote:

Using i3wm for some months now. The only thing I'm missing is the option to have another menu than just dmenu. Something like debian menu on right-click or from a panel (like fbpanel). Would this be possible somehow in i3?
Thanks,
Tuna

Maybe deskmenu?

NAME
       deskmenu - A root menu for X

SYNTAX
       deskmenu <argument>

DESCRIPTION
       DeskMenu  is  a root menu program which is activated by clicking the root win‐
       dow.  It is configured from a .deskmenurc file in  your  home  directory,  see
       example_rc for more details.

Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#59 2012-10-31 21:28:59

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: The great #! forums i3 thread

@machinebacon,
thanks, I already tried

Your windowmanager is not deskmenu compatible!

sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#60 2012-11-01 07:48:29

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: The great #! forums i3 thread

What about the good-old 9menu? Give it a .xbindkeysrc (check how it is in Oyster)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#61 2012-11-01 12:19:57

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: The great #! forums i3 thread

Thanks Mr Bacon (Nice avatar btw, matches the new #! layout smile )
I should have been more clear... i'm looking for an auto-generated menu.
In livarp it's done by running fbpanel with just the menu button. But I can't get fbpanel to run in i3wm.

Edit: Got fbpanel running... Now I've to find out to configure i3wm. fbpanel is autohiding, but when it shows, it uses the whole upper bar and shifts my other windows downwards.
I think it should float on the top of the screen...

Last edited by Tunafish (2012-11-01 13:47:40)


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#62 2012-11-01 12:59:06

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,541

Re: The great #! forums i3 thread

You may be able to pipe a menu generating script to dzen2 (or maybe the i3 bar directly?).

Something like these:

https://bbs.archlinux.org/viewtopic.php?pid=390680

http://dzen.geekmode.org/dwiki/doku.php?id=dzen:dz9menu

dzen2 also has a menu mode -

http://dzen.geekmode.org/dwiki/doku.php … n:option-m

I have never used it, but found this example:

Simple menu:

echo "Applications" | dzen2 -l 4 -p -m < menufile

Last edited by PackRat (2012-11-01 13:31:45)


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

Offline

#63 2012-11-01 18:54:19

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: The great #! forums i3 thread

Thank you Packrat for the suggestion. I've searched the web for examples of such a menu, but can't find much. It should be possible to get submenus as well according to some man pages and website. No clue how to do the config for submenus though.


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#64 2012-11-02 06:12:41

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: The great #! forums i3 thread

Tuna,

for_window [class="fbpanel"] floating enable

or you can also use lxpanel (only the "Menu" item added to the 'panel') with a keybind:

the keybinding should open
lxpanelctl menu

and supposedly

for_window [class="lxpanel"] floating enable

Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#65 2012-11-02 21:47:07

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: The great #! forums i3 thread

I tried all kinds of combinations, with i3bar, without i3bar, floating enabled, fbpanel started before and after starting i3, setdocktype true and false, etcetera. 
The result is: at first it starts in the right corner at the right size. Then it hides and next time it shows as a screen wide panel. Just once and then it's gone.
What's the winning combination?

Global {
    edge = bottom
    allign = left
    margin = 0
    widthtype = pixel
    width = 24
    height = 18
    transparent = true
    tintcolor = #aaaaaa
    alpha = 125
    setdocktype = true
    setpartialstrut = false
    autohide = true
    heightWhenHidden = 0
    roundcorners = false
    roundcornersradius = 1
    layer = none
    MaxElemHeight = 32
}

sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#66 2012-11-04 18:18:15

solloron1
New Member
Registered: 2012-10-30
Posts: 2

Re: The great #! forums i3 thread

So does anyone know how to apply patches provided by the author?  I know I asked earlier but it may have been overloocked.  Thanks!

Offline

#67 2012-11-04 18:32:54

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: The great #! forums i3 thread

tuna, little typo: allign != align

Last edited by machinebacon (2012-11-04 18:33:51)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#68 2012-11-04 21:57:11

jelloir
#! CrunchBanger
From: Outside the garden wall
Registered: 2009-08-21
Posts: 212

Re: The great #! forums i3 thread

solloron1 wrote:

So does anyone know how to apply patches provided by the author?  I know I asked earlier but it may have been overloocked.  Thanks!

If your using Stable the patch won't work as Stable is version 3.x, If your using Debian Testing or Sid see http://i3wm.org/docs/repositories.html

Probably easiest if your not familiar with compiling from source and applying patches to use the i3 provided Debian repo.

Offline

#69 2012-11-05 13:08:20

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: The great #! forums i3 thread

While searching for a solution for my auto-generated menu in i3wm I came across pdmenu. This seems to be what I need.

2012-11-051280x800.png


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#70 2012-11-06 00:35:23

Super-Nathan
#! CrunchBanger
From: South Korea
Registered: 2009-12-18
Posts: 158
Website

Re: The great #! forums i3 thread

Here is a Screenshot

It's not the fanciest, but its what I use on all my computers!

# i3 config file (v4)

set $mod Mod1

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
bindsym $mod+Return exec i3-sensible-terminal

#Filezilla
bindsym $mod+Z exec filezilla

# Get the web, all up in here
bindsym $mod+C exec chromium-browser

# Rub a lamp, get a geany
bindsym $mod+X exec geany

# n is for Nautilus, which we don't use
bindsym $mod+N exec spacefm

# t is for thunar, which we sometimes like. (and need his automount daemon!)
bindsym $mod+T exec thunar

# See nemo swim, see nemo edit the web
bindsym $mod+B exec bluefish

# whats left over? the gimp
bindsym $mod+G exec gimp

# screenshots bitches
bindsym $mod+P exec xfce4-screenshooter

# screenshots bitches (movie stylie)
bindsym $mod+O exec terminator -e recordmydesktop

# Music time
bindsym $mod+M exec clementine

# kill focused window
bindsym $mod+Shift+Q kill

# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run

# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right

# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# move focused window
bindsym $mod+Shift+J move left
bindsym $mod+Shift+K move down
bindsym $mod+Shift+L move up
bindsym $mod+Shift+colon move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

##########################
#  i3 sucks at figuring out horizontal
# Switch these!!!!!!!!!!!!!!
##########################

# split in horizontal orientation
bindsym $mod+V split h

# split in vertical orientation
bindsym $mod+H split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen

# change container layout (stacked, tabbed, default)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout default

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# focus the child container
#bindcode $mod+d focus child

# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10

# move focused container to workspace
bindsym $mod+Shift+exclam move workspace 1
bindsym $mod+Shift+at move workspace 2
bindsym $mod+Shift+numbersign move workspace 3
bindsym $mod+Shift+dollar move workspace 4
bindsym $mod+Shift+percent move workspace 5
bindsym $mod+Shift+asciicircum move workspace 6
bindsym $mod+Shift+ampersand move workspace 7
bindsym $mod+Shift+asterisk move workspace 8
bindsym $mod+Shift+parenleft move workspace 9
bindsym $mod+Shift+parenright move workspace 10

# reload the configuration file
bindsym $mod+Shift+C reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+R restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+E exit

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # They resize the border in the direction you pressed, e.g.
        # when pressing left, the window is resized so that it has
        # more space on its left

bindsym j resize shrink left 10 px or 10 ppt
bindsym Shift+J resize grow   left 10 px or 10 ppt

bindsym k resize shrink down 10 px or 10 ppt
bindsym Shift+K resize grow   down 10 px or 10 ppt

bindsym l resize shrink up 10 px or 10 ppt
bindsym Shift+L resize grow   up 10 px or 10 ppt

bindsym semicolon resize shrink right 10 px or 10 ppt
bindsym Shift+colon resize grow   right 10 px or 10 ppt

        # same bindings, but for the arrow keys
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow   left 10 px or 10 ppt

bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow   down 10 px or 10 ppt

bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow   up 10 px or 10 ppt

bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow   right 10 px or 10 ppt

        # back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
        status_command i3status
}

#######################################################
#                                                     #
#                USER CONFIG STUFF                    #
#                                                     #
#######################################################

exec --no-startup-id i3-msg 'workspace 2; exec chromium-browser; workspace 1'
exec --no-startup-id i3-msg 'workspace 9; exec terminator -e htop; workspace 1'
exec --no-startup-id i3-msg 'workspace 1; exec terminator;'

# Set a background
exec nitrogen --restore

# Set Fonts
font xft:DejaVu Sans Mono 10

# Volume!
exec --no-startup-id xfce4-volumed

## Start Thunar Daemon
exec --no-startup-id thunar --daemon 

# Network for my bitches!
exec --no-startup-id nm-applet

# music!
exec --no-startup-id radiotray

# Make XFCE notifications play nicely
for_window [class="Xfce4-notifyd"] floating enable; border none; focus mode_toggle

Last edited by Super-Nathan (2012-11-06 00:40:05)


#echo "Something useful" > /dev/null

PiBang Linux

Offline

#71 2012-12-12 05:42:40

xor
#! Die Hard
Registered: 2012-01-11
Posts: 775

Re: The great #! forums i3 thread

i3 version 4.4 has been released today:

http://i3wm.org/downloads/RELEASE-NOTES-4.4.txt

Offline

#72 2012-12-15 22:06:48

dkeg
#! Die Hard
From: Mid-Atlantic Grill
Registered: 2011-12-05
Posts: 724

Re: The great #! forums i3 thread

I just came to post that.  yes!  check out the workspace back and forth feature.


grill it | the rocky path may just be the best path

Offline

#73 2012-12-18 16:15:30

Digit
#! Die Hard
From: the internet
Registered: 2009-05-26
Posts: 1,082
Website

Re: The great #! forums i3 thread

Tunafish wrote:

Thanks Mr Bacon (Nice avatar btw, matches the new #! layout smile )
I should have been more clear... i'm looking for an auto-generated menu.
In livarp it's done by running fbpanel with just the menu button. But I can't get fbpanel to run in i3wm.

Edit: Got fbpanel running... Now I've to find out to configure i3wm. fbpanel is autohiding, but when it shows, it uses the whole upper bar and shifts my other windows downwards.
I think it should float on the top of the screen...

aemenu from aewm is a nice tidy little menu i sometimes use.  might be worth a look.  i've not seen any way to adjust and customise it, but it uses the debian autogenerated menu perfectly.

Offline

#74 2013-01-04 15:45:39

Resident Bot
#! Die Hard
From: The Netherlands
Registered: 2012-02-17
Posts: 636

Re: The great #! forums i3 thread

When there is no program running any more on a workspace - say workspace 1 it dissapears
is there any way of having a workspace remain even if empty?
if so what would i add to the config file

one other question
in awesome I had a keyboard shortcut to start 9menu with arguments
9menu -popup -teleport -file ./.9menurc
it doesn't work in i3 - what would the command be
in awesome i used
awful.key({modkey }, "9", function() awful.util.spawn( "9menu -popup -teleport -file ./.9menurc" ) end),

Last edited by Resident Bot (2013-01-04 16:00:57)


Troll = not a fanatic
slave of #!  and arch

Offline

Help fund CrunchBang, donate to the project!

#75 2013-01-04 16:10:27

dkeg
#! Die Hard
From: Mid-Atlantic Grill
Registered: 2011-12-05
Posts: 724

Re: The great #! forums i3 thread

by design i3 'throws' away any unused workspace, but in theory the workspace is always there, just not 'visible' in the status bar'.  But simply navigating to the workspace will bring it back.  So yes if you're on ws 1 (terminal), and ws 2 (web), then say open up whatever on ws 3 and 4.  When you close the app on ws 3, in the status bar you will only see 1,2,4.  That is by design.  I am not aware of any hack to get around that.  The only suggestion I would have is get rid of the workspace option, set it not to show

workspace_buttons no

then display your workspaces in your conky.   

TEXT
${if_match ${desktop}==1}${color lime green}1${else}${color}1${endif} ${if_match ${desktop}==2}${color lime green}2${else}${color}2${endif} ${if_match ${desktop}==3}${color lime green}3${else}${color}3${endif} ${if_match ${desktop}==4}${color lime green}4${else}${color}4${endif} ${if_match ${desktop}==5}${color lime green}5${else}${color}5${endif} ...

grill it | the rocky path may just be the best path

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