You are not logged in.

#501 2011-08-30 07:22:10

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: The i3 thread

I'm still on 3.x, but thinking about switching to the 4.0 version. Did anyone try if nikkis patch from here is still working? or is there another way to get status/workspace bar and a system tray working in one line? Best would be if I could get workspace bar, dzen (for status/statnot) and tray in one line. I'll try for myself if no one has tried so far, but maybe there is already a solution.


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#502 2011-08-30 10:38:37

herredgar
Member
From: DD/Germany
Registered: 2011-08-18
Posts: 7

Re: The i3 thread

seiichiro0185 wrote:

I'm still on 3.x, but thinking about switching to the 4.0 version. Did anyone try if nikkis patch from here is still working? or is there another way to get status/workspace bar and a system tray working in one line? Best would be if I could get workspace bar, dzen (for status/statnot) and tray in one line. I'll try for myself if no one has tried so far, but maybe there is already a solution.

since 4.0.2 i3bar has an trayer implemented by itself.  even though the i3-wm package from [communtiy] seems to lack the right i3bar version, i3-git works fine for me.

you need to have at least (taken from the man page of i3bar) this command somewhere in your startup files (e.G. .xinitrc, .i3/config)

exec i3status | i3bar -dock

or for the dock at the top

exec i3status | i3bar -dock=top

2011-08-30-124100_575xyupq.png

Last edited by herredgar (2011-08-30 10:50:32)

Offline

#503 2011-08-30 19:38:21

Atsutane
Package Maintainer (PM)
From: Germany
Registered: 2008-08-18
Posts: 96

Re: The i3 thread

herredgar wrote:

since 4.0.2 i3bar has an trayer implemented by itself.  even though the i3-wm package from [communtiy] seems to lack the right i3bar version, i3-git works fine for me.

4.0.2 is a bugfix release, the tray implementation is a new feature which will be provided with 4.1, as i3-git  follows the main development branch `next`, there are new features even if they don't come with the next (bugfix-)release.


[blog - mostly german] - [JabberID: atsutane 0x40 freethoughts 0x2E de] - [identi.ca]

Offline

#504 2011-09-02 20:28:19

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: The i3 thread

Hi, so I finally switched to the new version of i3, the bug fixes are nice and I like that now it's possible to use a pure conky in dock mode. What I don't get is, my 1-liner conky used to be on the bottom of the screen. Now it's at the top of the screen. Strangely enough, one time when I booted my laptop the conky bar was on the bottom again without changing any configs. Wondering about this I rebooted and there it was back on the top again.

Now, my question is, does anybody know a way to tell conky to be on the bottom, not on the top? Just like it can be done with the i3bar with -d? I can't find anything in the manpage of conky or on the internet. Or is i3 somehow able to influence this?

And no, I don't want to use i3bar with conky-cli, I don't like it, I really want a pure conky.

Besides this only the mplayer issue is left, which I solved with fstype=none and I kinda like it that way, because this way you can also zoom with "e" and "w" without being fullscreen and the actual going fullscreen being controlled by the wm. So that's no real issue

Offline

#505 2011-09-02 22:01:57

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: The i3 thread

Army wrote:

Hi, so I finally switched to the new version of i3, the bug fixes are nice and I like that now it's possible to use a pure conky in dock mode. What I don't get is, my 1-liner conky used to be on the bottom of the screen. Now it's at the top of the screen. Strangely enough, one time when I booted my laptop the conky bar was on the bottom again without changing any configs. Wondering about this I rebooted and there it was back on the top again.

Now, my question is, does anybody know a way to tell conky to be on the bottom, not on the top? Just like it can be done with the i3bar with -d? I can't find anything in the manpage of conky or on the internet. Or is i3 somehow able to influence this?

And no, I don't want to use i3bar with conky-cli, I don't like it, I really want a pure conky.

Besides this only the mplayer issue is left, which I solved with fstype=none and I kinda like it that way, because this way you can also zoom with "e" and "w" without being fullscreen and the actual going fullscreen being controlled by the wm. So that's no real issue

Sorry for the noob question but is it possible to somehow get my conky straight on my i3 bar so when I press $mod + f it hides too (right now I'm piping conky through dzen2 which is laying on top of my i3bar). Or is it possible to hide dzen2 when pressing $mod + f? I need the conky on the i3bar. :$

Offline

#506 2011-09-02 22:47:34

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: The i3 thread

Yes! Make sure you have

out_to_x no
out_to_console yes

in your ~/.conkyrc if you use conky from the repos or use conky-cli from the AUR (in that case the above isn't required in the ~/.conkyrc).
Then you of course have to have a nice ~/.conkyrc for it to work in the first place. Then all you have to do is put

i3bar -c conky -d bottom

(you can also chose -d top, depending on what you like)

Check out i3bar -h to see what's possible with it (e.g. the -m switch)

Last edited by Army (2011-09-02 22:52:01)

Offline

#507 2011-09-02 23:41:52

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: The i3 thread

Army wrote:

Yes! Make sure you have

out_to_x no
out_to_console yes

in your ~/.conkyrc if you use conky from the repos or use conky-cli from the AUR (in that case the above isn't required in the ~/.conkyrc).
Then you of course have to have a nice ~/.conkyrc for it to work in the first place. Then all you have to do is put

i3bar -c conky -d bottom

(you can also chose -d top, depending on what you like)

Check out i3bar -h to see what's possible with it (e.g. the -m switch)

Is it possible to have colors and icons? :$

It just shows: ^fg(#66AABB) and ^i(/icon_path/icon.xbm). hmm

Offline

#508 2011-09-02 23:43:19

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: The i3 thread

It works with dzen + conky, I don't know about i3bar + conky. Just try it out, make a short conkyrc and you'll see if it works!

Offline

#509 2011-09-02 23:55:33

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: The i3 thread

Army wrote:

It works with dzen + conky, I don't know about i3bar + conky. Just try it out, make a short conkyrc and you'll see if it works!

i3bar + conky does work. I just tried it. But I'm guessing it's not possible to get colors to work? In my conkyrc I have ^fg(#HEX) before the text. On the i3bar, it just appears as "^fg(#HEX)" and doesn't change the color. hmm I'm guessing it's not possible to have icons and color on the i3bar. Is it possible to hide the dzen2 bar when I press $mod + f (fullscreen)? Maybe a script that hides/unhides it?

EDIT: I read on the arch wiki I can pipe conky through i3-wsbar which will pipe(?) through dzen2 so it will have a workspace list. Here is the command:


exec conky | i3-wsbar -c "dzen2 -x %x -dock -fn -*-profont-*-*-*-*-11-*-*-*-*-*-*-* -ta l"

But it doesn't work. hmm

Last edited by Draucia (2011-09-03 00:15:15)

Offline

#510 2011-09-03 00:17:07

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: The i3 thread

i3bar does not support colors according to the man.

I am not sure i3-wsbar works with v4.


Arch x64 on Thinkpad X200s/W530

Offline

#511 2011-09-03 00:33:55

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: The i3 thread

Pank wrote:

i3bar does not support colors according to the man.

I am not sure i3-wsbar works with v4.

Oh okay then. I guess I'm just going to stick to piping conky through dzen2 and overlaying dzen2 on my i3bar. Is there a way to make it so dzen2 bar hides when I press $mod + f and when I play full screen games? When I run Heroes of Newerth I can see the dzen2 bar over the game. hmm

Offline

#512 2011-09-03 12:49:21

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: The i3 thread

I have a small question. Is it possible to assign a floating urxvt 1 pixel border? I want it so tiled urxvt windows don't get a 1 pixel border, but any floating urxvt does.

Offline

#513 2011-09-03 13:42:41

Atsutane
Package Maintainer (PM)
From: Germany
Registered: 2008-08-18
Posts: 96

Re: The i3 thread

Draucia wrote:

I have a small question. Is it possible to assign a floating urxvt 1 pixel border? I want it so tiled urxvt windows don't get a 1 pixel border, but any floating urxvt does.

It is, I use this line for my xterms:

for_window [class="XTerm"] border 1pixel

[blog - mostly german] - [JabberID: atsutane 0x40 freethoughts 0x2E de] - [identi.ca]

Offline

#514 2011-09-03 22:42:04

Draucia
Member
Registered: 2011-06-05
Posts: 128

Re: The i3 thread

Atsutane wrote:
Draucia wrote:

I have a small question. Is it possible to assign a floating urxvt 1 pixel border? I want it so tiled urxvt windows don't get a 1 pixel border, but any floating urxvt does.

It is, I use this line for my xterms:

for_window [class="XTerm"] border 1pixel

No that makes a 1pixel border for all urxvt windows. Is it possible to apply 1pixel ONLY to FLOATING urxvt windows?

Offline

#515 2011-09-04 04:09:11

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

no, because it works based on the WM_CLASS of the app-- which would be the same for all urxvt windows


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#516 2011-09-04 16:16:51

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: The i3 thread

Just so it won't get lost, can conky in dock mode be forced to be displayed on the bottom of the screen like i3bar is able with the -d switch? I haven't found anything googling around. Or is i3 able to move the dock anywhere?

Offline

#517 2011-09-04 17:25:27

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: The i3 thread

The same thing happened to me in my vbox install of Arch on my work machine. haven't thought about it long enough to search for solutions. But on my main machine at home, I use conky-cli piped into i3bar -- so no problems at home.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#518 2011-09-04 18:11:33

Atsutane
Package Maintainer (PM)
From: Germany
Registered: 2008-08-18
Posts: 96

Re: The i3 thread

Army wrote:

Just so it won't get lost, can conky in dock mode be forced to be displayed on the bottom of the screen like i3bar is able with the -d switch? I haven't found anything googling around. Or is i3 able to move the dock anywhere?

I guess you have to play with your config, i3 provides a dock at the top and at the bottom, the application has to specify where to go.

Last edited by Atsutane (2011-09-04 18:12:31)


[blog - mostly german] - [JabberID: atsutane 0x40 freethoughts 0x2E de] - [identi.ca]

Offline

#519 2011-09-16 04:11:00

Xlator
Member
Registered: 2009-11-14
Posts: 30

Re: The i3 thread

I have a couple of questions about i3 4.x and dzen2.

1. Is it possible to make a non-docked dzen2 not appear above fullscreen clients (mplayer, fullscreen terminals etc.)? I've tried onstart=lower and some other stuff with the -e option of dzen2. All I've managed to do is make the bar non-functional, but still visible.

2. Is it possible to tell i3 not to manage the dzen2 slave window when dzen2 is docked? If not docked, the slave window works as expected, but when dzen2 is docked, i3 wants to incorporate the slave window into the tiling layout, which looks awful.

[screenshot]

Thanks.

Last edited by Xlator (2011-09-16 05:17:27)

Offline

#520 2011-09-25 10:03:04

Baryon
Member
Registered: 2011-08-12
Posts: 72

Re: The i3 thread

Hello. I just started using i3 and was wondering if someone knows why I can't get the [class="XTerm"] etc. things to work. I get this error:

$ i3-msg for_window [class="XTerm"] border 1pixel
{"success":false, "error":"syntax error, unexpected $undefined at position 1"}

If it is in the config file, it also produces a syntax error.

Edit: I think I got it working. You need quotes around the command if you're running it from a terminal

Last edited by Baryon (2011-09-25 13:05:48)

Offline

#521 2011-10-02 09:47:29

ixnine
Member
Registered: 2008-11-01
Posts: 60

Re: The i3 thread

How do I set up my battery in i3status.conf?

Battery name is C23B, cat /proc/acpi/battery/C23B/* shows me the correct stats (as well as in /sys/class/power_supply/C23B/), but I don't know what string to put as the name in i3status.conf.

Anyone know how to do it? Couldn't find anything in Google (cause I suck at search queries)

EDIT:
I remember a while back when I was using conky to display my stats, I used something like "battery C23B". Is there a similar thing in i3status? If I understand the manual correctly, I can only specify the battery's number.

Last edited by ixnine (2011-10-02 10:05:13)

Offline

#522 2011-10-06 15:05:34

LessWire
Member
From: Bavaria
Registered: 2010-06-14
Posts: 46

Re: The i3 thread

@ixnine: i changed the number to "1" and it works now (f.e. "acpi" shows possible numbers).

I have another question:

When closing i3 (Mod+Shift+e) I don't think that applications in workspaces get a QUIT signal - am I right? How can it be done (f.e. something like "killall -QUIT firefox") ?

Thanks, LW.

Offline

#523 2011-10-06 19:15:19

sysrmr
Member
Registered: 2011-10-06
Posts: 5

Re: The i3 thread

hi.

I am running two monitors with different resolutions and set them up with xrandr. This is working fine.
Now i wanna set the wallpaper with "feh --bg-max /path/to/wallpaper.png". It works if i execute it from the shell. But when i put it in the .i3/config with "exec feh --bg...." it doesnt. exec feh ist the last line in the config file and xrandr the 2nd last. There where the black borders should be you can see a bigger scaled version of the wallpaper.

Here is the i3log (removed the keybinding lines to make it shorter)
http://pastebin.com/ZgWYR7eD

The only lines in the config that are not in the default config:

workspace 1 output DFP4
workspace 2 output DFP4
workspace 3 output DFP4
workspace 4 output DFP4
workspace 5 output DFP4
workspace 6 output CRT1
workspace 7 output CRT1
workspace 8 output CRT1
workspace 9 output CRT1
workspace 10 output CRT1

exec xrandr --auto --output CRT1 --mode 1280x1024 --left-of DFP4 --rate 75
exec feh --bg-max /home/armin/wallpaper.png

thanks
sysrmr

Offline

#524 2011-10-08 15:55:26

ixnine
Member
Registered: 2008-11-01
Posts: 60

Re: The i3 thread

LessWire wrote:

i changed the number to "1" and it works now (f.e. "acpi" shows possible numbers).

Probably because your battery is named BAT1

mine's C23B

Offline

#525 2011-10-12 08:08:44

cgo
Member
From: Paris, France
Registered: 2010-11-05
Posts: 22

Re: The i3 thread

Hi all,
I use i3 for some months now (switched from ion3 I used for years).

I experience a problem with some transient/dialog boxes with Audacity (metadata editor when expoting) and Kicad : The windows open floating, but shrunk to a minimal size, so I have to expand the window prior to be able to use it. In kicad this is a problem because you often have to open dialogs.

example: it shows
ssshot1
instead of
sshot2

This is not necessarily a problem from i3, it may be that Kicad does not hint the window manager about window size... Does that make sense ? Has anyone experienced that ?

Thanks,
Charles

Offline

Board footer

Powered by FluxBB