and I can't seem to find a good way to auto join the steam chat rooms. In Windows, all I had to do is make a bat file with the following lines:
@ECHO OFF
START steamchat(not real chat number)
TIMEOUT 1
START steamchat2(not real chat number again)

My question is how can I make a Linux sh file with similar functionality to that of the Windows bat file? All comments are welcome.
EDIT: I nearly forgot the giveaway here.

Now this thread will be left open until the giveaway ends.

Before I forget, thank you bestduck for the solution.

1 decade ago*

Comment has been collapsed.

http://www.linuxquestions.org/questions/linux-newbie-8/how-to-create-a-batch-file-in-linux-608655/
That link has an example i used for my school project at least. Maybe you can use it.

1 decade ago
Permalink

Comment has been collapsed.

Not that useful to start steam chats though. :(
Thanks for trying to help anyway.

1 decade ago
Permalink

Comment has been collapsed.

i even cannot type my username and password in steam linux client...

1 decade ago
Permalink

Comment has been collapsed.

Please don't hijack.

1 decade ago
Permalink

Comment has been collapsed.

Make sure you update ubuntu with the latest patches. I had the same problem until I updated.

1 decade ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

1 decade ago
Permalink

Comment has been collapsed.

An executable in Linux? Any source?

1 decade ago
Permalink

Comment has been collapsed.

bestduck appears to have the answer.

1 decade ago
Permalink

Comment has been collapsed.

So he has.

1 decade ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

1 decade ago
Permalink

Comment has been collapsed.

I see.

1 decade ago
Permalink

Comment has been collapsed.

You can't. Now - back to Windows!

1 decade ago
Permalink

Comment has been collapsed.

I refuse to live with crashes.

1 decade ago
Permalink

Comment has been collapsed.

Crashes? wut :o

1 decade ago
Permalink

Comment has been collapsed.

Windows can crash.

1 decade ago
Permalink

Comment has been collapsed.

Any OS can crash.

1 decade ago
Permalink

Comment has been collapsed.

Windows crashes alot.

1 decade ago
Permalink

Comment has been collapsed.

Looks like you got hardware issues.

1 decade ago
Permalink

Comment has been collapsed.

More like crappy Windows syndrome. It seems uncurable.

1 decade ago
Permalink

Comment has been collapsed.

Running Windows 7 and I can't remember it ever crashing except when my old video card started overheating due to a broken fan.

1 decade ago
Permalink

Comment has been collapsed.

I meant Windows as a whole. Even 7 gave me BSOD when there's not enough memory.

1 decade ago
Permalink

Comment has been collapsed.

isn't that a hardware problem then?

1 decade ago
Permalink

Comment has been collapsed.

E-macs. "C-x M-c M-butterfly". If you know what I mean.

1 decade ago
Permalink

Comment has been collapsed.

I got no way of knowing what you mean sadly.

1 decade ago
Permalink

Comment has been collapsed.

http://xkcd.com/378/ (Dunno how to make clicky)

1 decade ago
Permalink

Comment has been collapsed.

Clicky is [text]+(link).

1 decade ago
Permalink

Comment has been collapsed.

To give you some help that will actually help you: You have to learn how to make it (programming). You have to make your own bash program.

http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html

Not impossible, but requires some time.

1 decade ago
Permalink

Comment has been collapsed.

Well, I won't want to learn how to do it just only for this purpose though.

1 decade ago
Permalink

Comment has been collapsed.

Off the top of my head, the .bat file:
....................
@ECHO OFF
START steamchat
TIMEOUT 1
START steamchat2
....................
would be equivalent to:
....................

!/bin/sh

steamchat&
sleep 1
steamchat2&
....................
@echo off is unnecessary because echoing is off by default on the bourne/bash shell. sleep is equivalent to timeout and ending a command in & has a similar effect to start.

1 decade ago
Permalink

Comment has been collapsed.

I'll try out your method first. If it doesn't work, I'll try the one below.

1 decade ago
Permalink

Comment has been collapsed.

Might work. If not, try out asking on LQ

1 decade ago
Permalink

Comment has been collapsed.

Doesn't work sadly. Thanks for your help though.
EDIT: I replaced steamchat& with something like steam://friends/joinchat/number

1 decade ago
Permalink

Comment has been collapsed.

create a "whatever.sh" named file with this:

!/bin/sh

xdg-open steam://friends/joinchat/number
sleep 1
xdg-open steam://friends/joinchat/number

1 decade ago
Permalink

Comment has been collapsed.

Nice to see somebody using xdg-open. You wouldn't believe how many software projects directly call Firefox or even konqueror!

1 decade ago
Permalink

Comment has been collapsed.

I have to install xdg-open?

1 decade ago
Permalink

Comment has been collapsed.

I use xdg-open for many tasks

1 decade ago
Permalink

Comment has been collapsed.

It seems that Ubuntu already comes with it.

1 decade ago
Permalink

Comment has been collapsed.

It does. And not only Ubuntu...

1 decade ago
Permalink

Comment has been collapsed.

I only used Ubuntu mostly so far though. The only other two I have used are Red Hat Enterprise and Knoppix for a short time each.

1 decade ago
Permalink

Comment has been collapsed.

I've edited & tried out and it's working:
you could replace "xdg-open" with "steam" command
also change file to executable in properties on right click on it

1 decade ago
Permalink

Comment has been collapsed.

Great! Good job :D

1 decade ago
Permalink

Comment has been collapsed.

Anyway, your method works. Thank you for the help.

1 decade ago
Permalink

Comment has been collapsed.

Wait... auto join the steam chat rooms in Windows?

1 decade ago
Permalink

Comment has been collapsed.

There was such a thread here for it. Here is the link.

1 decade ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 5 years ago.

1 decade ago
Permalink

Comment has been collapsed.

Not quite what I was looking for, but it is pretty helpful.

1 decade ago
Permalink

Comment has been collapsed.

glad u solved the problem :D

1 decade ago
Permalink

Comment has been collapsed.

And you're not a part of it.

1 decade ago
Permalink

Comment has been collapsed.

Well that was mean...

1 decade ago
Permalink

Comment has been collapsed.

It's the truth though.

1 decade ago
Permalink

Comment has been collapsed.

Didn't see this until now, I was sad when I saw "solved" :( Helping people with code problems is always fun, sad times.

1 decade ago
Permalink

Comment has been collapsed.

Keep watch of the forums, so you won't lose out.

1 decade ago
Permalink

Comment has been collapsed.

Closed 1 decade ago by CHTonRage.