The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
3answers
13k views

Stop/start battery charging through software?

If a laptop is powered on and connected to AC power, is there a way to issue a command that tells it not to charge the battery? EDITED: Perhaps charging of the battery may be stopped if there were a ...
2
votes
1answer
3k views

how to include an environment variable in the launcher?

I was trying to make some scripts dynamic by including the environment variable $LOGNAME and even $HOME. but it don't seem to work when placed in a launcher. I am trying to make code a bit more ...
14
votes
2answers
8k views

Is there a difference between “.” and “source” in bash, after all?

I was looking for the difference between the "." and "source" builtin commands and a few sources (e.g., in this discussion, and the bash manpage) suggest that these are just the same. However, ...
19
votes
1answer
1k views

Why use env in shebang?

What is the purpose of using #!/usr/bin/env <sh|bash|python> shebang compared to #!/bin/bash, #!/bin/sh or #!/usr/bin/python?
-2
votes
3answers
3k views

How do I change to the desktop/layout like in the picture?

I would love to change my desktop to the one below: Could someone please help?
5
votes
2answers
2k views

Why doesn't JSLint/JSHint work in Ubuntu?

I installed as described here and other places, but after using npm to install jslint, jshint, neither will work. Running "jslint", I only get: /usr/bin/env: node: No such file or directory Is ...
8
votes
2answers
157 views

Setting LOG=1 in /etc/environment

I asked a question earlier about viewing the history of notify-osd using the indicator-notifications app. The answer was that I needed to add LOG=1 in my /etc/environment file. That sounded ...
1
vote
1answer
1k views

NoClassDefFoundError: org/apache/derby/tools/ij

Derby says to install to opt, so I did: thufir@dur:~$ thufir@dur:~$ ll /opt/db-derby-10.9.1.0-bin/lib/derbytools.jar -rw-r--r-- 1 root root 174932 May 31 12:19 ...
1
vote
2answers
974 views

Added folders to PATH cannot be found using sudo [duplicate]

Possible Duplicate: Environment variables when run with 'sudo' I've added a new folder to my path, but when running the programs (in that folder) with "sudo" it does not work. When ...