Auto-Starting Synergy in MorphOS
This is an IRC chat that was going on today about starting Synergy automatically at boot and having it minimize.
<Frek> Is there any documentation for the morphos synergy client somewhere? like for example how to save the configuration and… have it start with a priority of like say 2 so it doesn’t lag as soon as you resize an ambient window.
<Tcheko> Frek, priority is settable from TaskManager
<Tcheko> still, I doubt changing the priority will solve the lag issues.
<Tcheko> I guess it has to do with network latency instead
<Frek> Tcheko, I know it can be set via the task manager, that’s what I’ve done currently and yes it does resolve the problem.
<Stevo_> grootvoet
<Frek> The problem is right now if I put the synergy client in say wbstartup it just launches with no server info… so I have to type it in using a physical keyboard anyway. The priority stuff would just be a nice thing to have set automatically, it works fine with the default priority as long as you don’t resize windows- however if prio is set to 2 or higher it stays responsive even when resizing.
<Tcheko> Frek, odd.
<migario> no toolprio tooltype support in synergy ?
<Frek> no idea, maybe it has I’m noob when it comes to implicit configuration options on amiga like systems.
<migario> well, tbh i have no idea if it is a standard tooltype as well. but usually these kind of things can be configured using tooltypes. toolprio is one that came to mind.
<migario> you can try very easy without any penalty 🙂
<Tcheko> toolprio rings nothing here. isn’t it processpri instead?
<migario> Tcheko: hmz, i was lready uncertain 🙂
<migario> neither show up in classic sdk :/
<Tcheko> migario, can’t remember.
<migario> same here tchecko, i just checked on aros and scout did support that tooltype, hence my hint
<migario> ah found it 🙂
<migario> The reserved Tool Types are TOOLPRI=n (sets the Exec task
<migario> priority at which Workbench will start the application), STARTPRI=n (sets
<migario> the starting order for icons in the Wbstartup drawer), and DONOTWAIT
<migario> (tells Workbench not to wait for the return of a program started via an
<migario> icon in the Wbstartup drawer).
<migario> http://amigadev.elowar.com/read/ADCD_2.1/Libraries_Manual_guide/node0244.html
<Frek> Ty will test that
<Tcheko> migario, nice finding. the o sounded wrong to me with toolpri(o)
<migario> np, please keep in mind this was on classic. i assume morphos also supports this tooltype. maybe someone can verify. it could just as well be that things differ on morphos
<migario> yeah my mistake … i invented the addition o 🙂
<FrekMOS> Awesome it works, thanks. It even remembers my server details now 🙂
<migario> great. thanks for reporting back that it worked
<FrekMOS> Had to verify it worked a few times, now is there any tooltype to keep the window minimized at launch? 😉
<migario> haha
<OlaHughson> mos <3
<migario> btw also for the lurkers, be carefull playing too much with teask priorities. you can seriously mess up things if you are not sure what you’re doing
<FrekMOS> I set all priorites to 127 for a much faster system!!111
<migario> i wonder how interrupts react to that ;-p
<mhoney> Oh oh… I need to document this somewhere… I love synergy
<FrekMOS> Seriously though, synergy is pretty damn awesome. I havent tried it for like 5 years or so before now but it seem to come a long way it feels pretty darn similar to a regular multimonitor setup and it appears on platforms with official support it even supports drag n drop of files between the monitors etc
<OlaHughson> ;]
<mhoney> any screenshots??
<Tcheko> jaca is working on a server version of synergy for MorphOS
<mhoney> I’d like to see where your putting these settings… im a mos / amiga newb
<FrekMOS> Tcheko, I would rather prefer see the client version support all of synergys features though.
<mhoney> it supports cut and paste, what more could you want?
<FrekMOS> File transfer would be nice 😛
<mhoney> samba 😉
<FrekMOS> well I mean considering synergy supports it.
<FrekMOS> Would be cool if it could launch with the GUI minimized though, and well keymapping other than US
<mhoney> can you launch it from the command line?
<FrekMOS> Probably, Im not that familiar with all morphos magic
<krashan> Commandline call is now “magic”? ;>
<FrekMOS> No let me rephrase “Im feeling alienated in a system with little to no proper documentation”
<mhoney> documentation would be nice 😉
<mhoney> If I could get MOS to print over the network I would consider making it one of my primary systems
<FrekMOS> But I understand that as most people are used to the AmigaOS, Im not so therefor its not obvious with all implicit tooltypes, commandline arguments etc. I think MorphOS is cool however but its a toy.
<migario> FekMOS: for commandline you have one thing to remeber -> the questionmark (or alternatviely when using ported command /? or –help
<migario> for an classic compatible command add a second qeustionmark when all the arguments template are listed
<FrekMOS> Yes but that implies you know what command to call to start with.
<Jupp3> …and then hope the software in question properly implements it 🙂
<migario> ah, no autocomplete ?
<migario> with tab ?
<Jupp3> migario: ctrl tab?
<FrekMOS> But yes its good to keep in mind, migario 🙂
<migario> i also never know what command to use so i type c: + tab to let popup a filerequester
<migario> 😀
<FrekMOS> Speaking of which Im trying to get used to Scribble, I noticed it supports “project files” but how the hell do one add a file to the project?
<Jupp3> migario: ctrl+tab autocompletes from command path
<Jupp3> tab is good for args
<migario> ah ok thank Jupp3… i’m sorry to say i don;t have an morphos machine myself, so all i do is from aros and/or classic memory 🙂
<migario> does synergy opens up a graphical or shell window ?
<FrekMOS> graphically
<migario> ah ok, then no luck for window size unfortunately
<FrekMOS> Does not do anything except open when launched with /? or –help from the shell
<FrekMOS> Its no major problem anyway 🙂
<Jupp3> Sounds like it though 🙂
<FrekMOS> would just be a nice touch if it launched minimized by default if successfully connected to the server
<migario> well…. you could always ‘push’ a minimize command from shell or another program just sarted right after… but that is hackish 🙂
<migario> just try to ask porter if he can add window size support in a configfile , commandline or tooltypes
<migario> (if not already)
<FrekMOS> it could probably be resolved somehow, its just a button press anyway to iconify it. 😛
<migario> hmz, wasn’t there a start in iconified mode tooltype options somehwere O-o
<FrekMOS> Are tooltypes similar to implicit arguments or something completely different?
<migario> they are similar. but in case of the prioirty you just changed it’s a system wide option that is interpreted by the workbench
<FrekMOS> Yes I figured that much 🙂
<migario> there are more ‘default’ tooltypes listed in amiga styleguide, but an application can decide to ignore those… as well as add their own
<FrekMOS> I see, thank you
<migario> it’s quite common on classic to hav a commmand that can be sarted from both wb and shell and support all arguments from both shell and using tooltypes in the icon
<FrekMOS> I see, and that makes sense.
<migario> tell a windows user that ;-p
<migario> oh, sorry that should have been a 😉
<FrekMOS> Although windows does similar 😛
<FrekMOS> Well I mean it allows to specify command line arguments on the “icon”
<migario> ah… yes that’s true
<migario> ok, i stand corrected
<FrekMOS> OS X on the other hand 😛
<roschmyr> FrekMOS: Synergy is a MUI-app, select MUI Settings from the popup-menu, go to windoze and choose “Iconify on startup”
<migario> ooooh, nobody told me it was a mui app :-S
<FrekMOS> roschmyr, awesome thank you
<migario> yups that should work,as well as some additional tooltypes in the icon 😉
<FrekMOS> migario, I was about to write it earlier but I didnt think it mattered ;P
<migario> hahaha, bo problemo
<migario> *no
<FrekMOS> Reboot time to verify 😛
<migario> roschmyr: i think you’ve just created an happy camper 🙂
<FrekMOS> Works great, thanks all for your support.
<migario> see, most things are easy solvable 😀
<FrekMOS> Never doubt it, but the key is knowledge and without it youre often stuck 😛
<FrekMOS> doubted|
<migario> well consider yourself more knowledgeable now 🙂
<migario> no docs on this kind of thing availble for morphos ?
<FrekMOS> I learned two things, how to set a default priority on a tool and that MUI applications implicitly supports “iconify on startup” 🙂
<migario> great, now the hard part is make it ‘stick’ ;-p
<FrekMOS> I havent found any, but then again I think most count on that everyone using MorphOS has vast AmigaOS experience and most things there apply. Then I guess like MUI and stuff are troughly documented but its not necessairly the first place I would look at.
<migario> yeah, things are a bit scattered (also for aros). doing some minor devlopment gives me an extra opportunity to understand something from devloper documentation which can soemtimes help a lot
<migario> it couldn’t hurt to read something ffor classic amigaos though
<migario> most things still apply (in one way or another)
<jaca> FrekMOS: what do you mean by “synergy client supporting all features” ?
<FrekMOS> jaca, as I said file drag n drop for example would been nice.
<FrekMOS> Other than that it appears complete indeed, I didnt get copy paste working when I tried it yesterday but I noticed it was my fault I tried “amiga c” “amiga p” and apparently programs dont necessairly bind these to copy/paste. when someone said earlier it supports copy paste I tried right click “copy” and pasted on to my windows machine, it did indeed work.
<krashan> FrekMOS: amiga + v is the common hotkey for paste
<krashan> FrekMOS: Since ages.
<FrekMOS> krashan, sorry I meant v.
<FrekMOS> x , c and v are standards on most platform since Mac OS 1
<krashan> FrekMOS: yea
<migario> hmz, i use shift insert on windblows 🙂
<krashan> FrekMOS: So what application ignores this standard?
<FrekMOS> krashan, I dont recall what I tried it with yesterday, the shell maybe?
<FrekMOS> nope it works in the shell.
<krashan> FrekMOS: Plain shell does support it.
<krashan> FrekMOS: SSH shell does not, for obvious reasons.
<krashan> hmm, wrong
<krashan> It does too.
<krashan> Linux one doesn’t :_)
<FrekMOS> Its pretty irrelevant now anyway, as I said I verified it working cross platform
<mhoney> is this irc channel logged anywhere available via a webpage?
<krashan> mhoney: No, freenode prohibits public channel logging.
<krashan> mhoney: Unless all the users of a channel agree…
<FrekMOS> all X11 windows supports copy paste inheritly, but its not necessairly bound to ctrl-x,c,v X11 defines it as left + right mouse button and implicitly copy when you select text etc.
<jaca> FrekMOS: well… I guess I could see how the d&d is done but I have some doubts if this can be added
<FrekMOS> jaca, cool, its no show stopper though, the support there is seem to work just fine. could the keymapping be customized some how though?
<widelec-BB> re
<jaca> FrekMOS: what for?
<FrekMOS> Certain keys are not properly mapped on keyboard, I cant type aphostrophe for example | \ are on the wrong key and so on.
<jaca> which os?
<Develin> FrekMOS: did you get the client to be iconified at start ?
<FrekMOS> Develin, yep
<Develin> any MUI-app can be started in iconified state if you get into the MUI-settings of the program and take a peek at the Windows section. Iconify on startup will fix this unless the program overrides this (very seldom)
<Develin> ok, good =)
<FrekMOS> jaca, currently running windows as the server
<FrekMOS> Develin, got it, Ill keep this in mind for future encounters, I also discovered the icon could be removed entierly in the MUI settings (so now it shows up in exchange only which was even better 🙂
<Develin> FrekMOS: yeah, MUI rules =)