You are not logged in.

#1 2012-08-05 04:00:59

sunderphon
Member
Registered: 2011-03-07
Posts: 4

dzen2 lacking arguments

I installed dzen2 via pacman and it looks like it's missing some of the standard commandline args.

% echo "hello world" | dzen2 -w 100 -expand l

usage: dzen2 [-v] [-p [seconds]] [-m [v|h]] [-ta <l|c|r>] [-sa <l|c|r>]
             [-x <pixel>] [-y <pixel>] [-w <pixel>] [-tw <pixel>] [-u] 
             [-e <string>] [-l <lines>]  [-fn <font>] [-bg <color>] [-fg <color>]
             [-xs <screen>]

the expand arg is written about all over the wiki, I assumed it would be included here. Is this a particular modified dzen2 in the arch repos?

Additionally, -dock is also missing.

Offline

#2 2012-08-05 04:15:20

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: dzen2 lacking arguments

Have you ever actually used a version of dzen2 with those arguments? They're listed as being in the svn version of dzen2 in the dzen2 wiki, but every distro I've checked has 0.8.5-4, just like Arch, and it doesn't have expand or dock.

Last edited by 2ManyDogs (2012-08-05 04:15:36)

Offline

#3 2012-08-05 04:30:46

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: dzen2 lacking arguments


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#4 2012-08-05 04:55:47

sunderphon
Member
Registered: 2011-03-07
Posts: 4

Re: dzen2 lacking arguments

2manydogs wrote:

Have you ever actually used a version of dzen2 with those arguments? They're listed as being in the svn version of dzen2 in the dzen2 wiki, but every distro I've checked has 0.8.5-4, just like Arch, and it doesn't have expand or dock.

No, this is my first time using dzen2. I decided to start off using a premade base config example, it uses -expand l to simplify (actually a great many of the configs I've found use -expand or -dock so I think they must've been included at some point). The dzen2 wiki features -expand and -dock as commandline args though so I assumed they were standard line args and it's sort of strange not to have them on my locally installed dzen.

One thing I'm confused about is why -expand isn't included, it cuts down a huge amount of repetition out of the scripts that feed into dzen2 easily.

lifeafter2am wrote:

SVN version is in the aur: -snip-

Thanks, I'll look into that version

Offline

#5 2012-08-05 05:15:21

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: dzen2 lacking arguments

sunderphon wrote:

The dzen2 wiki features -expand and -dock as commandline args though so I assumed they were standard line args and it's sort of strange not to have them on my locally installed dzen.

One thing I'm confused about is why -expand isn't included, it cuts down a huge amount of repetition out of the scripts that feed into dzen2 easily.

I don't think they're standard arguments -- they're in the the SVN version, but most distros don't include that version (I checked Debian, Gentoo, Ubuntu, and Arch, and all have 0.8.5-4 without the arguments). Maybe the configs you've seen assume the SVN version.

At any rate, you can get the version you need from the AUR.

Last edited by 2ManyDogs (2012-08-05 05:16:01)

Offline

Board footer

Powered by FluxBB