I wrote MyScript.sh! MyScript.sh works great from the command line; it takes one or more file paths as its arguments.  In Ubuntu 18.10 how can I:   After selecting one or more files in Nautilus/Files. Trigger MyScript.sh using the selected file/files as arguments?   I am happy to use either a contextual menu (i.e. right click), or a keyboard shortcut (.e. through Settings > Keyboard > Custom Shortcuts).  Unacceptable answer: I am not looking for someone to tell me to type ./MyScript.sh in the command in a terminal, and then drag-and-drop a file/files onto it from nautilus followed by &lt;ENTER&gt;.  Edit 1: I have tried placing MyScript.sh in ~/.local/share/nautilus/scripts/, ensuring it is executable, and right clicking on a file to apply, but no Script submenu appears.  Edit 2: I have set a Keyboard Shortcut in Settings > Keyboard, but the script does not execute.
I've been using mkvmerge to merge a video file and subtitles, I'm using the following command  mkvmerge -o output.mkv video.mp4 subtitles.srt   Which is working fine but as you can probably guess this is really slow operation   I've to open terminal in every one of those directories where movies are stored. Then I've to copy and paste the names of the files in the command Then I've to rename the output file Then delete the original files which I used   This is a lengthy process.     Ideal situation that I want.   I'll go into the folder which contains a movie file and a subtitle file with the same name. I select a movie file and and a subtitles file, right click and run a nautilus script on them. They get merged Original file gets deleted. Rename the merged file with the name of the orignal file with mkv extension      This doesn't need to be recursive, I don't want my HDD creating and deleting 100's of files at ones. Movie files and Subtitle files generally have the same name but some times have "_en" post fixed to subtitle files. If you have another approach of doing it I'm on board with that too.
I'm trying to find the infinite sum that is defined by:  $$ 3 \cdot \frac{9}{11} + 4 \cdot \left(\frac{9}{11}\right)^2 + 5 \cdot \left(\frac{9}{11}\right)^3 + \cdots $$  However, I do not know of any known formula to do this. Am I missing something really simple? Thanks! We're using list view and details OnClick Javascript buttons which reference custom js ans css files stored in static resources and containing some shared logic/styles. The sample code below demonstrates how they are referenced.  {!REQUIRESCRIPT('/resource/CustomJQuery/js/jquery-1.10.2.js')}  {!REQUIRESCRIPT('/resource/CustomLib')}  $("head").append($("&lt;link rel='stylesheet' href='/resource/CustomJQuery/css/smoothness/jquery-ui-1.10.4.custom.css' type='text/css' media='screen' /&gt;"));   These files are also referenced in Visualforce pages.  Introduction of "Serve Static Resources from force.com domain" critical update breaking this way of using static resources in OnClick Javascript buttons - there is also Known Issue created for this .  So, my questions are:  1) Are there any ways to make it work with "Serve Static Resources from force.com domain" critical update activated. My assumptions for now are below, but they seem to be risky and may require significant changes:   hosting these js and css files on own server and referencing them in OnClick Javascript buttons and all other places; move to custom visualforce pages;   2) Does anyone know what's going on with "Serve Static Resources from force.com domain" critical update right now? It was scheduled in Winter 15 first, then it was postponed to Summer 15. Now it can't be found in any org in list of all critical updates at all. It has even disappeared from the list in orgs where it used to be 1-2 weeks ago.  3) How long Known Issue can be "In review" status, since related one has this status for more than 2 months?  Thank you Is Tolkien prejudiced against the East? How to best respond to a request to send a passport scan by unsecured email? It is not uncommon for travel or holiday accommodation companies to ask for a scan of your passport by email. Sometimes local laws require them to keep a record of the passport numbers of all visitors. I'm happy to provide that information but you usually have to send it in an unsecured email, which may have consequences .  Could these companies be more responsible, and provide a public cryptographic key at least?  Are there other steps you should take to protect yourself, if you do send by unsecured email? How do I get from Terminal 1 to Terminal 5 in Fiumicino Airport? The official site mentions a shuttle bus service, I also googled but the infos are not clear, so I hope to find some firsthand experience.  I have a flight with a stop in Fiumicino, I will arrive in Terminal 1 and the next departure is from Terminal 5, the transfer time is around 5 hours.  Is it correct that I should go to Terminal 3 first (using the internal transfer area) and after exit from Terminal 3 and take the shuttle to Terminal 5?  The terminal 5 has a waiting area with some shops or is just a terminal for departure? In your opinion is better to wait some hours inside Terminal 3 before going out to take the shuttle bus? I am trying to create something similar to this in Tikz:    I have been looking at using the \shadedraw macro, but have not found a way to create the color spectrum.  It seems possible if I stack multiple gradient-shaded rectangles on top of each other, but I would rather not use such a lengthy and ugly solution.  Is there a way to recreate this PH-scale image in Tikz, ideally using few rectangles?  (Note: the number labels are not necessary, as they will be replaced with horizontal lines anyway.) Find the sum $\frac{1}{2\cdot 3}+\frac{1}{3\cdot 4}+\dots+\frac{1}{99\cdot 100}$ Please help me calculate the following sum     $$\frac{1}{2\cdot 3}+\frac{1}{3\cdot 4}+\dots+\frac{1}{99\cdot 100}$$ At the end of every day you will be required to write a review.   At the end of each day you will be required to write a review.   Which one of those sentences is better if this action will repeat itself every day for longer period of time, several weeks for example, maybe even months? I'm new to inequalities in mathematical induction and don't know how to proceed further. So far I was able to do this:  $V(1): 1≤1 \text{  true}$  $V(n): n!≤((n+1)/2)^n$  $V(n+1): (n+1)!≤((n+2)/2)^{(n+1)}$  and I've got : $(((n+1)/2)^n)\cdot(n+1)≤((n+2)/2)^{(n+1)}$ $((n+1)^n)n(n+1)≤((n+2)^n)((n/2)+1)$ Kubuntu - can not enter wifi credentials after adding external wifi card My ethernet connection is quite unreliable (It uses powerline adapters) so I bought an external wifi adapter. I have plugged it in and run the command sudo ip address add 192.168.0.39/24 brd + dev enp7s0, and KDE has detected it. Unfortunately, it doesn't seem to realise it is a wireless network and therefore needs credentials. Where I could normally find a place to enter credentials (the network widget, system settings) there are none. KDE reports that the device is connected in the UI. How do I make it work out that it is wireless and therefore needs credentials? Edit: With ethernet plugged out, (USB) adapter plugged in: $ ip address show 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc fq_codel state DOWN group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff  With ethernet plugged in, adapter plugged in: 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff     inet 192.168.0.51/24 brd 192.168.0.255 scope global dynamic noprefixroute enp7s0        valid_lft 863988sec preferred_lft 863988sec     inet6 fe80::7eb1:eca2:96a0:fe5c/64 scope link noprefixroute         valid_lft forever preferred_lft forever  With just ethernet: 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff     inet 192.168.0.51/24 brd 192.168.0.255 scope global dynamic noprefixroute enp7s0        valid_lft 863960sec preferred_lft 863960sec     inet6 fe80::7eb1:eca2:96a0:fe5c/64 scope link noprefixroute         valid_lft forever preferred_lft forever  With nothing: 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host         valid_lft forever preferred_lft forever 2: enp7s0: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc fq_codel state DOWN group default qlen 1000     link/ether 04:d9:f5:8a:f5:e0 brd ff:ff:ff:ff:ff:ff  lsusb, adapter plugged in: Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 1d57:32da Xenta 2.4GHz Receiver (Keyboard and Mouse) Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp. 802.11ac NIC Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  I'm not adding it with it plugged out because it's obviously the Bus 001 Device 004: ID 0bda:b812 Realtek Semiconductor Corp. 802.11ac NIC. There were no restarts between any of these changes. Show that function $f$ has a continuous extension to $[a,b]$ iff $f$ is uniformly continuous on $(a,b)$ Let $E \subset F \subset X$ and $f:E\rightarrow Y$. We say that the function $g:F\rightarrow Y$ is an extension of $f$ if $g(x) = f(x)$ for all $x \in E$.   Let $f: (a, b) \rightarrow \mathbb{R}$. Show that $f$ has a continuous extension to $[a, b]$ if and only if $f$ is uniformly continuous on $(a, b)$.   $(X,d)$ is a metric space.  Hint: To prove $\Leftarrow$ start by showing that $f$ maps Cauchy sequences to Cauchy sequences. Then how should you define $g(a)$ and $g(b)$?  The $\Rightarrow$ part of the proof was quite simple, but even with the hint, the other way seems a bit difficult. Doesn't the first part of the "hint" follow from the way we defined $f$? If so, how do I prove this? Help/Hints appreciated! What is $\int_0^1 \frac{\log \left(1-x^2\right) \sin ^{-1}(x)^2}{x^2} \, dx$? Strategies to Defeat Memory Editors for Cheating - Desktop Games Why is there no option to login as root? Why does Ubuntu not allow the GUI users to login as root at the time of system start up like administrator in Windows?  Why they are restricting us to login only through the terminal? Differences Between Row Echelon and Reduced Row Echelon Let $$A =\begin{bmatrix} 1&amp;3&amp;-6&amp;2\\5&amp;12&amp;-24&amp;7\\9&amp;15&amp;-30&amp;6\end{bmatrix}$$  $$RREF(A) =\begin{bmatrix} 1&amp;0&amp;0&amp;-1\\0&amp;1&amp;-2&amp;-1\\0&amp;0&amp;0&amp;0\end{bmatrix}$$ $$REF(A) =\begin{bmatrix} 1&amp;3&amp;-6&amp;2\\0&amp;1&amp;-2&amp;1\\0&amp;0&amp;0&amp;0\\\end{bmatrix}$$  Now, provided this information, it can be found that the basis for the nullspace of $A$ using the $RREF(A)$ is: $$\begin{pmatrix} \begin{bmatrix} 0\\2\\1\\0 \end{bmatrix}, \begin{bmatrix} 1\\-1\\0\\1 \end{bmatrix}\end{pmatrix}$$  Using the $REF(A)$ the "basis" for the nullspace is:  $$\begin{pmatrix} \begin{bmatrix} 6\\2\\1\\0 \end{bmatrix}, \begin{bmatrix} -2\\-1\\0\\1 \end{bmatrix}\end{pmatrix}$$  Is the "basis" that I provided for the $REF(A)$ actually a basis? How does the  $REF$ and $RREF$ of a matrix differ? What Is Exponentiation? let ${v_1}, {v_2} $ be orthonormal basis for subspace $W$. Prove that if $z$ is a vector in $W$, then Kendo Grid & Rich text Editor of Sharepoint 2013 Hide c# windows application source code I wrote a windows application using C# .Net 2.0 and i want to do something which hide the source code, so when any one use refactor tool can't see the source code. I used dotfuscator but it just changed the function names but not all the source code.  UPDATE: I want to hide the source code, not because of hiding the key, but to hide how the code is working.  Thanks, I found this odd relationship, $x^2 = \sum_\limits{k = 0}^{x-1} (2k + 1)$.