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.

11 years 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.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

Please don't hijack.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

11 years ago
Permalink

Comment has been collapsed.

An executable in Linux? Any source?

11 years ago
Permalink

Comment has been collapsed.

bestduck appears to have the answer.

11 years ago
Permalink

Comment has been collapsed.

So he has.

11 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 1 year ago.

11 years ago
Permalink

Comment has been collapsed.

I see.

11 years ago
Permalink

Comment has been collapsed.

You can't. Now - back to Windows!

11 years ago
Permalink

Comment has been collapsed.

I refuse to live with crashes.

11 years ago
Permalink

Comment has been collapsed.

Crashes? wut :o

11 years ago
Permalink

Comment has been collapsed.

Windows can crash.

11 years ago
Permalink

Comment has been collapsed.

Any OS can crash.

11 years ago
Permalink

Comment has been collapsed.

Windows crashes alot.

11 years ago
Permalink

Comment has been collapsed.

Looks like you got hardware issues.

11 years ago
Permalink

Comment has been collapsed.

More like crappy Windows syndrome. It seems uncurable.

11 years 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.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

isn't that a hardware problem then?

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

I got no way of knowing what you mean sadly.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

Clicky is [text]+(link).

11 years 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.

11 years ago
Permalink

Comment has been collapsed.

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

11 years 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.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

Might work. If not, try out asking on LQ

11 years 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

11 years 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

11 years 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!

11 years ago
Permalink

Comment has been collapsed.

I have to install xdg-open?

11 years ago
Permalink

Comment has been collapsed.

I use xdg-open for many tasks

11 years ago
Permalink

Comment has been collapsed.

It seems that Ubuntu already comes with it.

11 years ago
Permalink

Comment has been collapsed.

It does. And not only Ubuntu...

11 years 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.

11 years 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

11 years ago
Permalink

Comment has been collapsed.

Great! Good job :D

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 6 years ago.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

glad u solved the problem :D

11 years ago
Permalink

Comment has been collapsed.

And you're not a part of it.

11 years ago
Permalink

Comment has been collapsed.

Well that was mean...

11 years ago
Permalink

Comment has been collapsed.

It's the truth though.

11 years 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.

11 years ago
Permalink

Comment has been collapsed.

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

11 years ago
Permalink

Comment has been collapsed.

Closed 11 years ago by CHTonRage.