[solved] Wmii + Dualmonitors

Hello all,
Short version: do dual monitors work with wmii?
I *finally* ordered a new monitor from Radioshack after I got a nice gift card in the mail from them (I guess I won a contest or something.) Anyway, I'd like to continue to use my 10 year old CRT (heh, it works) in a dual head setup.
I have the latest proprietary NVIDIA driver (190.53?).
My window manager is wmii. Now, I've heard some stories about wmii + dual head while googling. Some posts from a few years ago say that, no wmii doesn't support dual head. I've also seen some along the lines of "Yes, it supports dual head, but not the way I like."
So, I'd really, really, really like to continue using wmii. I'm very comfortable with it, and I've made it my own...and just...want to keep using it
So, my question is: has anyone gotten wmii to work nicely with two monitors and the NVIDIA drivers?
Thanks!
Last edited by lasu1 (2010-03-24 21:33:13)

Ya, I use startx after logging in.
The dual X sessions interests me most, I think. I like the idea of having two separate, independent sessions (or shold I say displays?)
I have a question, though. How does this work? Is this actually one X working at once, but outputting to two independent displays OR is it two, separate X sessions--like one on tty1 and another on tty2? So, do the two displays share the same processes, except for the desktop output? Maybe I'm a little confused about how X works -- so, if I do, for example /etc/rc.d/alsa restart will alsa restart in BOTH X displays? (I assume it would, because they'd be accessing the same Alsa process?)
I hope the above made sense...
So, if my ~/.xinitrc has the exec wmii, & exec wmii (in the correct format), will I be able to use the same input devices? I've been reading NVIDIA's X server documentation (pretty good stuff in there), and it would seem so...I'm curious how this has worked for other users.
Thanks for all of the replies so far.
Last edited by lasu1 (2010-03-22 20:22:46)

Similar Messages

  • [SOLVED]Wmii Does not Start

    Hey guys.
    I installed wmii, and it's left me kind of stumped.  You see, when I attempt to start wmii using "xinit wmii" the terminal will go blank as X starts, but after a second it just drops back to the terminal.  No error output on the terminal, no wmii-related messages in the logs... Just back at the terminal.
    Any current wmii users know what the trouble might be here?
    Edit: Actually, I solved this one myself.  I had written a stupid xinitrc script.
    Nothing to see here, move along >.>
    Last edited by alexandrite (2010-08-17 01:03:04)

    Thanks!
    No comments
    % /etc/rc.d/network start
    Sorry, for flood.
    Last edited by sevenfourk (2008-07-15 19:16:03)

  • [SOLVED] wmii *interactive* status bar?

    Hi to all!
    I use to write infos in the /rbar of wmii, and everything works.
    Now I would like to create buttons down there, like the tags' buttons in the bottom-left corner.
    If you click on a tag, you get the corresponding screen. Analogously, I could put a status message for, say, my sound volume, and bind a program to it to increase or decrease the volume.
    Is it possible?
    Last edited by iosonofabio (2010-01-29 09:15:52)

    iosonofabio wrote:
    Actually, it is not so easy. I would like to generate different events depending on which button I clicked on, e.g.:
    - change volume for button 1;
    - change screen luminosity for butt 2.
    So I need wmii to generate different events for different buttons, and not only a generic "RightBarClick 1 status" for the whole bar...
    echo "Volume button" | wmiir create /rbar/volume
    echo "Luminosity button" | wmiir create /rbar/luminosity
    wmiir cat /event # Now click on then and observe the events.

  • [Solved] Wmii and extra keys

    I'm trying out Wmii, which I'm very impressed with so far. The one issue I can't get my head round is keybindings for volume keys, play/pause etc.
    Looking over the net there seems to be extremely little info about configuring this (or I'm looking in all the wrong places).
    Any suggestions for the best way to set extra keys up?
    I'd rather avoid xbindkeys if at all possible, as I've specified keybinds already in Openboxes rc.xml etc.
    Last edited by rusty99 (2009-05-29 09:04:22)

    MattSmith wrote:
    Hmm, I know there are a lot of fans of mpd out there but I never really had to worry about volume for 2 reasons:
    1. i use mplayer for videos so the sound up and down works for volume
    2. I use MOC for music, i understand it's not as customizable as MPD, but it uses the "." and the "," key for volume as far as that goes.
    other than that I just leave volume at max
    just a thought
    i dont understand your reasoning... ncmpc has keys for changing volume too... what the poster wanted to do was a GLOBAL hotkey for changing mpds volume, without a client running...

  • [SOLVED] wmii ignores all keyboard input

    I'm trying to use wmii on my new arch install. No matter which of the wmiircs I use, it never accepts any keyboard input to switch tags, open windows or anything else. The clock is correctly updated and if I open a window using DISPLAY=:1 from another terminal, I can move it around with the mouse. Evilwm is working fine and the only error in Xorg.0.log is related to fbdev. Does anyone have any idea what might be going wrong here?
    EDIT: Just a major PEBKAC. I forgot that Win is the new default modkey and wmii didn't ask me because xmessage wasn't installed.
    Last edited by A.W.A.M (2011-03-12 09:25:52)

    Anyone have any ideas? I tried reinstalling base and base-devel through pacman...still no relief.... This is bizarre.
    EDIT: It's getting worse. System now hangs on boot at "Waiting for UDev uevents to be processed." Things are rapidly going downhill.
    EDIT: No booting due to Udev fixed my booting without acpi. I rebooted into another linux distro to poke around in /var/log/pacman.log for a bit to see if I could find the offending update. Nothing seemed really suspicious, except for the update to "linux-api-headers." (Anything with "headers" is suspicious. So, I decided I would boot back into Arch and try to downgrade that package. After booting back into Arch, I see that the problem has disappeared...so...I dunno what to say...I have no idea what/how this got fixed, or how I (yes, let's be honest here...it must be "I") broke it in the first place.
    Last edited by lasu1 (2010-03-28 00:44:43)

  • Starting out with WMII, questions...[SOLVED]

    I've installed WMII on both my computers. It's working well on my sabayon box, but on my arch netbook, it's not showing in the KDM menu.
    The other thingg I want to query is trransparency. Do I need xcompmgr, or do I just edit my .wmiirc?
    Aside from that, I'm loving tiling thus far
    Last edited by hume's doona (2010-02-02 03:02:41)

    Could you please file a bug report agains wmii?
    It seems some WMs put their .desktop file in /etc/X11/sessions and some put it in /usr/share/xsessions.
    $ ls /etc/X11/sessions
    evilwm.desktop kde-safe.desktop ratpoison.desktop
    kde.desktop pekwm.desktop xmonad.desktop
    $ ls /usr/share/xsessions/
    awesome.desktop openbox.desktop openbox-kde.desktop wmfs.desktop
    i3.desktop openbox-gnome.desktop scrotwm.desktop wmii.desktop
    Shouldn't this be standardized?

  • [solved] Help to build wmii-hg

    Hi all,
    I'm trying to build the most recent version of wmii from hg repo but experience the following error during compilation
    cc -o wmii9menu.out wmii9menu.o -lXinerama -lXrender -lX11 -lXrandr -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -g -ldl -g -ldl -g -ldl -L../../lib -L/usr/lib ../../lib/libstuff.a ../../lib/libregexp9.a ../../lib/libbio.a ../../lib/libfmt.a ../../lib/libutf.a /usr/lib/libixp.a
    /usr/bin/ld: ../../lib/libstuff.a(xft.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
    /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /usr/lib/libdl.so so try adding it to the linker command line
    /usr/lib/libdl.so: could not read symbols: Invalid operation
    However, when executing essentially the same commands
    make PREFIX=/usr ETC=/etc && make PREFIX=/usr ETC=/etc DESTDIR=/tmp/wmii-hg install
    in terminal compilation finishes just fine and I get built artefacts in destination directory.
    So seems like makepkg utility make some changes to environment which brake compilation process.
    EDIT: calling function build() from PKGBUILD file also builds package without any issues (except for those ones which are related to the absence of makepkg specific variables like 'pkgdir')
    Could anyone help me to resolve the issue?
    Thanks in advance
    Last edited by eDio (2012-01-07 09:31:24)

    try to change this(in pkgbuild):
    make ${_flags[@]} all
    to that:
    make ${_flags[@]} LDFLAGS="-ldl" all
    PS it's the 40'th line
    Last edited by almadaer (2012-01-06 08:52:15)

  • Wmii scripting problem [solved]

    I wrote a script to print battery information to wmii's statusbar.
    It works great on the command line, but not in the bar.
    The script:
    #! /bin/sh
    #Called from the status() function in wmiirc
    #Check the battery status and notify at 3% power. Why 3%? Why not?
    #Depends on perl for the floating point arithmetic
    #$1 is expected to be the name of the battery in Sysfs
    PERCENT=$(perl getBatPercent.pl $1)
    STATUS=$(cat /sys/class/power_supply/$1/status)
    #Notify the user if the battery is low.
    if (($PERCENT <= 3))
    then
    notify-send -t 500 "BATTERY LOW" "Plug it in, dude."
    fi
    echo -n $1':' $PERCENT'%' '('$STATUS')'
    When I run this script in a terminal, I get the expected output:
    $./batteryBitcher.sh BAT1
    BAT1: 79% (Unknown)
    But in wmii's bar, the number does not show up, so I get
    BAT1: % (Unknown) instead.
    Anyone know what the problem is here?
    Last edited by alexandrite (2009-11-23 19:18:56)

    have you tried putting in a dummy value for $PERCENT in your script?
    it looks like the perl script may be broking at some point, thus $PERCENT would be empty. 
    also, just to be opinionated and obnoxious, you can do floating point arithmetic with bc, and use awk or sed to harvest the data out of the proc file (im assuming thats what your perl script does). 
    in any event, the perl script is without a path, so, when wmii's scripts call it, it had better be in the directory they expect.  a safer thing would be to call the script with `perl /path/to/getBatterything.pl'  I may be wrong though, and that may not even be your problem.

  • *SOLVED* - 2D draw very slow, intel / fglrx Xorg driver

    Hey all,
    My very first support post to the forums
    I have an issue on a few computers whereby the 2D drawing in X is very slow. This happens on my laptop with Intel vga and also on a desktop when using the proprietary fglrx driver. I did not have this problem a few months ago when using stable. At that time, I installed testing and discovered the problem, so I went back to stable. Some time later an update to Xorg came into stable and since then the problem is now in the that tree also.
    I thought it might be the new GEM stuff for the Intel driver, so I installed the 2.6.28 kernel when it was released - it did not solve the problem. Installing an NVIDIA card into the desktop box does solves the problem (can't do that for my laptop!). Because it's happening with the intel and fglrx drivers, but not with NVIDIA, I think it might be a problem with some Xorg component that the NVIDIA driver performs itself? But I've no idea..
    Essentially, I'm using wmii as my desktop, which is a tiled window manager. Creating a new terminal window, switching between them and closing them all is very slow (taking a second or more), when it should be pretty much instantaneous.
    When doing these things, Xorg takes up 90% CPU usage. By comparison, on the same laptop under Debian it only uses 10% CPU (and the problem does not exist).
    I have created two desktop screencasts of what I mean. In the videos I am quickly opening a bunch of xterms and then later holding down 'switch between terminals', then holding down 'close terminal'. I run htop to show the CPU usage.
    Arch, 4.9 MB, OGV - http://christophersmart.com/videos/archlinux-wmii.ogv
    Debian, 5.7 MB, OGV- http://christophersmart.com/videos/debian-wmii.ogv
    Any ideas?
    Thanks a bunch!
    Chris
    Edit: FYI, the desktop has an Intel Core2 CPU with 8GB RAM and 2 x WD Raptor drives in RAID 0. With an ATI card, wmii is unusable.
    Last edited by csmart (2009-01-17 00:19:57)

    Well I first discovered the problem with the 'intel' driver and later when I set up Arch Linux on a desktop I was met with the same issue. I think it might be some part of Xorg that they both share, but it's not just a problem with the catalyst driver.. unfortunately

  • Error trying to start wmii 3.5

    I receive the following error when trying to run wmii as a  non-root user:
    Cannot creats ns_path /tmp/ns.<userName>  Permission denied.
    Looks like something in wmii is trying to create a file  in /tmp.   What do I need to do to  run wmii as a normal user?
    Running as root (to test) allowed me to run wmii sucessfully.
    Thanks!

    Solved.  Sorry for the stupid ?.   I just opened up the /tmp directory a bit.

  • [SOLVED] LXDM and Other Catastrophe's

    Compared to the arch-fu practitioners here I'm a total noob so bear with me . And sorry if this has been solved before, I searched but found nothing.
    My second attempt at installing Arch was going kind-of smoothly until I got to configuring LXDM. No matter what I do it keeps logging into the default X session (twm) rather than my wm's (openbox/scrotwm). I tried fiddling with lxdm.conf and /etc/lxdm/Xsession only to break it completely (login loop). I also tried this to no avail. I even tried symlinking~/.Xsession to /etc/lxdm/Xsession, which made no difference. So I'm assuming I have to modify /etc/lxdm/Xsession in some way?
    All this messing about (4 days and counting) and other niggling configs I've borked (shutdown and reboot break with ata2 errors, acpid to blame?) has got me considering ArchBang (Blasphemy!) and modding from there. But then I saw how many gnome bits it has, I don't want to load the entire gnome library for no good reason and I assume removing all of it would be a pain?
    Last edited by seaneking (2012-02-20 22:45:27)

    "$1" is a special variable, known as Positional parameters, they are basically the commandline parameters.
    For example:
    myscript some option another_option
    <--$0--> <$1> <-$2-> <-----$3----->
    <---------------$*---------------->
    <---------------$#----------------> # Number of Arguments, in this case $# = 3 (doesn't include $0)
    More info on bash/shell scripting can be found on Greg's wiki
    In the mean time...
    So I downloaded LXDM and I'm at a loss. I have no idea where it's finding the various window managers (including non-existent ones, and in some cases not at all). The only file which exists on my system sourced within /etc/lxdm/Xsessions is "/etc/X11/xinit/xinitrc", which, even though it's the same as the skeleton file, doesn't merge my X[defaults|resources]. Yet it seems to use some commands from my ~/.xinitrc such as feh background setting.
    Documentation is... sparse (.dmrc?)
    Edit:
    Giving up, hopefully someone with more experience/knowledge can help. Sorry
    Edit2:
    Right. It seems that the list of WMs/DEs is actually built from .desktop entires under /usr/share/xsessions/. (I know you mentioned this already)
    So if you want to add i3, simply drop an i3.desktop file containing something like:
    [Desktop Entry]
    Name=i3
    Exec=i3
    Checking the source indicates that LXDM seems to only look for the "Name", "Exec" and "Desktop Entry".
    Edit3:
    Okay, reinstalled LXDM and tested this theory. Made a bogus.desktop file under /usr/share/xsessions and used the following contents:
    [Desktop Entry]
    Name=Bogus
    Exec=wmii
    Logged out, started LXDM and sure enough, I had a new entry named "Bogus" which launched wmii. I didn't alter any config files at all. (brand new install)
    PS: Bedtime!
    Last edited by Earnestly (2012-02-20 02:27:32)

  • [SOLVED] dbus: EOF in dbus-launch reading address from bus daemon

    Hello! I installed dbus from the extra repository, but it doesn't seem to work correctly...
    dbus-monitor outputs this:
    Failed to open connection to session message bus: dbus-launch failed to autolaunch D-Bus session: EOF in dbus-launch reading address from bus daemon
    ps aux | grep dbus shows the daemon is correctly launched:
    dbus      5336  0.0  0.0   2140   824 ?        Ss   11:18   0:00 /usr/bin/dbus-daemon --system
    My DAEMONS array is set this way:
    DAEMONS=(syslog-ng network netfs crond @sshd alsa hal g15daemon)
    I did some googling, but it didn't really help... I have no idea how to fix this. Does any of you know?
    Thanks in advance for your help
    EDIT: it seems dbus-monitor --system sees the daemon! But I have no idea what that means...
    I actually need dbus for a python plugin for xchat, to control audacious2. Maybe I should try to adapt that script.
    EDIT2: Oh, so it seems I should start the "session daemon" as well, that's what I need...
    EDIT3: dbus-daemon --session segfaults
    EDIT4: nevermind, that's not how it's supposed to be launched anyway... I see there's a /etc/X11/xinit/xinitrc.d/30-dbus file that is supposed to take care of all this... Is the execution of this logged anywhere? grepping dbus in /var/log shows a lot of messages like this:
    Jul 18 11:44:30 arch kernel: dbus-daemon[23490]: segfault at 6fdf85e0 ip b7e5c2cc sp bfc86d10 error 4 in libGL.so.185.18.14[b7e35000+80000]
    in messages.log and kernel.log...
    Last edited by Mr. Bougo (2009-07-19 08:32:09)

    I think I solved the problem!
    I copied the contents of the 30-dbus script from xinitrc.d in my ~/.xinitrc, and changed this line:
    eval `$dbuslaunch --sh-syntax --exit-with-session`
    to this:
    eval `$dbuslaunch --sh-syntax`
    Apparently, the dbus daemon then keeps running: the process list shows this:
    /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
    and dbus-monitor doesn't report any error.
    Maybe it's related to the fact that I use wmii, not a heavyweight DE which would possibly take care of that dbus thing?
    Last edited by Mr. Bougo (2009-07-19 08:36:03)

  • [SOLVED]GDM 2.28 Session Chooser

    I am going out of my mind but I simply cannot find the session chooser in the new version of GDM. I have 1 .desktop file in /etc/X11/sessions and 2 .desktop files in /usr/share/xsessions. Am I just blind or do I have to enable it somewhere?
    Last edited by adament (2009-11-14 10:59:13)

    Solved. Apparently gnome doesn't provide an .xsession option anymore and for some reason the stock xmonad.desktop file shipped with archlinux didn't show up. Now I copied most of the settings from KDE, except for all the language stuff and it showed up. I don't know why the wmii entry doesn't show up.

  • [SOLVED] cannot set keyboard for X clients

    Hi everyone,
    I just set up Arch on my Samsung NC20 a few days ago after a couple of years on Ubuntu. I'm enjoying it so far, but I've run into the following problem. I've tried to set my keyboard to 'uk' but I only get a UK keyboard at login time. As soon as I launch an X client, I am back with a US keyboard. (In case it matters, I've mainly been using wmii, LilyTerm, and Firefox. I have no desktop.)
    My /etc/vconsole.conf file reads
    KEYMAP=uk
    and I set up a file /etc/X11/xorg.conf.d/99-keyboard-locale.conf that reads as follows:
    Section "InputClass"
        Identifier                  "Keyboard Defaults"
        MatchIsKeyboard    "yes"
        Option                "XkbLayout"    "uk"
    EndSection
    The option 'uk' is indeed present on my machine (although I tried 'gb' too, to no avail). When I look in /usr/share/kbd/keymaps/i386/qwerty I find uk.map.gz; and I get a UK keyboard when I log in, as I said.
    One weird thing is that if I run
    setxkbmap -layout uk
    from the command line in LilyTerm, I get the following:
    No protocol specified
    Cannot open display ":0"
    I don't know if that's relevant.
    Can anyone help? How can I set my keyboard to 'uk' for X clients?
    Best,
    PaulE
    Last edited by PaulE (2012-12-21 22:16:05)

    As far as I know, there is no uk layout for xorg and keymap ≠ X keyboard layout. Always check /usr/share/X11/xkb/rules/xorg.lst.
    cat /usr/share/X11/xkb/rules/xorg.lst | grep UK
    gb English (UK) # keyboard layout (following lines are variants)
    extd gb: English (UK, extended WinKeys)
    intl gb: English (UK, international with dead keys)
    dvorak gb: English (UK, Dvorak)
    dvorakukp gb: English (UK, Dvorak with UK punctuation)
    mac gb: English (UK, Macintosh)
    mac_intl gb: English (UK, Macintosh international)
    colemak gb: English (UK, Colemak)
    Try adding setxkbmap -layout gb to your .xinitrc file and see if it solves the problem.
    EDIT: Added a comment to the first line of output.
    Last edited by ximun (2012-12-21 15:55:21)

  • When I login to my bank, I get the message: 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. Have new MacBook Air with Yosemite. How to solve this problem?

    When I try to login to the website of my bank, I get the following error message:
    403 - Forbidden: Access is denied.
    You do not have permission to view this directory or page using the credentials that you supplied.
    I have a new MacBook Air with OS Yosemite installed.
    What is the problem and how can I solve it?

    Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
    Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
    The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
    Back up all data.
    Double-click anywhere in the line below on this page to select it:
    com.apple.idms.appleid.prd
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
    Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
    The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
    Credit for this idea to Christian Braukmueller of SAP.

Maybe you are looking for

  • Problem printing Lightroom 5.4 on OSX 10.9, Mavericks to Epson Stylus Photo R2400

    When I print, only the lower left 3rd of the page has any ink on it and it is only a window into the middle of the image. The quality of the print is fine and it prints normally in Photoshop CS6. What's up with LR 5.4? I have tried everything from re

  • HT1459 is it possible to change my forgaten icloud passwored

    hello gays i have got 1 problem i have ipod 5 touch after updating the ios it displays this ipod is currently linked to an apple id sign in with the apple id that was used to set up this ipod. so iforgate my icloude passwored what i am supposs to do

  • Need Sun WorkShop 6 update 2  for Solaris 8

    Would it be possible to download an installation package for Sun WorkShop 6 update 2 for Solaris 8? I have an old development project that I need to resurrect, and it requires this version of the Sun compiler. Thanks, -Ken Cooley

  • How to identify rules in Targeters

    Hi All, I want to know which rule set is applyied in Targeters. Lets consider the below code as an example. I have created the HomeRotating1 as a Targeter in BCC with 3 ruleset.Like, 1)Display nokia produt for Logged in User 2)Display samsung produt

  • Why do i have to hit this button " to get the @ sighn

    You should be able to hit shift and 2 to get the @ sighn but instead you have have to hit shift and qotation, Why?