[Solved]Can sox use thunar's synatax to add wavs from within a folder?

Sorry I renamed this topic to be more specific to the issue(re-edit: oops that was a terrible subject title earlier I must've rushed when editing.)
NOTE:A workable solution is in my last post...
Ok I'm trying to configure Thunar to run a simple script(basically an executable text file with a string using sox to concatenate a series of wavs within the working directory and referenced within .bashrc with a simpler alias.)
the alias works after  few trials and errors I had to write the string with its arguements in a text file make it executable.
The alias looks like this
alias makegapless='~/.gaplessscript'
and the command string used in ".gaplessscript" is
sox --combine concatenate (ls|grep .wav) gapless.wav
this just tells sox to combine a series of .wav's into one continuous track and output it into the same working directory with the genaric name "gapless.wav" which is a lot faster than using audacity or something similar to get the same results.
My goal is to pass this command to thunar with a custom action and tell it to point inside a selected directory with .wav's so all i have to do is right click the folder and run the command without opening a terminal into the directory
Any suggestions on how to write this in thunar's custom actions. I tried several using the the parameters suggested in thunars custom actions window but none seem to work. what would be the syntax or lines tp include in the string so that this can be done? I have a few custom actions already configured but can't seem to figure this one out...
Last edited by Thme (2012-05-27 20:10:47)

Ok so apparently This is an issue with sox only taking certain syntax. and the paths sent to it by thunar aren't recognized when deling with folders? I was able to get results with both my posted command and the one suggested by trilby when testing it in the cli. but when trying to intoduce those paths to be specified with thunar when running sox as an action strangely this sting works in the custom actions with out a script but has a disadvantage.
sox --combine concatenate %F gapless.wav
Doing it this way I have to highlight the audio files specifically(will take other supported formats like ogg, mp3 and flac etc. and convert them as well). If any unsupported type is highlighted it won't run. I tried the different options %d %D etc just to see if anything worked but as i already thought it didn't. arranging the ls|grep or find strings into this got nothing. I went through about as many possible strings i could think of  even ones i was sure wouldn't work. I'm marking this as solved as i did get at least a working menu action just not exactly what i wanted. but any further insight would be appreciated. maybe i'm just missing something really simple.

Similar Messages

  • TS1741 Can u use home sharing whilst u are away from home

    Can u use home sharing whilst u are away from home

    Oh, so is THAT where the name "HOME SHARING" comes from? 

  • HT1515 Can I use AirPort Express product to add a wi fi outlet to my ethernet Lan?

    Can I use an Airport Express to add a wif fi outlet to my etehrnet (wired) Lan ... I don't have wi fi!

    This should work if you configure the AirPort Express to create a wireless network....the same type of setup that you would use for example, if the Express was connecting to the Ethernet jack in a hotel room.
    However, should work does not mean to imply that it will work.
    Here, I am assuming that the "main" router on the Ethernet LAN network has been configured to allow another router to connect to the network.

  • Can I use a Samsung HM1100 to play music from my Ipad2?

    Can I use my Samsung HM1100 to play music from my Ipad2 ?

    Have you not tried?
    I would have thought you would prefer stereo. And to listen to music, the device you use needs "A2DP".

  • Can I use a USB3 device on a IMAC27 from medio2010

    can I use a USB3 device on a IMAC27 from medio2010

    A 2010 iMac is USB 2.0, you can likely use the device connected via USB 3 however it will run at USB 2 speeds.

  • Can I use the iPad to access excel programmes from my pc

    Can I use the iPad to access excel programmes from my pc

    There are a number of apps in the iTunes App Store that allow you to view/edit/create Excel spreadsheets on the iPad. Three of the most populare ones are :
    Apple's Numbers - http://itunes.apple.com/gb/app/numbers/id361304891?mt=8
    Documents To Go - http://itunes.apple.com/gb/app/documents-to-go-office-suite/id317117961?mt=8
      'premium' version' - http://itunes.apple.com/gb/app/documents-to-go-premium-office/id317107309?mt=8
    QuickOffice HD - http://itunes.apple.com/gb/app/quickoffice-pro-hd/id376212724?mt=8

  • Can you use Apple TV and source films/music from two different Macs in the home?

    Can you use Apple TV and source films/music from two different Macs in the home?

    not at the same time but yes.
    set up home sharing on both computers and Apple TV using the same Apple ID.
    Setting up Home Sharing on your computer
    Setting up Home Sharing for Apple TV (2nd generation)

  • Can you use a Epsom wireless printer to print from an iPad

    Can you use an epson wireless printer to print from an iPaad

    Yes.
    Certain models are air print compliant, check your manual.
    If not I'm not sure if Epson  has an app, but there are third party printer apps such as Print n Share, Print Central and Printopia that should work for you (just to name the three most commonly recommended, there are plenty of apps so read the reviews and pick the one best for you)

  • Can i use my debit card to purchase app from app store

    Can i use my debit card to purchase app from app store

    Hi Atluri Siri
    Debit cards are fully accepted to buy any type of content in Apple.
    Anyway, you can read this for more information : http://support.apple.com/kb/HT5552
    Regards,

  • I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?

    I have CS 6 installed on a Win 7 OS machine. I can not connect to the internet to get updates from within the program. How do I fix this?

    IP routing doesn't work the way many folks might initially think it does; functional IP routing requires manual configuration and the establishment of static routes and default routes specific to the local network configurations, and it's very easy to get it wrong, or to get the default route swapped. Multiple NIC boxes don't magically work, either. (Been there, done that, wondered what happened to my network when the paths got reordered or my route settings were messed up, etc.)
    Routing configuration errors can be quite subtle, too. (Again, voice of experience. Ever had a thousand-seat office LAN accidentally routing through your desktop? As the, um, unnamed guilty party discovered, getting into that configuration was subtle. Seeing the performance crater on the fellow's box and on the LAN was obvious.)
    Knowing how IP routing works is a prerequisite to getting this configuration to work; there's manual configuration required. Clearly something has gone weird here.
    What to do? Read up on IP routing. I'll again suggest the threads and the manual mentioned earlier.
    And in general, I prefer to avoid using my comparatively expensive Mac boxes as sub-optimal IP routers or as firewall boxes. General-purpose operating systems and generic x86 boxes are going to be inherently poor IP routers. Dedicated routers (or embedded or surplus x86 boxes with routing software loaded) offload the Mac boxes here, and are also typically easier to configure manage. And "real" IP routers can have hardware specific to efficiently routing packets. Use of an outboard firewall or firewall-router box also greatly simplifies gateway routing, too; it's a configuration that many folks and many businesses tend to use.

  • TS1846 I have some troubles recently with Final Cut Pro 7 and would like to remove my preferences. I can't find any "com.apple.finalcutpro.plist" file from the Preferences folder but I do have some preferences.  So, where could be the file ?

    I have some troubles recently with Final Cut Pro 7 and would like to remove my preferences. I can't find any "com.apple.finalcutpro.plist" file from the Preferences folder but I do have some preferences.  So, where could be the file ?

    Digital Rebellion has you covered: http://www.digitalrebellion.com/prefman/

  • Is there any way by which I can not use Thunar Sys Tray icon?

    I am using stalonetray in OpenBox in Arch and when I copy-paste or cut-paste files in Thunar, a sys tray icon pops up. I don't want it to pop up.
    Is there any way by which I can make it to not pop up?

    Trilby wrote:
    I haven't used thunar for a while - but I don't remember it ever doing this before.  I just verified that it doesn't here (freshly installed thunar, and cut-pasted, copy-pasted, etc, and I didn't get a tray icon.
    Are you sure this isn't some other tool, like a clipboard manager?  Are their any tooltip popups or menus available on the tray icon and/or what happens when you click the icon?
    No. I use only Thunar. When I hover on the icon it says that "1 file operation running" when a copy-paste or cut-paste operation happens and when I left click and right click on it, it shows the copying window of thunar. The icon shows two small yellow folders placed diagonally. It's the same icon that appears on the file operation progress window of Thunar. I don't know whether Numix has anything to do with the specific icon though.
    Last edited by chosentorture (2015-01-11 00:13:32)

  • [SOLVED] Can't use themes after switching from KDE to Gnome

    I've just switched my desktop environment from KDE to Gnome, and am unable to use GTK themes properly.
    When I was using KDE, I had qtcurve-gtk2 with gtk-theme-switch2 installed, with QtCurve as the chosen GTK theme.  I have uninstalled both qtcurve-gtk2 and gtk-theme-switch2 when I made my switch to Gnome, but it seems my GTK themes are still controlled by the QtCurve engine, and I can't use GTK themes via Gnome's Appearance Preferences.
    Last edited by samjh (2009-09-24 13:33:02)

    Thanks for the reply, but it's not the answer.  Gtk-chtheme changes the GTK theme that QtCurve uses.  The problem I have is that although I've removed QtCurve from my system (including configuration files using pacman's -Rn option, and the configuration file in my /~ directory), my Gnome system is still using QtCurve for themes, blocking other theme engines from running.  So I'm really looking for a way to get back the ability to use proper GTK/Gnome themes, not QtCurve.
    To clarify again:
    1. I used to have a KDE installation.  I used qtcurve-gtk2 for to theme my GTK apps to conform with KDE look and feel, with gtk-theme-switch2 to set the style for QtCurve.
    2. I removed KDE from my system, and in the process, I also removed (manually and using pacman -Rcn) qtcurve-gtk2 and gtk-theme-switch2.
    3. I installed Gnome, along with gtk-engine-murrine, murrine-theme-collection and gtk-rezlooks-engine.
    4. When I access the Appearance Preferences dialog, all my themes are previewed using KDE's Oxygen-style buttons.  I am only able to use/activate GTK control themes (ie. I cannot use Murrine, Rezlooks, or other non-GTK2 theming engines, even though they are installed).  Even more strangely, if I switch to a GTK control theme to something other than Clearlooks, the buttons change to the appropriate theme, but the scroll bars are stuck on the Clearlooks look-and-feel.  Metacity theming is fine.
    I have reinstalled and re-removed qtcurve-gtk2 and gtk-theme-switch2.  I have completely removed Qt from my system.  I have also searched (using the find command) for any files of qtcurve, and removed every trace of it.  But the old QtCurve configuration is still preventing non-GTK2 themes from running, and causing rendering flaws for scrollbar controls.
    Last edited by samjh (2009-09-23 23:39:39)

  • [SOLVED] Can't use CTRL+F shortcut on applications.

    Since i updated my desktop to KDE 4.6, i can't use the Ctrl+F shortcut of all the applications i use.
    When i press Ctrl+F, a console window appears. But its not konsole. It looks like some default X.org console or something.
    What can i do? I really need to use that shortcut.
    Really annoying.
    Thanks in advance!
    Last edited by Hyugga (2011-03-11 01:36:49)

    I had something similar. Are you using .xbindkeysrc to use back/forward buttons in Dolphin and did you copy the directions from the Wiki? Wiki Link
    If so you will need to comment out the following lines in /home/yourusername/.xbindkeysrc
    # set directly keycode (here control + f with my keyboard)
    "xterm"
    c:41 + m:0x4
    # specify a mouse button
    "xterm"
    control + b:2
    Hope this helps.
    I see you figured it out yourself. Good one!
    Last edited by rotave (2011-03-11 01:42:31)

  • Can't use mouse/keyboard/trackpad when waking iMac from sleep mode

    Basically as the title says. When I wake my iMac from sleep mode I am unable to use my keyboard/trackpad/mouse during the login window. Once the screen goes black by itself, after a minute or so I can then log in properly.
    Yes the keyboard/mouse/trackpad are all connected when it wakes from sleep as I can use any of them to wake it from sleep, I just can't move them or type with them in the login window.
    Processor  3.4 GHz Intel Core i7
    Memory  24 GB 1600 MHz DDR3
    Graphics  NVIDIA GeForce GTX 680MX 2048 MB
    Software  OS X 10.8.5 (12F37)

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Maybe you are looking for

  • How can I remove "other" Capacity if my ipod is completely empty?

    i just reformatted and restored my ipod to a mac. I have not added any songs yet but under the summery page it states I have 20.8 MB Other Capacity (Orange). Please help

  • What is a business package?

    What does the business package contain?

  • Creating a file in a network drive

    Hi, Is it possible to create a file in a shared folder present in a different network drive(a folder in a system other that MII server which is neither FTP nor a webserver) and is there a way to get the list of files present in the same folder(a fold

  • Connect db oracle with applet

    My problem is the connection between applet and db oracle that it resides in another host of the web server. Security problem address to me to I use oracle connection manager. cman.ora is so shaped: cman = (ADDRESS_LIST= (ADDRESS=(PROTOCOL=tcp)(HOST=

  • Error in alertinbox

    Hi all I have created alert in alrtcatdef while creating sales order. I can receive alert in alrtinbox, whenever user creating sales order. But when i select Personalization in alrtinbox, i can't able to do it The following error occured.. Business S