[Screen] Irssi + Screen at startup

Problems with packages? Post here, using [tags] of the package name.

[Screen] Irssi + Screen at startup

Postby matjaz » Tue Jan 15, 2013 3:28 pm

I want to configure screen to start at startup with irssi, but I can't find the config file. Wiki article says that config is ~/.screenrc but no such file (or folder) exists.

Also, is this the right way to do what I want to do:
put "screen" in rc.local, put "screen -t irssi irssi" in the screen config file (when I find it).
matjaz
 
Posts: 37
Joined: Thu Jan 05, 2012 11:00 pm

Re: [Screen] Irssi + Screen at startup

Postby WarheadsSE » Tue Jan 15, 2013 4:04 pm

$this->bbcode_second_pass_code('', '
pacman -Ql screen
')

Create the .creenrc file, and consider adding a -dr to re-attach if it is already running.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Screen] Irssi + Screen at startup

Postby matjaz » Tue Jan 15, 2013 4:53 pm

Thank you, works.
I'm setting this up just for the boot process, so no -dr needed. :)
matjaz
 
Posts: 37
Joined: Thu Jan 05, 2012 11:00 pm

Re: [Screen] Irssi + Screen at startup

Postby slycat » Tue Jan 15, 2013 5:26 pm

If you use the rc.local file, I use this to start up on a different user (don't want irssi running 24/7 on root)
$this->bbcode_second_pass_code('', 'su ircchat -c "screen -dmS ircsess irssi -n Slycat"')
then to reattach the screen from any user on the system
$this->bbcode_second_pass_code('', 'sudo -u ircchat screen -dr')

Not sure how to work the .screenrc files though, but I guess it is the same idea: tell screen to open under some user and run this script/program.
Pogoplug Pro w/ Wireless User -> decomm.
Cubox-i4pro User
4TB eSATA HDD (8g/3700+ Sw/Storage)
Kodi / Transmission / Minidlna / Samba / Batch-audio-conversions / Lighttpd
------------------------------
Rollback Machine - Thanks to impatt
slycat
 
Posts: 169
Joined: Wed Feb 09, 2011 3:07 am
Location: Miami, FL


Return to Packages

Who is online

Users browsing this forum: Google [Bot] and 55 guests