Cleaning my USB flash drive



  • I just emptied my clothes dryer and discovered a USB flash drive kicking around inside it. It had been though a wash cycle and then through a dryer cycle. After all that I plugged it in and was happy to see that it still worked.

    This particular device also has sentimental value as it was the very first flash drive I ever got - 128MB, Dell branded USB flash memory



  • Was it also defragmented ?



  • @OzPeter said:

    - 128MB

    Negative storage capacity? I didn't know Moore's Law worked in reverse.



  • I've done that with a USB flash drive and was pleasantly surprised with the same results.   However, while the washed and dried cell phone still worked, the display is messed up now.  The washed and dried digital camera, on the other hand, did not survive.  :(



  • @Xyro said:

    I've done that with a USB flash drive and was pleasantly surprised with the same results.

    Is it really that surprising?  It's not self-powered so it's not going to short-out.  A little water itself isn't going to damage circuits (unless you plugged it in while it was still wet).  Most dryers don't get hot enough to damage ICs.

     

    @Xyro said:

    However, while the washed and dried cell phone still worked, the display is messed up now.  The washed and dried digital camera, on the other hand, did not survive.  :(

    Wow.  I guess I can see forgetting a flash drive; they're small.  A phone.. maybe, although I'd wonder where my phone was long before I started the wash.  A digital camera is huge, though.  How do you throw pants into the wash with something the size of brick in the pockets??



  • @morbiuswilters said:

    @Xyro said:

    I've done that with a USB flash drive and was pleasantly surprised with the same results.

    Is it really that surprising?  It's not self-powered so it's not going to short-out.  A little water itself isn't going to damage circuits (unless you plugged it in while it was still wet).  Most dryers don't get hot enough to damage ICs

     At my old job, we used to clean circuit cards using a dishwasher as part of the manufacturing process.  The flux used to solder the components was water soluble.



  • @morbiuswilters said:

    @Xyro said:
    I've done that with a USB flash drive and was pleasantly surprised with the same results.
    Is it really that surprising?  It's not self-powered so it's not going to short-out.  A little water itself isn't going to damage circuits (unless you plugged it in while it was still wet).  Most dryers don't get hot enough to damage ICs.
    Static cling could steal my megahurtz!

    @morbiuswilters said:

    @Xyro said:
    However, while the washed and dried cell phone still worked, the display is messed up now.  The washed and dried digital camera, on the other hand, did not survive.  :(
    Wow.  I guess I can see forgetting a flash drive; they're small.  A phone.. maybe, although I'd wonder where my phone was long before I started the wash.  A digital camera is huge, though.  How do you throw pants into the wash with something the size of brick in the pockets??
    Cargo pants.  Also, it wasn't a digital SLR or anything, maybe the size of a fat wallet.  I carry a camera around with me everywhere to ward off the truly bizarre and unbelievable things that happen to me whenever I don't have one to prove it happened.  Threatening Life with photographic evidence seems to be enough for it let me live normally.  Ish.



  • I usually clean my stuff on purpose. This is my previous keyboard on a sink. Then I dried it. And applied perfume.

    This is it before the cleaning, after it, and then reassembled.



  •  Pics, and it happened.



  •  hahahahah a perfumed keyboard, yo that like programmers who wear ties because they have no talent.



  • [quote user="Renan "C#" Sousa"]I usually clean my stuff on purpose. This is my previous keyboard on a sink. Then I dried it. And applied perfume.

    This is it before the cleaning, after it, and then reassembled.[/quote]Your space bar seems to be broken or have some foreign object wedged in it.

    I've cleaned a keyboard in the sink before. Two of the keys leaped for freedom and jumped down the drain never to be seen again. I quickly got fedup of using a screwdriver for the letters 'e' and 'g' and so it eventually got thrown out and I purchased a new one.



  • @Mole said:

    Your space bar seems to be broken or have some foreign object wedged in it.

    It's a scrolling wheel. That keyboard had two space bars with a wheel between then, actually. It also had shortcuts for copy, cut and past under the delete, end and pagedown keys right above the arrow keys.

    @Mole said:

    I've cleaned a keyboard in the sink before. Two of the keys leaped for freedom and jumped down the drain never to be seen again. I quickly got fedup of using a screwdriver for the letters 'e' and 'g' and so it eventually got thrown out and I purchased a new one.

    You should have a filter in the sink to prevent the keys from falling in ;)



  •  Hmmm, I don't think I'd get along very well with that keyboard then, the scroller looks like it's exactly in the place I usually go for the space bar. Why do these people have to start adding these strange things to keyboards? It's becoming a chore now trying to find a keyboard that hasn't been bastardised to within an inch of its identity. 



  • I recently got a new wireless keyboard, but it didn't have an insert key! In its place was a fn key, which had to be pressed and held to get the function keys to work!  It also lacked a scroll lock.  Suddenly, working in terminals became nearly impossible.  :(  No shift+insert... :(

    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?



  • @Xyro said:

    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?

     

    raises hand



  • @Xyro said:

    I recently got a new wireless keyboard, but it didn't have an insert key! In its place was a fn key, which had to be pressed and held to get the function keys to work!  It also lacked a scroll lock.  Suddenly, working in terminals became nearly impossible.  :(  No shift+insert... :(

    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?

    There are more people using those than Scroll Lock, for sure.



  • @Master Chief said:

    @Xyro said:
    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?
    raises hand
    Oh.... ok then.

    So, like, you're mousing around a webpage, hand on the mouse, right?  Then you take your hand off the mouse to press the forward/backward button on your keyboard?  Or do you browse using the space bar or page up/down keys or arrow keys, so that your hand is alreayd on the keyboard?   Do you use the forward button, or just the back?  (When my hands are near the keyboard, I use the backspace key to go back, but that's just me.)



  • @Xyro said:

    @Master Chief said:

    @Xyro said:
    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?
    raises hand
    Oh.... ok then.

    So, like, you're mousing around a webpage, hand on the mouse, right?  Then you take your hand off the mouse to press the forward/backward button on your keyboard?  Or do you browse using the space bar or page up/down keys or arrow keys, so that your hand is alreayd on the keyboard?   Do you use the forward button, or just the back?  (When my hands are near the keyboard, I use the backspace key to go back, but that's just me.)

    If you're typing, it's faster to press tab then backspace (or browser back, if your keyboard has it) than to use a mouse to go back one step in your browsing history.

    These keys are also useful when someone else is holding the mouse at the moment.



  • @Xyro said:

    @Master Chief said:

    @Xyro said:
    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?
    raises hand
    Oh.... ok then.

    So, like, you're mousing around a webpage, hand on the mouse, right?  Then you take your hand off the mouse to press the forward/backward button on your keyboard?  Or do you browse using the space bar or page up/down keys or arrow keys, so that your hand is alreayd on the keyboard?   Do you use the forward button, or just the back?  (When my hands are near the keyboard, I use the backspace key to go back, but that's just me.)


     Actually when I'm on discussion boards (such as this one) I usually don't use the mouse at all, just enter, pg up and down to read the posts, back button on the keyboard, tab, read, back, tab...

     You get the idea.



  • Psh. Fine.  But I'm still not happy about the obscured function keys.



  • You should look at some of the dell laptops/notebooks. They have no Functions keys at all! There's an added 'Fn' key that uses up half the right hand shift key, and F1 through F9 are mapped to standard letters on the keyboard. F10-F12 don't exist.

    One I noticed had a few unusual keys - "Home", "Search", "Mail", "Calculator", "Shopping" (with a picture of a typical shopping trolley, any ideas on function?)

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses. They just get in the way when you press them by accident and open up the start menu, and why is there two of them?!



  • @Xyro said:

    I carry a camera around with me everywhere to ward off the truly bizarre and unbelievable things that happen to me whenever I don't have one to prove it happened.  Threatening Life with photographic evidence seems to be enough for it let me live normally.  Ish.

    I tried to do that with a Canon Elph, but found it still too big. Have any recommendations?

    Or i'll just wait for ATT to get a decent Android phone and use its camera.



  • @Mole said:

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses. They just get in the way when you press them by accident and open up the start menu, and why is there two of them?!

    Everybody in my office presses Windows-L every time they stand up. The right-click button next to it, however, I hardly ever touch.

    Frankly, I'm happy keyboards are getting rid of scroll-lock. I got so many support calls from Excel users who accidentally pressed that, and then "Excel won't work!" Fucking useless key.



  • @Master Chief said:

    @Xyro said:

    Why is it so necessary to remove the function keys in order to add in a "browser back" and "browser forward"?  WHO ACTUALLY USES THOSE?

     

    raises hand

     

    Why wouldn't you just use Alt+Left and Alt+Right?



  • @blakeyrat said:

    @Xyro said:
    I carry a camera around with me everywhere to ward off the truly bizarre and unbelievable things that happen to me whenever I don't have one to prove it happened.  Threatening Life with photographic evidence seems to be enough for it let me live normally.  Ish.
    I tried to do that with a Canon Elph, but found it still too big. Have any recommendations?

    Or i'll just wait for ATT to get a decent Android phone and use its camera.

    I currently use a Canon PowerShot SX200 IS, which as far as I know being not a camera-phile, is a pretty nice camera. It has lots of zooms and megapixels, and was relatively inexpensive when I got it. It's much bulkier than my previous camera, but still fits in cargo pants. Won't work with tight jeans or rubber pants, if you're into that sort of thing. The camera it replaced was also a Canon, but I don't recall the model. QXCxyz-something-or-other. It was pretty small and took fine photographs until it went in for a wash.


  • @blakeyrat said:

    Everybody in my office presses Windows-L every time they stand up. The right-click button next to it, however, I hardly ever touch.
    Hmm, do you work in a bank?

    Where I work, we all have RFID tags dangling from our necks on lanyards. Walk away from your PC and the screen goes black until you (or a person with a higher rank) comes back. The doors work using the same system and so unlock as you approach them.You think it's secure until you find out that it's just a 64-bit ID. I keep meaning to read the tag of one of the directors and then seeing if I can spoof it (shouldn't be too difficult, there are plenty of projects that state they can do it with an AtMega), but as of yet, I've not got around to it.



  • @Mole said:

    @blakeyrat said:
    Everybody in my office presses Windows-L every time they stand up. The right-click button next to it, however, I hardly ever touch.
    Hmm, do you work in a bank?

    Nope, just a regular web company with good IT guys.

    @Mole said:

    Where I work, we all have RFID tags dangling from our necks on lanyards.

    I've seen those... not sure it's worth the effort or cost though. If you were subject to HIPAA, though, I might consider that.



  • @Mole said:

    @blakeyrat said:
    Everybody in my office
    presses Windows-L every time they stand up. The right-click button next
    to it, however, I hardly ever touch.
    Hmm, do you work in a
    bank?

    When I was a sophomore in high school, one of my classmates had a reputation for being a 'hacker'. Then one day, towards the end of class, some men in dark suits showed up, flashed FBI badges, and took him away. We never saw him again.

    Somehow, after that, I've never had a problem remembering to lock my screen when I get up from the computer. I have never worked in a bank.


  • Discourse touched me in a no-no place

    @Mole said:

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses. They just get in the way when you press them by accident and open up the start menu, and why is there two of them?!
    Dude, if you knew all the things that key can do, your mind would explode. Seriously. About every 3 months I learn a new shortcut with it and my life is forever changed. It's far from useless, just massively underdocumented.

     

    Also, it's my primary method for accessing the start menu.



  • @blakeyrat said:

    I've seen those... not sure it's worth the effort or cost though. If you were subject to HIPAA, though, I might consider that.
    No, as with most things,it was a random act of management.

    As for the Windows keys, I will investigate them. Any links? 



  • @Mole said:

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses. They just get in the way when you press them by accident and open up the start menu, and why is there two of them?!
     

    I use the button extensively, for example, when I want to:

    - Win E: Explorer
    - Win D: bring dekstop to front
    - Win Tab: flip3D (Vista, useless)
    - Win Space: bring desktop widgets to front (Vista, useful)
    - open the Start Menu

    It may be worth noting that one of the default positions of my right hand is curved across the arrow keys, gamer-style. I am also an experienced user of all the various ctrl and shift combinations of arrow keys, pageUp|Down, Home and End. Mousing through your code is fucking cumbersome.

    Also, I use the context menu key often enough as well, when I'm in full-blown keyboard mode and keyboard through the entire app.



  • @da Doctah said:

    Why wouldn't you just use Alt+Left and Alt+Right?
     

    I use that often enough, but for some reason I use the mouse just as often, and Alt-L|R has the odd habit of producing the characters ♦ and ♠. I'm not sure why that is. Maybe my computer wants me to play more cards or something.



  • @dhromed said:

    @da Doctah said:

    Why wouldn't you just use Alt+Left and Alt+Right?
     

    I use that often enough, but for some reason I use the mouse just as often, and Alt-L|R has the odd habit of producing the characters ♦ and ♠. I'm not sure why that is. Maybe my computer wants me to play more cards or something.

    Are you using the numpad? Those are the CP437 symbols for code 4 and 6. Maybe num lock is on?



  • @dhromed said:

    I use the button extensively, for example, when I want to:
    snip

    I couldn't survive without Win+R for Run.

    Also, WinKey is bound to Mod4 under X11, and can there be used for just about every shortcut; and as regular apps do not use Win-combos, this means I have a set of globally available shortcuts and/or window manager commands.



  • Win7: 

    Win+Arrow Up - maximize

     Win+Arrow down - restore or minimize

     Win+Arrow right - size ro the right half of the monitor workarea

     Win+Arrow left - size ro the left half of the monitor workarea

    Win+ '+' - invoke Screen Magnifier

     Win+U - invoke Accessibility (screen reader, etc)

    Win+P - projector control

    Win+ 1, 2, 3 - open a window from the taskbar

    Win+M - minimize all (not the same as show desktop)

    Also, mouse jestures are supported when moving the windows.

     



  • @Mole said:

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses. They just get in the way when you press them by accident and open up the start menu, and why is there two of them?!

    I have an old blue ALPS (tactile click) keyboard -- wonderful piece of equipment, but the deal breaker for me is the lack of Windows keys on it.

    However, if you work where you can make a lot of noise, you can get a top quality buckling spring keyboard in classic 101/102 key layout, almost identical to the IBM Model M in appearance and feel:

    http://pckeyboards.stores.yahoo.net/keyboards.html

    The keys are relatively stiff but the travel action is very smooth (a "well oiled" feel) and it sounds fantastic:

    Typing on my new Customizer 104 keyboard – 01:21
    — patrickgetsontube

    Alternatively, various programs will switch off the Windows keys for you, or you figure out how to do it yourself in AutoHotkey (whereas I use AHK to add new uses for the Windows key amongst lots of other customisation).



  • @zzo38 said:

    Maybe num lock is on?
     

    Actually, yes.

    It's on because I use the numbers. It's my gamepad, in a sense.

    Well, that solves it.



  • @Mole said:

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses. They just get in the way when you press them by accident and open up the start menu, and why is there two of them?!
    Yeah, one should be enough. The left one as that's close to R,E,etc. that get used a lot for the shortcuts.

    As to the "right click button", I've just reconfigured that as push to talk in Teamspeak and Skype and such. No game uses it.



  • @Xyro said:

    Psh. Fine.  But I'm still not happy about the obscured function keys.

    Nor was I. That's what ultimately led to me ditching my wireless keyboard. It also had a non-standard insert/del/home/end/page-up/page-down setup, I think it was missing insert, doubled the size of del and had a 2x3 setup instead of 3x2. For the record, finding a laptop that has those keys in the correct positions is nigh-fucking-impossible.



  • @Mole said:

    And it seems now that you cant' get a keyboard with those stupid "Windows" keys that nobody ever uses.
    I use them all the time:

    * Win D: Default column layout
    * Win S: Stacked column layout
    * Win M: Maximized column layout
    * Win F: Fullscreen
    
    * Win X: Change wallpaper
    
    * Win Space: Switch to floating layer or back
    * Win Shift Space: Move window to floating layer or back
    * Win Enter: Open urxvt
    * Win P: Open dmenu
    etc...
    


  • wmii? dwm doesn't have floating layer, IIRC... anyway, probably not awesome - it doesn't need external dmenu.



  • @bannedfromcoding said:

    wmii? dwm doesn't have floating layer, IIRC... anyway, probably not awesome - it doesn't need external dmenu.

    Damnit, now I have to upload it.

    #!/bin/sh -f
    # Configure wmii
    wmiiscript=wmiirc # For wmii.sh
    . wmii.sh
    
    fbsetbg -l &
    
    names[0]=0
    names[1]=1_Shell
    names[2]=2_Work
    names[3]=3_Web
    names[4]=4_Chat
    names[5]=5_IRC
    names[6]=6_Music
    names[7]=7_Play
    names[8]=8
    names[9]=9
    
    # Configuration Variables
    MODKEY=Mod4
    UP=Up
    DOWN=Down
    LEFT=Left
    RIGHT=Right
    
    # Bars
    noticetimeout=5
    noticebar=/rbar/!notice
    
    # Colors tuples: "<text> <background> <border>"
    
    WMII_FOCUSCOLORS='#FF8000 #080303 #884000'
    WMII_BACKGROUND='#333333'
    WMII_NORMCOLORS='#0070FF #222222 #000000'
    
    #WMII_NORMCOLORS='#000000 #c1c48b #81654f'
    #WMII_FOCUSCOLORS='#000000 #81654f #000000'
    
    #WMII_BACKGROUND='#333333'
    WMII_FONT='-*-fixed-medium-r-*-*-12-*-*-*-*-*-*-*'
    
    set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
    WMII_TERM="urxvt"
    
    # Menu history
    hist="$(wmiir namespace)/history"
    histnum=5000
    
    # Column Rules
    wmiir write /colrules <<!
    /gimp/ -> 17+83+41
    /.*/ -> 62+38 # Golden Ratio
    !
    
    # Tagging Rules
    wmiir write /tagrules <<!
    /MPlayer|VLC/ -> ~
    !
    
    local_events() { true;}
    wi_runconf -s wmiirc_local
    
    echo $WMII_NORMCOLORS | wmiir create $noticebar
    
    # Event processing
    events() {
    	sed 's/^	//' <<'!'
    	# Events
    	Event CreateTag
    		echo "$WMII_NORMCOLORS" "$@" | wmiir create "/lbar/$@"
    	Event DestroyTag
    		wmiir remove "/lbar/$@"
    	Event FocusTag
    		wmiir xwrite "/lbar/$@" "$WMII_FOCUSCOLORS" "$@"
    	Event UnfocusTag
    		wmiir xwrite "/lbar/$@" "$WMII_NORMCOLORS" "$@"
    	Event UrgentTag
    		shift
    		wmiir xwrite "/lbar/$@" "*$@"
    	Event NotUrgentTag
    		shift
    		wmiir xwrite "/lbar/$@" "$@"
    	Event LeftBarClick LeftBarDND
    		shift
    		wmiir xwrite /ctl view "$@"
    	Event Unresponsive
    		{
    			client=$1; shift
    			msg="The following client is not responding. What would you like to do?$wi_nl"
    			resp=$(wihack -transient $client \
    				      xmessage -nearmouse -buttons Kill,Wait -print \
    				               "$msg $(wmiir read /client/sel/label)")
    			if [ "$resp" = Kill ]; then
    				wmiir xwrite /client/$client/ctl slay &
    			fi
    		}&
    	Event Notice
    		wmiir xwrite $noticebar $wi_arg
    
    		kill $xpid 2>/dev/null # Let's hope this isn't reused...
    		{ sleep $noticetimeout; wmiir xwrite $noticebar ' '; }&
    		xpid = $!
    	Menu Client-3-Delete
    		wmiir xwrite /client/$1/ctl kill
    	Menu Client-3-Kill
    		wmiir xwrite /client/$1/ctl slay
    	Menu Client-3-Fullscreen
    		wmiir xwrite /client/$1/ctl Fullscreen on
    	Event ClientMouseDown
    		wi_fnmenu Client $2 $1 &
    	Menu LBar-3-Delete
    		tag=$1; clients=$(wmiir read "/tag/$tag/index" | awk '/[^#]/{print $2}')
    		for c in $clients; do
    			if [ "$tag" = "$(wmiir read /client/$c/tags)" ]; then
    				wmiir xwrite /client/$c/ctl kill
    			else
    				wmiir xwrite /client/$c/tags -$tag
    			fi
    			if [ "$tag" = "$(wi_seltag)" ]; then
    				newtag=$(wi_tags | awk -v't='$tag '
    					$1 == t { if(!l) getline l
    						  print l
    						  exit }
    					{ l = $0 }')
    				wmiir xwrite /ctl view $newtag
    			fi
    		done
    	Event LeftBarMouseDown
    		wi_fnmenu LBar "$@" &
    	# Actions
    	Action quit
    		wmiir xwrite /ctl quit
    	Action exec
    		wmiir xwrite /ctl exec "$@"
    	Action rehash
    		proglist $PATH >$progsfile
    	Action status
    		set +xv
    		if wmiir remove /rbar/status 2>/dev/null; then
    			sleep 2
    		fi
    		echo "$WMII_NORMCOLORS" | wmiir create /rbar/status
    		while status | wmiir write /rbar/status; do
    			sleep 1
    		done
    	# Key Bindings
    	Key $MODKEY-Control-t
    		case $(wmiir read /keys | wc -l | tr -d ' \t\n') in
    		0|1)
    			echo -n "$Keys" | wmiir write /keys
    			wmiir xwrite /ctl grabmod $MODKEY;;
    		*)
    			wmiir xwrite /keys $MODKEY-Control-t
    			wmiir xwrite /ctl grabmod Mod3;;
    		esac
    	Key $MODKEY-space
    		wmiir xwrite /tag/sel/ctl select toggle
    	Key $MODKEY-d
    		wmiir xwrite /tag/sel/ctl colmode sel default-max
    	Key $MODKEY-s
    		wmiir xwrite /tag/sel/ctl colmode sel stack-max
    	Key $MODKEY-m
    		wmiir xwrite /tag/sel/ctl colmode sel stack+max
    	Key $MODKEY-a
    		Action $(wi_actions | wimenu -h "${hist}.actions" -n $histnum) &
    	Key $MODKEY-p
    		eval wmiir setsid "$(wimenu -h "${hist}.progs" -n $histnum <$progsfile)" &
    	Key $MODKEY-t
    		wmiir xwrite /ctl view $(wi_tags | wimenu -h "${hist}.tags" -n 50) &
    	Key $MODKEY-Return
    		eval wmiir setsid $WMII_TERM &
    	Key $MODKEY-x
    		eval fbsetbg -l &
    	Key $MODKEY-l
    		eval wmiir setsid "slock" &
    	Key $MODKEY-Shift-space
    		wmiir xwrite /tag/sel/ctl send sel toggle
    	Key $MODKEY-f
    		wmiir xwrite /client/sel/ctl Fullscreen toggle
    	Key $MODKEY-Shift-c
    		wmiir xwrite /client/sel/ctl kill
    	Key $MODKEY-Shift-t
    		wmiir xwrite "/client/$(wmiir read /client/sel/ctl)/tags" $(wi_tags | wimenu -h "${hist}.tags" -n 50) &
    	Key $MODKEY-$LEFT
    		wmiir xwrite /tag/sel/ctl select left
    	Key $MODKEY-$RIGHT
    		wmiir xwrite /tag/sel/ctl select right
    	Key $MODKEY-$DOWN
    		wmiir xwrite /tag/sel/ctl select down
    	Key $MODKEY-$UP
    		wmiir xwrite /tag/sel/ctl select up
    	Key $MODKEY-Control-$DOWN
    		wmiir xwrite /tag/sel/ctl select down stack
    	Key $MODKEY-Control-$UP
    		wmiir xwrite /tag/sel/ctl select up stack
    	Key $MODKEY-Shift-$LEFT
    		wmiir xwrite /tag/sel/ctl send sel left
    	Key $MODKEY-Shift-$RIGHT
    		wmiir xwrite /tag/sel/ctl send sel right
    	Key $MODKEY-Shift-$DOWN
    		wmiir xwrite /tag/sel/ctl send sel down
    	Key $MODKEY-Shift-$UP
    		wmiir xwrite /tag/sel/ctl send sel up
    !
    	for i in 0 1 2 3 4 5 6 7 8 9; do
    		sed 's/^	//' <<!
    	Key $MODKEY-$i
    		wmiir xwrite /ctl view "\${names[$i]}"
    	Key $MODKEY-Shift-$i
    		wmiir xwrite /client/sel/tags "\${names[$i]}"
    !
    	done
    }
    wi_events <<!
    $(events)
    $(local_events)
    !
    unset events local_events
    
    # WM Configuration
    wmiir write /ctl <<!
    	font $WMII_FONT
    	focuscolors $WMII_FOCUSCOLORS
    	normcolors $WMII_NORMCOLORS
    	grabmod $MODKEY
    	border 1
    !
    #xsetroot -solid "$WMII_BACKGROUND" &
    
    export WMII_FONT WMII_TERM
    export WMII_FOCUSCOLORS WMII_SELCOLORS WMII_NORMCOLORS
    
    # Misc
    progsfile="$(wmiir namespace)/.proglist"
    action status &
    wi_proglist $PATH >$progsfile &
    
    # Setup Tag Bar
    IFS="$wi_nl"
    wmiir rm $(wmiir ls /lbar | sed 's,^,/lbar/,')
    seltag=$(wmiir read /tag/sel/ctl | sed 1q)
    unset IFS
    wi_tags | while read tag
    do
    	if [ "$tag" = "$seltag" ]; then
    		echo "$WMII_FOCUSCOLORS" "$tag"
    	else
    		echo "$WMII_NORMCOLORS" "$tag"
    	fi | wmiir create "/lbar/$tag"
    done
    
    wi_eventloop
    
    

    Mostly default. A special customization to make Win+1 go to the 1_Shell tag instead of 1.



  • Pwn'd.



  • I went to your site expecting to see some keyboard pr0n but instead I got this:

    Critical Error: SiteUrls.Config

    I DEMAND MY MONEY BACK!



  • I use scroll lock all the time. A lot of KVMs use them as a switching key, it's good for scrolling through Excel (though sadly not word, for reasons I'll never understand).

    Just because you're too whipped to say "fuck off, ya moron" to your Excel users who haven't figured out the scroll lock key, doesn't mean you should take away my keys.

    For Shift/Ctrl+Insert, some terminal programs (at least Konsole) supports Ctrl+Shift+C and Ctrl+Shift+V, which I'm kinda getting used to. Less hand movement.



  •  I'm having trouble.

    How exactly does Scrollock help with scrolling in Excel?



  • Using the arrow keys, you can move the view without moving from the cell.



  • @Joeyg said:

    I use scroll lock all the time. A lot of KVMs use them as a switching key, it's good for scrolling through Excel (though sadly not word, for reasons I'll never understand).

    Just because you're too whipped to say "fuck off, ya moron" to your Excel users who haven't figured out the scroll lock key, doesn't mean you should take away my keys.

    1. I don't say "fuck off, ya moron" to my customers, because I'm not an asshole. Not in-person at least. Most of the time.

    2) The one guy who can correctly divine the use of ScrollLock doesn't make up for the 500 people who think their computer is broken when it's pressed. The key might as well be labelled "make me think my computer is broken."



  • @blakeyrat said:

    1) I don't say "fuck off, ya moron" to my customers, because I'm not an asshole. Not in-person at least. Most of the time.

    Fair enough, but on some level, being nice will only make them stay on the line longer.

    2) The one guy who can correctly divine the use of ScrollLock doesn't make up for the 500 people who think their computer is broken when it's pressed. The key might as well be labelled "make me think my computer is broken."

    "Scroll Lock" is a pretty explanatory term - no divination needed. The bigger problem is that it only does something in one application - and if you don't use that one, I can understand people having no clue what the key does.

    It's more intuitive than 'Insert', which toggles overwrite mode. And that one works pretty much everywhere.



  • @Joeyg said:

    Fair enough, but on some level, being nice will only make them stay on the line longer.

    As long as their problem is fixed and they leave happy, I don't care how long they stay on the line.

    @Joeyg said:

    "Scroll Lock" is a pretty explanatory term - no divination needed.

    Wow, what planet do you live on? Sure, it's self-explanatory if you've been fiddling with Linux for 5 years. For normal people? No.

    @Joeyg said:

    It's more intuitive than 'Insert', which toggles overwrite mode. And that one works pretty much everywhere.

    Yes, and I believe that key should be removed as well. But thanks for attempting to paint me as a hypocrite.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.