1

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

send a signal (SIGINT) to the running program, most often causing it to abort and return control to the user

2

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

for security reasons, I always ask my wife (while she's at work) to open pages I want to see, and then have her print them out.

My parents got me a zenbook a few weeks ago. There you go, married with two kids, and I get my hardware from my parents big_smile
My mother had a promotion and wanted to share the joy tongue
Normally I wouldn't spend that much on a laptop, but I couldn't very well tell my mom "great, but I don't want it. It's too expensive"

Bad thing about it is that there's something wrong with its monitor, so this afternoon I've had it sent RMA to ASUS.
Except for the monitor issue, it's a great piece of equipment: new generation Ci7, 4GB RAM, 256GB SSD, HDMI out, USB3. Can't wait to have it back smile
I don't mind it having no CD of DVD drive, but the two USB ports are a bit skimpish.... I've bought an usb3-hub for that.

I'm seeding it since that time...

but here's a direct link: http://poehey.nl/crunchbang-10-20110207-xfce-amd64.iso

it's now 01:30 here, and I've setup a cron that removes the iso at 09:00 tomorrow (can't spare that much bandwidth....)

edit: fixed link tongue

long time.....

but here's my current desktop

http://poehey.nl/media/images/screenshots/thmb_1203252026.png http://poehey.nl/media/images/screenshots/thmb_1203252134.png

edit: added cluttered

playing around with fuelphp, which so far is *awesome*

7

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

we recently got an Acer Iconia W500 tablet, and I must say I like it smile
It is a 'consumer'-device, not a 'work/development' device, meaning that it's horrible to do anything more than making a blog- or forumpost or managing your email.
My wife is using a bluetooth keyboard with it, which makes typing large texts a lot less annoying.

We mainly use it to watch streaming video (I installed minidlna on my server) and reading e-books. For reading, it is a bit on the heavy side after a while, but not so heavy that it becomes unmanageable.
For anything more than consuming, I'm using my laptop/PC.

Amalienborg Palace, Copenhagen smile

next one:

http://www.poehey.nl/media/whereami.png

edit: nevermind..... It's too early for me tongue (there were *more* pages...)

9

(6 replies, posted in Help & Support (Stable))

I'm running xfce and I've hacked a little script together which gives me aero-snap-like functionality. It needs xdpyinfo to work.

#!/bin/bash
# Simulate Aero-Snap (for one monitor).
#
# The xdpyinfo command which is used actually returns [width]x[height],
# but because of the division by 2 it only returns one value, which is
# half the width of the screen.

function snap()
{
    #get screen width and divide it by two
    HALFSCREEN=`xdpyinfo | grep dimension | awk '{ print $2 / 2 }'`
    case $1 in
        R)  #place window on right half of screen
            X=$HALFSCREEN
            W=$HALFSCREEN
            ;;
        L)   #place window on left half of screen
            X=0
            W=$HALFSCREEN
            ;;
        FST)    # toggle fullscreen
            wmctrl -r :ACTIVE: -b toggle,maximized_vert,maximized_horz
            exit 1
            ;;
        *)
            exit 1
            ;;
    esac

    wmctrl -r :ACTIVE: -e 0,$X,0,$W,-1
    wmctrl -r :ACTIVE: -b add,maximized_vert
}

snap $1

I've named the script 'snap', made it executable (chmod +x) and put it in my ~/bin/

You can call the script with one argument:
`snap L` -> resizes the active window to half the screen width (and full screenheight), and puts the it to the left side of the screen
`snap R` -> resizes the active window to half the screen width (and full screenheight), and puts the it to the right side of the screen
`snap FST` -> fullscreen toggle

After testing that it works, I've made some keyboard shortcuts (preferences -> keyboard -> Application Shortcuts), so now I can move my windows around with <Super>-left arrow and <Super>-right arrow. <Super>-up arrow and <Super>-down arrow toggles fullscreen.

It's not really aerosnap (especially because you need the keyboard and not the mouse), but since I prefer to use my keyboard over my mouse, it's perfect for me


EDIT: when I use it on my dual monitor setup at work it doesn't work that well, because of the calculation of the screenwidth. I haven't found out yet how to handle that tongue

did you try using fstab?

just google/bing/jeeves/askyourmom for 'sshfs fstab' smile


edit: ah, didn't read the last line in your post, not sure if the fstab thing will work hmm

no problem smile

you don't even have to 'manually' add your key to the servers machine tongue
you can just do ssh-copy-id username@serveraddress
it ask for your pass, and that's it, your key is added to .ssh/authorized_keys on the server

I was wrong in thinking a second child would only make the household about 25 to 35% busier big_smile
Also: I was wrong thinking I could handle diaper accidents better

On a more slightly more serious note:
I was wrong
- thinking taking a job doing mostly joomla-related stuff would be boring and 'non-codey' -> The joomla-stuff is actually quite doable, and the face-palm moments are less frequent than I feared. Coding is 80% of the job, and the projects are interesting ones.
- thinking I would get the knack of debating with my wife hmm -> women are always right. Even if they really really really aren't, they are. Once I realised that, it got easier. The problem is, realising is something completely different from accepting wink

13

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

for me it's the other way 'round: living a few miles from the German border, my german is reasonably well (add to that that my mother used to watch Tatort and Derrick tongue), at least reading and talking. The grammar, well that's another story tongue

A former collegue of mine now lives in Greece, somewhere remote in a little village, and in his last email he wrote that it's just the cities and mostly Athens where there's disturbances, and even then minor ones.
On the other hand... schooltrip..... I bet you're going to Athens big_smile

14

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

dankjewel/thanks smile

French... good luck with that.
I absolutely sucked at French in school, dropped it as soon as possible. Not that I don't like the language, just sucked at it tongue

Good time to go to lively Greece though tongue

good luck on your test!

15

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

this week turns out to be a good one tongue

Yay #1:
A few months ago, I've been diagnosed with Pfeiffer's disease (which was a weird sort of relief, because it explained why I was feeling so extremely tired all the time). Luckily, it's a mild form that should be 'inconvenient, but not really bad', and in the long run clear up completely. The bad thing is that the form I was diagnosed with can take (very) long to get over. But today my doctor told me that everything is going well, and he expects me to be mostly over it in a few months, and I should be back to completely (ab)normal by the end of the year. I've noticed the etreme tiredness is getting less and less over the last month smile

Yay #2:
My laptop died. Seems to be some motherboard problem which would take quite some money  to fix. On the other hand, it's an old laptop which I was planning to replace sometime this year. Last week, my work-laptop also started to disbehave: running windows7 (dualboot laptop, needed for work), it just rebooted when it thought it felt like, and running linux it would throw random errors and just be obnoxious. So I mentioned my bad luck with laptops lately and my boss said 'What if we combined resources: you pick out a laptop for yourself and I'll pitch in with the money that a new laptop for you would cost me. It will be YOUR laptop, but you'll use it at work also. I can order it from my supplier at reduced cost, and it'll be here in one to three days'.
So now I'm looking at this laptop smile Combined with the 128GB SSD in my old work-laptop that should make me a happy camper tongue

final Yay:
a few more days of working, and we're going on vacation 8)
Next week, my wife is attending a conference in Maastricht (nice city in the south of the netherlands), and my parents in law have set up their caravan a few miles from there. The kids will be staying with my parents in law and the wife and I are staying in a small loft her boss is renting.  With the wife at the conference and the kids at the grandparents, it gives me a few days to check out the beers in Maastricht smile After the conference, we'll stay another 2 days in Maastricht, and then we'll pick up the kids and go to Luxembourg for a week smile

Now, let's just hope the new laptop arrives before we're off on vacation big_smile

if I were you I would certainly use a key-based login instead of a password-based one. Key-based SSH authentication is considered more secure than password based logins, since you can disable the latter on your SSH server (and drastically reduce the consequence of any brute force attack against your server).
The added benefit is that you don't need to enter a password every time you connect to your server smile

edit: typo

you could look into zenity I guess....

don't have a script here&now that uses it, but I remember it's really easy to use smile

and silly me, I forgot to add that I have passwordless access to my server (via ssh-copy-id)........

Sasha wrote:

Using your script, once again it works fine when running it in a Terminal but nothing happens when executing it by a double click or executing it through the openbox menu.

Also doesn't work if I get the shortcut to open a terminal then run the script. I must be doing something wrong, amazes me how such a small task can be so problematic tongue.

perhaps if you put the script in a folder that is in your $PATH?
I've put my script in my ~/bin/ folder (which is added to my $PATH), and I can call it from everywhere.
I usually just use dmenu (which I've bound to [Win][Space]), so I can do [Win][Space]ssh.s[tab] and it runs.

Sasha wrote:

I seriously cannot believe this.

Running the script works via terminal. But actually setting the shortcut to open terminator and run the script DOES NOT.

I really cannot understand why this is happening. The permissions of the mount point are set to 777 as well, so it isn't a permission issue afaik.

And yes I'm added to the fuse group.

why would you set a shortcut to open a terminal and then run the script?
just set the shortcut to run the script (without terminal)

I've made a script containing something like this:

#!/bin/bash

U=pitje #username
S=192.168.x.x #remote server
D=/media/server #local path (where to mount)

if mount | grep $D ; then
        (sudo umount $D && sleep 1s) &
fi

sshfs $U@$S:/ $D && echo "mounted $S:/ on $D" || echo "could not mount $S on $D"

exit 0

works like a charm smile

Justin Biebers hair mystifies me even more than his attempts at making music.

22

(24 replies, posted in WM/DE Talk)

I've seen unity in action, and I must say I'm impressed. It's just what I was looking for a few years ago. The universal top-bar, the ease of sorting your opened applications, the look, the feel, everythings nice and nifty. The only thing I don't like is the focus on mouse-use.

So it's everything I wanted a few years ago. In the mean time though, I've learned a lot about linux, other WM's and DE's and learned how to operate them. It's because of that that I've ended up with crunchbang: light and nimble and still does everything I want. I'm a big dmenu user and I've made scripts for everything I wanted 'automized'. 
I also realize that not everyone wants to learn how to use a computer (and that's a damn shame, but not something I want to talk about now), they just want to email, use facebook/twitter or browse the web. For them, the computer is a completely different thing than it is for me. And that's fine.

My dad, for example, knows how to do 5 things: 'using' word, using IE/firefox, using outlook, scanning a document, and using MSN. Anything else is voodoo to him, and he hasn't the slightest interest in learning about it. And that's fine.

One of my friends, a windows user, wanted to learn linux. Knowing how he uses a computer, I managed to talk him out of it, since while he said he wanted to learn linux, he really  doesn't. He has remembered my shiny compiz-all-the-way-setup from a year or two ago, and he just wants something shiny to show off with. He's not a technical user, he hates to have to figure things out, and he uses his computer mainly for gaming. I don't want to be the one introducing him to linux, I simple haven't the time to spare to teach him everything. So he still uses windows, and is planning to buy a macbook pro in a few months. And that's fine.

Different people have different ways of using a computer. What's a must-have feature for one person is a showstopper for someone else.
I personally think it's great what ubuntu is trying to do. I've used ubuntu when I first started with linux and loved how they took you by the hand. A few years later, I'm annoyed by that same fact, turned my back at ubuntu and am having great fun with crunchbang/debian/my own hodgepodge of scripts and helpers.

There's no one-size-fits-all in OS-land. There's just different ways of doing things. Therefore I don't believe you can say 'Why copy an awful Desktop Environment?', while you actually seem to mean 'Why copy a Desktop Environment that I don't like?'.
I personally see people using facebook and twitter, and having perfectly valid reasons for doing so. I also see people avoiding google, also for perfectly logical reasons.
I don't use facebook/twitter and think they're evil, and I do use google/gmail (while at the same knowing they're also evel. ish.).
Difference is the keyword.

replicant wrote:
omns wrote:
replicant wrote:

Pretty inventive, aside from the "Communist Empire" tag which I don't get at all.

As an ex-staff member of the ubuntu forums I thought it was pretty funny. The ''Rogue State of Mint' made me chuckle as well smile

Yea, but why "Communist"? The shape of the empire is reminiscent of Russia; and I get perhaps the totalitarian/Napoleonic overtones (Shuttleworth!); but I don't see how, in caricature, Ubuntu is more/less communist than the other distros.

for me linux, and not just ubuntu, is all about communism. Sharing your ideas, your configurations, tips, tricks.

24

(2 replies, posted in Feedback & Suggestions)

you mean like http://flattr.com/thing/114103/CrunchBang-Linux ?

becker wrote:

.....your on another forum and someone uses the abbreviation DTD and you think Document Type Declaration when in fact they are referring to "Doing the Deed"


... while reading this, you're thinking "why have an abbreviation that is just as long as the actual word?"