[SOLVED] DWM - Blank menubar?

Hello --
I've just switched from Awesome to DWM after some performance issues -- and through it's great, my menu-bar does not display the titles of open applications, nor do the tags show the little box indicating that there are open windows in that tag. It is working perfectly though, and I've got my battery status and data and time and all such, configured through .xinitrc. I don't know what I have to configure to get that simple performance.
Goofier yet,  I had it earlier -- after accidently hitting some key combination (I think), so I don't think anything needs to be recompiled. It's just a setting somewhere -- or a key combo.
Thanks!
Sam
Last edited by sammermpc (2010-10-20 17:55:38)

Got it. Idiotic problem. Noticed by how the gray color of the tag section extended way out to the right, and that a blue section inbetween would flash. This is on an external 1920x1080 monitor, which for whatever reason, seems to wreak havoc with the menubar display.
xrandr --screen VGA1 --mode 1280x800
That restored the menu bar to regular behaviour, though of course, I'll have to figure a work-around to get the proper resolution. Any thoughts? At least the straight dwm distribution is not at fault, just my dual-monitor set-up.

Similar Messages

  • [Solved] Screen blanks out after quitting X

    Hello everyone.
    I don't use any login manager such as GDM or Slim, I just start X from the terminal when I need it. However, after installing Arch the last time (new hdd), every time I exit X (XFCE 4 is my window manager) the screen blanks out. I know the system is still responsive, because if I type startx or reboot, it works. Calling startx wakes the monitor again. However, I don't need X all the time, sometimes I prefer not to use it.
    I haven't dealt with this before and searching for a solution didn't help - nvidia users used to have this issue until a particular driver update.
    However, I have an ATI card (HD 5750) and I use the xf86-video-ati driver.
    Appending vga=773 to kernel options changes the resolution (of my ttys) but it doesn't solve the issue.
    I'm kind of clueless about how to proceed, so any hints and tips would be welcome.
    Thanks
    Last edited by slapo (2010-05-02 09:50:51)

    karol wrote:
    I'm not an ATI guru but I hope you're not stuck w/ vesa :-) Surely there must be some other driver you can try.
    Edit: http://bbs.archlinux.org/viewtopic.php?id=57084&p=72
    It's a long thread, but be sure to read it all carefully <joking>
    Thanks, I missed that repo
    The catalyst driver doesn't have the issue, so as far as it works, the issue is resolved.

  • [solved]DWM apply systray patch

    [solved]I am trying to appply the systray6.1 patch to dwm. The "patch" goes fine but when I make I get the below errors:
        dwm build options:
        CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2     -DVERSION="6.1" -DXINERAMA
        LDFLAGS  = -s -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft
        CC       = cc
        CC drw.c
        CC dwm.c
        dwm.c: In function ‘clientmessage’:
        dwm.c:589:26: error: incompatible types when assigning to type ‘long unsigned int’ from type ‘XftColor’
        swa.background_pixel  = scheme[SchemeNorm].bg->rgb;
                              ^
        dwm.c: In function ‘updatesystray’:
        dwm.c:2221:18: error: incompatible type for argument 9 of ‘XCreateSimpleWindow’
       systray->win = XCreateSimpleWindow(dpy, root, x, m->by, w, bh, 0, 0, scheme[SchemeSel].bg->rgb);
                      ^
        In file included from dwm.c:36:0:
        /usr/include/X11/Xlib.h:1621:15: note: expected ‘long unsigned int’ but argument is of type ‘XftColor’
        extern Window XCreateSimpleWindow(
                   ^
        dwm.c:2224:24: error: incompatible types when assigning to type ‘long unsigned int’ from type ‘XftColor’
        wa.background_pixel  = scheme[SchemeNorm].bg->rgb;
                            ^
        dwm.c:2244:24: error: incompatible types when assigning to type ‘long unsigned int’ from type ‘XftColor’
        wa.background_pixel  = scheme[SchemeNorm].bg->rgb;
                            ^
        dwm.c:2263:2: error: incompatible type for argument 3 of ‘XSetForeground’
        XSetForeground(dpy, drw->gc, scheme[SchemeNorm].bg->rgb);
        ^
        In file included from dwm.c:36:0:
        /usr/include/X11/Xlib.h:3227:12: note: expected ‘long unsigned int’ but argument is of type ‘XftColor’
         extern int XSetForeground(
                ^
        Makefile:18: recipe for target 'dwm.o' failed
        make: *** [dwm.o] Error 1
    I haven't applied any other patches. Any idea what I am doing wrong? I can go into dwm.c and see the lines the error is refering to but I am not sure what the problem is.
    Thanks
    Last edited by derrickcope (2015-05-01 02:30:45)

    I just got the latest one off of the repo at git.suckless.org/dwm. the page says 6.0 but my config.mk says version 6.1. I did try the 6.0 version but the patch had errors. I am a little confused. The other patches come back with errors too. I am using an unpatched version at the moment so I would think most patches should work.
    What should I do?

  • [SOLVED] DWM+pertag+bstack error

    hi
    i'm trying to compile dwm with pertag diff patch and bstack.c
    i get an error while compiling it:
    CC dwm.c
    In file included from config.h:42,
    from dwm.c:254:
    bstack.c: En la función 'bstack':
    bstack.c:7: error: puntero deferenciado a tipo de dato incompletoº
    bstack.c:11:error:puntero..
    make: *** [dwm.o] Error 1
    ==> ERROR: Falló la compilación.ª
    Abortando...
    º means: dereference pointer to incomplete data type
    ª means: Compilation failed.
    it sucks 'cos i want to read pdf on top of my 10" screen and write documents at bottom, without the problem of change to another desktop and have to move to another layout, i.e., floating for gimp
    another thing: for write this post i must to write the code manually, 'cos a don't know how to copy from urxvt and paste it to firefox.. yep, that's a newbie question
    Edit: solved here
    Last edited by kismet010 (2010-02-08 05:51:09)

    Looks like this workaround isn't enough to get it to compile on the latest hg clone.
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.8" -DXINERAMA
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama
    CC = cc
    CC dwm.c
    dwm.c: In function 'gaplessgrid':
    dwm.c:262: error: dereferencing pointer to incomplete type
    dwm.c:276: error: dereferencing pointer to incomplete type
    dwm.c:276: error: dereferencing pointer to incomplete type
    dwm.c:279: error: dereferencing pointer to incomplete type
    dwm.c:282: error: dereferencing pointer to incomplete type
    dwm.c:282: error: dereferencing pointer to incomplete type
    dwm.c:283: error: dereferencing pointer to incomplete type
    dwm.c:284: error: dereferencing pointer to incomplete type
    make: *** [dwm.o] Error 1
    Line 262 for me is:
    for(n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next))
    I've tried many things and maybe i'm missing something very simple here.

  • [SOLVED] dwm: cannot open mixer

    I've been setting up dwm through the last hours and I had an issue with sound playback. Firstly, I can play any sound from the console or any other wm. The problem appears when I start dwm by using xinit but loading it through gdm seems to solve the problem but still I'm not satisfied with that solution. I think that gdm do something in order to grant access to the sound card but on the other hand I still have another problem with multiple running applications that playback sound, only the first opened application can.
    After starting dwm with xinit I get "amixer: Mixer attach default error: No such file or directory" and by running alsamixer I get "cannot open mixer: No such file or directory".
    Thanks in advance
    Last edited by russo (2011-06-20 04:01:15)

    Well, I checked those posts.
    /dev/mixer exists
    I tried to load the snd-pcm-oss but nothing changed.
    However I noticed that I can run alsamixer as root. I'm not sure but maybe having to run gdm as root while running xinit as user made the difference but still it doesn't make sense since I can run openbox with xinit and everything works fine. I'll keep trying
    EDIT: Finally, I tried to load openbox through xinit and had the same problem. Next I tried to reboot removing gdm from the daemons and start dwm directly with the xinitrc options. Now it seems to work fine. Maybe gdm blocked the sound card once it opened.
    Last edited by russo (2011-06-20 04:00:56)

  • [SOLVED]dwm-sprinkles: can't right click

    Just installed dwm-sprinkles (compiled from source grabbed using svn because there's nothing in AUR or ABS for it), and I can no longer right click in firefox or use the drop-down menus.  Drop downs on websites work fine, but I can't use anything in the firefox toolbar.  ie, File, Edit, address bar history, ABP menu, etc.  These things all work fine in gftp and goggles, which are the only other gui apps that I really use.
    It worked fine in vanilla dwm, which I built from the package in AUR.  Switched to dwm sprinkles because patching was a pain in the ass and sprinkles already has pretty much everything I need.  I'm guessing there is something in config.h that is causing this but I haven't changed anything except colors and terminal command. 
    Sorry if this has been posted/solved before, but there's just not much in-depth documentation on DWM out there (which is why I switched to a pre-patched version of it in the first place).
    Last edited by clutch (2010-06-04 22:08:28)

    ok, it works now after a reboot.  No idea. 

  • [SOLVED] dwm config

    [SOLVED]
    Hi,
    I am asking for help with my dwm config. What I want it to do is, instead of snapping directly to the edge of the screen, I want it to snap a certain distance away from it (and maybe other windows). Can someone point me in the right direction?
    Also, this is less relevant, but I want to include the system time in the title bar of dwm. Any help there?
    Last edited by latenitekid (2013-03-12 00:43:30)

    The time is included in the example status bar on the wiki page: https://wiki.archlinux.org/index.php/Dw … _statusbar
    The snapping thing sounds like a variant of useless gaps...

  • [SOLVED] [dwm] Can't start dwm

    Hi!
    I've recently entered the world of tiling WM and started with dwm.
    Since I'm kinda insecure, and wanted to keep gnome as well, I've followed every single step in the wiki article and used the ~/.Xclients way, so I could start dwm from gdm (I've followed also the steps in the discussion page as well).
    Then, when I tried to startup dwm from gdm, it doesn't start, and goes back again to gdm.
    My ~/.Xclients file is the following:
    setxkbmap -layout pt
    #relogio
    while true; do
    xsetroot -name "$( date +"%F %R" )"
    sleep 1m # Update time every minute
    done &
    # #estado da bateria
    # while true; do
    # batt=$(LC_ALL=C acpi -b)
    # case $batt in
    # *Discharging*)
    # batt="${batt#* * * }"
    # batt="${batt%%, *} "
    # batt=""
    # esac
    # xsetroot -name "$batt$(date +%R)"
    # sleep 60
    # done &
    #conky bar
    conky | while read -r; do xsetroot -name "$REPLY"; done &
    #executar o dwm
    exec dwm
    It's all things copied from the wiki page, just for testing if everything was fine...
    My /usr/share/xsessions/dwm.desktop file is:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Dwm
    Comment=Dynamic window manager
    Exec=/usr/local/bin/dwm
    Icon=dwm
    Type=XSession
    And I've created a /usr/share/xsessions/user.desktop file that looks like this:
    [Desktop Entry]
    Encoding=UTF-8
    Name=User XSession script
    Comment=Runs your ~./Xsession script
    Exec=/etc/X11/Xsession
    Type=Application
    Thanks in advance for any help, I've searched the forums and used google and couldn't find any answer to this problem :S
    Last edited by Aeriel (2011-09-01 17:19:02)

    haxit, thanks I've managed to solve the problem!
    I've installed SLiM and set up everything in .xinitrc.
    The dwm.desktop doesn't match with yours because I've changed somethings and because I didn't backup the file (I know, it's super dumb and stupid) I had to paste the defaults I found in the web.
    Thanks.
    Fellow gdm and dwm users, an advice, put everything in .xinitrc. It's easier.
    Last edited by Aeriel (2011-09-01 17:19:30)

  • [Solved] Dwm reconfigure after update.

    The problem is simple, after update to last version of Dwm i had to build and install it from scratch. I don't want to do that for any new version of Dwm. Is there a way to avoid that process?
    Cheers.
    Last edited by n0dix (2010-06-04 13:40:46)

    skanky wrote:
    I had this issue on my other machine (this one uses scrotwm). Trying to remember what I did to resolve it.
    There were no errors after makepkg -efi but the version kept reverting back to the previous one. I think it happened updating to that one, too. Anyway, I *think* what I did was to copy my config.h elsewhere, clear out the dir I used for building it, updated abs, copied the dwm-5.8.1 files in and rebuilt. Search for dwm-5.8.1 using grep to make sure you have the right files.
    There may be a step missing from that though.
    Exactly the same problem and the solution helps a lot. Indeed, this is the way i solved the issue. But the question is: exists any way to do automatically those steps? I know, i can make a shell script, but apart from that there is another?

  • [SOLVED] DWM running with gnome difficulties - cracked leaving GNOME!

    UPDATE: concept as a perceived requirement has been scrubed. No longer needing Gnome's environment ... just some gtk/gnome libraries here and there though, obviously. See last post of mine here if ya like and you're rushed a bit.
    Having problems getting gnome to live with DWM though I can compile myself as i just learned how from the wiki.
    OBJECTIVE: retain at least the bottom menu bar of gnome (and program access) for a while yet ....  while using DWM.
    Hi... having the most amazing time with Xmonad, awesome, stumpwm, dmenu etc.
    At this point I've realized that Xmonad and DWM have basically the same keybinding.
    For how it work WELL, as it's an originator, and keeping it simple ummm.... was it 18k or 180k?  hehehe  (see other posts about dwm) I'm going to go with dwm for the forseeable future. they're all great though having done the studying it's really a simple decision.... If I wanted to swap to something else later I'd have the skill to know how simple that would be... dwm does cover ALL of what I sensibly need to work quickly and SIMPLY/manageably...
    DUE TO UPDATE COMMENT AT TOP  - SOME OF THE NEXT COUPLE OF POST IS REDUNDANT a BIT though maybe not:
    So... I'm wishing to be able to access my folders and programs through the gnome menu as a fail-safe until I figure out how to get around any gottcha before I reinstall WITHOUT gnome (just some of the libraries obviously for packages that need them)
    I really need to get going immediately with DWM and having had lots of fun with Xmonad (works easily with gnome though i like the simplicity of default DWM) ...
    ALL I really need is what I now have left of gnome's desktop visibility which is the bottom bar with a menu applet embeded in it...
    Actually.... IF there's a way to GRAPHICALLY see folders ie. boot programs without having to find the binary though would be cool.
    Gnome can do it's thing in the background.... though right now ALL I can get by adding DWM WITH metacity in the gnome sessions properties leaves me WITHOUT the bootom bar that gets me to my programs...
    yep, duh.
    any assistance apreciated as I can't stand working without dwm (or similar tiling wm) though I'm too new at it and generally not skilled enough at this move to get to my program's ICONS...  using dmenu for all booting just isn't practical for me today..  then again who knows what the next hour will bring! hehehe
    So..... ANYONE have DWM code that'll work??? .... I think I'd prefer it to be stock otherwise...
    whatver happens thanks and everything's so cool.... have learned SO much....
    Last edited by yvonney (2009-02-03 09:44:22)

    well as i remember, my own path was something like this...
    Windozes -> PCLinuxOS -> (K-X)Ubuntu -> Arch(XFCE4(desktop environment)) -> Arch(Fluxbox(no DE)) -> Arch(wmii+gnu/screen) -> Arch(dwm+gnu/screen)
    not talking about GNU/screen its like not talking about breathing to me right now at the beggining (like all i pass throught in GNU/linux) i can barely understand something "as complex" to understand like screen, but using it, showed me that EVERYTHING is a matter of understanding throught direct experience
    so i'll recommend to you that you start looking to gnu/screen, is so damn easy to configure/use once you understand it, but difficult when you start reading about it, like dwm is in first place
    what i do for file assosiations and such is using midnight commander (cli-file manager) and i edited a menu (F2 on a dir/file) and it popups showing the list of apps that i configured to open that file extension, i configured tuxcmd in the past but i didnt used it for months now...
    here's the ~/.mc/menu i did... (i use urxvt as a daemon starting "urxvtd -q -f -o &" in .xinit, you may change "urxvtc" with your terminal emulator of choice... (i hope it will be urxvt(c) and not something like gnome-terminal )
    shell_patterns=0
    + ! t t
    @ Do something on the current file
    CMD=%{Enter command}
    $CMD %f
    7 compress to 7zip (dir27z)
    urxvtc -e dir27z %f &
    @ compress file to zip (file2zip)
    urxvtc -e file2zip %f &
    @ compress dir to zip (dir2zip)
    urxvtc -e dir2zip %f &
    @ dir to iso (mkisofs -V volume_name -J -r -o isoimage.iso)
    urxvtc -e mkisofs -V NEW -J -r -o isoimage.iso %f &
    s make symlink in /tmp/burn (mksym)
    mksym %f &
    x make executable (chmod 755)
    chmod 755 %f
    r chown -cR root:root
    sudo chown -cR root:root %f
    a chown -cR aleyscha:users
    sudo chown -cR aleyscha:users %f
    u mount /dev/cdrom
    mount /dev/cdrom
    u umount /dev/cdrom
    umount /dev/cdrom
    u wodim -v dev=/dev/cdrom -blank=fast
    urxvtc -e wodim -v dev=/dev/cdrom -blank=fast &
    u dd if=/dev/cdrom of=/downloads/New/isoimage.iso
    urxvtc -e dd if=/dev/cdrom of=/downloads/New/isoimage.iso &
    u unmount ISO Image (fusermount -u /mnt/cdrom)
    fusermount -u /mnt/cdrom
    u unmount ISO Image (fusermount -u /mnt/iso1)
    fusermount -u /mnt/iso1
    u unmount ISO Image (fusermount -u /mnt/iso2)
    fusermount -u /mnt/iso2
    g edit file in gvim as root (sudo gvim %f &)
    sudo gvim %f &
    c copy (fui %f)
    urxvtc -e fui %f &
    p paste (fui --copy)
    urxvtc -e fui --copy &
    p paste (fui --move)
    urxvtc -e fui --move &
    c clamscan (clamscan --recursive --infected --bell --remove)
    urxvtc -e clamscan --recursive --infected --bell --remove %f &
    b Send via Bluetooth to device (obexftp -b 00:17:D5:85:0D:6F -p)
    obexftp -b 00:17:D5:85:0D:6F -p %f &
    + t t
    d Do something on the tagged files
    set %t; CMD=%{Enter command}
    while [ -n "$1" ]; do
    $CMD "$1"
    shift
    done
    + t t
    @ Make symlink in /tmp/burn
    while [ -n "$1" ]; do
    mksym "$1"
    shift
    done
    0 Edit a bug report and send it to root
    I=`mktemp ${MC_TMPDIR:-/tmp}/mail.XXXXXX` || exit 1
    ${EDITOR-vi} $I
    test -r $I && mail root < $I
    rm -f $I
    =+ f \.1$ | f \.3$ | f \.4$ | f \.5$ | f \.6$ | f \.7$ | f \.8$ | f \.man$ & t r
    1 Display the file with roff -man
    nroff -man %f | less
    2 Call the info hypertext browser
    info
    = t d
    3 Compress the current subdirectory (tar.gz)
    Pwd=`basename "%d" /`
    echo -n "Name of the compressed file (without extension) [$Pwd]: "
    read tar
    if [ "$tar"x = x ]; then tar="$Pwd"; fi
    cd .. && \
    tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \
    echo "../$tar.tar.gz created."
    4 Compress the current subdirectory (tar.bz2)
    Pwd=`basename %d /`
    echo -n "Name of the compressed file (without extension) [$Pwd]: "
    read tar
    if [ "$tar"x = x ]; then tar="$Pwd"; fi
    cd .. && \
    tar cf - "$Pwd" | bzip2 -f > "$tar.tar.bz2" && \
    echo "../$tar.tar.bz2 created."
    = f \.c$ & t r
    + f \.c$ & t r & ! t t
    5 Compile and link current .c file
    make `basename %f .c` 2>/dev/null || cc -O -o `basename %f .c` %f
    + t r & ! t t
    a Append file to opposite
    cat %f >>%D/%f
    + t t
    A Append files to opposite files
    set %t
    while [ -n "$1" ]; do
    cat $1 >>%D/$1
    shift
    done
    + t r & ! t t
    d Delete file if a copy exists in the other directory.
    if [ "%d" = "%D" ]; then
    echo "The two directores must be different"
    exit 1
    fi
    if [ -f %D/%f ]; then # if two of them, then
    if cmp -s %D/%f %f; then
    rm %f && echo %f: DELETED
    else
    echo "%f and %D/%f differ: NOT deleted"
    echo -n "Press RETURN "
    read key
    fi
    else
    echo %f: No copy in %D/%f: NOT deleted.
    fi
    + t t
    D Delete tagged files if a copy exists in the other directory.
    if [ "%d" = "%D" ]; then
    echo "The two directores must be different"
    exit 1
    fi
    for i in %t
    do
    if [ -f %D/$i ]; then
    SUM1="`sum $i`"
    SUM2="`sum %D/$i`"
    if [ "$SUM1" = "$SUM2" ]; then
    rm $i && echo ${i}: DELETED
    else
    echo $i and %D/$i differ: NOT deleted.
    fi
    else
    echo %f has no copy in %D/%f: NOT deleted.
    fi
    done
    m View manual page
    MAN=%{Enter manual name}
    %view man -P cat $MAN
    = f \.gz$ & t r
    + ! t t
    n Inspect gzip'ed newsbatch file
    dd if=%f bs=1 skip=12|zcat|${PAGER-more}
    # assuming the cunbatch header is 12 bytes long.
    = t r &
    + ! t t
    h Strip headers from current newsarticle
    CHECK=`awk '{print $1 ; exit}' %f` 2>/dev/null
    case $CHECK in
    Newsgroups:|Path:)
    I=`mktemp ${MC_TMPDIR:-/tmp}/news.XXXXXX` || exit 1
    cp %f $I && sed '/^'"$CHECK"' /,/^$/d' $I > %f
    [ "$?" = "0" ] && rm $I
    echo %f: header removed
    echo %f is not a news article.
    esac
    + t t
    H Strip headers from the marked newsarticles
    set %t
    while [ -n "$1" ]; do
    CHECK=`awk '{print $1 ; exit}' $1` 2>/dev/null
    WFILE=`mktemp ${MC_TMPDIR:-/tmp}/news.XXXXXX` || exit 1
    case $CHECK in
    Newsgroups:|Path:)
    cp $1 $WFILE && sed '/^'"$CHECK"' /,/^$/d' $WFILE > $1
    if [ "$?" = "0" ]; then
    rm $WFILE; echo $1 header removed. OK.
    else
    echo "Oops! Please check $1 against $WFILE"
    fi
    echo $1 skipped: Not a news article.
    esac
    shift
    done
    = t r
    + ! t t
    r Copy file to remote host
    echo -n "To which host?: "
    read Host
    echo -n "To which directory on $Host?: "
    read Dir
    rcp -p %f ${Host}:$Dir
    + t t
    R Copy files to remote host (no error checking)
    echo -n "Copy files to which host?: "
    read Host
    echo -n "To which directory on $Host? :"
    read Dir
    rcp -pr %u ${Host}:$Dir
    = f \.tex$ & t r
    + f \.tex$ & t r & ! t t
    t Run latex on file and show it with xdvi
    latex %f && xdvi `basename %f .tex`.dvi
    =+ f ^part | f ^Part | f uue & t r
    + t t
    U Uudecode marked news articles (needs work)
    set %t
    while [ -n "$1" ]; do # strip headers
    FIRST=`awk '{print $1 ; exit}' $1`
    cat $1 | sed '/^'"$FIRST"' /,/^$/d'; shift
    done
    ) |sed '/^$/d' |sed -n '/^begin 6/,/^end$/p' | uudecode
    if [ "$?" != "0" ]; then
    echo "Cannot decode %t"
    fi
    echo "Please test the output file before deleting anything"
    =+ f \.tar\.gz$ | f \.tar\.z$ | f \.tgz$ | f \.tpz$ | f \.tar\.Z$| f \.tar\.bz2$ & t r
    x Extract the contents of a compressed tar file
    unset EXT
    case %f in
    *.tar.bz2) EXT=tar_bz2;;
    esac
    if [ "$EXT" = "tar_bz2" ]; then
    bunzip2 -c %f | tar xvf -
    else
    gzip -dc %f | tar xvf -
    fi
    = t r
    + ! t t
    y Gzip or gunzip current file
    unset DECOMP
    case %f in
    *.gz) DECOMP=-d;;
    *.[zZ]) DECOMP=-d;;
    esac
    gzip $DECOMP -v %f
    + t t
    Y Gzip or gunzip tagged files
    for i in %t
    do
    unset DECOMP
    case $i in
    *.gz) DECOMP=-d;;
    *.[zZ]) DECOMP=-d;;
    esac
    gzip $DECOMP -v $i
    done
    + ! t t
    b Bzip2 or bunzip2 current file
    unset DECOMP
    case %f in
    *.bz2) DECOMP=-d;;
    esac
    bzip2 $DECOMP -v %f
    + t t
    B Bzip2 or bunzip2 tagged files
    for i in %t
    do
    unset DECOMP
    case $i in
    *.bz2) DECOMP=-d;;
    esac
    bzip2 $DECOMP -v $i
    done
    + f \.tar.gz$ | f \.tgz$ | f \.tpz$ | f \.tar.Z$ | f \.tar.z$ | f \.tar.bz2$ | f \.tar.F$ & t r & ! t t
    z Extract compressed tar file to subdirectory
    unset D
    set gzip -cd
    case %f in
    *.tar.gz) D="`basename %f .tar.gz`";;
    *.tgz) D="`basename %f .tgz`";;
    *.tpz) D="`basename %f .tpz`";;
    *.tar.Z) D="`basename %f .tar.Z`";;
    *.tar.z) D="`basename %f .tar.z`";;
    *.tar.bz2) D="`basename %f .tar.bz2`"; set bunzip2 -c ;;
    *.tar.F) D="`basename %f .tar.F`"; set freeze -dc;
    esac
    mkdir $D; cd $D && ($1 $2 ../%f | tar xvf -)
    + t t
    Z Extract compressed tar files to subdirectories
    for i in %t
    do
    set gzip -dc
    unset D
    case $i in
    *.tar.gz) D="`basename $i .tar.gz`";;
    *.tgz) D="`basename $i .tgz`";;
    *.tpz) D="`basename $i .tpz`";;
    *.tar.Z) D="`basename $i .tar.Z`";;
    *.tar.z) D="`basename $i .tar.z`";;
    *.tar.F) D="`basename $i .tar.F`"; set freeze -dc;;
    *.tar.bz2) D="`basename $i .tar.bz2`"; set bunzip2 -c;;
    esac
    mkdir $D; (cd $D && $1 $2 ../$i | tar xvf -)
    done
    + f \.gz$ | f \.tgz$ | f \.tpz$ | f \.Z$ | f \.z$ | f \.bz2$ & t r & ! t t
    c Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
    unset D
    unset EXT
    case %f in
    *.tgz) EXT=tgz;;
    *.tpz) EXT=tpz;;
    *.Z) EXT=Z;;
    *.z) EXT=z;;
    *.gz) EXT=gz;;
    *.bz2) EXT=bz2;;
    esac
    case $EXT in
    tgz|tpz) D="`basename %f .$EXT`.tar";;
    gz|Z|z) D="`basename %f .$EXT`";;
    bz2) D="`basename %f .bz2`";;
    esac
    if [ "$EXT" = "bz2" ]; then
    bunzip2 -v %f ; gzip -f9 -v $D
    else
    gunzip -v %f ; bzip2 -v $D
    fi
    + t t
    C Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2
    set %t
    while [ -n "$1" ]
    do
    unset D
    unset EXT
    case $1 in
    *.tgz) EXT=tgz;;
    *.tpz) EXT=tpz;;
    *.Z) EXT=Z;;
    *.z) EXT=z;;
    *.gz) EXT=gz;;
    *.bz2) EXT=bz2;;
    esac
    case $EXT in
    tgz) D="`basename $1 .tgz`.tar";;
    tpz) D="`basename $1 .tpz`.tar";;
    gz|Z|z) D="`basename $1 .$EXT`";;
    bz2) D="`basename $1 .bz2`";;
    esac
    if [ "$EXT" = "bz2" ]; then
    bunzip2 -v $1
    gzip -f9 -v $D
    else
    gunzip -v $1
    bzip2 -v $D
    fi
    shift
    done
    + x /usr/bin/open | x /usr/local/bin/open & x /bin/sh
    o Open next a free console
    open -s -- sh
    #### Added by me ####
    #### Video File Menu ####
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    p mplayer
    mplayer %f
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    i ffmpeg -i (show audio/video info)
    ffmpeg -i %f
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    i mediainfo (show audio/video info)
    mediainfo %f
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    v vlc
    vlc %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    e Edit with AviDemux (avidemux2_gtk %f)
    avidemux2_gtk %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    e Encode to h264 vhq 96 700 (enc2h264 vhq 96 700 %f)
    urxvtc -e enc2h264 vhq 96 700 %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    e Encode to h264 hq 64 500 (enc2h264 hq 64 500 %f)
    urxvtc -e enc2h264 hq 64 500 %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    e Encode to h264 wmv 17fps 500 64 (enc2h264 wmv17 %f)
    urxvtc -e enc2h264 wmv17 %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    e Encode to h264 wmv 25fps 500 64 (enc2h264 wmv25 %f)
    urxvtc -e enc2h264 wmv25 %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    @ Encode to -oac mp3_abr_96 (enc2h264 audio 96)
    urxvtc -e enc2h264 audio 96 %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    @ Encode to vhq 140 1000 (scale to 624x352, enc2h264 series %f)
    urxvtc -e enc2h264 series %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    e Encode to mpg 160 1152 (enc2mpg mpg 160 1152 %f)
    urxvtc -e enc2mpg mpg 160 1152 %f &
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.VOB$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ & t r & ! t t
    f mplayer framebuffer (mplayer -vo fbdev -fs)
    mplayer -vo fbdev -fs %f
    + f \.mkv$ & t r & ! t t
    e Extract mkv file (video-audio-subtitle, extractmkv %f)
    urxvtc -e extractmkv %f &
    #### Audio File Menu ####
    + f \.wav$ | f \.mp3$ | f \.au$ | f \.aiff$ | f \.snd$ | f \.mp2$ | f \.flac$ | f \.wma$ | f \.snd$ | f \.mpc$ | f \.ac3$ | f \.mid$ | f \.ogg$ & t r & ! t t
    p mplayer
    urxvtc -e mplayer %f &
    + f \.wav$ | f \.mp3$ | f \.au$ | f \.aiff$ | f \.snd$ | f \.mp2$ | f \.flac$ | f \.wma$ | f \.snd$ | f \.mpc$ | f \.ac3$ | f \.mid$ | f \.ogg$ & t r & ! t t
    i ffmpeg -i (show audio/video info)
    ffmpeg -i %f &
    + f \.wav$ | f \.mp3$ | f \.au$ | f \.aiff$ | f \.snd$ | f \.mp2$ | f \.flac$ | f \.wma$ | f \.snd$ | f \.mpc$ | f \.ac3$ | f \.mid$ | f \.ogg$ & t r & ! t t
    i mediainfo (show audio/video info)
    mediainfo %f &
    + f \.wav$ | f \.mp3$ | f \.au$ | f \.aiff$ | f \.snd$ | f \.mp2$ | f \.flac$ | f \.wma$ | f \.snd$ | f \.mpc$ | f \.ac3$ | f \.mid$ | f \.ogg$ & t r & ! t t
    a audacity
    audacity %f
    + f \.wav$ | f \.mp3$ | f \.au$ | f \.aiff$ | f \.snd$ | f \.mp2$ | f \.flac$ | f \.wma$ | f \.snd$ | f \.mpc$ | f \.ac3$ | f \.mid$ | f \.ogg$ & t r & ! t t
    e Encode to ABR MP3 (enc2mp3)
    urxvtc -e enc2mp3 %f &
    #### Disk Image File Menu ####
    + f \.iso$ | f \.ccd$ | f \.img$ | f \.nrg$ | f \.mdf$ | f \.cue$ | f \.bin$ | f \.daa$ | f \.b6t$ | f \.b6i$ & t r & ! t t
    i isomaster
    isomaster %f
    + f \.cue$ | f \.bin$ & t r & ! t t
    3 Convert BIN to ISO (bin2iso)
    urxvtc -e bin2iso %f &
    + f \.iso$ | f \.ccd$ | f \.img$ | f \.nrg$ | f \.mdf$ | f \.cue$ | f \.bin$ | f \.daa$ | f \.b6t$ | f \.b6i$ & t r & ! t t
    c Poweriso convert image to ISO (all2iso)
    urxvtc -e all2iso %f &
    + f \.ccd$ & t r & ! t t
    5 Convert CCD to ISO (myccd2iso)
    urxvtc -e myccd2iso %f &
    + f \.iso$ | f \.bin$ | f \.img$ | f \.nrg$ | f \.mdf$ & t r & ! t t
    5 Fuseiso mount image /mnt/cdrom (fuseiso %f /mnt/cdrom)
    fuseiso %f /mnt/cdrom
    + f \.iso$ | f \.bin$ | f \.img$ | f \.nrg$ | f \.mdf$ & t r & ! t t
    5 Fuseiso mount image /mnt/iso1 (fuseiso %f /mnt/iso1)
    fuseiso %f /mnt/iso1
    + f \.iso$ | f \.bin$ | f \.img$ | f \.nrg$ | f \.mdf$ & t r & ! t t
    5 Fuseiso mount image /mnt/iso2 (fuseiso %f /mnt/iso2)
    fuseiso %f /mnt/iso2
    + f \.cue$ & t r & ! t t
    5 Burn BIN/CUE image (cdrdao write --device /dev/cdrom %f)
    urxvtc -e cdrdao write --device /dev/cdrom %f &
    + f \.iso$ | f \.bin$ & t r & ! t t
    5 Burn ISO image (burn-cd -m)
    urxvtc -e burn-cd -m %f &
    + f \.iso$ & t r & ! t t
    5 Burn ISO image (wodim -v dev=/dev/cdrom)
    urxvtc -e wodim -v dev=/dev/cdrom %f &
    #### Image File Menu ####
    + f \.jpg$ | f \.jpeg$ | f \.bmp$ | f \.png$ | f \.gif$ | f \.svg$ & t r & ! t t
    v xv
    xv %f &
    + f \.jpg$ | f \.jpeg$ | f \.bmp$ | f \.png$ | f \.gif$ | f \.svg$ & t r & ! t t
    v feh
    feh %f &
    + f \.jpg$ | f \.jpeg$ | f \.bmp$ | f \.png$ | f \.gif$ | f \.svg$ & t r & ! t t
    f feh --scale-down
    feh --scale-down %f &
    + f \.jpg$ | f \.jpeg$ | f \.bmp$ | f \.png$ | f \.gif$ | f \.svg$ & t r & ! t t
    g gimp
    gimp %f &
    + f \.jpg$ | f \.jpeg$ | f \.bmp$ | f \.png$ | f \.gif$ | f \.svg$ & t r & ! t t
    3 geeqie
    geeqie %f &
    #### PDF File Menu ####
    + f \.pdf$ & t r & ! t t
    v epdfview
    epdfview %f &
    + f \.pdf$ & t r & ! t t
    x xpdf
    xpdf %f
    + f \.pdf$ & t r & ! t t
    x viewpdf
    urxvtc -e viewpdf %f &
    #### Text File Menu ####
    + f \.txt$ | f \.nfo$ | f \.cfg$ | f \.log$ | f \.srt$ | f \.sub$ | f \.ssa$ & t r & ! t t
    v leafpad
    leafpad %f &
    + f \.txt$ | f \.nfo$ | f \.cfg$ | f \.log$ | f \.srt$ | f \.sub$ | f \.ssa$ & t r & ! t t
    g gvim
    gvim %f &
    #### Archive File Menu ####
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    l List file contents (7z l)
    urxvtc -e 7z l %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    1 xarchiver
    xarchiver %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    2 Extract *.tar.gz (tar -xzvf)
    urxvtc -e tar -xzvf %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    3 Extract *.tar.bz2 (tar -xjvf)
    urxvtc -e tar -xjvf %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ | f \.cbr$ | f \.cbz$ & t r & ! t t
    4 Extract *.rar Full Path (unrar x)
    urxvtc -e unrar x %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ | f \.cbr$ | f \.cbz$ & t r & ! t t
    5 Extract *.rar Current Dir (unrar e)
    urxvtc -e unrar e %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ | f \.cbr$ | f \.cbz$ & t r & ! t t
    5 Extract broken *.rar Full Path (unrar x -kb)
    urxvtc -e unrar x -kb %f &
    + f \.zip$ & t r & ! t t
    6 Extract *.zip (unzip)
    urxvtc -e unzip %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    6 Extract *.zip with bsdtar (bsdtar -xvf)
    urxvtc -e bsdtar -xvf %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    7 Extract *.7z Full Path (7z x)
    urxvtc -e 7z x %f &
    + f \.zip$ | f \.tar.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    8 Extract *.7z Current Dir (7z e)
    urxvtc -e 7z e %f &
    + f \.ace$ & t r & ! t t
    9 Extract *.ace Full Path (unace x)
    urxvtc -e unace x %f &
    + f \.ace$ & t r & ! t t
    a Extract *.ace Current Dir (unace e)
    urxvtc -e unace e %f &
    + f \.rar$ | f \.cbz$ & t r & ! t t
    b Extract *.rar in *.rar_dir directory (unrar2dir)
    urxvtc -e unrar2dir %f &
    + f \.zip$ & t r & ! t t
    c Extract *.zip in *.zip_dir directory (unzip2dir)
    urxvtc -e unzip2dir %f &
    + f \.tar.gz$ | f \.bz2$ | f \.tgz$ & t r & ! t t
    e yaourt Install/Upgrade Package (yaourt -U)
    yaourt -U %f
    #### Windows Executable File Menu ####
    + f \.exe$ | f \.EXE$ | f \.bat$ | f \.BAT$ & t r & ! t t
    r wine
    urxvtc -e wine %f &
    + f \.exe$ | f \.EXE$ | f \.bat$ | f \.BAT$ | f \.cmd$ | f \.CMD$ | f \.COM$ | f \.com$ & t r & ! t t
    r Dosbox (Dosbox normal)
    Dosbox normal %f &
    + f \.exe$ | f \.EXE$ | f \.bat$ | f \.BAT$ | f \.cmd$ | f \.CMD$ | f \.COM$ | f \.com$ & t r & ! t t
    r Dosbox (Dosbox normal3x)
    Dosbox normal3x %f &
    + f \.exe$ | f \.EXE$ | f \.bat$ | f \.BAT$ | f \.cmd$ | f \.CMD$ | f \.COM$ | f \.com$ & t r & ! t t
    r Dosbox (Dosbox advmame3x)
    Dosbox advmame3x %f &
    #### Internet File Menu ####
    + f \.htm$ | f \.html$ | f \.php$ | f \.asp$ & t r & ! t t
    k kazehakase
    kazehakase %f
    + f \.htm$ | f \.html$ | f \.php$ | f \.asp$ & t r & ! t t
    s swiftweasel
    swiftweasel %f
    + f \.htm$ | f \.html$ | f \.php$ | f \.asp$ & t r & ! t t
    s elinks
    urxvtc -e elinks %f &
    + f \.htm$ | f \.html$ | f \.php$ | f \.asp$ & t r & ! t t
    s links -g
    links -g %f
    #### Document File Menu ####
    + f \.doc$ | f \.rtf$ & t r & ! t t
    a abiword
    abiword %f
    + f \.doc$ | f \.rtf$ & t r & ! t t
    o OpenOffice Writer
    soffice -writer %f
    + f \.doc$ | f \.rtf$ & t r & ! t t
    o antiword
    urxvtc -e antiword %f &
    + f \.doc$ | f \.rtf$ & t r & ! t t
    o viewword (antiword -f %f > vi)
    urxvtc -e viewword %f &
    + f \.lit$ & t r & ! t t
    o c-lit
    c-lit %f
    #### Spread Sheet File Menu ####
    + f \.xls$ | f \.csv$ & t r & ! t t
    g gnumeric
    gnumeric %f
    #### Presentation File Menu ####
    + f \.ppt$ | f \.pps$ & t r & ! t t
    v OpenOffice Impress (soffice -impress)
    soffice -impress %f
    #### Java File Menu ####
    + f \.jar$ & t r & ! t t
    e Execute java program (java -jar)
    java -jar %f
    #### Help/Manual File Menu ####
    + f \.chm$ & t r & ! t t
    v xchm
    xchm %f
    #### Emulator Roms ####
    + f \.smc$ & t r & ! t t
    v zsnes
    zsnes %f
    + f \.smc$ & t r & ! t t
    v snes9x (snes9x -tr -dfr -y2)
    snes9x -tr -dfr -y2 %f
    + f \.smd$ & t r & ! t t
    v dgen (dgen -G 1280x960)
    dgen -G 1280x960 %f
    + f \.v64$ | f \.z64$ & t r & ! t t
    v mupen64_nogui
    mupen64_nogui %f
    + f \.nes$ & t r & ! t t
    v tuxnes
    tuxnes %f
    + f \.nes$ & t r & ! t t
    v fceu
    fceu -input1 gamepad %f
    + f \.nes$ & t r & ! t t
    v ines
    ines %f
    + f \.int$ & t r & ! t t
    v intellivission
    int %f
    + f \.gb$ | f \.gba$ & t r & ! t t
    v VisualBoyAdvance
    VisualBoyAdvance -4 %f
    + f \.gb$ | f \.gba$ & t r & ! t t
    v gvba
    gvba %f
    + f \.gba$ & t r & ! t t
    v vgba
    vgba %f
    + f \.gb$ & t r & ! t t
    v vgb
    vgb %f
    + f \.adf$ & t r & ! t t
    v amigacomputer
    e-uae %f
    + f \.gcm$ & t r & ! t t
    v tuxcube
    tuxcube %f
    + f \.st$ & t r & ! t t
    v hatari
    hatari %f
    + f \.a26$ & t r & ! t t
    v stella
    stella %f
    + f \.col$ & t r & ! t t
    v colem32
    colem32 %f
    #### Source-Code File Menu ####
    + f \.c$ & t r & ! t t
    c compile source file (gcc -O2 -Wall -pedantic)
    urxvtc -e gcc -O2 -Wall -pedantic %f
    + f \.cpp$ & t r & ! t t
    c compile source file (gcc -O2 -Wall -pedantic)
    urxvtc -e g++ -O2 -Wall -pedantic %f

  • [SOLVED] Monitor blanking after 10 minutes

    I've got to the end of PART II of the excellent Beginners Guide but before I embark on the next part, I need to solve the issue of my monitor blanking after 10 minutes of inactivity. Please note that, at this stage, I do not have "X" installed. Any help would be greatly appreciated, thanks.
    Last edited by tenlegger (2010-08-01 06:36:58)

    karol wrote:
    tenlegger wrote:I've got to the end of PART II of the excellent Beginners Guide but before I embark on the next part, I need to solve the issue of my monitor blanking after 10 minutes of inactivity. Please note that, at this stage, I do not have "X" installed. Any help would be greatly appreciated, thanks.
    That's the default behavior. If you don't like it (and want to install X), add
    xset s off -dpms &
    to your .xinitrc.
    'man setterm' will guide you if you need it for the terminal. Check the '-blank' switch.
    I've always used
    setterm -blank 0
    in my .bashrc.
    *Don't* try to use and of the acpi=off stuff until you're sure that my advice didn't work.
    As I don't yet have "X" installed, I've tried your .bashrc tweak and it's had the desired effect.
    When I get around to installing "X", will I need your .xinitrc tweak in addition to the .bashrc tweak.
    Many thanks to you and everybody else for your suggestions and help
    Regards .....

  • [solved] Wordpress Blank Page on Install

    I could use a little help installing wordpress on my home machine. I did my best to follow the instructions given on the wiki page, including using phpMyAdmin. I was able to get everything to work right up until after saving the provided text into wp-config.php. After clicking the button to "Run the Install", I am greeted not by a "Success!", but by simply a blank, white page. I've found lots of questions about this exact issue, but every solution is different and not fixing the problem: one said the memory allocation default of ~4MB in php.ini is too small--the setting in my file was already 128MB, not 4MB. Another suggested I didn't have a complete set of the files--well, I wouldn't expect that to be the case for a vanilla install using pacman, at least without a note in the wiki saying, "You need this file and you don't already have it!!"
    Would anyone with some experience be willing to help me troubleshoot this? I'm foraging into a new field I have little experience in; I was able to get dokuwiki to work, for example, but I've never done anything beyond that. This issue is especially frustrating because all I get is a blank screen; no messages, no logs... how am I supposed to track down the problem, especially when I'm finding so many different problems that have this exact same symptom?
    A couple of things to note: I would like to install the actual wordpress files into /srv/http/wordpress instead of using the default /usr/share/webapps/wordpress. (Probably in its own partition in the end, but right now I'll settle for just getting it to work.) I suspect that, like I found out in my dokuwiki experimenting, I should just copy the contents of the installation directory to where I want to use it and ensure that the httpd-wordpress.conf file points to the appropriate place. (Which, by the way, is never explained in the wiki for either wordpress or dokuwiki; I think it probably ought to be.) Even so, I have tried to get it working using the default directory, and it has the exact same result. I don't believe it's a permissions problem, because I have tried setting the directory ownership to my user and still have no change.
    I did follow the instructions while configuring phpMyAdmin under Enabling Configuration Storage (optional).
    Last edited by DrMag (2014-02-27 17:08:34)

    DrMag wrote:Well, I did manage to solve the problem, and it was indeed the wp-config.php file. I had forgotten that when I paste into vim, it automatically adds comment characters on returns, so it ended up commenting the entire file.
    I'm glad you were able to find the problem! Yeah, gotta watch out for Vim. What a crappy editor.
    I do think it's interesting that you chose to do a raw install; if you ever need to uninstall, is there any issue, or simply a matter of removing the whole directory? I suspect that what I have done has the same effect; by copying the /usr/share/webapps/wordpress/ directory I've essentially installed it to a separate location, and everything is run from there. We'll have to see.. I'm still trying to learn how to build a webpage, let alone a wordpress theme.
    "Installation" of WordPress is simply unpackaging a tar file. Yes, uninstallation would be done by deleting the one WordPress directory. Yes, you created your own local installation by copying the files that pacman installed. You can uninstall the "wordpress" package and it will (of course) have no effect on your WordPress site.
    I have the permissions configured a little differently than how pacman sets things up. I think pacman installs all of the files and directories as owned by "root" whereas I have them owned by the "http" user (which is the user that my Apache server runs as). That's what allows the WordPress software to update itself and install it's own themes.
    After getting WordPress installed, running my own blog has been dead simple. I just login to it as if it were any old blog on wordpress.com.
    Good luck with your site!

  • [SOLVED]kdeplasma-applets-menubar doesn't work.

    I've just installed the following applications:
        kdeplasma-applets-menubar,
        libdbusmenu,
        libdbusmenu-qt,
        appmenu-gtk,
        appmenu-qt.
    But kdeplasma-applets-menubar doesn't work on my KDE4.10. The menu still show in the window and the applet only has the onmipresent "File" menu.
    Last edited by mert (2013-06-22 14:22:20)

    Go to 'System Settings' -> 'Application Appearance' -> 'Style' -> 'Fine Tuning' and change 'Menubar style' to 'Only export'. Just checked, works fine with qt applications.
    I'm not sure about gtk apps, though. I recall reading somewhere that, in addition to installing appmenu-gtk and its dependencies, one needed to specify something in the .gtkrc and/or .config/gtk-3.0/settings.ini file(s). Well that or my memory might just be playing tricks on me.
    EDIT:
    If for some reason gtk apps refuse to export their menus, you might want to look at this webupd8 article. Good luck!
    Last edited by andy_v (2013-06-22 12:36:50)

  • [SOLVED] dwm Recompile Difficulty

    I am currently running dwm. I followed the abs intall method from the ArchWiki, but have run into trouble when I attempt to make changes to the config.h and recompile. If I make a single simple change to config.h (ex. change the value of "static const char ...color" or "static unsigned int borderpx") I do not notice any change in dwm upon restarting it.
    [filam@lotte dwm]$ makepkg -efi
    ==> Making package: dwm 5.3-1 i686 (Tue Dec 30 11:47:02 EST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> WARNING: Skipping source retrieval -- using existing src/ tree
    ==> WARNING: Skipping source integrity checks -- using existing src/ tree
    ==> WARNING: Skipping source extraction -- using existing src/ tree
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -DVERSION="5.3"
    LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11
    CC = cc
    CC dwm.c
    CC -o dwm
    dwm build options:
    CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="5.3"
    LDFLAGS = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11
    CC = cc
    installing executable file to /home/filam/dwm/pkg/usr/bin
    installing manual page to /home/filam/dwm/pkg/usr/share/man/man1
    ==> Tidying install...
    -> Compressing man pages...
    -> Stripping debugging symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Adding install script...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: dwm 5.3-1 i686 (Tue Dec 30 11:47:04 EST 2008)
    ==> Installing package dwm with pacman -U...
    We trust you have received the usual lecture from the local System
    Administrator. It usually boils down to these three things:
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
    Password:
    filam is not in the sudoers file. This incident will be reported.
    As a reletively new end-user I can imagine I have made some simple mistake, but just can't imagine what that might be.
    Last edited by filam (2008-12-30 16:57:29)

    Thanks for the help lake.
    string wrote:You need root privs to install packages but you don't need them in order to create packages. You are running `makepkg -efi` which will try to install the package after its creation. The solution is simple, first create the package as a regular user via `makepkg -ef` (the `i` flag has been stripped), then, log in as root and run `pacman -U /full/path/to/your/newly/created/package`.
    Thanks string. Perfect explanation. This solution was exactly what I was looking for. Worked like a charm.

  • [SOLVED] dwm pertag patch no working properly

    Hello everybody! I recently had to redo my system.
    Before this change I was using the DWM 6.0 with patches NMaster and pertag.
    link to the source code used - https://github.com/abara/config/tree/master/dwm-pertag
    But now, after having reinstalled the base system, I realized that the same code that I used before is no longer behaving as it should.
    He is working as if there is no patch applied in dwm.c
    I wonder what would be the possible reasons.
    P.S. will not use sprinkles fork
    Last edited by abarahc (2013-07-11 23:14:07)

    ANOKNUSA wrote:NMaster patch is now part of the base code, so applying a patch for it is superfluous.
    Yeah, that's what I meant ;P http://dwm.suckless.org/patches/nmaster
    I'm using dwm with pertag patch and things are working as expected.

Maybe you are looking for

  • NFE Preso com 04 Statu

    Olá Experts, Descrição do problema: NF-e Batch preso em 04 código de status e solicitação enviada para SEFAZ com sucesso através de PI, mas a resposta do lote não foi processada para ECC.This foi devido a problema temporário em nosso servidor NFe. Ag

  • Purchase order in FF7A

    Dear all, When creating a vendor I assign a Cash management group in its master data.These  Cash management group are the ones that have the Source PSK (tcode OT05), and they are assigned to one Level with the tcode OT13. For example the Cash managem

  • Can I use a project/issue management software with LabVIEW?

    There are project/issue management softwares. I only know Redmine. Can I use LabVIEW with such softwares?

  • Toplink cacheing

    Hello, When using a Server session or DB session, does the cache apply to any user or just the specific session? Lets say user x wants some info for product 1 from a catalog but user y wants some info for product 1 (or 1 & 5). Does toplink make the c

  • IPhone/Ipad software update fail on MacBook Pro

    Apologies in advance that this will be a bit convoluted. I Try to keep it concise. I am trying to update my iPhone/iPad to latest software version 4.3.3. This works fine on my MacBook Air, but not on my MacBook Pro (First i& version, early 2010). I p