Making the leap to Mac 64-bit GUI

Right now, the way I am handling the GUI is making a Windows-native GUI and a Mac-native GUI (Carbon).
However, to make to a 64-bit plug-in, I am looking at moving my GUI over to Cocoa for both the 32-bit and 64-bit versions.  (To maintain 3 sets of GUIs would be way, way too much.)
1- Should I try to implement the GUI in Cocoa or should I just move to a cross-platform GUI approach like Qt?
2- If I do go down the Cocoa route... I can't figure out how to get a Cocoa GUI working in 32-bit Photoshop.  In the CS5 SDK, I got rid of the stuff in the DissolveUIMac.cpp file and disabled the if statement in DissolveUIMacCocoa, but this crashes Photoshop with a EXC_BAD_ACCESS error that I can't seem to track down.
Any thoughts?  :/  Spoiled rotten by 64-bit on Windows... updating was so easy.  Thanks by the way to all the helpful people on this forum!!!!!

I'd personally suggest using Qt - its an easy-to-learn, well-designed cross-platform library; it handles internationalization and has a lot of other benefits. And yes, it integrates reasonably easy with Adobe plugin framework.

Similar Messages

  • Running OS 9.1 on a sawtooth G4 just now making the leap to OS X!

    I am so lost on where to begin to upgrade my  sidekick MAC. It's primarily used for music production with older Cubase software, (no internet or other programs are used on this computer). But out of necessity, I need to upgrade to OS X. Please help. I upgraded the processor with a Newer Tech piece from Other World Computing in 2011 but haven't used it in the OSX environment. I bought Panther  disc onlne but it doesn't boot up. I'm told i may have to take baby steps and start with 9.2 then go from there, can anyone help. yeah I know I'm decades late, but I've never had a problem with my software or my Mac doing just what I needed it to do. Any suggestions

    The update to 9.2.2 can be found here: http://support.apple.com/kb/ht1387
    Start with that.
    Did you get a proper Panther disk, that is the universal installer with a Silver X on a black background? If you've gotten a hardware specific grey disk, it will not boot unless it is for the exact same mac model.
    I suspect you may be facing that issue, as a G4 with a 733 CPU should be able to boot up that Panther disk no problem.. HOWEVER.. Panther is quite limited and the better bet is to find a budget installation of Tiger on CD, as that is the best-last OSX version (10.4.11) for the older G4 macs. (I have Tiger on a livingroom audio-box that is used to rip vinyl) Tiger ALSO allows you to 'classic boot' to OS9 applications if need be.

  • Thinking of making the PC to Mac Move, questions about Photos App

    Helped my mother on her Mac a little bit and got the Photos App working for her. Now my turn, I have been a die hard Windows user, but I will never use a Windows phone. (Can never give up my iPhone) I have been taking on a huge family project of scanning old photos and dating them. Along with digital photos from early 2000’s. I have probably about 10,000 photos. (And 20,000 more to scan) In Windows I use photo gallery 2012 to organize and date etc. my photos. The thing I like about photo gallery is that when I make a change to a photo it edits the original. The dates and GPS I add to the photo are forever saved to the file in the metadata.
    I am very tempted to move to a Mac. (I have an iPhone & Apple TV, I would like to sync across all my devices) I never like iPhoto, the idea of a “non destructive” editing means I have to import and export photos. I think the new Photos app might work for me.
    A few questions:
    If I move all my directories/folders of my photos to a Mac, will I be able to use the Mac Photo App to edit the photos and the changes I make be saved directly to the photo file in the respective folder? (Or are the photos then saved in a new location after being edited in the Mac Photo App?)
    If I turn on the iCloud Photo Library (on the Mac & iPhone) I understand all my photos will be uploaded to the cloud and any changes made on either device will be seen on the other. My question, if I make changes to a photo that is in the iCloud will that change be made to the original photo file that is stored on the Mac? (Basically I want to have at all times a hard drive copy for my personal backup)
    With the iCloud Photo Library feature I understand that any new photo I take with my iPhone is uploaded to the iCloud. Are the photos taken on the iPhone physically downloaded to the Mac? I know I can view them on the Mac Photo app, but I want to know if they are downloaded to the Mac and if so where does it save the new photos?
    Thanks,
    Nick

    I do not use ICloud so someone else will need to answer those questions.  For question one though...  Photos, like Aperture and Iphoto before it, puts your photos in its own filing system.  You would need to export the photos to get them back out of Photos.  You can export them to anywhere in your mac file system.

  • Making the switch to Mac from pc

    Hey gang, I've had enough of microsoft and windows. It seems like everytime I get and install a windows update, my system gets worse. At this point it's very unstable and always crashing/rebooting. That, and viruses and maintaining all the various programs that go along with windows (ad-aware, spybot, norton anti virus) have forced me over the edge.
    I figure most of my software won't work with the new window's vista, so it's time to move to Apple. I hope some of you can answer some questions for me.
    1. I'm taking online college courses and it says that I can use Firefox for my browser, so I assume all should be well with my mac and the classes? I can't imagine it wouldn't.
    2. I have to uses ms word, powerpoint and excel for school and work, so I will buy it for mac. If I create a document on the mac using ms word, excel or powerpoint, will I be able to access/modify it on a pc using the pc versions of these programs? I have to use a pc at work and the ability for these two systems using the same programs to be compatible is imperative.
    3. Last but not least, I use a program that came with my camera, it's called Adobe Photoshop Elements 2.0 It says its for windows or macintosh, but it's probably 5 years old. Do you think it would work with a new version of mac?
    Thanks in advance, I'm a total knothead when it comes to computers and need all the help I can get.
    Steve

    My wife recently started taking on-line classes. She was a diehard Windows user for years, but she was tired of the maintenance, and wanted a machine just for school. She has run into only a few obstacles. Her institution uses Blackboard. Blackboard works fine with Safari, but does not provide the advanced editing tools that are available in Internet Explorer. The recent Firefox betas provide the advanced editing tools that her PC counterparts see, so the final version (due soon) should work even better.
    With MS Office... She is using Office 2004, and it has worked OK. In the preferences, it is possible to set it so that it saves with the ".doc" extension by default. If you let it save in its normal format, it does not include the extension. If you upload the file for Windows users, they will complain that they can't open it. It is also possible to automatically save in older formats with an extension in Office 2008... Office 2007/2008 save in the DOCX format, which is not even remotely compatible with older versions.
    As a "just in case"... She has a copy of Windows XP in Parallels with Office 2003. She has not had to use this, but it's there, just in case. We maxed out the RAM in her Macbook to 4GB ($100 from Crucial), and it is more than fast enough.
    As a new Mac user, I would check out: NeoOffice, OpenOffice 3 (beta), VirtualBox...
    My photos are my most important files, and I have been taking digital pictures since long before it was popular. My collection goes back to 1996, and I have about 20,000 pictures and short video clips- mostly of the kids. I presently use iPhoto for managing my archives, and for making minor adjustments. I would not use anything else... When I need to make major changes, I use the Gimp. It is not an Apple application, and I became familiar with it in my Linux days. Check it out- It may or may not work for your needs.
    Steve

  • Making the leap

    Hi there newbie here.
    Can I install the latest os x on my imac g4 700mhz machine? Can't seem to fathem out whether it's high enough spec or not. Got an ipod for christmas and think something's telling me that I need to finally upgrade from os 9!
    Thanks Sarah

    Hi Sarah, Welcome to Discussions!
    I have just checked here:
    http://docs.info.apple.com/article.html?artnum=88297
    and looked at the specifications for the older flat panel iMacs. Just like the current models, there were, then, a variety of specs; 128mb & 256mb options as well as CD-RW,DVD-ROM/CD-RW and Superdrive drives. However if you click on the Apple logo top left of your screen and select 'About this Mac' that will tell you how much memory is installed. Then click 'More info...', and (almost) everything you need to know will be there, 'though it may not tell you whether you've got a DVD drive.
    You may find that you fall down straight away on the memory. Although Apple say that Tiger needs a minimum of 256mb, at least 512mb is preferable. (All the current models have 512mb as standard   ;-) )
    A 512mb stick from Crucial would cost just over £90 (+ fitting if you can't DIY). Tiger costs another £90. If you haven't got a DVD drive, add £10+ to that for the CD version. You're over a third of the way to a Brand New iBook with Tiger pre-installed!! Maybe nearly half way if you keep your eyes on Apple's Refurbished Store from 10am Wednesdays...
    Good luck anyway.
    Adrian

  • Making the leap to edit in HD...so confused. PrpRes or XDCAM HD

    Edited my first hour long program in HD. What a nightmare. I shoot in XDCAM HD and captured using ProRes. Using AJA Kona 3/SDI. Had a few lockups and crashes and long render times for all graphics. Just a simple text within FCP took 8 minutes for a 10 second clip! And Motion and LiveType, forget about it. Gotta be doing something wrong. Jerry, thanks for the help last week, but I am still confused if I should use ProRes or use file transfer and stay with XDCAM HD. I am about ready to stay with DV. I apologize for my ignorance, but I really appreciate the info you guys provide. I am kinda lost here. There seems to be no simple answer. My vendor is an AVID guy, so he offers little help.
    Thanks again,
    Tom

    Shane -
    Very helpful. I'm also using XDCAM HD and have an i/o HD box from AJA. I have been importing the XDCAM files via Sony's software, editing my sequence natively, and changing the renders to ProRes. I recently started changing the sequence setting to ProRes and rendering. It seems to correct a lot of playback and Edit to Tape problems I had been having when laying my sequence off to a Sony 1080i HDCAM deck. Reading your post, I'm wondering if this is a smart process. I was changing the sequence to ProRes to gain the 10-bit environment for the graphics, lower thirds and overlays I bring in. Does rendering the sequence cause any loss? Do you prefer native over ProRes when it comes to XDCAM HD (I'm shooting in 1080i because the client wants a Sony HDCAM 1080i master)
    Are there any other workflows for the XDCAM HD and the i/o box? I know Panasonic's P2 import software allows you to choose any codec you have on your machine...so you can pick ProRes if you like. Sony doesn't have that option and the 330 doesn't have SDI out.

  • Making the argument for Mac vs PC in a design studio

    I'm posting this on behalf of my wife, as forum registration seems to be broken at the moment:
    Help! - Mac under threat! I'm employed as a museum exhibition designer and have been asked by the new management to explain why the work I do cannot be done as easily on a PC. Rolling my eyes and throwing my hands up in horror will not be sufficient it seems, and have been told to provide 'hard' evidence. The problem is I have no experience of working with PC's at all so cannot validate my conviction that a PC could not cope with the complexities of working with Quark, Photoshop, Illustrator (often all at same time!) and handle loads of high res images, manage fonts etc. Does anyone have any info that could help the case for the defence?

    I have both Mac and PC, the PC I built myself and it can do everything that the mac can do, not as pretty, but they are totally compatible.
    Why not just chill out, tell the management you are not an IT expert, you've never needed to be, if they would like to swap to PC, that is their right, but you are not experienced using Windows. Ask about the new training courses, look at this as an opportunity to learn new skills, don't "roll your eyes etc", if you have never tried Windows, approach it with a positive attitude.
    I had never driven a 5 litre automatic car until I flew to the US a few years back, it was new experience, enjoy life !!

  • Making the leap with my luggage...

    The luggage is the many manuscripts & art files I have created using Microsoft Publisher (formerly stand-alone - now part of Office). Will I be able to use those files on CDs - made with Publisher - or will I have to keep this old PC plugged in in order to use them?
    Thanks.

    You may have already done so but if not...
    Be sure to research "HD" in general... why do you need it, how will you monitor it, how will you deliver it.
    More specifically with regard to your chosen camera, research HDV and the various FCP, HDV workflow options. There's plenty here to read if you do a search.
    Not saying there is anything wrong with the format but a little research can avoid a lot of confusion.
    rh

  • Windows PC User Making The Big Switch To Mac OS X & MacBook 2.0GHz

    I'm from the Philippines. I've been a Windows PC user for around 10 years. I figured it's time to replace my old Pentium III 500MHz/Win98SE with a newer system to keep up with highter system requirements set forth by newer applications.
    The features I looked for include portability, performance, connectivity (built-in WiFi & Bluetooth) and value (not too expensive). I'm initially leaning towards getting another Windows XP-based platform because Windows-based apps are readily available here and getting tech support for the Mac would be a little prob. Also, I just can't afford to leave behind some applications that are somehoew inexistent in the Mac world, but the mere thought that the PC world would soon be shifting to Vista kinda turned me off. Nobody wants to buy a new notebook that would suddenly become obsolete in just a few months or so.
    However, everything changed when online research led me to Apple's homepage (www.apple.com), where I discovered Mac's latest wonder: the Macbook. I heared about the Mac OS X's reputation for stability and performance. They say Macs are less prone to worms & viruses too since most of these things were designed specificically to infect Windows-based platforms. Looks like this is it for me. I'll be getting a MacBook 2.0GHz soon.
    I must admit that what primarily attracted me to the Intel-powered Macbook is the fact that it could now run two operating systems thru "Boot Camp" or Parallels For Mac. Two applications that would give me the capability to run Mac OS X and Windows XP on a single platform. It's like having the best of both worlds.
    For me, this is really great news but I still have questions though. The Macbook is a new release, so I'm still iffy about purchasing it as new technology is notorious for having many annoying quirks and kinks that need to be smoothed out.
    My question is... What are the PROS and CONS of using BootCamp and Parallels respectively? Is Parallels better than the other? Which one would you recommend? Should I decide to install both, will there be any hitches?
    I won't be upgrading for the next 5 years or so. The notebook will likely see some heavy use for Medical Transcription work and maybe occasional gaming (mostly flight sims). This would be my first Mac purchase so I better do it right the first time. So if you have any comments, feedbacks, suggestions... kindly post it here.
    I'll be making the big switch soon.
    Rich

    I'm running Parallels on an iMac 2.0 GHz, and I absolutely love it! I expected all sorts of glitches and found virtually none. The only drawback I know if is that it treats your USB 2.0 ports like USB 1.1. Otherwise, my Windows XP virtual machine inside of Parallels doesn't seem to know it's not on a PC; it runs smoothly and much faster than on my previous 1.5GHz PC with 1.0 GB RAM. I've loaded Quicken for Windows, MS Office, Norton Anti-Virus, Adobe Acrobat, and several other Windows Apps with no troubles at all. I'm telling you, this software (Parallels) is amazing. I feel like I literally have two computers now.
    I would recommend that you have 2.0 GB of RAM, because while you're running Parallels, you have 2 OS's operating at the same time. But the ability to switch back and forth between the two OS's, share files, cut and paste - well, it's simply awesome, and well worth any extra cost.

  • In Mac OS X, I installed a third party toolbar to Safari which is making the program unusable. How can I uninstall it? It did not have an uninstall option.

    In Mac OS X, I installed a third party toolbar to Safari which is making the program unusable by constantly giving a dropdown box requesting a sign-in to a mail feed. It came from http://WWW.BBshare.com/Products/gtoolbar-for safari
    How can I uninstall the toolbar? It did not come with an uninstall option.

    Instructions for manually uninstaling third party add ons >  Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues

  • I bought a new mac and i migrate with time machine...but the backup was a little bit old and weren't save the latest modify i made in my website.. is it possible take the uploded site in iweb? sorry but i don't speak english very well.

    I bought a new mac and i migrate with time machine...but the backup was a little bit old and weren't save the latest modify i made in my website.. is it possible take the uploded site in iweb? sorry but i don't speak english very well

    But what can I cut and paste? the html code or image and text directly?
    depend on which template you used.
    if you use iweb photos page template then you need to search for my photos page solutions in this forum.
    @ot: cut and paste from the online version
    @rw: You can drag an image from the website to the Desktop
    have your try your methods in iweb photos page?

  • I just updated FF to 14.0.1 (Mac 10.6.8) and now netflix won't work. It's asking to restart in 32 bit mode and I changed it in the Get Info to 32 bit. No luck.

    I just updated FF to 14.0.1 (Mac 10.6.8) and now netflix won't work. It's asking to restart in 32 bit mode and I changed it in the Get Info to 32 bit. No luck.

    Try downloading the latest version of Microsoft Silverlight for Mac [http://microsoft-silverlight-mac.en.softonic.com/mac link text]. I just did this, and was able to play Netflix's streaming again--and without that "restart in 32-bit mode" button even appearing!

  • Advice making the jump from pc to mac - video card?

    Hi,
    I'm sorry if this is the wrong place to post but I've been having trouble finding an appropriate place to ask some questions.
    I'm thinking about making the jump to a mac after many years of having pc's because I'm starting to get fed up with tinkering and want something that just works. I want to do mainly office stuff; use for photography and play a few games. Unfortunately warhammer online isn't supported but I see that there are alternative ways - not a deal breaker. I've been WOW sober now for 150 days.
    When trying to compare systems I'm finding a few sticking points. I think what I want is a mac pro as I want to use my existing dell 24" lcd and upgrade to an eizo (for photography) at a later stage. There are things that I'm finding a little odd :
    1. 1TB HDD is $450 AUD whereas I can just pick one up locally for almost half of that price. Can I order one without and then just put my own in? Is this ever done?
    2. and what's the deal with the memory price?
    3. and why are the video cards 1-2 generations behind the pc?
    I'm not saying the system is overpriced - if I configure an xps system or alienware system the prices just get absurd.
    Any comments appreciated.

    Mac pro or Macbook pro? Big difference! If you want a laptop with gaming capability then you are pretty much into the Macbook pro, as graphics on the Macbook won't handle high intensity gaming. However, for MS Office and iPhoto, any mac will do. You could, for example, buy a macbook 13" and use your 24" monitor with that...or the MBP or the Mac Pro.
    With the Mac Pro, you can add any compatible HD with ease. A HD is user installable on a Macbook, but it is absolutely NOT with a macbook pro. That should not stop you from going to an apple authorized repair center and having THEM do the install. If any other provider does the install and there is a problem, the warranty could be voided. Most folks buy aftermarket RAM and install themselves. It is easy.
    Don't know anything about video cards.

  • Making the right icon for Mac OS X application...

    I have a few questions about making the right icon and whether the icon is perfect for OS X. For starters, what should I consider making. I know that's beating around the bush, but what make's a Mac OS icon good? Another would be, what would the sizes be. I know how to use "Icon composer", but my icons always seem very small in the dock compared to others.

    etresoft wrote:
    I think in 20 years I've only been able to make one halfway decent icon.
    I think the problem is that it's actually art... it takes an artist like Susan Kare to make truly magnificent icons. And there's something to be said for simplicity, or at least economy of pixels.
    http://www.kare.com/portfolio/03applemacicons.html

  • [Guide]Making the Logitech G510 Work On Linux!

    Update April 23, 2015: I've got a new keyboard (Corsair K95) so I personally probably won't touch this code ever again if I can help it, however it should be working just fine in it's current state without my dabbling, I've set the code up so that the macros are recorded to script files in /usr/share/g15daemon/macros/ with a provided example script, it should be easy enough to read or modify, and if desired the scripts can be replaced by custom executables. When the buttons on the keyboard are pressed they execute these scripts with a command line argument corresponding to the current M-Key state (so we have different functions for M1, M2 and M3 keys), but I thought this was the easiest and most versatile approach, I feel I've got a lot more freedom to customize the macro keys than I ever did in windows this way. As for the MR Key, it is functioning in that it will record a macro (through Xev) and output it to a text file: /usr/share/g15daemon/macros/Macros by running the MacroRecord script located at /usr/share/g15daemon/macros/MacroRecord, you need to ensure that these scripts are made executable when you install this (unless you use my custom pkgbuild on arch which does this automatically) to use these recorded Macros you just have to copy them over to one of the other scripts (for the respective key you wish to use). The Macro Recording script works for recording most normal macros, but if you try to break it, you will (You should be able to use up to 4 modifier keys on one button press (for a total of 5 buttons held down) without running into any problems, as a limitation) but this script is not complex so it should be easy for anyone using it to open it up and try to improve it or increase the amount of modifier keys supported per macro.
    I was working on a Qt5 application that would allow these files to be edited through a Qt based GUI, which also shows the macros recorded by MR for easily copying them over and saving the file. Everything is done except the save function, if someone asks me in a message, I will finish this application for them or send them the source code once I get it.
    Latest Source (Comes with Arch PKGBUILDs, install with makepkg -i)
    Older Source (Before I coded in the MR key)
    Source of Qt GUI Front-End (I never finished this program, you need qt-creator to open these source files and finish them yourself. Without this program you can just manually edit the files in /usr/share/g15daemon/macros as described below, the only parts that haven't been coded in yet are the save code, and the test button code. It should be easy to do though, there is example code in the saveFiles function which you can use to finish it (comment this function out if you want to compile it before you finish up coding it, this function breaks the code since it is not written in functional code) if you just adjust it based on the loadFiles function that is above it which does work for loading all the files, it should be pretty easy to finish this program up. If you finish coding it, feel free to send me a message so that I can link to your complete sources instead. These sources I'm releasing in public domain (do whatever you want with them) but Qt5 is LGPL 3.0 licensed.)
    There is now a wiki page for this, but it's content is slightly different from this thread and doesn't offer much support for other distributions.
    I have a logitech G510 keyboard, and 2 years back I spent about a week applying several patches I had scoured from around the net as well as making my own modifications as needed to make this work with the old g15daemon drivers (as in, I forked g15daemon, without actually changing the programs name). An alternative to this method is using the gnome15 project (just as g15daemon it is no longer being developed) but I had severe (and quite unacceptable) input lag when I used gnome 15 as well as other major issues and as such I vastly prefer my own method. (Besides I worked hard to make this work, I was toying with source code in a programming language I am not really familiar with (C) and did so non-stop for a week, it'd be a total waste if it wasn't better than the alternative!)
    And on february 11th 2015 I made yet another update to these drivers that made them significantly easier to use (before this time, the source code had to be manually edited and the drivers had to be then recompiled ino rder to edit the functionality of the G-Keys (not to mention the source code was an ugly mess because of this roundabout approach) this had to be done because the g15macro part of g15daemon never worked well with this keyboard, so I decided to hardcode the keys into the drivers as a temporary solution, now I've found a more permanent solution which is redirecting the keypresses to bash scripts. One script file for each button, I will explain how to do this later on.
    Here is the  original thread I made on this if anyone wants to see the ugly mess I went through to get here, luckily that's far behind me now and the code is getting more and more mature over time as I fix it little by little.
    How to do it:
    What you will need to do is apply these patches for libg15 and g15daemon. (If you want to do it the hard way, use the older Hardcode Patch but I don't recommend it unless you really know that you want it, and know why you want it.)
    This can be done on any distro I would assume, for gentoo refer to this thread. To get the sources Download this (latest source) and extract it with unrar, (on arch use makepkg -i to install) in the following order: "libg15 -> libg15render -> g15daemon -> g15stats" (Note: You can edit the macros in the macros folder before installing g15daemon. If you are not on arch you need to manually copy the macros folder to /usr/share/g15daemon/macros/, otherwise the pkgbuild will do it for you. If you are running in another distro you can delete the PKGBUILD file in the folders. I included the unmodified libg15render and g15stats too for the sake of convenience, and as a safety net if they disappear off the face of the internet, which is what they seem to be about to do. If you do not feel like trusting the sources I provided then fear not! the ones I provided are just the original sources (md5sum should match with those found there) (as development for the project seems to have been dropped and these were the final versions ever made) but I assure you, the sources I provided are the original ones downloaded straight from sourceforge. If you are on arch you can use ABS to get the sources from the official repositories and then replace the PKGBUILDs with the ones in my rar (or change them yourself, see wiki). If you want to download your own sources (remember to get my patches too!) then here is an alternative download for the default macros.
    Note: In the arch package there were other patches(config-write, recv-oob-answer and uinput) in the package in the official repositories, I added these three to my own file to avoid clutter, the first two are the first two entries of my file, the third is at line 40-71 (two entries) as a part of the same file where I coded in the G-Keys. Depending on your distro and how you get your hands on the sources you may have to adjust this as these patches may already have been applied for you (meaning mine will fail to patch because of mismatching sources). I have no idea what these patches are actually for (would be nice to know) but I imagine they're there for a reason and as such stuck with them.
    For other distros figure out how to compile packages from the sources (sorry Arch and Gentoo are the only distros I really use so I can't help with others, but I assure you this can be done on all distros. If it comes down to it ask on their forums for help!)
    In the libg15 patch I disabled support for other keyboard models in the first few lines (you will see which if you read the patch) as I suspect many of the changes made might break support for the other devices, but if you want to take your chances just remove the minus sign in front of the device you want to use and hope for the best. If you have a keyboard that was already supported by these drivers, the biggest benefit of getting my version working would be the smoother G-Key functions (since they aren't run through a third party program like g15macro, it's bound to be a little faster and less prone to bugs.) also if you have a G510s and want to try these drivers on that board, you will have to add your keyboards id into this section (or replace the one I added with the appropriate ID for your board) using lsusb to find the right values.
    I couldn't get g15macro to work properly with my keyboard and noticed several issues with it (it seemed like it was underdeveloped to me) so my solution to that problem was originally to hardcode the G-key functionalities into the base drivers; But later on I realized I could instead redirect the code to script files that I would create outside of the install, to avoid the load of pain that comes with hardcoding something you may frequently want to change. These drivers are run as root and as such you must be careful and use sudo where applicable to run the commands as your user rather than as root. By default all G-Key presses will be read as commands from the user with uid "#1000", which is in most cases the first user account created on the system. The bonus from this approach is that the G-Keys work much faster than they would using the g15macro and they are also much more customizable than they ever were in windows, the minus is that you need to know/learn bash/shell scripting in order to use it this way. That or find a way to edit the script files to be in a programming language you understand, but bash scripting is the most convenient since you get all the versatility of a terminal in your keyboard that way.
    To change the colors of your keyboard you need to edit the libg15.patch file below line 338 (//Set keyboard color based on M led state.) The code there uses the basic RGB format, and each M-Key has it's own line. The default is: Dark-ish Blue(M1/Fallback), Dark-ish Red(M2), Dark-ish Green(M3)
    To change the macros, you can (if you installed with my pkgbuild on arch) go to /usr/share/g15daemon/macros/ and within you will find 19 files, an "Example" file (this is like a backup, it's what can be used to reset files back to their defaults if you get lost.) The files are named after the keys they affect, each file has statements for M1, M2 and M3 and then a few extras for errors that uses libnotify for error messages. The default setup also uses libnotify to tell you which key was pressed, and which key was released. If you are not on arch or gentoo and could not install directly from my sources, you will need to either copy the files from my rar to "/usr/share/g15daemon/macros/" and edit them from there, or create them yourself from scratch on that path (the names of the scripts are G# where # is the number of the key, make sure that the files are executable with chmod +x if you are more advanced, you can edit the g15daemon.patch file if the location of the macros isn't to your liking and change the path to the scripts to something more convenient for you (e.g. ".../.config/g15daemon/")
    By default, the scripts will look something like this:
    #!/bin/sh
    declare -i mkey=$(( $2 + 1 ))
    declare -r key="G1"
    #M1
    if [[ "$1" == "on" && $2 -eq 0 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 0 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #M2
    if [[ "$1" == "on" && $2 -eq 1 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 1 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #M3
    if [[ "$1" == "on" && $2 -eq 2 ]]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    elif [ $2 -eq 2 ]; then
    /usr/bin/notify-send $key: 'M'$mkey', state='$1
    fi
    #Else (Errors)
    #If there is no input
    if [[ -z "$@" ]]; then
    /usr/bin/notify-send $key": Error!" 'There was no input'
    fi
    #If M key state is out of range (less than zero or more than 2)
    if [[ $2 -lt 0 || $2 -gt 2 ]]; then
    /usr/bin/notify-send $key": Error!" 'There is no M'$mkey'! (State='$1')'
    fi
    #If the first input variable (on/off) is incorrect. This should never happen.
    if [[ -n "$1" && "$1" != "on" && "$1" != "off" ]]; then
    /usr/bin/notify-send $key": Warning!" '"'$1'" is not a valid state! (M'$mkey'), defaulting to "off".'
    fi
    And here is an example of how the M1-M3 keys could be edited in this file. The "if" statements are events that occur when you press down on the button, and the elif statements are for the key release.
    #M1
    if [[ "$1" == "on" && $2 -eq 0 ]]; then
    thunar /mnt/stash/movies & disown
    fi
    #^elif is not needed and can be erased for this command to avoid the notification of key-release. The & disown part is extremely important, if you forget to add this to the end of every line where you execute a program that will keep running after you release the button, you will not be able to use any G-Keys until you terminate the program. If you remember to add the & disown, everything will be fine.
    #M2
    if [[ "$1" == "on" && $2 -eq 1 ]]; then
    xdotool keydown Ctrl && xdotool keydown Page_Down
    elif [ $2 -eq 1 ]; then
    xdotool keyup Ctrl && xdotool keyup Page_Down
    fi
    #^The above executes the keyboard combo Ctrl+Page Down (Next Tab) and holds these buttons down until your key release is detected.
    #M3
    if [[ "$1" == "on" && $2 -eq 2 ]]; then
    xdotool keydown Super && xdotool keydown F1 && xdotool keyup Super && xdotool keyup F1
    fi
    #^The above is my keyboard shortcut for changing workspaces, (Meta + F1-F6), since I won't ever need to hold these buttons down, I set them up to press and release on keydown, with no need to detect the key release, this is good to do to avoid a bug I mention lower in the guide.
    That's the gist of it, all you need to know. You can test-fire the commands in your terminal before you add them to the files. Recompiling and re-installing the G15Daemon (at least on arch) will overwrite your existing macros in /usr/lib/g15daemon/macros. Last but not least, you should remember the sleep command (for example, to restart g15daemon, do g15daemon -k && sleep 5 && g15daemon this is how you can set up timed commands and macros on your G-Keys as well. I may later on develop a GUI front-end for editing the macros, and program the MR-key to work like it does on Windows, but right now I'm satisfied with what I've got, so that will have to wait.
    You need to know:
    -The g15daemon service should be started after X11/Xorg-Server is started or any commands that require X (like opening a folder, or graphical notifications) will not work. (You can either just wait till you log in and use xinitrc or an autostart script for your desktop environment to start the service, or you can set up a restart script which kills the original instance (g15daemon -k) and starts a new one, this may be good to know if you would like the service to be started on bootup so you wont have to look at white leds until you have logged in. You can use sudo to run these services as a user). You can also try to have the g15daemon initiate after your display manager loads. (For example make the initscript depend on kdm if you're using kde, I have not tried this though)
    Add this to the sudo configuration with visudo so you can run the g15daemon with sudo and no password (this should work on most distros, if not find the executable, could be in sbin (is on gentoo) like so: "/usr/sbin/g15daemon")
    ALL ALL = (root) NOPASSWD: /usr/bin/g15daemon
    (You can replace the first "ALL" with a username or % group if you want to limit the command to just one user)
    -I have not tested the headphone/mic plugs on the keyboard (please do comment your results if you try to use that)
    -This is not completely bug free.
    -There is no support for tracking launched/focused application and changing the M-Key mode depending on what you are doing (this would be useful though)
    -The MR key is not supported, but the LED works.
    Known Issues: (ordered by severity, if you want to contribute fixing these issues is the best thing you can do to help as I seem incapable of it)
    Sometimes the Key Release of G keys is not detected (this means if you have a key bound to the button that is held until the key is released, the release may not be detected properly. This only happens if you press the key quickly, not if you hold it for a short period before releasing it this is solved by either pressing the key again, or not relying on the key-release state, the latter is fairly easy to do as you can use "variables" and "if"s and "do/while" or "for" in C to set keys with toggle functions.
    Keypress detection for the G-Keys isn't 100% reliable, it will work completely fine 95% of the time or so, but sometimes (usually only if a G key has not been pressed in a while) the key needs to be pressed twice (This was much worse when g15macro was used and the keys almost always had to be pressed twice if I recall correctly). This may look like it's a huge bother at first, but really I hardly ever notice this when I'm using the keyboard and it is a very rare occurance.
    The Volume Wheel is erratic, I used patches from the net to make the wheel work but the wheel was unusable, I managed to make it just barely usable but I wouldn't call it "reliable" in it's current state. It does however work "ok". The wheel worked fine with generic keyboard drivers so maybe there is something in there to shed light on how to make them properly work (remember that there was a bit in libg15.c that made the wheel work, the other half of it is in uinput.c)
    The M-Key leds (M1, M2 and M3) will not light up until a G-Key or one of the M keys is pressed (very minor, I tried to fix this but failed, gave up since it's not really important)
    Run "g15daemon -d" for debug mode to see output from the driver when it is running you will repeatedly get the following error, I have no idea what this is but I do not like it
    libg15: Unknown usb error: Keyboard Read !! (err is -75 (Value too large for defined data type))
    look around line 471 of the patched libg15.c to see where the error is being printed from.
    Terminating the g15daemon (g15daemon -k) will render the keyboard unusable and can result in bugs (for example your next keypress may be detected but release will not be detected) so be careful when doing something like that. Unplugging the keyboard and plugging it back in solves this issue.
    Scroll-Lock led does not work (this is not specific to this keyboard, it is a Linux problem and affects all keyboards as far as I am aware)
    I personally prefer using this keyboard in Linux over using it in Windows because of how much more configurable it is (there's nothing I can't do with the press of a button now) and switching workspaces with just one button each for a total of 6 is a joy!
    Feel free to comment below with any questions or thoughts, any suggestions to improve the code or other contributions are greatly appreciated! I am not skilled in C programming and as such some of my code may look hideous to those who would know what they're doing so better ways to achieve the same results will not be ignored either and I will add any significant updates to the OP when I see them.
    Good Luck and Enjoy
    PS: I know the libg15 patch is rather "unclean" (contains a lot of redundant patches, i.e. replacing a line with the same line) but I was too lazy to clean it up. I tried once but it did not work out so well
    If you have a G510s and this did not work for you, I may be able to help you get that working, comment if you want help with that (the first step to try is on the wiki)
    Last edited by rabcor (2015-05-08 14:41:34)

    Major Update: The G-Keys can now be edited without recompiling by editing shell scripts at "/usr/share/g15daemon/macros/"
    Each button has it's own script file named by it's label (e.g. to edit the functionality of G1, open the script named G1.) The button will try to execute the scripts as programs, so make sure they are executable (chmod +x) and as long as the name remains the same, if you want to replace the files with something different, know that the arguments currently given to the files ($1 and $2) are ($1)on/off and ($2)0-2  (where 0 is M1 and 2 is M3)
    To download the updated sources, go here (only the g15daemon source/patch was updated). This thread's OP has been updated.
    Last edited by rabcor (2015-02-12 04:46:48)

Maybe you are looking for