src/BloomExe/web/controllers/CommonApi.cs
/// <summary>
/// Make sure the specified folder (typically one we just opened an explorer on)
/// is brought to the front in Linux (BL-673). This is automatic in Windows.
/// </summary>
/// <param name="folderName"></param>
Make sure the specified folder (typically one we just opened an explorer on)
is brought to the front in Linux (BL-673). This is automatic in Windows.
Make sure the specified folder ( typically one we just opened an explorer on ) is brought to the front in Linux ( BL - 673 ) . This is automatic in Windows .
public static void BringFolderToFrontInLinux(string folderName)
		{
			if (Platform.IsLinux)
			{
				Thread.Sleep(100);
				Process.Start(new ProcessStartInfo()
				{
					FileName = "wmctrl",
					Arguments = "-a \"" + folderName + "\"",
					UseShellExecute = false,
					ErrorDialog = false 
				});
			}
		}
public static void BringFolderToFrontInLinux ( string folderName ) { if ( Platform . IsLinux ) { Thread . Sleep ( 100 ) ; Process . Start ( new ProcessStartInfo ( ) { FileName = " " , Arguments = " \" " + folderName + " \" " , UseShellExecute = false , ErrorDialog = false } ) ; } }
Make sure the specified folder (typically one we just opened an explorer on)
is brought to the front in Linux (BL-673).
Make sure the specified folder ( typically one we just opened an explorer on ) is brought to the front in Linux ( BL - 673 ) .
// allow the external process to execute // if the system has wmctrl installed, use it to bring the folder to the front // do not show a message if not successful
folderName
string
None