michael.h4lios wrote:

But isn't that fairly easy to fix?
Wouldn't you just type this instead?

 ls * | send grep '\.sh$'

?

D'oh. Can't believe I missed that. Thanks, I'll update the opening post.

2

(11 replies, posted in Off Topic / General Chat)

Hey Patrick,

I've been playing IF for about four years now- I started with this wicked game called Shrapnel- not the ideal introduction to IF!
I've started Anchorhead several times but never got around to finishing it. I loved Slouching Towards Bedlam though, which had a similar ambiance.

Blue Lacuna's been universally lauded- but it's much longer than the regular two hour pieces though, so I haven't gotten into it yet.

Everyone's played the famous ones- Photopia, Spider and Web, Varicella, Floatpoint- have you tried Gunmute? It's a different (fun) take on IF.

3

(254 replies, posted in Tips, Tricks & Scripts)

serious_lee wrote:

Config for the vertical tint2 in screenshot i posted here:

Thanks!

I can't get it to load vertically on the left, though. In fact, in the manual in /usr/share/doc/tint2, this is what's given about panel position:

panel_position = vertical_position horizontal_position
value for vertical_position : bottom, top
value for horizontal_position : left, right, center

No mention of orientation at all.

Which version of Tint2 are you using? (The one I tried, I got through a 'sudo aptitude install', that is, the one in the Crunchbang repos. Are you using the one in the Tint2 PPA on Launchpad?)

serious_lee wrote:

Tint2 is getting more and more awesome with every passing day.

http://g.imagehost.org/t/0670/1_58.jpg

Hanna! can you post a teeny-weeny tutorial on setting up pekwm, i am feeling so lazy big_smile

That sidebar tint is pretty neat; could you post the config over at the Tint2 config page?

(I see that you've already posted one, but that's different)

mocp: The last music player I'll ever need.

Can't get any more lightweight, too.

It was the second one- thank you!

Been in an Ubuntu mood lately.

http://i42.tinypic.com/2namn8z.jpg
Full image

(Two conkys running- the center one shows battery and cpu bars, the mocp now-playing track and the WessID.)

http://i40.tinypic.com/212de9.jpg
Full image

Openbox theme: Fawn
GTK theme: Fawn
Icons: Maliae Dust
Bmpanel theme: Transpy

Edit: Changed image formats from PNG to Jpeg. The PNG previews were more than 1 MB! (Jpeg: 120 KB combined).

Alexisonfire wrote:

http://www.megaupload.com/?d=UWQZEWH1 it's on this wallpapers pack

http://img191.imageshack.us/img191/5718/2009060712443740491440x.png http://img191.imageshack.us/img191/2009060712443740491440x.png/1/w640.png

wallpaper is on the pack
gtk : dyne
ob : dyne
tint2

Hey,
what icon theme are you using? I've installed Dyne-gtk and Dyne openbox themes, but they don't include that icon set. (It wasn't packaged with Dyne)

I second Python. Very easy to pick up- a week at most.

Once/If you can wrap your head around object-orientedness, developing (say) GTK apps is fairly straightforward.

(I've found that what I can do with Python is limited not by the language but by my spotty knowledge of how HTTP, sockets, and other protocols work.)

ZAP wrote:
karthik wrote:

This is an extract from In the beginning was the command line, an essay by Neal Stephenson, a popular writer. I haven't written any document over ten thousand words long, but perhaps you could try and see if his words hold true? smile

I guarantee you that Neal has note pads or some other way to organize his writing outside of emacs. Personally I'm not looking for formatting options; I'm looking for a plot/character/theme organizational tool and a non-linear writing process. More Tomboy than Open Office...

I remember reading at some point that Stephenson writes each page out longhand before typing it in- so yes, he probably uses pen and paper to meta-write. Also, if you have a handle on ELisp, I think it's possible to extend Emacs yourself to the point where it does organization and cross-referencing (It might have been done before). But if you know Elisp, I'm likely preaching to the choir and I ought to shut up. smile

Someone mentioned it earlier, but how about Zim? I've used it for keeping track of stuff, and it felt like a supercharged Tomboy.
(Although I use Vim for most straightforward editing tasks.)

In the GNU/Linux world there are two major text editing programs: the minimalist vi (known in some implementations as elvis) and the maximalist emacs. I use emacs, which might be thought of as a thermonuclear word processor. It was created by Richard Stallman; enough said. It is written in Lisp, which is the only computer language that is beautiful. It is colossal, and yet it only edits straight ASCII text files, which is to say, no fonts, no boldface, no underlining. In other words, the engineer-hours that, in the case of Microsoft Word, were devoted to features like mail merge, and the ability to embed feature-length motion pictures in corporate memoranda, were, in the case of emacs, focused with maniacal intensity on the deceptively simple-seeming problem of editing text. If you are a professional writer--i.e., if someone else is getting paid to worry about how your words are formatted and printed--emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish. For page layout and printing you can use TeX: a vast corpus of typesetting lore written in C and also available on the Net for free.

This is an extract from In the beginning was the command line, an essay by Neal Stephenson, a popular writer. I haven't written any document over ten thousand words long, but perhaps you could try and see if his words hold true? smile

11

(7 replies, posted in Off Topic / General Chat)

From experience, I'd say #! should be fine if you disable Conky and use a lighter browser instead of Firefox. RAM appears to be the only bottleneck in your setup, so:

With just Firefox (5-8 tabs open for 30 minutes) and no other applications, about 310 MB of RAM is used.

Several weeks of RAM monitoring on my desk shows that without any applications running, #! takes about 130 MB of RAM. With a browser like Midori (with 5-7 tabs open), a Terminator window, GVim, Abiword and Conky running, about 240 MB of RAM is reported as being used.

In any case, you'd be cutting it close with Crunchbang, but it ought to work. (There are loads of alternatives, though. Puppy Linux on that box would fly!)

I clicked on the link- then burst out laughing.
Why? Because I remembered that I cannot watch this video as Flash is unbearably choppy on (and heats up) my PC.

This is ironic.

~$ du -h music | tail -n1
7.5G    music/
~$ find music -iname *.mp3 | wc -l
1705

Wow, I've always wanted a minimalist browser (but with Javascript) as my default x-www-browser.
If anyone makes a .deb of UZBL, I'd appreciate a link.

15

(6 replies, posted in Off Topic / General Chat)

I get along with a combination of eyeD3, some Python scripting and web browsing. Needless to say, MP3 tagging is a time-intensive process for me. smile

mocp for audio, mplayer for video.

I'd use VLC, but mplayer is the only video player that supports Real Media playback.
With an amped up mplayer .config, nothing comes close to matching its functionality!

rfquerin wrote:

I found out later that the flash plugin was not necessarily the main problem (I now use the flashplugin-nonfree), but it was also largely a video card driver issue. I have an Nvidia card in my laptop and the driver on the live CD played flash fine, while the driver I had installed in my full setup did not. So maybe check the video card driver you're using and see if using a newer or older version makes a difference.

That could be it.

I tried playing a Youtube video off an Ubuntu 9.04 (Not #!) live CD, and the exact same thing (choppy Flash with 100% CPU usage) happened.
For the record, this used to happen in #! 8.10.02 as well, but not all the time.

When I bring up the restricted drivers manager in my present install, there is no option for an ATI (or AMD) proprietary video driver for my graphics card, and the open-source drivers are evidently in use.

How do I downgrade/upgrade my video drivers?

Hey,

I didn't want to start another topic for pretty much the same problem, albeit on a different setup.

I'm running #! 9.04 on a Dell Inspiron 6000 (Intel Pentium M 1.7 GHz, 1 GB RAM, ATI Radeon Mobility M300), and Flash is choppy as hell. In addition, CPU usage spikes to 100% and the core temperature goes (in a few seconds) into 90+ degrees (Celsius). In short, it's impossible to watch any kind of flash media.

I tried Philip's suggestion in some other thread for a similar problem:

sudo aptitude update && sudo aptitude remove adobe-flashplugin && sudo aptitude install flashplugin-nonfree

But it didn't work. The Flash version I now have installed is 10.0.22.87ubuntu2 (The latest on the Adobe site).

Any suggestions would be appreciated!

19

(41 replies, posted in Off Topic / General Chat)

FUNCTIONAL REASONS:

Control, stability, configurability.

The command line! No quicker way of getting things done.

Comes with Perl, Python. Automating boring tasks is a breeze.

Gigantic repositories, nearly everything I'll ever need.

IDEOLOGICAL REASONS:

None, really. I don't buy the explanations. Sure, it's free as in speech, but I'm just a casual user with, at best, some skill at using the system without a GUI. I don't have the skills, the time or the inclination to modify source code for any app/script over a hundred lines in size. So it's effectively closed source to me.

DETRACTORS:

Sometimes I do want to use Windows. Flash is buggy as hell, ATI drivers drives me insane, etc. They're third-party problems, but problems nevertheless.

xapU7 wrote:
karthik wrote:

http://omploader.org/tMXFhbQ  http://omploader.org/tMXFhcg

I keep vacillating between maximal and minimalist setups; the latter's taken over for now.
The second pic has two conkys running- the only way to preserve the ability to right click anywhere on the screen with that setup.
Everything (theme, icons) is the #! 9.04 default.

Edit: The conky bars are battery and CPU, the text immediately below is the moc now-playing track. The #! text is part of the wallpaper.

lovely minimalistic!

Thanks!

The thing I like best about this setup is that when there's no music playing or when I'm not connected to the Internet, the relevant text in the Conky automatically disappears without leaving odd gaps or incomplete text forms:

http://omploader.org/tMXFpYw

With one out of four displays missing:
http://omploader.org/tMXFpZQ  http://omploader.org/tMXFpZg

So I can tell if I'm connected (and what I'm connected to) without Conky having to display anything.

An improvement, for when dealing with several archives:

extract () {
    for archive in $*; do
        if [ -f $archive ] ; then
            case $archive in
                *.tar.bz2)   tar xvjf $archive    ;;
                *.tar.gz)    tar xvzf $archive    ;;
                *.bz2)       bunzip2 $archive     ;;
                *.rar)       rar x $archive       ;;
                *.gz)        gunzip $archive      ;;
                *.tar)       tar xvf $archive     ;;
                *.tbz2)      tar xvjf $archive    ;;
                *.tgz)       tar xvzf $archive    ;;
                *.zip)       unzip $archive       ;;
                *.Z)         uncompress $archive  ;;
                *.7z)        7z x $archive        ;;
                *)           echo "don't know how to extract '$archive'..." ;;
            esac
        else
            echo "'$archive' is not a valid file!"
        fi
    done
}

Can be used like so:
$ extract *.tar.gz *.zip

Have been running #! 9.04 Lite for two days now.

  • Crunchbang 9.04 is fast! Goes from Grub to Login in less than thirty seconds, desktop loads in another 5-8 seconds. Makes it much easier to prefer shutdown over suspend or hibernate.

  • GDM hung the first time I booted it up. The second time there was a blank screen for a minute, then the login window appeared. I changed the GDM theme, and have experienced no problems from the third boot onwards.

  • bmpanel is growing on me. The only other "feature" I need (beyond what Philip described above) is transparency or pseudo-transparency. I haven't tried tint2 yet- I don't even know what it is exactly, so I will probably give that a try. Either way, the default #! option isn't bad.

  • Suspend/Hibernate work perfectly, Wi-Fi support is flaky (as it was in 8.10 on my laptop), especially after "waking up".

  • The only *bug* I encountered was a horrible keyboard repeat rate, coupled with the inability to change it with kbdrate. I had to use xset and add it in autostart.sh.

Quite stable, very fast. This is the Linux system I was prepared to spend days setting up. Unfortunately, it assembled itself in an hour and I now need to get to work. sad

http://omploader.org/tMXFhbQ  http://omploader.org/tMXFhcg

I keep vacillating between maximal and minimalist setups; the latter's taken over for now.
The second pic has two conkys running- the only way to preserve the ability to right click anywhere on the screen with that setup.
Everything (theme, icons) is the #! 9.04 default.

Edit: The conky bars are battery and CPU, the text immediately below is the moc now-playing track. The #! text is part of the wallpaper.

Yes!

I realized it worked a minute after posting my previous message.

$ xset r rate 200 25
  Xlib:  extension "XFree86-Misc" missing on display ":0.0".
$ xset q | grep 'auto repeat'
  auto repeat:  on    key click percent:  0    LED mask:  00000000
  auto repeat delay:  200    repeat rate:  25
  auto repeating keys:  00ffffffdffffbbf

Thanks, anonymous!
Is this change permanent, or will I have to run it at each boot?

Edit: It's not. I had to put the xset command in autostart.sh. Keyboard's usable now, though.

Having given up on kbdrate, I tried:

$ xset r rate 250 15
Xlib:  extension "XFree86-Misc" missing on display ":0.0".

I'm running Crunchbang 9.04.01 - LITE version, installed by running the 9.04 installer script atop an Ubuntu 9.04 minimal install.