jpaugh
  • Member for 10 years, 7 months
  • Last seen more than a month ago
How do I run X11 applications remotely?
12 votes

Xpra (as mentioned here) does what I want. It allows running arbitrary X applications, which can be forwarded to multiple clients, either on the same computer, or on another machine. It supports ...

View answer
How to find out from which folder a process is running?
7 votes

Derived rom HUB's answer: readlink /proc/<PID>/cwd or even readlink /proc/$(pgrep <program_name>)/cwd

View answer
Win7 - Opening "Programs and Features" as Admin from command line (logged in as regular user)
5 votes

For whatever reason, the control panel applets inherit the privileges of the running Desktop shell (which is the Windows equivalent of a window manager). To escalate permissions in the control panel, ...

View answer
Make bash as close to fish as possible
5 votes

Regarding auto-completion, bash uses GNU Readline to provide tab-completion, and history lookup & completion. Tab completion works for command names, files, and — for any commands which have ...

View answer
Is tor browser bundle safe for downloading?
4 votes

Anything you do from a web browser is (technically) web browsing. So, downloading counts as web browsing. What the Tor website (probably) means in this case is that if you want to do something which ...

View answer
How can I simulate a slow machine in a VM?
4 votes

It's really not possible to reliably match the performance of an older machine. Even if you manage to throttle the CPU usage and the memory size, how will you throttle the FSB speed or memory speed? ...

View answer
Easiest setup for someone new to Virtual Machines?
4 votes

I personally really like VirtualBox, especially since I can install it directly from the Ubuntu repositories. but whichever one you choose will probably come down to which you need. If you plan on ...

View answer
What to do with a QR code from web.whatsapp.com?
Accepted answer
3 votes

The output of the QR reader is a Base 64 string,1 which can be decoded here. however, decoding it gives garbage text :]8FnE-a)L6E Kv֎|*Ljl`J7DBSW?_|zR2W{l0ݞi,jVBk4G which means it's probably bit of ...

View answer
How to run internal cmd command from the msys shell?
2 votes

Process Monitor helped track down the issue. It is that msys will convert /c to c:\ ; it needs to be escaped: cmd //c mklink. The way these conversions are done is explained here. – Mihai Rotaru Jan 1 ...

View answer
Programmer's Dvorak in Windows 10
2 votes

One thing not mentioned by Siamore's answer is how to get CAPS LOCK behavior to match Programmer Dvorak (e.g. for underscore and numbers) when using Keyboard Layout Creator. Here's how: First, open ...

View answer
Calculateting video RAM requirements?
Accepted answer
2 votes

You're right, and the book is right (but also wrong). If you split up your calculation differently, you'll see the book's mistake right away: 2073600pixels * (3 bytes/pixel) = 6,220,800 bytes Now, ...

View answer
How to get %~dp0 in long name format
Accepted answer
2 votes

Disable 8.3 file names. You'll need to rename existing folders to clean up the existing 8.3 filename entries. There may be a tool to clean these up automatically, but I'm not sure. (fsutil file ...

View answer
notification when a user comes online
2 votes

When using Microsoft Teams, you can use the Notify when available context menu option, but only when right-clicking on the person in the right place: the recent tab in the chat sidebar. If you haven'...

View answer
Which folder allows any user to create/edit/delete files?
2 votes

You would need to create a folder, and Change its permissions to give anyone access. This can be done from the properties dialog for the folder. You don't even need to be an administrator to do (2)...

View answer
How to make VLC act as a Kiosk
Accepted answer
2 votes

I don't know if VLC would support this directly, but if you're using a Unix environment, then you could execute vlc with chroot /sterile/directory/media-files vlc <options> so that vlc can ...

View answer
How can I restart Windows machine from OS X by command line?
2 votes

If your Windows box were running Windows Server, then you could RDP into a command-line only session and probably pipe the command shutdown -r -t 1 into the RDP session. If your Windows box had an ...

View answer
How to throttle HTTP requests on a Linux machine?
2 votes

You can add a rule to the netfilter/iptables firewall to do this for you. Netfilter consults the nat table concerning new connections (and the filter table per packet). You can rate-limit new ...

View answer
How to remove URL embedded in PDF document? (dialog "the document is trying to connect to" appears)
2 votes

Well I can give you a little help. PDFs are in a binary format, and most binary formats use byte counting to separate records instead of newlines. In other words, you can't change the filesize without ...

View answer
install in /usr/local/ using apt-get
2 votes

No, and you shouldn't need to. The purpose of /usr/local is to distinguish software which was compiled & installed by the local administrator from software distributed with the system (that is, ...

View answer
64GB sd card shrunk to 4GB after cloning
2 votes

The reason you have this problem is that the volume you copied over is smaller than the drive you copied it onto. The simplest way to fix this is to reformat the drive, also called repartitioning. ...

View answer
Does “system image” include program files installed on a different partition?
1 votes

This depends greatly on what program you do to image your hard drive, and what options you specify. Most programs I've used will copy a single partition separately, rather than the entire hard disk; ...

View answer
Open MS Access from the Command line
Accepted answer
1 votes

The error message means that there is no executable program named msaccess available anywhere on your path. "The path" refers to a list of paths search by the command line when searching for an ...

View answer
HP 4530s: Fan is always on even when laptop/CPU is Idle
1 votes

I have heard that HP has deliberately forced the fan to be always on in some of their machines to avoid a hardware bug, which caused the fan to shut off too soon or too long — leading to heat ...

View answer
Set the title for bash Terminal on mac OS X to current working directory
Accepted answer
1 votes

Strange. Maybe it has to do with when the pattern-expansion takes place in bash's order of processing. Something like `PROMPT_COMMAND='BASED=${PWD##*/} echo -ne "\033]0;$BASED\007"' might do the ...

View answer
Storage requirements for MySQL TEXT column
1 votes

One thing to consider is encoding issues. UTF-8 for example uses 5 bytes for some characters. If you have no data, or variable data, the database is forced to assume the worst: that every character ...

View answer
How to cut and paste tabbed lines with auto indent set to on in vi
Accepted answer
1 votes

Are you using i<Ctrl>V to paste? Try using "+p instead. I find this problem whenever I try to use the operating system's copy-n-paste method, versus using vim's. If you try to paste while you'...

View answer
Advantage of windows 8 apps over desktop programs
Accepted answer
1 votes

To the end-user (i.e. non-developers), apps are probably just marketing hype. iPhones have "apps", Androids have "apps", so now, Mac, Ubuntu, and Windows have apps. To developers, they represent a ...

View answer
Linux and Windows 7 dual boot on SSD with data HDD
1 votes

I would recommend not splitting up Windows this way. For one thing, you have to remember specifically to install new programs to the larger drive, and some may even take issue with being located ...

View answer
Book for understanding Internet Telephony?
Accepted answer
1 votes

I'd bet the user manual for Asterisk would be a good source, and might also point you to more generic resources.

View answer
How can I get a virus by just visiting a website?
1 votes

Do these viruses attack Windows, Mac and Linux users, or are Mac/Linux users immune? If a website manages to breach your browser's security, it could muck with anything that belongs to you on the ...

View answer