How to determine which window manager is running

0 0

Here's my two-cents worth:

I know this is not a comprehensive list, but I've been Googling and experimenting for

quite a while and here's some of the results:

I won't even give all the usual cautions about goofing around in the Registry because if you're here trying to stop excess processes (which the average user doesn't even know or care about),

you should know what the ill-advised Registry change can do.

Can be auto-starting IF:

1) The program has a visible window.

2) Program is loaded during the Windows boot process:
Registry keys:

a) HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run,
b) HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run,
c) HKCU\Software\Microsoft\Windows\CurrentVersion\Run,
d) HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders,
e) HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders,

0 0
0 0

Hey, Scripting Guy! How can I determine the path to the folder where a script is running? What I’d like to do is have the script automatically open the folder where the script is running.

— PD

Hey, PD. You know, for the Scripting Guys this question – as do so many of the questions we receive – falls under the category Why Didn’t We Think of That? The Scripting Guys spend a lot of time testing scripts, including scripts submitted by members of the Windows scripting community. (Well, one of the Scripting Guys spends a lot of time testing scripts. Not that he’s complaining, mind you, even though he has to do pretty much all the work around here. [Editor’s Note: Including most of the whining.]) Many of these scripts add files to or delete files from a folder or write information to a log file in the same folder where the script itself can be found. That means we often need to have Windows Explorer opened to the script’s home folder. How do we open that...

0 0

Query the Environment.Version property to retrieve a Version object that identifies the version of the runtime that is currently executing the code. You can use the Version.Major property to get the major release identifier (for example, "4" for version 4.0), the Version.Minor property to get the minor release identifier (for example, "0" for version 4.0), or the Object.ToString method to get the entire version string (for example, "4.0.30319.18010", as shown in the following code). This property returns a single value that reflects the version of the runtime that is currently executing the code; it does not return assembly versions or other versions of the runtime that may have been installed on the computer.

For the .NET Framework Versions 4, 4.5, 4.5.1, and 4.5.2, the Environment.Version property returns a Version object whose string representation has the form 4.0.30319.xxxxx. For the .NET Framework 4.6, it has the form 4.0.30319.42000.

Here's an example of...

0 0

“My computer’s been running for 100 days without a reboot!” “I haven’t reinstalled Windows in five years!” Geeks love to brag about this stuff. Here’s how to find your uptime and installation date on Windows, Linux, and Mac.

“Uptime” is a geeky term that refers to how long a system has been “up” and running without a shut down or restart. It’s a bigger deal on servers than typical desktops.

Windows — Uptime

Your Windows system’s uptime is displayed in the Task Manager. Right-click the taskbar and select Task Manager or press Ctrl+Shift+Escape to open it.

On Windows 8, click the Performance tab and look under “Up time” at the bottom of the window.

On Windows 7 or Vista, you’ll also find this information on then Performance tab — look for “Up time” under System.

Windows — Installation Date

You can find the date you installed Windows with the systeminfo command. First, open the Command Prompt — press Windows...

0 0

Once people start sneaking around their task manager, one of the first things that they ask about is svchost.exe. What is that process, why is it taking up so many resources and why are there multiple instances of it on my computer? Well, the answer is pretty simple. Before you go off and kill the process in fear, know that it is a simple utility by Microsoft that contains multiple Windows (and other) services. The reasons for this are plenty but the only thing you need to know is that it is a very convenient way for Microsoft to run some services as they would have to be bundled individually if not for this simple process.

There are, of course, several downsides to using this feature for the consumer. For example, it might be hijacked by malicious programs and you cannot immediately see the services that svchost.exe encloses. Of course, we are here to show you exactly how you can view everything that svchost.exe contains at any given time, without extra...

0 0

A. To check which HAL is running on a computer, use one of the following methods: - Option 1. Start Explorer and navigate to the C:\Windows\system32 folder (%systemroot%\system32). Right-click hal.dll and select Properties. Click the Version tab and select the "Original File name" item. This option displays the original name of the hal.dll. The sample that the figure shows, is from an Advanced Configuration and Power Interface (ACPI) multiprocessor system because it's using what was halmacpi.dll). - Option 2. When Windows is installed, a setup.log file is created in the repair folder of the installation target (e.g., C:\Windows\repair). Open this file and search for hal.dll. You should see an entry detailing which file was used, as the following example shows:

\WINDOWS\system32\hal.dll = "halmacpi.dll","293a1"

Option 3. If you open Device Manager (Start - Programs - Administrative...

0 0

To check how much RAM is installed and available on your computer, follow the steps below.

Note: Memory (RAM) and hard drive space are two completely different things. If you want to know how much information you can store on your computer, see the how to determine how much hard drive space page.

Tip: See our determining the type of memory my computer has page if you are trying to find memory specifications for upgrading your computer memory.

Windows 8 and 10
Windows Vista and 7
Windows 95, 98, ME, NT4, 2000, and XP
Windows 3.x
Apple computer
Linux and Unix

Find how much RAM is installed and available in Windows 8 and 10

From the Start screen or Start menu type ram Windows should return an option for "View RAM info" Arrow to this option and press enter or click it with the mouse. In the window that appears you should see how much installed memory (RAM) your computer has.

Note: If a...

0 0

Here (MATE over Linux Mint) ...

echo $DESKTOP_SESSION ... returns ... default.desktop ---> Not valid

echo GDMSESSION ... returns ... GDMSESSION ---> Not valid

echo $XDG_CURRENT_DESKTOP ... returns ... (nothing) ---> Not valid

These 2 work for me:

A) You can run HardInfo. It's ready by default at least in Linux Mint; or you could install it (from Synaptic, ...).

You can run it a) from the main menu > Search box > hardinfo, or b) from the main menu > All applications > System Tools or Administration > System Information, or c) from the main menu > All applications > All > System Information, or d) from a terminal or console > hardinfo > Enter, or e) from the Run Application dialog (Alt+F2) > hardinfo > Enter.

Once HardInfo opens you just need to need to click on the "Operating System" item and look to the "Desktop Environment" line.

Nowadays, apart from GNOME and KDE, you could find MATE, Cinnamon, ...

B) In a terminal or...

0 0

Layers of the graphical user interface: Under X, the

window manager

and the

display server

are two distinct programs, under Wayland, the function of both is handled by the Wayland compositor.

Typical elements of a


. The

window decoration

is either drawn by the

window manager

(X11) or by the client (


). The drawing of the content is the task of the client.

Under X11, when the window manager is not running, the window decorations are missing for most windows. Under


clients always draw their own window decorations

A window manager is system software that controls the placement and appearance of windows within a windowing system in a graphical user interface.[1] Most window managers are designed to help provide a desktop environment. They work in conjunction with the underlying graphical system that provides required functionality—support for graphics hardware, pointing devices, and a...

0 0
0 0

Table of Contents

Introduction Determining the services running under a SVCHOST.EXE process using Process Explorer Determining the services running under a SVCHOST.EXE process using TaskList Determining the services running under a SVCHOST.EXE process in Windows Vista and Windows 7 Determining the services running under a SVCHOST.EXE process in Windows 8 Advanced Information about SVCHOST.EXE Conclusion

Watch the Windows XP SVCHOST companion video here!
Watch the Windows Vista and Windows 7 SVCHOST companion video here!


A very common question we see here at Bleeping Computer involves people concerned that there are too many SVCHOST.EXE processes running on their computer. The confusion typically stems from a lack of knowledge about SVCHOST.EXE, its purpose, and Windows services in general. This tutorial will clear up this confusion and provide information as to what these processes are and how to find out more...

0 0

If you remember the window's location and size, that will be enough. When you set the position to the previously used position, if it happened to be on the second monitor it will go back there.

For example, if you have 2 monitors, both sized 1280x1024 and you set your window's left position to be 2000px, it will appear on the second monitor (assuming the second monitor is to the right of the first.) :)

If you are worried about the second monitor not being there when the application is started the next time, you can use this method to determine if your window intersects any of the screens:

private bool isWindowVisible(Rectangle rect) { foreach (Screen screen in Screen.AllScreens) { if (screen.Bounds.IntersectsWith(rect)) return true; } return false; }

Just pass in your window's desired location and it will tell you if it will be visible on one of the screens....

0 0
0 0