id stringlengths 1 7 | postTypeId stringclasses 1
value | acceptedAnswerId stringlengths 1 7 ⌀ | creationDate stringdate 2009-01-08 07:47:55 2024-03-31 23:33:05 | score stringclasses 504
values | viewCount stringlengths 1 7 | body stringlengths 24 34.3k | ownerUserId stringlengths 1 7 ⌀ | lastEditorUserId stringlengths 1 7 ⌀ | lastEditDate stringdate 2010-07-28 20:43:11 2024-04-07 06:16:28 ⌀ | lastActivityDate stringdate 2010-07-29 14:11:46 2024-04-07 06:16:28 | title stringlengths 13 150 | tags listlengths 1 5 | answerCount stringclasses 45
values | commentCount stringclasses 47
values | contentLicense stringclasses 3
values | comments listlengths 0 56 | acceptedAnswer dict | answers listlengths 0 82 | communityOwnedDate stringclasses 232
values | favoriteCount stringclasses 2
values | closedDate stringlengths 23 23 ⌀ | lastEditorDisplayName stringclasses 890
values | ownerDisplayName stringlengths 2 28 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29350 | 1 | 29518 | 2011-03-07T07:58:20.300 | 11 | 9205 | <p>As ext4 was introduced as more reliable than ext3 with block journals, is there any chance to suppose it 100% reliable? What if enabling block journaling on it, which is disabled by default?</p>
<p>As friend's guide to explain my case in more detail:
I have an embedded linux device, after installation keyboard and monitor is detached and it works standalone.</p>
<p>My duty is to make sure it has reliable file-system so with errors there is no way for manual correct faults on device. <strong>I can't force my customer to use a ups with each device to ensure no fault by power-failure.</strong> </p>
<p>What more can ext4 offer me besides block journaling?</p>
<p>Thanks in advance.</p>
| 7766 | 8515 | 2011-03-08T13:00:47.973 | 2023-11-13T20:16:05.447 | How can I optimise ext4 for reliability? | [
"filesystem",
"ext4"
] | 3 | 6 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T08:07:06.873",
"id": "32624",
"postId": "29350",
"score": "0",
"text": "i know i have some trade off enabling features like block journaling, but i am sticked in to reliability and am ready to pay for it",
"userDisplayName": null,
"userId": "7766"
},
{
... | {
"accepted": true,
"body": "<p>No. You can never suppose something to be 100% reliable.</p>\n<p>Journaling file systems minimise data loss in the event of an unexpected outage. <a href=\"http://kernelnewbies.org/Ext4#head-25c0a1275a571f7332fa196d4437c38e79f39f63\" rel=\"nofollow noreferrer\">Extents and barriers</a> help even more, but cannot eliminate all associated problems. Personally, I've never experienced data loss because of file system corruption when using journaling file systems.</p>\n<p>Also, journaling <strong>is not</strong> disabled by default.</p>\n<p>Here's a good overview of ext4 and its improvements: <a href=\"http://kernelnewbies.org/Ext4\" rel=\"nofollow noreferrer\">http://kernelnewbies.org/Ext4</a></p>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-03-08T13:31:49.577",
"id": "32857",
"postId": "29518",
"score": "1",
"text": "+1 for \"you can never suppose something to be 100% reliable\"",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-09T06:41:36.080",
"id": "32973",
"postId": "29518",
"score": "0",
"text": "as [Comparison_of_file_systems](http://en.wikipedia.org/wiki/Comparison_of_file_systems) block journaling is off while metadata journaling is on, that's trade off between reliability and speed",
"userDisplayName": null,
"userId": "7766"
},
{
"creationDate": "2014-04-23T07:10:42.497",
"id": "595958",
"postId": "29518",
"score": "0",
"text": "I just had a server reboot in order to find massive data corruption on ext4 where files contain invalid data. This could not have happened on zfs or btrfs because data has checksums.",
"userDisplayName": null,
"userId": "99349"
},
{
"creationDate": "2023-11-13T20:18:26.887",
"id": "2614795",
"postId": "29518",
"score": "0",
"text": "Someone suggest changing the link to the new [ext4 wiki](https://ext4.wiki.kernel.org), but that wiki doesn't have an overview of ext4, and instead links back to the kernel newbies page. ",
"userDisplayName": null,
"userId": "8515"
},
{
"creationDate": "2023-11-14T00:36:47.023",
"id": "2614845",
"postId": "29518",
"score": "0",
"text": "Rejected another edit because the newer \"up to date\" wiki doesn't have any of the information needed, and actually redirects the reader to the kernelnewbies site.",
"userDisplayName": null,
"userId": "8515"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T12:41:14.193",
"id": "29518",
"lastActivityDate": "2023-11-13T20:16:05.447",
"lastEditDate": "2023-11-13T20:16:05.447",
"lastEditorDisplayName": null,
"lastEditorUserId": "8515",
"ownerDisplayName": null,
"ownerUserId": "8515",
"parentId": "29350",
"postTypeId": "2",
"score": "11"
} | [
{
"accepted": true,
"body": "<p>No. You can never suppose something to be 100% reliable.</p>\n<p>Journaling file systems minimise data loss in the event of an unexpected outage. <a href=\"http://kernelnewbies.org/Ext4#head-25c0a1275a571f7332fa196d4437c38e79f39f63\" rel=\"nofollow noreferrer\">Extents and ba... | null | null | null | null | null |
29352 | 1 | 31048 | 2011-03-07T08:48:44.530 | 6 | 1504 | <p>In Natty I downloaded the latest version of Dropbox from their <a href="https://www.dropbox.com/install" rel="noreferrer">website</a>. It should come with an appindicator rather than a systray icon, and it does so on my other Maverick installation.</p>
<p>However, it does not for some reason. That is very inconvenient, as these icons are blocked in Natty. I suppose that for some reason the system still installed an older version of Dropbox. How can i fix that/get the latest version to install?</p>
| 2192 | 2192 | 2011-03-07T09:13:06.277 | 2012-08-12T10:29:17.320 | Why do I still get an older version of Dropbox when downloading the latest one? | [
"11.04",
"dropbox"
] | 2 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T13:37:32.470",
"id": "32657",
"postId": "29352",
"score": "0",
"text": "I think this is a dropbox bug (I have the same problem).",
"userDisplayName": null,
"userId": "235"
},
{
"creationDate": "2011-03-07T18:14:03.317",
"id": "32711",
"postId... | {
"accepted": true,
"body": "<p>Figured it out myself. It's actually very simple!</p>\n\n<p>First, stop Drobpox. This can be done easily by entering the following terminal command: </p>\n\n<pre><code>dropbox stop\n</code></pre>\n\n<p>Now download the following .zip file: <a href=\"http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-1.0.20.tar.gz\" rel=\"nofollow noreferrer\">http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-1.0.20.tar.gz</a>\nOr: Get the latest one if it should exist by the time you read this.</p>\n\n<p>The content of that .zip file should look like this, only containing the folder <code>.dropbox-dist</code></p>\n\n<p><img src=\"https://i.stack.imgur.com/rMEaX.png\" alt=\"How the .zip file should look like\"></p>\n\n<p>Now simply extract this .zip file into your home folder. You will be prompted to merge the existing folder with your new one. Do this and confirm all requests for overwriting.</p>\n\n<p>Now simply start Dropbox again, which is easily done by:</p>\n\n<pre><code>dropbox start\n</code></pre>\n\n<p>Enjoy!</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2019-08-06T11:09:14.160",
"id": "1939511",
"postId": "31048",
"score": "0",
"text": "8 years later and this tip still saves my workday. BTW, the latest download link can be found at https://www.dropbox.com/install. FWIW, the direct link to the 64-bit tarball is currently https://www.dropbox.com/download?plat=lnx.x86_64.",
"userDisplayName": null,
"userId": "48105"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-19T12:05:09.937",
"id": "31048",
"lastActivityDate": "2011-03-19T12:05:09.937",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "2192",
"parentId": "29352",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>I use 10.10 and this <a href=\"http://forums.dropbox.com/topic.php?id=33943&replies=2#post-295959\" rel=\"noreferrer\">forums on Dropbox forum</a> helped me.</p>\n\n<p>You have to manually reinstall <code>drobpoxd</code> (<code>dropbox stop; rm -r ~/.dropbox-dist/; dropbo... | null | null | null | null | null |
29354 | 1 | null | 2011-03-07T09:17:23.860 | 2 | 2690 | <p>I have ubuntu(8.10) ldap server running. I am migrating from my old servers to ubuntu 10.04.2 server and I have set up almost all freshly on the new servers. How could I perfectly migrate ldap to the new server after installing ldap?.</p>
<p>I found the following to export and import ldap in the google:</p>
<pre><code>slapcat -l master.ldif
slapadd -c -l master.ldif
</code></pre>
<p>Is there anything I've to do before/after using those commands?. Any precautions?</p>
<p><strong>EDIT 1</strong>:
I could not configure ldap server freshly following the <a href="https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html" rel="nofollow">link</a>:
error:</p>
<pre><code>root@station3:`# ldapadd -D cn=admin,dc=mydomain,dc=com -W -f front-end.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
</code></pre>
| 3215 | 3215 | 2011-03-08T10:49:31.693 | 2012-01-17T07:36:38.740 | Migrate ldap to another server | [
"10.04",
"migration",
"ldap",
"8.10"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T13:45:00.050",
"id": "32862",
"postId": "29354",
"score": "0",
"text": "After installing ldap when I try to import by `slapadd -c -l master.ldif\n` I'm getting following error `Available database(s) do not allow slapadd`",
"userDisplayName": null,
"userId": ... | null | [
{
"accepted": null,
"body": "<p>While I can't remember the exact release, OpenLDAP switched from file-based configuration to LDAP-based config sometime around the '08 releases.</p>\n\n<p>If possible, I would do a test-migration and see (in a controlled environment) if your new server works as expected.</p>\... | null | null | null | null | null |
29356 | 1 | 29358 | 2011-03-07T09:34:43.140 | 9 | 15926 | <p>I want to copy a file into a ZIP or JAR archive.</p>
<p>Is that possible? If so how?</p>
| 11749 | 2732 | 2011-03-07T10:20:20.750 | 2011-03-07T11:13:17.270 | Is it possible to copy a file into a zip archive? | [
"command-line",
"zip"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Use -m to import a file to a ZIP archive.</p>\n\n<p>I found this on StackOverflow maybe it helps you.<br>\n<a href=\"https://stackoverflow.com/questions/3730747/how-to-move-a-file-in-to-zip-uncompressed-with-zip-cmd-tool/3731813#3731813\">How to move a file in to zip uncompressed, with zip cmd tool</a></p>\n\n<p>But be careful it deletes the source file after it adds it to the archive.\nSee the link for more details.</p>\n\n<p><strong>UPDATE</strong></p>\n\n<p>Instructions from this site. <a href=\"http://linux.about.com/od/commands/l/blcmdl1_zip.htm\" rel=\"nofollow noreferrer\">http://linux.about.com/od/commands/l/blcmdl1_zip.htm</a>.<br>\n<code>-m</code> moves the specified files into the ZIP archive; actually, this deletes the target directories/files after making the specified ZIP archive.</p>\n\n<p>If a directory becomes empty after removal of the files, the directory is also removed. No deletions are done until <code>zip</code> has created the archive without errors. This is useful for conserving disk space, but is potentially dangerous so it is recommended to use it in combination with <code>-T</code> to test the archive before removing all input files. </p>\n\n<p><code>zip -m yourfile zip.file</code></p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-07T09:51:23.407",
"id": "32628",
"postId": "29358",
"score": "0",
"text": "i tried cp -m q.txt archive.zip !!!**not working",
"userDisplayName": null,
"userId": "11749"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T09:45:13.103",
"id": "29358",
"lastActivityDate": "2011-03-07T10:31:42.030",
"lastEditDate": "2017-05-23T12:39:45.440",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "3872",
"parentId": "29356",
"postTypeId": "2",
"score": "6"
} | [
{
"accepted": true,
"body": "<p>Use -m to import a file to a ZIP archive.</p>\n\n<p>I found this on StackOverflow maybe it helps you.<br>\n<a href=\"https://stackoverflow.com/questions/3730747/how-to-move-a-file-in-to-zip-uncompressed-with-zip-cmd-tool/3731813#3731813\">How to move a file in to zip uncompre... | null | null | null | null | null |
29359 | 1 | 29364 | 2011-03-07T09:57:30.967 | 114 | 301700 | <p>I want to create a new user to run a service on the system but don't want to have <code>/home</code> and other configuration files for it. Like there is a user for postgres but it doesn't have any <code>/home</code> directory. </p>
| 214 | 175814 | 2018-07-04T09:57:30.217 | 2022-04-04T09:23:11.833 | How to add a user without /home? | [
"users",
"home-directory"
] | 6 | 1 | CC BY-SA 4.0 | [
{
"creationDate": "2011-03-07T10:02:33.127",
"id": "32631",
"postId": "29359",
"score": "1",
"text": "I just found this http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/",
"userDisplayName": null,
"userId": "214"
}
] | {
"accepted": true,
"body": "<p>By default the command useradd doesn't create home directories, but for a daemon I recommend you to use the system option and change the shell to a non-existent one so no one can login with said account (in ssh for example):</p>\n\n<pre><code>sudo useradd -r -s /bin/false USERNAME\n</code></pre>\n\n<p>You can see all the options with <code>man useradd</code> and <code>man groupadd</code> if you want to create a group for the user too.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2012-08-12T15:23:35.843",
"id": "215849",
"postId": "29364",
"score": "6",
"text": "useradd -r creates a system user, not only a user with no homedir.",
"userDisplayName": null,
"userId": "66879"
},
{
"creationDate": "2014-03-31T11:00:35.067",
"id": "577006",
"postId": "29364",
"score": "3",
"text": "notice, useradd -r also creates corresponding groups.",
"userDisplayName": "user25389",
"userId": null
},
{
"creationDate": "2015-10-12T14:49:03.763",
"id": "996177",
"postId": "29364",
"score": "24",
"text": "I believe the best practice is using `/sbin/nologin` as the login shell, although, using `/bin/false` wouldn't make any differences.",
"userDisplayName": null,
"userId": "332695"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-07T10:21:24.177",
"id": "29364",
"lastActivityDate": "2015-12-29T21:45:30.910",
"lastEditDate": "2015-12-29T21:45:30.910",
"lastEditorDisplayName": null,
"lastEditorUserId": "9452",
"ownerDisplayName": null,
"ownerUserId": "3303",
"parentId": "29359",
"postTypeId": "2",
"score": "153"
} | [
{
"accepted": null,
"body": "<p>try this command:</p>\n\n<p><code>sudo useradd vivek</code></p>\n\n<p>This will create a user without creating your home folder at <code>/home/vivek</code></p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2015-10-12T14:41:12.430",
"i... | null | null | null | null | null |
29363 | 1 | null | 2011-03-07T10:09:02.923 | 2 | 202 | <p>Will there be a separate distribution for Unity 2d?</p>
| 4871 | 340497 | 2016-08-06T15:23:47.400 | 2016-08-06T15:23:47.400 | Separate distribution for Unity2d? | [
"unity-2d"
] | 1 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>No.</p>\n\n<p>Unity2D is there to</p>\n\n<blockquote>\n <p>[...] provide the Unity desktop shell on hardware platforms that cannot currently support Unity's OpenGL requirement</p>\n</blockquote>\n\n<p>It will be enabled when insufficient hardware support is detected.</p>\n\n... | null | null | null | null | null |
29365 | 1 | null | 2011-03-07T10:34:31.900 | 2 | 693 | <p>I'm trying to install Ubuntu 10.10 32bit on <a href="http://www.sonystyle.com.hk/products/apps/product/simplePage.do?modelCode=27533387&lang=en" rel="nofollow">this pc</a>.
I have both tried with Wubi from Windows and from USB stick, but after the installation process when I select to boot Ubuntu the screen becomes black and nothing happens (btw I can hear the cpu running)!</p>
<p>Notice that maybe it is something related to the graphic card of the pc, since when I use Ubuntu in live mode or during the installation process all the graphics and colors are messed up as if there wasn't an appropriate diriver...</p>
<p>What can I do??
Thanks</p>
| null | 1067 | 2011-03-07T11:34:25.460 | 2011-04-06T15:39:37.363 | Can't start ubuntu on Vaio Z | [
"10.10",
"boot",
"vaio"
] | 2 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>Your System Uses Optimus Graphic's so that it can switch between 2 different GPU's one Nvidia one Intel. Ubuntu and linux in general don't support GPU switching yet.</p>\n\n<p>To get Ubuntu running on your machine you will need to disable one or the other GPU's in the bios th... | null | null | null | null | user11961 |
29367 | 1 | null | 2011-03-07T10:41:25.573 | 1 | 902 | <p>I am on a wired dsl, pppoe connection which is properly set, but the problem is that is shows that is connected but there is no internet at all.</p>
<p>I thought that the problem was the ipv6 and I managed to disable it, but now in NM the eth0 ipv4 address is 0.0.0.0. I don't know what the problem is :) , weird.</p>
<p>I also edited the interfaces file by adding the new interface auto eth0 and setting it to be dhcp. I restarted the dhcp server and got some errors I think, it says "no leases ..." whatever. </p>
<p>Any ideas what the problem could be? Why it is not giving me ip address? </p>
<p>It is weird that when I work with my wireless there is no problem, it connects auto and the internet is just fine.</p>
| null | 19490 | 2011-09-06T21:07:00.353 | 2012-02-26T12:42:06.020 | Can't connect to the Internet via PPPoE DSL | [
"10.10",
"network-manager"
] | 1 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-07T11:24:19.700",
"id": "32638",
"postId": "29367",
"score": "3",
"text": "Could you provide a bit more detail? How did you set up the PPPoE connection in the first place? What exactly are the errors you're getting? What is the [output](http://paste.ubuntu.com/) of `if... | null | [
{
"accepted": null,
"body": "<p>You didn't mention whether you are using a router or not. You mentioned it works when you use wireless, which I presume is done through a router. If you plug into the wired port on the same router, it should work the same way. If you are not using a router, then it is norm... | null | null | null | null | user11963 |
29370 | 1 | 29379 | 2011-03-07T11:40:28.603 | 394 | 795090 | <p>Is there any way to check if there is an error in executing a command?</p>
<p>Example : </p>
<pre><code>test1=`sed -i "/:@/c connection.url=jdbc:oracle:thin:@$ip:1521:$dataBase" $search`
valid $test1
function valid () {
if $test -eq 1; then
echo "OK"
else echo "ERROR"
fi
}
</code></pre>
<p>I already tried do that but it seems it isn't working. I don't how do that. </p>
| 11749 | 2732 | 2011-03-07T13:41:25.350 | 2023-08-09T22:32:51.850 | How to check if a command succeeded? | [
"command-line"
] | 10 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-26T18:19:25.040",
"id": "35981",
"postId": "29370",
"score": "11",
"text": "Prefer **$(foo)** over backticks **\\`foo\\`**, because you can nest it, and it's easier to distinguish from apostrophes.",
"userDisplayName": null,
"userId": "10068"
},
{
"crea... | {
"accepted": true,
"body": "<p>The return value is stored in <code>$?</code>. 0 indicates success, others indicates error.</p>\n\n<pre><code>some_command\nif [ $? -eq 0 ]; then\n echo OK\nelse\n echo FAIL\nfi\n</code></pre>\n\n<p>Like any other textual value, you can store it in a variable for future comparison:</p>\n\n<pre><code>some_command\nretval=$?\ndo_something $retval\nif [ $retval -ne 0 ]; then\n echo \"Return code was not zero but $retval\"\nfi\n</code></pre>\n\n<p>For possible comparison operators, see <a href=\"http://manpages.ubuntu.com/manpages/maverick/en/man1/test.1.html\"><code>man test</code></a>.</p>\n",
"commentCount": "9",
"comments": [
{
"creationDate": "2011-03-07T12:28:02.400",
"id": "32649",
"postId": "29379",
"score": "0",
"text": "That's nice ...can i hold the output error ??!! , because in this case i have 2 error : command error \"text\" ex, file not found and my error \"text\" Which is in this case failed for example",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-07T13:14:46.443",
"id": "32653",
"postId": "29379",
"score": "0",
"text": "@moata_u: you can store the value in a variable as shown in my answer.",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-07T14:36:02.210",
"id": "32663",
"postId": "29379",
"score": "0",
"text": "@moata_u: You need to put a `;` before the `else` and `fi`: `if ...; then ...; else ...; fi",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-07T16:16:50.643",
"id": "32687",
"postId": "29379",
"score": "0",
"text": "please follow http://askubuntu.com/questions/29412/error-checking",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-08T23:58:03.957",
"id": "32952",
"postId": "29379",
"score": "0",
"text": "`man test` only shows information about the *external* test command, not the shell's builtin test command; see the shell's manual for that. In bash you can also get info on builtins and keywords with the `help` builtin; `help test`.",
"userDisplayName": null,
"userId": "9016"
},
{
"creationDate": "2014-12-01T22:04:58.503",
"id": "762675",
"postId": "29379",
"score": "4",
"text": "This is a [useless use of `test`](http://www.smallo.ruhr.de/award.html#test).",
"userDisplayName": null,
"userId": "175814"
},
{
"creationDate": "2016-03-25T17:50:59.253",
"id": "1118344",
"postId": "29379",
"score": "0",
"text": "why doesn't `if [ $? ]; ...` work?",
"userDisplayName": null,
"userId": "378854"
},
{
"creationDate": "2016-03-25T18:31:50.770",
"id": "1118369",
"postId": "29379",
"score": "2",
"text": "@Blauhirn `[ $? ]` (or equivalently, `test $?`) does not work because `$?` evaluates to a number (0, 1, etc.) which is not null. See the [docs for `test`](https://www.gnu.org/software/coreutils/manual/html_node/test-invocation.html): \"If EXPRESSION is omitted, ‘test’ returns false. If EXPRESSION is a single argument, ‘test’ returns false if the argument is null and true otherwise.\"",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2018-02-27T00:24:54.363",
"id": "1636333",
"postId": "29379",
"score": "0",
"text": "How do you do this all inside of the test statement?",
"userDisplayName": null,
"userId": "707299"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T12:06:13.193",
"id": "29379",
"lastActivityDate": "2011-03-07T13:14:24.277",
"lastEditDate": "2011-03-07T13:14:24.277",
"lastEditorDisplayName": null,
"lastEditorUserId": "6969",
"ownerDisplayName": null,
"ownerUserId": "6969",
"parentId": "29370",
"postTypeId": "2",
"score": "559"
} | [
{
"accepted": null,
"body": "<p><code>$?</code> should contain the exit status of the previous command, which should be zero for no error.</p>\n<p>So, something like;</p>\n<pre><code>cd /nonexistant\nif [ $? -ne 0 ]\nthen\n echo failed\nelse\n echo success!\nfi\n</code></pre>\n<p>for most cases, it's ... | null | null | null | null | null |
29380 | 1 | 29401 | 2011-03-07T12:09:22.867 | 4 | 11748 | <p>I have a remote computer on which I want to install a new hard drive for rsync backup. The problem is, I don't know what controller technology is used (PATA, SATA, SATA2, ...) and how many available slots are left. I'd like to obtain this information remotely, rather than physically opening up the chassis and looking at wires.</p>
<p>How do I query the SATA or PATA controllers? I'm interested in the following points:</p>
<ul>
<li>Which controllers exist in the machine</li>
<li>How many (and which) disks are attached to each controller</li>
<li>How many available slots are there</li>
</ul>
| 622 | 323824 | 2016-02-14T18:49:31.233 | 2016-02-14T18:49:31.233 | Information about SATA, IDE (PATA) controllers | [
"hardware",
"hard-drive"
] | 3 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-07T12:23:58.193",
"id": "32646",
"postId": "29380",
"score": "2",
"text": "you should find what you need here http://askubuntu.com/questions/27997/which-hard-disk-drive-is-which/28004#28004",
"userDisplayName": null,
"userId": "6450"
},
{
"creationDate"... | {
"accepted": true,
"body": "<p>I can only link you to one of my answers on <a href=\"https://askubuntu.com/questions/27997/which-hard-disk-drive-is-which/28011#28011\">Which hard disk is which</a>.</p>\n\n<p>Basically what you are looking for is <code>hwinfo --disk</code> and <code>hwinfo --storage-ctrl</code>. </p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T15:19:56.417",
"id": "29401",
"lastActivityDate": "2011-03-07T15:19:56.417",
"lastEditDate": "2017-04-13T12:24:29.360",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "2732",
"parentId": "29380",
"postTypeId": "2",
"score": "5"
} | [
{
"accepted": null,
"body": "<p>I think what you are looking for is lshw.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T14:49:23.650",
"id": "29399",
"lastActivityDate": "2011-03-07T14:49:23.... | null | null | null | null | null |
29381 | 1 | null | 2011-03-07T12:20:32.407 | 2 | 2101 | <p>I want to run a command on remote database (oracle) from local server using sqlplus, eg: </p>
<pre><code>sqlplus user/pass@db "command"
</code></pre>
<p>What's the syntax for it?</p>
<p>I want to use the command exit (from database) just to test something in a unix script.</p>
| null | 147044 | 2014-04-17T05:56:12.433 | 2014-04-17T05:56:12.433 | Running command on remote database (oracle) from local server using sqlplus | [
"oracle"
] | 1 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>try this in the below example i am calling test_procedure.</p>\n\n<pre><code>sqlplus \"username/password@tns_name\" <<\\!\n\nexec test_procedure();\n\n!\n</code></pre>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-07T14:43:32.50... | null | null | null | null | user11638 |
29385 | 1 | null | 2011-03-07T12:55:00.557 | 19 | 10285 | <p>Is there an application (non-commercial) to make phone calls from PC to phone on Ubuntu? </p>
| 9701 | 9701 | 2011-05-17T06:47:04.663 | 2020-11-20T12:33:13.780 | Is there a PC-to-phone application? | [
"software-recommendation",
"phone"
] | 9 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p><a href=\"http://www.skype.com\" rel=\"nofollow\">Skype</a> works in Ubuntu, but it's not FOSS.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T12:58:08.037",
"id": ... | null | null | null | null | null |
29387 | 1 | 29430 | 2011-03-07T13:13:43.373 | 2 | 410 | <p>I have a TV tuner card (Leadtek Winfast TV2000 Global). It isn't fully supported by Ubuntu (and Linux kernel). It isn't a problem, because my dad only use it in Windows. But I've got an error message every Ubuntu boot. Can I disable this device for Ubuntu?</p>
| 73296 | null | null | 2011-06-24T15:17:01.410 | Disable TV tuner at boot | [
"boot",
"tv-tuner"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2012-02-27T23:31:21.763",
"id": "127010",
"postId": "29387",
"score": "0",
"text": "This question appears to be abandoned, if you are experiencing a similar issue please [ask a new question](http://askubuntu.com/questions/ask) with details pertaining to your problem. If you fe... | {
"accepted": true,
"body": "<p>Can you include the module in:</p>\n\n<pre><code>cat /etc/modprobe.d/blacklist.conf\n</code></pre>\n\n<p>? You need to know it's name, maybe by studying the logs. </p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-10T07:05:55.850",
"id": "33204",
"postId": "29430",
"score": "0",
"text": "Simplest: `dmesg | less` another test: `lsmod | grep tv`",
"userDisplayName": null,
"userId": "10068"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T19:45:33.397",
"id": "29430",
"lastActivityDate": "2011-03-07T19:45:33.397",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "10068",
"parentId": "29387",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>Can you include the module in:</p>\n\n<pre><code>cat /etc/modprobe.d/blacklist.conf\n</code></pre>\n\n<p>? You need to know it's name, maybe by studying the logs. </p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-10T07:05:55.850",
... | null | null | 2012-02-27T23:31:24.477 | null | null |
29389 | 1 | 29949 | 2011-03-07T13:27:40.693 | 4 | 1001 | <p>I'm using the <a href="http://awesome.naquadah.org/" rel="nofollow">awesome</a> window manager, and it's, well, awesome.</p>
<p>However, I have a slight issue - I'm using an IBM Model M keyboard, which lacks the <kbd>Meta</kbd> key.</p>
<p>This is kind of a problem, as awesome relies on it for basically every action you can make.</p>
<p>I do tend to use my <kbd>Ctrl</kbd> and <kbd>Alt</kbd> keys quite often, so I'm not really able to remap those - however what I would like to be able to do is remap <kbd>Ctrl</kbd>+<kbd>Alt</kbd> to fire a meta event. Is this possible? I've toyed around with xkeycaps and done some searches on "rebind ctrl+alt" but most of the results give me either swapping the two keys or something else. (Also, I use caps-lock as an additional control, or I would just map that one.)</p>
<p>Any help would be greatly appreciated!</p>
<p>Thanks!</p>
| 658 | 114 | 2011-08-16T03:41:25.963 | 2011-08-16T03:41:25.963 | Is it possible to rebind Ctrl+Alt to the Meta key? | [
"keyboard",
"shortcut-keys",
"awesome"
] | 1 | 3 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-07T13:50:58.320",
"id": "32658",
"postId": "29389",
"score": "1",
"text": "I tried to map ctrl + alt key combination to Mod4 that is windows or super or meta key. but it did not worked. I think you can not assign only ctrl alt combination. you need something with that ... | {
"accepted": true,
"body": "<p>It doesn't appear to be possible, you'll have to find some other key that you use less often.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-11T16:56:16.883",
"id": "29949",
"lastActivityDate": "2011-03-11T16:56:16.883",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "658",
"parentId": "29389",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>It doesn't appear to be possible, you'll have to find some other key that you use less often.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-11T16:56:16.883",
"id": "2... | null | null | null | null | null |
29394 | 1 | 29807 | 2011-03-07T14:09:30.977 | 1 | 2896 | <p>About a week ago a regular Synaptic update ran in the background. Ever since, when I try to watch a Youtube video (just hitting "play" on the video) the monitor goes black for a moment, then there are just random bars of colour flashing. The only way to fix it is to turn the computer off using the power button and then restarting the computer. I'm using Ubuntu 10.04. It looks like a lot of people have had troubles since that update (red videos, videos that just don't work) but I haven't found anybody with this kind of spectacular crash. I've tried both Firefox and Chromium, same results. Any ideas?</p>
| 4236 | null | null | 2011-03-10T15:37:08.903 | Youtube ENTIRELY crashes the computer | [
"youtube"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Okay! I disabled the Youtube cookie and it DOES work now. It means I can't log in to Youtube, but since I don't even have an account, I don't care. Details here: <a href=\"http://www.webupd8.org/2011/03/fix-pinkred-youtube-videos-bug-using.html\" rel=\"nofollow\">http://www.webupd8.org/2011/03/fix-pinkred-youtube-videos-bug-using.html</a></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-10T15:37:08.903",
"id": "29807",
"lastActivityDate": "2011-03-10T15:37:08.903",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "4236",
"parentId": "29394",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>It might be a flash plugin. For Google chrome there is a build in flash plugin. Try to install another one and activate it. In your web browser type </p>\n\n<blockquote>\n <p>about:plugins</p>\n</blockquote>\n\n<p>and choose <em>details</em>. There should be an option to act... | null | null | null | null | null |
29395 | 1 | 29398 | 2011-03-07T14:13:15.590 | 2 | 90 | <p>When my laptop goes into or comes out of hibernation I'm presented with only a blank screen. Is there any way of providing a progress indicator for hibernation, similar to that of the boot screen for example? </p>
| 2978 | 8844 | 2011-03-07T20:39:31.833 | 2011-03-07T20:39:31.833 | No visual clues as to hibernation status | [
"10.10",
"hibernate"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>If you install the uswsusp package, you will at least get a text progress indicator, and it will speed up the process. I also might get around to fixing it to use a nice gui screen instead of text for Natty+1.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T14:47:09.503",
"id": "29398",
"lastActivityDate": "2011-03-07T14:47:09.503",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "8500",
"parentId": "29395",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>If you install the uswsusp package, you will at least get a text progress indicator, and it will speed up the process. I also might get around to fixing it to use a nice gui screen instead of text for Natty+1.</p>\n",
"commentCount": "0",
"comments": [],
"communi... | null | null | null | null | null |
29405 | 1 | null | 2011-03-07T15:33:35.163 | 2 | 211 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/20728/how-can-i-auto-align-desktop-icons-on-right-side">How can I auto align desktop icons on right side?</a> </p>
</blockquote>
<p>Hi, </p>
<p>How do I "clean up by name" so that my icons are sorted from the right instead from the left as it is now.
I have ubuntu 10.04 LTS.
If you right click in your desktop in ubuntu you get a list where you can "clean up by name".</p>
<p><img src="https://i.stack.imgur.com/yAFa5.png" alt="enter image description here"></p>
| 10698 | -1 | 2017-04-13T12:23:36.527 | 2012-11-21T22:51:13.980 | "clean up by name" to the right, like on a mac | [
"icons"
] | 0 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-18T01:38:46.120",
"id": "34589",
"postId": "29405",
"score": "0",
"text": "See also: http://askubuntu.com/questions/20728/how-can-i-auto-align-desktop-icons-on-right-side",
"userDisplayName": null,
"userId": "8515"
}
] | null | [] | null | null | 2011-03-18T12:53:54.933 | null | null |
29407 | 1 | 30324 | 2011-03-07T15:52:12.160 | 5 | 2315 | <p>I'm on Ubuntu 10.04.2 LTS Desktop. (And by scanning /boot, it appears I <em>might</em> be on kernel 2.6.32-29-generic? Not certain.)</p>
<p>Anyway, after my last system update, now my screen lock asks me to login twice, whereas before it did not require this.</p>
<p>I assume this is a bug? And is there a way to undo this for now until the bug is fixed?</p>
| 1698 | 25863 | 2012-11-21T22:20:07.373 | 2018-07-18T16:12:21.153 | Having to log In twice after screen lockout | [
"10.04",
"login",
"lock-screen"
] | 2 | 6 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T16:22:52.073",
"id": "32690",
"postId": "29407",
"score": "0",
"text": "Do you mean what happens when you click lock screen from the system menu? Or are you switching users?",
"userDisplayName": null,
"userId": "1992"
},
{
"creationDate": "2011-03-07... | {
"accepted": true,
"body": "<p>After enough updates with \"sudo apt-get update; sudo apt-get upgrade\" and reboots, Ubuntu finally must have fixed this bug because I no longer have to login twice after a screen lockout timer engages from the screensaver. Also, it used to be that Chrome would lockup on the keystrokes after unlocking a screen, but that problem went away as well. Also, I appear to still be on the same kernel as when the problem occurred: kernel 2.6.32-29-generic.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-14T14:23:58.340",
"id": "30324",
"lastActivityDate": "2011-03-14T14:23:58.340",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1698",
"parentId": "29407",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>After enough updates with \"sudo apt-get update; sudo apt-get upgrade\" and reboots, Ubuntu finally must have fixed this bug because I no longer have to login twice after a screen lockout timer engages from the screensaver. Also, it used to be that Chrome would lockup on the ... | null | null | null | null | null |
29409 | 1 | 29420 | 2011-03-07T16:00:35.417 | 2 | 2589 | <p>I'm wondering if anyone out that has been able to install ConnectWise PSA on Ubuntu?</p>
<p>I've got wine up and running, and I know Connectwise needs Microsoft .Net 3.5. Can I just install .Net through wine, or would I have to go the route of installing Mono, then trying to install Connectwise?</p>
| 11975 | null | null | 2017-03-15T06:58:57.677 | Installing Connectwise | [
"wine",
"mono"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>The .NET framework 3.5 or 4 doesn't run under wine (<a href=\"http://appdb.winehq.org/objectManager.php?sClass=application&iId=2586\" rel=\"nofollow\">source</a>). Right now (March 2011) there are some big profile bugs that are not likely to be solved soon. You can try to run this program with Mono, but very likely the only realistic way to run it on linux is through virtualization.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T17:13:16.077",
"id": "29420",
"lastActivityDate": "2011-03-08T12:21:27.440",
"lastEditDate": "2011-03-08T12:21:27.440",
"lastEditorDisplayName": null,
"lastEditorUserId": "211",
"ownerDisplayName": null,
"ownerUserId": "211",
"parentId": "29409",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>You could install .NET 3.5 on wine (I think it is possible with #<a href=\"http://packages.ubuntu.com/winetricks\" rel=\"nofollow noreferrer\">winetricks</a> <a href=\"http://apt.ubuntu.com/p/winetricks\" rel=\"nofollow noreferrer\"><img src=\"https://hostmar.co/software-larg... | null | null | null | null | null |
29410 | 1 | 29419 | 2011-03-07T16:07:31.087 | 6 | 2472 | <p>I'm coming to like Brasero more than I did before (hardly used it in the past to be honest), and now I'm wondering, are the plugins that come with the default install the only available plugins? I don't remember seeing any in apt, so I guess they would have to be plugins you download, compile and install (fun fun fun :P!).</p>
| 1992 | 1992 | 2011-09-18T02:19:52.713 | 2011-09-18T02:19:52.713 | Are there more Brasero plugins available? | [
"plugins",
"brasero"
] | 1 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>Well pending any answers to the contrary, I'm going to say it: <strong>No</strong> There aren't any out-of-tree plugins available for Brasero at the moment.</p>\n\n<p>I've just had a 10 minute hunt around lead me to the solid conclusion: Brasero needs better documentation!</p>\n\n<ul>\n<li><p><a href=\"http://projects.gnome.org/brasero/\" rel=\"nofollow\">Its gnome site</a> is rotting (says the latest version is 2.30) and doesn't contain any useful development guide for making a plugin, let alone where to find others.</p></li>\n<li><p>The latest help page is for V2.2.</p></li>\n<li><p>Gnome-Files doesn't have anything for it except the core project.</p></li>\n<li><p><a href=\"http://mail.gnome.org/mailman/listinfo/brasero-list\" rel=\"nofollow\">The mailing list</a> appears to be dying. It's down to ~1 thread per month. You might do well to ask on there as you might catch the eye of a core developer.</p></li>\n</ul>\n\n<p>If you want newer plugins (I don't think any of them are new, they're just newer versions), grab the latest tar from <a href=\"http://ftp.acc.umu.se/pub/GNOME/sources/brasero/2.91/?C=M;O=A\" rel=\"nofollow\">their FTP</a> and compile it up. I can't guarantee any form of stability. I'd say if it ain't broke, don't try to fix it.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T17:13:11.823",
"id": "29419",
"lastActivityDate": "2011-03-07T17:13:11.823",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29410",
"postTypeId": "2",
"score": "6"
} | [
{
"accepted": true,
"body": "<p>Well pending any answers to the contrary, I'm going to say it: <strong>No</strong> There aren't any out-of-tree plugins available for Brasero at the moment.</p>\n\n<p>I've just had a 10 minute hunt around lead me to the solid conclusion: Brasero needs better documentation!</p... | null | null | null | null | null |
29412 | 1 | 29416 | 2011-03-07T16:15:17.447 | 2 | 4937 | <p>I'm trying to catch any error when run a command in order to write a log-file / report</p>
<p>I've tried this code:</p>
<pre><code> function valid (){
if [ $? -eq 0 ]; then
echo "$var1" ": status : OK"
else echo "$var1" ": status : ERROR"
fi
}
function save(){
sed -i "/:@/c connection.url=jdbc:oracle:thin:@$ip:1521:$dataBase" $search
var1="adding database ip"
valid $var1
sed -i "/connection.username/c connection.username=$name" #$search
var1="addning database SID"
valid $var1
}
save
</code></pre>
<p>The output looks like this:</p>
<pre><code>adding database ip : status : OK
sed: no input file
</code></pre>
<p>But I want it to look like this: </p>
<pre><code>adding database ip : status : OK
sed: no input file : status : ERROR"
</code></pre>
<p>or this:</p>
<pre><code>adding database ip : status : OK
addning database SID : status : ERROR"
</code></pre>
<p>I've been trying, but it's not working with me. :(</p>
| 11749 | 11749 | 2011-03-07T16:43:58.807 | 2011-03-07T20:38:55.173 | How to get nicer error-messages in this bash-script? | [
"command-line",
"bash"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T16:37:48.553",
"id": "32695",
"postId": "29412",
"score": "0",
"text": "Can you post syntaxically correct code? Your `valid()` function is missing `}`. What do you want to achieve? Replacing lines matching `:@` with `connec...database`? Or replace occurences of `:@`... | {
"accepted": true,
"body": "<p>For the former:</p>\n\n<pre><code># run sed, capture any output\nvar1=\"$(sed -i \"/connection.username/c connection.username=$name\" $search)\"\n</code></pre>\n\n<p>For the latter:</p>\n\n<pre><code># run sed, discard all output but keep exit status\nsed -i \"/connection.username/c connection.username=$name\" $search >/dev/null 2>&1\n</code></pre>\n\n<p>That said, <code>valid()</code> is... strange, to say the least. I would write it as</p>\n\n<pre><code># valid label [status]\n# check status ($? if not provided) and log success/failure\nfunction valid {\n if [[ ${2-$?} == 0 ]]; then\n echo \"$1 : status : OK\"\n else\n echo \"$1 : status : ERROR\"\n fi\n}\n</code></pre>\n\n<p>Actually, I would do it a bit differently from the start:</p>\n\n<pre><code># log label command [arguments...]\n# run command, output success/failure to stderr. If label is empty, use the\n# command name: 'log \"\" echo hi' uses 'echo' as the label.\n# log entries look like\n# label1 : status : OK\n# label2 : status : ERROR\n# Error output from foo:\n# Baz is broken; fix and try again.\nlog() {\n # save off label\n local label=\"${1:-$2}\"\n shift # this removes $1 and shifts $2... to $1... so \"$@\" works later\n # run command, capture output\n # $(command) runs 'command' and substitutes its output\n # \"$@\" preserves quoting; $* would turn argument \"foo bar\" into two\n # arguments foo bar\n err=\"$(\"$@\")\"\n if [[ $? == 0 ]]; then\n status=OK\n else\n status=ERROR\n fi\n echo \"$label : status : $status\" >&2 # standard error\n if [[ $status == ERROR ]]; then\n # log output from command, indented for clarity\n echo \"Error output from $2:\"\n echo \"$err\" | sed 's/^/ /' >&2\n fi\n}\n\nsave() {\n # this sed command is pedantically correct; if GNU sed lets you\n # do single-line 'c' commands as in the original, then go for it.\n # The backslash-return after the label argument is just for clarity;\n # 'log \"foo\" bar' works just as well.\n log \"adding database ip\" \\\n sed -i \"/:@/c\\\\\nconnection.url=jdbc:oracle:thin:@$ip:1521:$dataBase\\\\\n.\" \"$search\"\n # using the original (GNU?) sed syntax\n log \"adding database SID\" \\\n sed -i \"/connection.username/c connection.username=$name\" \"$search\"\n}\n\nsave\n</code></pre>\n\n<p>I would also include a timestamp and program ID, etc. in a real program.</p>\n\n<p>You should probably explore the <a href=\"http://tldp.org/LDP/abs/html\" rel=\"nofollow\">Advanced Bash Scripting Guide</a> to learn more about writing shell scripts. <a href=\"http://rads.stackoverflow.com/amzn/click/013937681X\" rel=\"nofollow\">The UNIX Programming Environment</a>'s shell programming chapters don't cover <code>bash</code> extensions to the original Bourne shell, but are still useful for learning the \"zen\" of shell scripting.</p>\n",
"commentCount": "16",
"comments": [
{
"creationDate": "2011-03-07T16:49:20.033",
"id": "32697",
"postId": "29416",
"score": "0",
"text": "that's perfect ,, thanks let me check that :),,thanks",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-07T17:00:58.730",
"id": "32699",
"postId": "29416",
"score": "0",
"text": "geekosaur , can you edit your post and add some comment ! specially in log() function .",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-07T17:21:42.863",
"id": "32702",
"postId": "29416",
"score": "0",
"text": "No problem; comments and example log output now added.",
"userDisplayName": null,
"userId": "11775"
},
{
"creationDate": "2011-03-07T20:08:54.490",
"id": "32732",
"postId": "29416",
"score": "0",
"text": "The quoting `a=\"$(echo foo bar baz)\"` is useless - a needs still quoting. `f () { echo $1; }` might be a function. `f $a` will just display 'foo', while `f \"$a\"` will display 'foo bar baz'. Which is, what you get for `a=$(echo foo bar baz)`.",
"userDisplayName": null,
"userId": "10068"
},
{
"creationDate": "2011-03-07T20:52:28.657",
"id": "32735",
"postId": "29416",
"score": "0",
"text": "well , still facing same problem of out put (log) still hiding error message that i wrote, it just write sed error , [sed: no input file] i want it be like this [addning database SID : status : ERROR\"] OR [addning database SID : status : ERROR\"] ,,,,,,geekosaur i will try your genius script tomorrow ...",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-07T20:54:10.917",
"id": "32736",
"postId": "29416",
"score": "0",
"text": "I recommend against using the Advanced Bash Scripting Guide for learning Bash. It doesn't teach good practice, and in some parts, it's just plain wrong. Read http://mywiki.wooledge.org/BashGuide instead.",
"userDisplayName": null,
"userId": "9016"
},
{
"creationDate": "2011-03-08T05:52:31.600",
"id": "32793",
"postId": "29416",
"score": "0",
"text": "Thanks geirha ,,,mywiki.wooledge.org/BashGuide is very nice ..easy . simple , practice",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-08T13:08:50.287",
"id": "32851",
"postId": "29416",
"score": "0",
"text": "geekosaur you code work perfectly..good job",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-08T13:51:24.743",
"id": "32864",
"postId": "29416",
"score": "0",
"text": "what is different between `local label=$1` and `local label=\"${1:-$2}\"` , both of them do same job !",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-08T18:03:36.163",
"id": "32915",
"postId": "29416",
"score": "0",
"text": "The second one says \"if $1 is empty, substitute $2 instead\"; so if you say `log \"\" sed ...`, the label will be `sed`. It's just defining a convenient shorthand for `log sed sed ...` or whatever.",
"userDisplayName": null,
"userId": "11775"
},
{
"creationDate": "2011-03-09T09:23:24.340",
"id": "32994",
"postId": "29416",
"score": "0",
"text": "@geekosaur,why you are using `\"$(\"$@\")\"` , i mean after command shift you already called `sed...` but when i delete `\"$(\"$@\")\"` i always get OK even its error or ERROR even its OK...Please could you explain this point...",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-09T09:31:31.027",
"id": "32996",
"postId": "29416",
"score": "1",
"text": "`\"$(command)\"` runs `command` and substitutes its output, preserving spaces, tabs, and newlines instead of the default of collapsing all of them to a single space. `\"$@\"` substitutes the command line arguments (minus the label, which we `shift`ed away) with all quoting preserved. So `\"$(\"$@\")\"` means \"run the command specified in the script's arguments and substitute its output\" — which we then assign to `err` for later use. (Where did you think I had called `sed`? I use it later to indent the output from the command, but that is unrelated.)",
"userDisplayName": null,
"userId": "11775"
},
{
"creationDate": "2011-03-09T09:42:23.420",
"id": "33000",
"postId": "29416",
"score": "0",
"text": "@geekosaur , now every thing is clear 100% ,,but you know if i used command `ls` instead of `sed...` then `\"$(\"$@\")\"` would not work i already tried use `\"$(\"$*\")\"` then it works ,, so there is an situation that i can use `\"$(\"$*\")\"` instead of `\"$(\"$@\")\"` ,, Thanks 4 ur time",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-09T09:46:29.937",
"id": "33002",
"postId": "29416",
"score": "0",
"text": "How exactly did it not work?",
"userDisplayName": null,
"userId": "11775"
},
{
"creationDate": "2011-03-09T09:55:13.813",
"id": "33003",
"postId": "29416",
"score": "0",
"text": "its says `./cc: line 7: 0: command not found` , if you type `\"$(\"$1 $2 $3 $4\")\"` instead ,out put comes but only 4 argument of output which mean that its run but out put not come out by using this command `\"$(\"$@\")\"` or should i use it in different way !!",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-09T10:17:57.523",
"id": "33013",
"postId": "29416",
"score": "0",
"text": "@geekosaur . my mistake every thing is ok now ....thanks",
"userDisplayName": null,
"userId": "11749"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T16:41:21.740",
"id": "29416",
"lastActivityDate": "2011-03-07T20:38:55.173",
"lastEditDate": "2011-03-07T20:38:55.173",
"lastEditorDisplayName": null,
"lastEditorUserId": "11775",
"ownerDisplayName": null,
"ownerUserId": "11775",
"parentId": "29412",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>For the former:</p>\n\n<pre><code># run sed, capture any output\nvar1=\"$(sed -i \"/connection.username/c connection.username=$name\" $search)\"\n</code></pre>\n\n<p>For the latter:</p>\n\n<pre><code># run sed, discard all output but keep exit status\nsed -i \"/connection.use... | null | null | null | null | null |
29421 | 1 | 29423 | 2011-03-07T17:52:58.023 | 1 | 1119 | <p>I am making a website that I run with apache from <code>var/www</code>, I have stopped the apache server and closed <code>gvim</code>, but when I right click on <code>compress</code>, select <code>.7z</code> compression with password. I get an error: </p>
<pre><code> An error occurred while adding files to archive.
</code></pre>
<p>I can copy the files, so why can't I compress them like this? I can also compress the files when I move the files to my home folder... </p>
| 11647 | null | null | 2011-03-07T18:05:36.640 | Error compressing files in /var/www with to .7z with password protection | [
"backup",
"archive",
"compression"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>If you are trying to use the \"Compress\" option in nautilus, first run <code>sudo nautilus</code> in a terminal in order to use that script with root permissions, then navigate to the <code>/var/www</code> folder and try again.</p>\n\n<p>If you are dropping a terminal command in order to achieve the compress task, make sure you use <code>sudo</code> before the command.</p>\n\n<p>To pack (make a file):</p>\n\n<pre><code>sudo tar cvf filename.tar /var/www/* \n</code></pre>\n\n<p>To pack and compress:</p>\n\n<pre><code>tar czvf filename.tar.gz /var/www/*\n</code></pre>\n\n<p>These examples will pack (and compress) the /var/www folder contents in a file named \"filename.tar\" (or \"filename.tar.gz\"). You should read your compression program help in order to gather information about how to do this from the terminal.</p>\n\n<p>Good luck!</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-07T18:21:54.827",
"id": "32714",
"postId": "29423",
"score": "1",
"text": "It would be better to use `gksudo nautilus`. Or in Terminal `7z a -p /tmp/test.7z /var/www`.",
"userDisplayName": null,
"userId": "9340"
},
{
"creationDate": "2011-03-07T18:58:17.340",
"id": "32723",
"postId": "29423",
"score": "1",
"text": "I yet wonder why people is always having better ideas than mine and they simply don't dare to post their own answer... Is it funny to put reviews? I will probably join... Thank you anyway, I am sure that ganjan will also thank you.",
"userDisplayName": null,
"userId": "9598"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T18:05:36.640",
"id": "29423",
"lastActivityDate": "2011-03-07T18:05:36.640",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "9598",
"parentId": "29421",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>If you are trying to use the \"Compress\" option in nautilus, first run <code>sudo nautilus</code> in a terminal in order to use that script with root permissions, then navigate to the <code>/var/www</code> folder and try again.</p>\n\n<p>If you are dropping a terminal comman... | null | null | null | null | null |
29422 | 1 | null | 2011-03-07T17:57:32.220 | 2 | 2671 | <p>This is what I get when I start up the terminal:</p>
<pre><code>bash: /dev/cgroup/cpu/user/2823/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/2823/notify_on_release: No such file or directory
bash: /dev/cgroup/cpu/user/2823/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/2823/notify_on_release: No such file or directory
sasa@sasa:~$***
</code></pre>
<p>I reinstalled 10.10 yesterday because of other problems, I didn't have this error message before. I have a separate /home partition, and new installation picked up almost all of the old settings, also those which I don't like, but it looks like that is not a problem or maybe I am wrong? Wouldn't ask if I knew! :) I'll be glad to post more info if someone needs it!</p>
| 11980 | 54298 | 2012-07-09T13:09:25.157 | 2012-07-09T13:09:25.157 | Terminal error messages: bash: /dev/cgroup/cpu/user/2823/tasks: No such file or directory | [
"bash",
"gnome-terminal"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T18:14:36.250",
"id": "32712",
"postId": "29422",
"score": "4",
"text": "You haven't by any chance played around with that [cgroups thingy](http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html), have you?",
"userDisplayName": null,
"userI... | null | [
{
"accepted": null,
"body": "<p>Remove <a href=\"https://askubuntu.com/questions/13928/getting-the-alternative-to-the-200-line-linux-kernel-patch-to-work\">this</a> stanza from your <code>~.bashrc</code>:</p>\n\n<pre><code>if [ \"$PS1\" ] ; then \n mkdir -m 0700 /dev/cgroup/cpu/user/$$\n echo $$ > ... | null | null | null | null | null |
29425 | 1 | 29426 | 2011-03-07T18:23:08.440 | 3 | 1279 | <p>I'm at spring break so I'm back at my parent's house. I've turned my computer on which has been off since January and its unusably slow. This was not the case when I last used the computer in January.</p>
<p>It is running 10.04, </p>
<p>Memory: 875.5 MB
CPU: AMD Athlon 64 X2 Dual Core Processor 4400+</p>
<p>Available Disk Space: 330.8 GB</p>
<p>I'm not seeing a large usage of either memory or Disk I/O.</p>
<p>If I look at my list of processes there is only a very small amount of CPU usage. However, if I hover over the CPU usage graph that I've on the top bar, I sometimes get really high readings like 100%. </p>
<p>It took a long time to boot, to open firefox, to open a link in firefox. As far as I can tell everything that the computer tries to do is just massively slow.</p>
<p>Right now, I'm apt-get dist-upgrading to install any updates that I will have missed since last time this computer was on.</p>
<p>Any ideas as to what is going on here?</p>
<p><strong>UPDATE:</strong></p>
<p>I thought to check dmesg and it has a lot of entries like this:</p>
<pre><code>[ 1870.142201] ata3.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
[ 1870.142206] ata3.00: irq_stat 0x40000008
[ 1870.142210] ata3.00: failed command: READ FPDMA QUEUED
[ 1870.142217] ata3.00: cmd 60/08:10:c0:4a:65/00:00:03:00:00/40 tag 2 ncq 4096 in
[ 1870.142218] res 41/40:00:c5:4a:65/00:00:03:00:00/40 Emask 0x409 (media error) <F>
[ 1870.142221] ata3.00: status: { DRDY ERR }
[ 1870.142223] ata3.00: error: { UNC }
[ 1870.143981] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 1870.146758] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 1870.146761] ata3.00: configured for UDMA/133
[ 1870.146777] ata3: EH complete
[ 1872.092269] ata3.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
[ 1872.092274] ata3.00: irq_stat 0x40000008
[ 1872.092278] ata3.00: failed command: READ FPDMA QUEUED
[ 1872.092285] ata3.00: cmd 60/08:00:c0:4a:65/00:00:03:00:00/40 tag 0 ncq 4096 in
[ 1872.092287] res 41/40:00:c5:4a:65/00:00:03:00:00/40 Emask 0x409 (media error) <F>
[ 1872.092289] ata3.00: status: { DRDY ERR }
[ 1872.092292] ata3.00: error: { UNC }
[ 1872.094050] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 1872.096795] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 1872.096798] ata3.00: configured for UDMA/133
[ 1872.096814] ata3: EH complete
[ 1874.042279] ata3.00: exception Emask 0x0 SAct 0x7 SErr 0x0 action 0x0
[ 1874.042285] ata3.00: irq_stat 0x40000008
[ 1874.042289] ata3.00: failed command: READ FPDMA QUEUED
[ 1874.042296] ata3.00: cmd 60/08:10:c0:4a:65/00:00:03:00:00/40 tag 2 ncq 4096 in
[ 1874.042297] res 41/40:00:c5:4a:65/00:00:03:00:00/40 Emask 0x409 (media error) <F>
[ 1874.042300] ata3.00: status: { DRDY ERR }
[ 1874.042302] ata3.00: error: { UNC }
[ 1874.044048] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 1874.046837] ata3.00: SB600 AHCI: limiting to 255 sectors per cmd
[ 1874.046840] ata3.00: configured for UDMA/133
[ 1874.046861] sd 2:0:0:0: [sda] Unhandled sense code
[ 1874.046863] sd 2:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 1874.046867] sd 2:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
[ 1874.046872] Descriptor sense data with sense descriptors (in hex):
[ 1874.046874] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 1874.046883] 03 65 4a c5
[ 1874.046886] sd 2:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
[ 1874.046892] sd 2:0:0:0: [sda] CDB: Read(10): 28 00 03 65 4a c0 00 00 08 00
[ 1874.046900] end_request: I/O error, dev sda, sector 56969925
[ 1874.046920] ata3: EH complete
</code></pre>
<p>I'm not certain, but that looks like my problem may be a failing hard drive. But the drive is less then a year old, it really shouldn't be failing now...</p>
| 2592 | 2592 | 2011-03-07T18:36:41.097 | 2011-03-07T21:45:30.510 | Slow Ubuntu 10.04 after long time unused | [
"10.04",
"performance"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2014-09-09T22:01:45.603",
"id": "710271",
"postId": "29425",
"score": "0",
"text": "possible duplicate of [how to interpret these errors from syslog](http://askubuntu.com/questions/9606/how-to-interpret-these-errors-from-syslog)",
"userDisplayName": null,
"userId": "22... | {
"accepted": true,
"body": "<p>Check your HDD, for examples of how to do it go to <a href=\"https://askubuntu.com/questions/28394/read-error-while-booting/\">e.g. this thread</a>. </p>\n\n<p>BTW statistics show that drives most often fail within the first year or after long years of use :) </p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-07T22:05:52.803",
"id": "32744",
"postId": "29426",
"score": "1",
"text": "Yeah, that clearly indicates that the drive is dying. :( Fortunately, I'm under warranty.",
"userDisplayName": null,
"userId": "2592"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T18:46:40.567",
"id": "29426",
"lastActivityDate": "2011-03-07T18:46:40.567",
"lastEditDate": "2017-04-13T12:24:13.310",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "9340",
"parentId": "29425",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>Check your HDD, for examples of how to do it go to <a href=\"https://askubuntu.com/questions/28394/read-error-while-booting/\">e.g. this thread</a>. </p>\n\n<p>BTW statistics show that drives most often fail within the first year or after long years of use :) </p>\n",
"co... | null | null | null | null | null |
29428 | 1 | null | 2011-03-07T18:56:29.230 | 1 | 362 | <p>Ubuntu was recommended to me as a viable option to Vista. I am unable to boot up my computer and have no recovery media. I keep seeing 'BootMGR is missing' on the screen.
If I were to download Ubuntu and then burn it to a disc or discs:</p>
<p>A. Would It have the BootMGR as a part of the program?</p>
<p>B. Could I then go into BIOS and boot up my computer from the disc drive with Ubuntu overwriting Vista thereby reviving my computer?</p>
<p>Thank you all.</p>
| 11983 | null | 2011-03-07T19:17:53.283 | 2011-03-08T01:22:09.640 | Ubuntu to replace Vista and thereby reboot my computer? | [
"windows-vista",
"mbr"
] | 2 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>BootMGR is easily fixed from a Windows recovery disc. <a href=\"http://neosmart.net/wiki/display/EBCD/Recovering+the+Vista+Bootloader+from+the+DVD\" rel=\"nofollow\">see this link for an example.</a></p>\n\n<p>If you install Ubuntu (and I do recommend it) it will autodetect V... | null | null | null | user6658 | null |
29433 | 1 | 29435 | 2011-03-07T19:56:55.980 | 1 | 2529 | <p>I need to access my mounted iso in terminal but where it is mounted? My partitions used to mount in <code>/media</code></p>
<p>What are the general paths for where different things are mounted?</p>
<p><strong>Edit</strong>: I mounted my ISO by just double clicking it (Ubuntu 10.10)</p>
| 8238 | 8238 | 2011-03-07T20:02:01.513 | 2012-11-17T12:40:23.403 | Path for mounted iso | [
"mount"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Look in <code>~/.gvfs/</code> as that's where gnome tends to mount things.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-07T20:06:52.817",
"id": "32731",
"postId": "29435",
"score": "0",
"text": "Great! Its there.",
"userDisplayName": null,
"userId": "8238"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T20:05:18.770",
"id": "29435",
"lastActivityDate": "2011-03-07T20:05:18.770",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29433",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>Look in <code>~/.gvfs/</code> as that's where gnome tends to mount things.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-07T20:06:52.817",
"id": "32731",
"postId": "29435",
"score": "0",
"text": "Gr... | null | null | null | null | null |
29434 | 1 | 29438 | 2011-03-07T19:59:57.933 | 5 | 1994 | <p>When selecting <em>Compress...</em> from the right click context menu in Nautilus I am able to quickly compress files to .gz format.</p>
<p>However by default Nautilus does not use maximum compression. Can I make Nautilus to use maximum compression like <code>gzip -9</code>?</p>
<p>Using gconftool or gconf-editor to set the compression_level for File Roller to <code>maximum</code> seems right but infortunately has not the desired effect and will not lead to maximum compressed files. As this is the expected way of how to set compression levels a <a href="https://bugzilla.gnome.org/show_bug.cgi?id=644162" rel="nofollow">bug report has been filed</a> upstream.</p>
<p>Any ideas for a workaround are welcome.</p>
| 3940 | 3940 | 2011-03-07T22:56:19.053 | 2011-03-08T20:57:12.550 | How can I maximally compress .gz files in Nautilus? | [
"nautilus",
"compression",
"gzip"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Simply run:</p>\n\n<pre><code>gconftool --type String --set /apps/file-roller/general/compression_level maximum\n</code></pre>\n\n<p>Other options for this setting: <code>very_fast</code> <code>fast</code> <code>normal</code></p>\n\n<p>Edit: This doesn't appear to be well implemented. I have compressed a text file (highly compressible) using a number of different formats using <code>normal</code> and <code>maximum</code> settings:</p>\n\n<pre><code>52167 client.h # uncompressed\n\n15980 client.h.normal.7z\n15979 client.h.max.7z\n\n15861 client.h.normal.bz2\n15861 client.h.max.bz2\n\n17034 client.h.normal.gz\n17034 client.h.max.gz\n\n15892 client.h.normal.lzma\n15892 client.h.max.lzma\n\n16641 client.h.normal.zip\n16486 client.h.max.zip\n</code></pre>\n\n<p><code>zip</code> was the only format that showed any real difference (still tiny on the scale of things).</p>\n",
"commentCount": "6",
"comments": [
{
"creationDate": "2011-03-07T21:02:12.107",
"id": "32740",
"postId": "29438",
"score": "0",
"text": "I am seriously impressed!",
"userDisplayName": null,
"userId": "2732"
},
{
"creationDate": "2011-03-07T21:30:03.890",
"id": "32741",
"postId": "29438",
"score": "2",
"text": "It doesn't work for me, even after log out/log in, file-roller creates `.gz` files of the same size whatever the compression level in gconf settings ;( In strace the command is always the same: `execve(\"/bin/gzip\", [\"gzip\", \"--\", \"a.txt\"]`...",
"userDisplayName": null,
"userId": "9340"
},
{
"creationDate": "2011-03-07T21:38:01.680",
"id": "32742",
"postId": "29438",
"score": "0",
"text": "This seems to be the proper way of doing but it does not work for me either.",
"userDisplayName": null,
"userId": "3940"
},
{
"creationDate": "2011-03-08T00:06:50.637",
"id": "32764",
"postId": "29438",
"score": "1",
"text": "@arrange and @Takkat I've done some testing and have added it to the post. Seems only `zip` has this implemented.",
"userDisplayName": null,
"userId": "449"
},
{
"creationDate": "2011-03-08T11:19:51.423",
"id": "32836",
"postId": "29438",
"score": "0",
"text": "Well, the difference between `normal` and `maximum` is small, IMO you should have tested the difference between `very_fast` and `maximum`. On my system file-roller honours the set preferences, the only case where it fails to do so is for `gzip` (and `bz2`) files, I don't know why.",
"userDisplayName": null,
"userId": "9340"
},
{
"creationDate": "2011-03-08T13:08:59.353",
"id": "32852",
"postId": "29438",
"score": "0",
"text": "@arrange it's not so much the small amount of compression that matters. For a DEB package you need .gz files with explicit maximum compression or it will fail to install from the Software Center in 11.04.",
"userDisplayName": null,
"userId": "3940"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T20:56:53.120",
"id": "29438",
"lastActivityDate": "2011-03-08T00:06:06.270",
"lastEditDate": "2011-03-08T00:06:06.270",
"lastEditorDisplayName": null,
"lastEditorUserId": "449",
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29434",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>Simply run:</p>\n\n<pre><code>gconftool --type String --set /apps/file-roller/general/compression_level maximum\n</code></pre>\n\n<p>Other options for this setting: <code>very_fast</code> <code>fast</code> <code>normal</code></p>\n\n<p>Edit: This doesn't appear to be well imp... | null | null | null | null | null |
29436 | 1 | 29458 | 2011-03-07T20:23:41.237 | 2 | 703 | <p>I use Ubuntu 9.04 (the most recent version that the VPS host provided) on a Xen VPS. The kernel version seem to be something Xen-specific: <code>2.6.18-194.32.1.el5xen</code>.</p>
<p>I would like to have the most recent version of Ubuntu Server, 10.10. Can I upgrade my VPS to 10.10 or do I need to stay with this version because it seem to be a Xen-specific kernel?</p>
| 4692 | null | null | 2011-03-08T00:38:36.870 | I have Ubuntu 9.04 on my Xen VPS - can I upgrade it to 10.10? | [
"10.10",
"server",
"upgrade",
"9.04",
"xen"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Whether or not you \"Can\" (Derek seems to have shown that its possible), its not supported officially.</p>\n\n<p>To be sure all of the corner/special cases are handled, what you will need to do is upgrade through the two releases between.. 9.10 and 10.04.. before you get to 10.10.</p>\n\n<p>This is pretty simple, just run</p>\n\n<pre><code>sudo do-release-upgrade\n</code></pre>\n\n<p>This will perform all necessary actions to get to 9.10. Then reboot, and go to 10.04, then 10.10.</p>\n\n<p>Definitely do so soon, 9.04 has not had security updates since October 2010, and 9.10 will stop receiving updates in April of 2011 (as of this writing, next month). Unless you really need something in 10.10, its a decent idea to stop at 10.04, since that way you won't be forced to upgrade for another 4 years from now (its supported for 5, and came out about a year ago).</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-09T11:05:06.950",
"id": "33023",
"postId": "29458",
"score": "0",
"text": "I tried `do-release-upgrade` and it rebooted. But I wasn't able to login via SSH anymore, so I had to use \"re-install OS\" from my VPS control panel. In other words, it didn't work.",
"userDisplayName": null,
"userId": "4692"
},
{
"creationDate": "2011-03-14T17:25:29.417",
"id": "33983",
"postId": "29458",
"score": "0",
"text": "sounds like your VPS provider has done something wonky.. do they let you get access to the console output? I'd be curious to hear what went wrong that ssh didn't start, as quite a bit of care is taken to make sure that happens on every upgrade for this very reason.",
"userDisplayName": null,
"userId": "813"
},
{
"creationDate": "2012-05-21T10:41:54.207",
"id": "167377",
"postId": "29458",
"score": "0",
"text": "Just ran the same test on an ubuntu AWS, fresh copy of 9.10 to 10.4. I believe SSH doesn't start. I have the system log if anyone is interested",
"userDisplayName": null,
"userId": "5827"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T00:38:36.870",
"id": "29458",
"lastActivityDate": "2011-03-08T00:38:36.870",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "813",
"parentId": "29436",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>I have a Xen HVM VPS, and I am able to install whatever operating system I want as long as I have the ISO for it. I downloaded the Ubuntu 10.10 minimal ISO for 32-bit and it worked fine. I didn't seem to need a Xen-specific iso.</p>\n",
"commentCount": "1",
"comments"... | null | null | null | null | null |
29437 | 1 | 29450 | 2011-03-07T20:56:39.720 | 1 | 191 | <p>Is there a way to make the launcher "dodge" open windows in Ubuntu 10.10 Netbook Edition?</p>
| 8357 | 235 | 2011-03-07T23:16:40.100 | 2011-03-07T23:55:47.117 | Is there a way to make the launcher get out of the way of open windows? | [
"10.10",
"unity",
"ubuntu-netbook",
"launcher"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Unfortunately there is no way to do this in Unity on 10.10. </p>\n\n<p>This feature is enabled (and turned on by default) in 11.04.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T23:17:38.490",
"id": "29450",
"lastActivityDate": "2011-03-07T23:17:38.490",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "235",
"parentId": "29437",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>Unfortunately there is no way to do this in Unity on 10.10. </p>\n\n<p>This feature is enabled (and turned on by default) in 11.04.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "... | null | null | null | null | null |
29443 | 1 | 29631 | 2011-03-07T22:13:41.973 | 3 | 649 | <p>So I have a pretty dumb problem...I accidentaly pressed Hibernate while trying to Restart...since then my computer wont boot into Ubuntu anymore (through normal mode or single user mode - rescue mode that is)...all I get is:</p>
<pre><code>mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys/ on root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or dirctory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= boot arg.
BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
</code></pre>
<p>Obviously I tried to fire up the Live CD and run fsck (or e2fsck) from there (or just try to do a Check of <code>/dev/sdb1</code> my partition via gparted - which is basically the same thing). But it doesn't allow me...both gparted and fsck say that the device is busy (I can't even mount it in the LiveCD to rescue data)...umount /dev/sdb1 says its not mounted...any ideas?</p>
| 11986 | 6450 | 2011-03-07T22:26:01.210 | 2012-07-29T10:20:42.790 | Computer won't wake from hibernate | [
"10.04",
"boot",
"hibernate"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>So to answer my own question, the Ubuntu Live CD's <code>e2fsck</code> won't work. So I booted up the <a href=\"http://gparted.sourceforge.net/livecd.php\" rel=\"nofollow\">GParted Live CD</a>, ran <code>e2fsck</code>, now everything is back to normal.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T08:58:35.117",
"id": "29631",
"lastActivityDate": "2011-03-09T09:34:33.587",
"lastEditDate": "2011-03-09T09:34:33.587",
"lastEditorDisplayName": null,
"lastEditorUserId": "1067",
"ownerDisplayName": null,
"ownerUserId": "11986",
"parentId": "29443",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>So to answer my own question, the Ubuntu Live CD's <code>e2fsck</code> won't work. So I booted up the <a href=\"http://gparted.sourceforge.net/livecd.php\" rel=\"nofollow\">GParted Live CD</a>, ran <code>e2fsck</code>, now everything is back to normal.</p>\n",
"commentCou... | null | null | null | null | null |
29444 | 1 | 29447 | 2011-03-07T22:25:00.043 | 5 | 21957 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/27997/which-hard-disk-drive-is-which">Which hard disk drive is which?</a> </p>
</blockquote>
<p>How can I get more information about devices?</p>
<p>For example how do I determine what <code>/dev/sda1</code> is?</p>
| 6307 | -1 | 2017-04-13T12:24:13.310 | 2011-03-07T23:00:49.637 | Get drive information | [
"command-line",
"devices"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T22:28:21.173",
"id": "32747",
"postId": "29444",
"score": "1",
"text": "one of the answers here should be what you are looking for http://askubuntu.com/questions/27997/which-hard-disk-drive-is-which/28004#28004",
"userDisplayName": null,
"userId": "6450"
}... | {
"accepted": true,
"body": "<p>To get information about the file system on the device use</p>\n\n<pre><code>udisks --show-info /dev/sda1\n</code></pre>\n\n<p>Use just <em>sda</em> instead of <em>sda1</em> to get information about the disk.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T23:00:49.637",
"id": "29447",
"lastActivityDate": "2011-03-07T23:00:49.637",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "2369",
"parentId": "29444",
"postTypeId": "2",
"score": "7"
} | [
{
"accepted": true,
"body": "<p>To get information about the file system on the device use</p>\n\n<pre><code>udisks --show-info /dev/sda1\n</code></pre>\n\n<p>Use just <em>sda</em> instead of <em>sda1</em> to get information about the disk.</p>\n",
"commentCount": "0",
"comments": [],
"community... | null | 0 | 2011-03-08T00:11:00.473 | null | null |
29445 | 1 | null | 2011-03-07T22:27:15.830 | -1 | 1771 | <p>Please be specific (apart from the obvious, eg. free and open source vs commercial support). I need this information in order to be certain as to what to expect and what not to expect from Gimp. </p>
| 8673 | 25863 | 2012-06-18T18:13:29.023 | 2012-06-18T18:13:29.023 | How does GImp compare to Photoshop? | [
"graphics",
"gimp"
] | 2 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-07T22:45:16.753",
"id": "32750",
"postId": "29445",
"score": "3",
"text": "Both the Gimp and Photoshop are very complex pieces of software. Could you be more specific about what part or functions you would like to be compared otherwise any answer would have to be gener... | null | [
{
"accepted": null,
"body": "<p>To the date I have asked to several friends about their usage in photoshop and what they couldn't find in Gimp, all they seems to be used to photoshop and feel comfortable with it but nobody could yet say anything that they would like Gimp to do and it can't.</p>\n\n<p>I thin... | null | null | 2011-03-08T07:00:15.163 | null | null |
29446 | 1 | null | 2011-03-07T22:34:22.437 | 1 | 1880 | <p>I'm using the <a href="http://packages.ubuntu.com/de/maverick/gecko-mediaplayer" rel="nofollow">gecko-mediaplayer</a> plugin (formerly "mplayerplug-in"). The totem plugin was not always working correctly with Opera, and I'm actually depending on the [Copy URL] feature of gecko-mediaplayer.</p>
<p>However that plugin does some inept buffering of videos. It seems to default to 20% caching regardless of what you set in the preferences window. This is quite annoying for big video files. But appearantly it's by design <a href="http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/b7f0f5a3cedc8979" rel="nofollow">http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/b7f0f5a3cedc8979</a><br>
The Gentoo forums listed some workaround <a href="http://forums.gentoo.org/viewtopic-t-816690.html" rel="nofollow">http://forums.gentoo.org/viewtopic-t-816690.html</a> - but <code>~/.config/gecko-mediaplayer/gecko-mediaplayer.conf</code> is not working in the Ubuntu version.</p>
<p>Does anyone know the actual way to configure the cache= size. Which is the real configuration filename under Ubuntu?</p>
<hr>
<p>I've now tried that gconf registry, but <code>apps > gecko-mediaplayer > preferenes > cache</code> has no effect either.</p>
| 3357 | 3357 | 2011-03-08T18:52:01.330 | 2011-03-15T19:51:26.533 | How to stop gecko-mediaplayer from buffering endlessly? | [
"configuration",
"mplayer"
] | 2 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>A quick glance at the source code suggests that the gconf setting is called \"cache_size\" not \"cache\", and that the default value is 2048.</p>\n\n<p>If all else fails you could always change it in the plugin source code and rebuild the package. It's on line 280 of src/plug... | null | null | null | null | null |
29452 | 1 | 31807 | 2011-03-07T23:42:55.887 | 8 | 627 | <p>What does this plugin do?</p>
<p><img src="https://i.stack.imgur.com/rD66u.png" alt="CompizConfig Settings Manager - Userspace file system"></p>
<p>It <a href="https://bugs.launchpad.net/ubuntu/+source/compizconfig-settings-manager/+bug/731058" rel="nofollow noreferrer">does not appear to be possible</a> to enable it using Compiz from the repositories, but I would still like to learn what the plugin does so I can decide whether it might be useful to me.</p>
| 1859 | 1859 | 2011-03-08T03:54:06.737 | 2011-03-24T03:57:56.713 | What does the 'Userspace file system' Compiz plugin do? | [
"compiz",
"plugins"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>It just maps compiz options to a filesystem using a FUSE mount. So you can have /foo/compiz/plugins/move/screen0/options/whatever and that lets you get/set the whatever option in the move plugin.</p>\n\n<p>It's entirely worthless and as far as I'm aware has never actually been used for anything. davidr apparently got bored and people keep making sure it compiles so it never gets removed.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-24T03:57:56.713",
"id": "31807",
"lastActivityDate": "2011-03-24T03:57:56.713",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "2178",
"parentId": "29452",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>It just maps compiz options to a filesystem using a FUSE mount. So you can have /foo/compiz/plugins/move/screen0/options/whatever and that lets you get/set the whatever option in the move plugin.</p>\n\n<p>It's entirely worthless and as far as I'm aware has never actually bee... | null | null | null | null | null |
29457 | 1 | 29459 | 2011-03-08T00:38:28.757 | 2 | 1930 | <p>My motherboard is gigabyte ga-g1975x-c with integrated audio "Creative Sound Blaster Live 24-bit".</p>
<p>I have installed Ubuntu 10.10, and there was no sound at all.</p>
<p>Alsa drivers was already installed.<br>
Finally after long searching, i have found how to make my sound work.</p>
<pre><code>/etc/modprobe.d/alsa-base.conf:
options snd-ca0106 subsystem=0x10121102 //i have added this line and restart
</code></pre>
<p>After restarting my speakers and microfon works fine.</p>
<p>Maybe somebody knows different/better subsystem code for my sound card???</p>
| 11995 | null | null | 2011-12-04T03:42:29.023 | Sound driver for motherboard gigabyte ga-g1975x-c (Creative Sound Blaster Live 24-bit) (alsa, ca0106) | [
"drivers",
"sound",
"alsa"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p><code>sudoedit /etc/modprobe.d/alsa-base.conf</code> change or add the following line:</p>\n\n<pre><code>options snd-ca0106 subsystem=0x10121102\n</code></pre>\n\n<p>and your sound should work.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T00:41:21.350",
"id": "29459",
"lastActivityDate": "2011-03-08T02:22:25.763",
"lastEditDate": "2011-03-08T02:22:25.763",
"lastEditorDisplayName": null,
"lastEditorUserId": "41",
"ownerDisplayName": null,
"ownerUserId": "11995",
"parentId": "29457",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p><code>sudoedit /etc/modprobe.d/alsa-base.conf</code> change or add the following line:</p>\n\n<pre><code>options snd-ca0106 subsystem=0x10121102\n</code></pre>\n\n<p>and your sound should work.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": nul... | null | null | null | null | null |
29461 | 1 | 29466 | 2011-03-08T00:53:26.887 | 4 | 2868 | <p>just a quick question but I can't figure out if it's just not possible, (which is fine, workaround is easy enough just time consuming), or if I'm too blind to see it.</p>
<p>For example, I want to put one word in a text in <strong>Bold</strong>, or in a different color. Is there any way? I'm used to this functionality in Photoshop, I'm sure you guys know what I mean. </p>
<p>If it's not there, what's the best workaround? Just put a bunch of spaces in there and make a new text-layer with the word and the different formatting? </p>
| 11481 | null | null | 2014-10-20T11:03:38.513 | Is there a way to change the formatting of a single word in GIMP? | [
"gimp"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>As far as I know, there is no way to do this in Gimp. In the workaround, you may want to make an extra layer that contains all your text; it is normally hidden, but can be turned on in order to properly align your visible layers.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-08T01:27:44.200",
"id": "32772",
"postId": "29466",
"score": "1",
"text": "that's a good tip man, (and if nothing else shows up I'll select this answer)",
"userDisplayName": null,
"userId": "11481"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T01:26:50.290",
"id": "29466",
"lastActivityDate": "2011-03-08T01:26:50.290",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11916",
"parentId": "29461",
"postTypeId": "2",
"score": "5"
} | [
{
"accepted": true,
"body": "<p>As far as I know, there is no way to do this in Gimp. In the workaround, you may want to make an extra layer that contains all your text; it is normally hidden, but can be turned on in order to properly align your visible layers.</p>\n",
"commentCount": "1",
"comments... | null | null | null | null | null |
29462 | 1 | 29464 | 2011-03-08T01:02:09.673 | 3 | 8854 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/16825/how-can-i-add-and-change-items-in-my-applications-menu">How can I add and change items in my Applications Menu?</a> </p>
</blockquote>
<p>In Gnome Applications Menu, I would like to move gEdit, Gnu Emacs, KWrite, Kate, NEdit and Scribes from the Accessories menu, to the Programming menu.</p>
<p>Is there any simple way to do this ?</p>
| 10502 | -1 | 2017-04-13T12:24:13.310 | 2013-06-24T03:20:45.287 | How to change Applications Menu Contents | [
"gnome"
] | 1 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>Open System -> Preferences -> Main Menu (hope I got it properly translated) and simply drag and drop the elements you want to change.</p>\n\n<p>(EDIT: As Reuben Swartz suggests in a comment below, a quicker way to get to the same place is right click on the Application Menu and then select \"Edit Menu\").</p>\n\n<p>On a side note, you can even Create a new menu (or menus) and create launchers within any menu -in case you don't want to delete those elements from the Accesories menu, but just want to have duplicate entries-.</p>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-03-08T01:08:26.500",
"id": "32768",
"postId": "29464",
"score": "0",
"text": "simple, obvious, thx.",
"userDisplayName": null,
"userId": "10502"
},
{
"creationDate": "2011-03-08T01:15:20.660",
"id": "32769",
"postId": "29464",
"score": "3",
"text": "Or you could right click on the application menu and select edit menus. This will get you to the same screen.",
"userDisplayName": null,
"userId": "5297"
},
{
"creationDate": "2011-03-08T01:16:11.877",
"id": "32770",
"postId": "29464",
"score": "1",
"text": "Quicker ;)... indeed an enhancement of my proposal.",
"userDisplayName": null,
"userId": "8851"
},
{
"creationDate": "2011-03-08T01:26:40.517",
"id": "32771",
"postId": "29464",
"score": "1",
"text": "@Reuben Swartz: Hope you don't mind if I add your suggestion to my answer, to keep things compact and clear for future needs.",
"userDisplayName": null,
"userId": "8851"
},
{
"creationDate": "2011-03-08T01:32:46.993",
"id": "32773",
"postId": "29464",
"score": "2",
"text": "Go ahead. We are a community after all :)",
"userDisplayName": null,
"userId": "5297"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T01:04:37.143",
"id": "29464",
"lastActivityDate": "2011-03-08T01:25:32.527",
"lastEditDate": "2011-03-08T01:25:32.527",
"lastEditorDisplayName": null,
"lastEditorUserId": "8851",
"ownerDisplayName": null,
"ownerUserId": "8851",
"parentId": "29462",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>Open System -> Preferences -> Main Menu (hope I got it properly translated) and simply drag and drop the elements you want to change.</p>\n\n<p>(EDIT: As Reuben Swartz suggests in a comment below, a quicker way to get to the same place is right click on the Application Menu a... | null | null | 2011-03-08T07:56:16.107 | null | null |
29463 | 1 | null | 2011-03-08T01:02:29.147 | 1 | 2080 | <p>I'm trying to setup OpenVPN Access Server on a VPS running Ubuntu 9.10 for a friend so she can play games from her uni campus. The problem is I keep running into this error when trying to start openvpn.</p>
<pre><code>Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: ['FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory', 'FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory', 'iptables-restore: line 46 failed']: internet/base:1175,internet/base:752,internet/process:45,internet/process:306,internet/_baseprocess:48,internet/process:775,internet/_baseprocess:60,svc/pp:116,svc/svcnotify:26,internet/defer:238,internet/defer:307,internet/defer:323,sagent/ipts:105,sagent/ipts:39,util/error:52,util/error:32
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['user', 'iptables_openvpn'])
service failed to start due to unresolved dependencies: set(['iptables_openvpn'])
</code></pre>
<p>Now I've already got my provider to enabled the TUN/TAP device driver and I checked this using </p>
<pre><code># cat /dev/net/tun
</code></pre>
<p>Which returned </p>
<pre><code>“File descriptor in bad state”
</code></pre>
<p>Which I believe means it's enabled.</p>
<p>After extensive searching, I've been unable to find any solution other than people suggesting to make sure TUN/TAP device driver is enabled. </p>
<p>Any ideas on how to solve my issue? I'm not very experience with Linux and I feel in over my head here so any advice is greatly appreciated.</p>
| 11998 | 7035 | 2011-06-07T16:56:49.350 | 2011-06-07T16:56:49.350 | Iptables unresolved dependencies | [
"9.10",
"iptables"
] | 1 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-08T01:36:03.947",
"id": "32774",
"postId": "29463",
"score": "0",
"text": "Where is the VPS hosted? Output of `uname -r` and `ls /lib/modules`?",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-08T01:50:05.080",
"id": "32776"... | null | [
{
"accepted": null,
"body": "<p>Your kernel modules in <code>/lib/modules</code> do not match the loaded kernel version.</p>\n\n<ul>\n<li>Loaded kernel version: 2.6.18-028stab070.<b>14</b></li>\n<li>Kernel modules version: 2.6.18-028stab070.<b>7</b></li>\n</ul>\n\n<p>You should never attempt to load kernel ... | null | null | null | null | null |
29468 | 1 | 29470 | 2011-03-08T01:34:06.490 | 6 | 1072 | <p>I foolishly upgraded my Firefox install on Ubuntu to the beta 4 release, I believe by adding the PPA repository -- is there an easy way to roll it back to the 3.6 version provided by Ubuntu?</p>
| 12002 | 6969 | 2011-03-15T16:46:06.737 | 2011-03-15T16:46:06.737 | How do I rollback to Firefox to 3.6 from a PPA version? | [
"firefox",
"ppa"
] | 2 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T01:39:52.200",
"id": "32775",
"postId": "29468",
"score": "0",
"text": "Can you give some details about how you did the install? Specifically, did you: a) install via a custom apt repository; b) install directly via a .deb package; c) install the binary directly?",... | {
"accepted": true,
"body": "<p>Yes, try these commands: </p>\n\n<pre><code>sudo apt-get install ppa-purge\nsudo ppa-purge ppa:ubuntu-mozilla-daily/ppa \n</code></pre>\n\n<p>Which will remove the PPA, <code>sudo apt-get remove firefox-4.0</code> to remove Firefox 4.0, and <code>sudo apt-get update</code> and <code>sudo apt-get upgrade</code> to refresh the repository sources and upgrade (downgrade) \"Namoroka\" to plain old Firefox 3.6.</p>\n",
"commentCount": "10",
"comments": [
{
"creationDate": "2011-03-08T03:12:43.513",
"id": "32783",
"postId": "29470",
"score": "1",
"text": "thanks thomas-- I get the following error: sudo: ppa-purge: command not found",
"userDisplayName": null,
"userId": "12002"
},
{
"creationDate": "2011-03-08T08:48:56.730",
"id": "32805",
"postId": "29470",
"score": "1",
"text": "@julio: sudo apt-get install ppa-purge",
"userDisplayName": null,
"userId": "662"
},
{
"creationDate": "2011-03-08T17:57:40.583",
"id": "32914",
"postId": "29470",
"score": "0",
"text": "thanks alin! didn't realize it needed to be installed first.",
"userDisplayName": null,
"userId": "12002"
},
{
"creationDate": "2011-03-08T22:51:11.783",
"id": "32945",
"postId": "29470",
"score": "1",
"text": "ok, I did this and removed FF4-- however when I refresh and then upgrade, there's no changes made (no install of 3.6 )-- any ideas?",
"userDisplayName": null,
"userId": "12002"
},
{
"creationDate": "2011-03-09T02:48:39.117",
"id": "32958",
"postId": "29470",
"score": "0",
"text": "Wait, so Firefox 3.6 isn't even installed anymore?",
"userDisplayName": null,
"userId": "5674"
},
{
"creationDate": "2011-03-09T17:23:05.420",
"id": "33105",
"postId": "29470",
"score": "1",
"text": "@thomas-- I am not sure how to determine that. I had the daily PPAs in my sources list, until they were disabled on upgrade from 10.01 to 10.10. After that, naturally, I was stuck on FF 4.0 beta 8. I removed the PPAs and purged them, but no rollback happened.",
"userDisplayName": null,
"userId": "12002"
},
{
"creationDate": "2011-03-09T21:46:40.430",
"id": "33151",
"postId": "29470",
"score": "0",
"text": "Open up the terminal and type `firefox` and then click Help > About Firefox",
"userDisplayName": null,
"userId": "5674"
},
{
"creationDate": "2011-03-10T03:23:43.840",
"id": "33181",
"postId": "29470",
"score": "1",
"text": "it's Firefox 4.0b8",
"userDisplayName": null,
"userId": "12002"
},
{
"creationDate": "2011-03-10T03:47:39.673",
"id": "33182",
"postId": "29470",
"score": "0",
"text": "Hmm, this is really weird. And you did `sudo apt-get remove firefox-4.0` and then `sudo apt-get install firefox`? If these don't work then I honestly don't know. Sorry.",
"userDisplayName": null,
"userId": "5674"
},
{
"creationDate": "2011-03-12T03:42:22.807",
"id": "33531",
"postId": "29470",
"score": "0",
"text": "@Thomas Boxley-- thanks for all your help, this last comment actually solved it-- I simply did a `sudo apt-get remove firefox`, then `sudo apt-get install firefox` and it pulled in the proper FF 3.6",
"userDisplayName": null,
"userId": "12002"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T02:20:31.927",
"id": "29470",
"lastActivityDate": "2011-03-15T16:19:09.553",
"lastEditDate": "2011-03-15T16:19:09.553",
"lastEditorDisplayName": null,
"lastEditorUserId": "235",
"ownerDisplayName": null,
"ownerUserId": "5674",
"parentId": "29468",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>Yes, try these commands: </p>\n\n<pre><code>sudo apt-get install ppa-purge\nsudo ppa-purge ppa:ubuntu-mozilla-daily/ppa \n</code></pre>\n\n<p>Which will remove the PPA, <code>sudo apt-get remove firefox-4.0</code> to remove Firefox 4.0, and <code>sudo apt-get update</code> an... | null | null | null | null | user41172 |
29474 | 1 | 29517 | 2011-03-08T04:15:31.860 | 18 | 70240 | <p>I'm running Ubuntu 10.04.2 LTS Desktop. Being a web developer, naturally I created a "me.com" in my <code>/etc/hosts</code> file. Unfortunately, my name resolution is going out to the DNS before first checking my local hosts entry and I can't figure out why.</p>
<p>The end result is that if my /etc/resolv.conf contains <code>nameserver 127.0.0.1</code> in there first, then I get a response back in my web browser from me.com (local) within less than a second. But if I don't have that entry, then my response takes sometimes as much as 5 seconds if my ISP is a little slow.</p>
<p>The problem was so troublesome that I actually had to <a href="https://askubuntu.com/questions/29286/how-to-auto-add-to-etc-resolv-conf">file a question here (and someone resolved it)</a> for how to automatically insert that entry into <code>/etc/resolv.conf</code>. But one of the users (@shellholic) here highly recommended (and commented back and forth with me about it) that I should file this question.</p>
<p>Do you know why my workstation's name resolution has to hit the DNS server first before hitting my <code>/etc/hosts</code> file entry? For now, I'm using the <a href="https://askubuntu.com/questions/29286/how-to-auto-add-to-etc-resolv-conf">resolv.conf trick</a>.</p>
| 1698 | -1 | 2017-04-13T12:25:03.423 | 2016-11-11T08:47:10.970 | Why does my name resolution hit the DNS even with a hosts file entry? | [
"10.04",
"dns",
"hosts",
"resolv.conf"
] | 1 | 6 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T05:06:43.837",
"id": "32787",
"postId": "29474",
"score": "1",
"text": "You might try looking `/etc/nsswitch.conf` . The entries on my system are a little non-obvious, but you could test lookups with only `files` as an option and see if that made a difference.",
... | {
"accepted": true,
"body": "<p>The file <code>/etc/nsswitch.conf</code> will let you reconfigure the order of the name resolution. By default, the host file is the first, then the configured DNS. There could be more options.</p>\n\n<p>The file <code>/etc/hosts</code> only lists IP addresses and hostnames (multiple names for one IP if you want)</p>\n\n<p>The file <code>/etc/resolv.conf</code> will list the default search domains, and will also list in sequence the name servers to use.</p>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-03-08T12:41:07.217",
"id": "32847",
"postId": "29517",
"score": "5",
"text": "Also keep in mind that once a name is resolved by an application or a service on your Linux box, it will remain in cache for a duration known as the TTL (time to live). So if you switch the resolution sequence, you are better restart your system or clear any cache.",
"userDisplayName": null,
"userId": "1464"
},
{
"creationDate": "2012-01-23T05:48:29.847",
"id": "111746",
"postId": "29517",
"score": "0",
"text": "how do you clear the 'cache'?",
"userDisplayName": null,
"userId": "681"
},
{
"creationDate": "2012-01-27T17:35:55.723",
"id": "113585",
"postId": "29517",
"score": "0",
"text": "I am not sure, but restarting a network connection with ifup and ifdown commands could do it. Of course, rebooting should clear the cache, but we are using Linux, right ?",
"userDisplayName": null,
"userId": "1464"
},
{
"creationDate": "2018-11-02T06:35:20.343",
"id": "1792474",
"postId": "29517",
"score": "0",
"text": "`nscd` can cache name resolution queries, but [does not respect ttl](https://bugzilla.redhat.com/show_bug.cgi?id=656014) (and is therefore hosts caching is disabled by default). `systemd-resolved` will also cache entries. If none of those are configured, [Linux hosts do not cache DNS responses](https://stackoverflow.com/a/11021207/1837991). (Browsers likely do at the application layer though)",
"userDisplayName": null,
"userId": "114847"
}
],
"communityOwnedDate": "2011-03-08T12:39:39.763",
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-08T12:39:39.763",
"id": "29517",
"lastActivityDate": "2016-11-11T08:47:10.970",
"lastEditDate": "2016-11-11T08:47:10.970",
"lastEditorDisplayName": null,
"lastEditorUserId": "158442",
"ownerDisplayName": null,
"ownerUserId": "1464",
"parentId": "29474",
"postTypeId": "2",
"score": "17"
} | [
{
"accepted": true,
"body": "<p>The file <code>/etc/nsswitch.conf</code> will let you reconfigure the order of the name resolution. By default, the host file is the first, then the configured DNS. There could be more options.</p>\n\n<p>The file <code>/etc/hosts</code> only lists IP addresses and hostnames (... | null | null | null | null | null |
29475 | 1 | null | 2011-03-08T04:16:49.457 | 10 | 922 | <p>Just curious, but I love the look.</p>
<p><a href="http://www.youtube.com/watch?v=-Lv1p4TvRw4" rel="nofollow">http://www.youtube.com/watch?v=-Lv1p4TvRw4</a></p>
<p>Is there something similar to this for Ubuntu, when shutting down, or logging out, or even when the screen goes to sleep?</p>
| 9494 | 44179 | 2013-08-28T17:27:40.403 | 2013-08-28T17:27:40.403 | Screen off animation similar to Android Gingerbread? | [
"screensaver"
] | 1 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T05:44:28.360",
"id": "32792",
"postId": "29475",
"score": "3",
"text": "This might be best implemented as a Compiz plugin.",
"userDisplayName": null,
"userId": "1859"
},
{
"creationDate": "2011-04-16T09:13:38.230",
"id": "39502",
"postId": "2... | null | [
{
"accepted": null,
"body": "<p>There is no such compiz plugin in existence, but if you have C++ skills, or know someone who can take a try at it, it would be relatively easy to write such a plugin or extend one of the existing plugins to produce this animation.</p>\n\n<p>There is a similar animation for co... | null | null | null | null | null |
29476 | 1 | null | 2011-03-08T04:33:50.120 | 2 | 654 | <p>I am having a situation where I can not use a CD or PxE boot or wubi to install.I need to necessarily do an http install of Ubuntu.I am basically trying to create a guest OS in a virtualization setup on Xen on a non VT hardware. On a non VT hardware the virt-manager does not allow to install from local ISO or PXE even the only option is via a URL on http://</p>
<p>Here is what I did:</p>
<ol>
<li>Download ubuntu 10.04 32 bit ISO </li>
<li>Kept it in /var/www (apache2 is running) </li>
<li><p>renamed it to ubuntu.iso</p>
<p>and when I reached a stage where installation begins I gave path <code>http://localhost/ubuntu.iso</code> but I got an error <code>any installable distribution not found.</code></p></li>
<li><p>After this I did</p>
<pre><code>mkdir /var/www/sk
mount -t iso9660 /var/www/ubuntu.iso /var/www/sk -o loop
</code></pre></li>
</ol>
<p>and this time during the installation I gave path <code>http://localhost/sk</code> I was able to see the contents in browser <code>http://localhost/sk</code> which you will see in a normal CD. But beginning installation I got same error</p>
<pre><code>ValueError: Could not find an installable distribution at 'http://localhost/sk
</code></pre>
<p>So I want to just confirm if http install is done only this way or some other way because the installation is not proceeding.</p>
| 9760 | 235 | 2011-06-23T20:09:03.000 | 2011-06-23T20:09:03.000 | How to install over http in virtual manager? | [
"10.04",
"installation",
"virtualization",
"xen"
] | 0 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-12-08T14:36:43.490",
"id": "97903",
"postId": "29476",
"score": "0",
"text": "I'm a little confused. Without using an ISO, how where you able to boot the VM to begin with? You've got the loopback part right. Though I think you might have to tell the installer to use that ... | null | [] | null | null | 2012-01-13T13:26:51.267 | null | null |
29477 | 1 | null | 2011-03-08T05:05:48.307 | 1 | 4279 | <p>I've been trying to install Ubuntu 10.10 as a dual boot with Windows 7 on my Dell latitude e6510. It is currently running Windows 7 and I have used the MS disk tools to shrink the Win 7 NTFS partition to make room for Linux.</p>
<p>The issue I'm having is that when I run Ubuntus installer by booting from CD it sees the entire hard drive as unallocated space. </p>
<p>I have also tried Kbuntu 10.10, Fedora 14, booting a Gparted 0.8.0 usb drive, and Ubuntu "install in Windows" with wubi they all have problems.</p>
<p>EDIT:</p>
<p>When I run the "try Ubuntu" option on booting from cd it can mount my Windows partition and I can view the files.</p>
<p>The output of <code>sudo parted -l</code> when running in try Ubuntu mode:</p>
<pre><code>Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables. Or perhaps you deleted the GPT table, and are now using an
msdos partition table. Is this a GPT partition table?
Yes/No? yes
Model: ATA ST9500420AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
</code></pre>
| 12005 | 12005 | 2011-03-08T06:01:33.203 | 2011-03-09T16:54:48.827 | Ubuntu cannot see Windows 7 partitions on install | [
"10.10",
"installation",
"partitioning",
"windows-7"
] | 2 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T05:11:55.593",
"id": "32788",
"postId": "29477",
"score": "0",
"text": "Can you post the output of `sudo parted -l` ?",
"userDisplayName": null,
"userId": "8844"
},
{
"creationDate": "2011-03-08T06:02:07.790",
"id": "32794",
"postId": "29477"... | null | [
{
"accepted": null,
"body": "<p>I found the following info looking on the <a href=\"http://www.ubuntu.com/certification/\" rel=\"nofollow\">Ubuntu Certified Hardware</a> page - due to the hardware of this Dell laptop you need to contact Dell for a version of Ubuntu suitable, see <a href=\"http://www.ubuntu.... | null | null | null | null | null |
29478 | 1 | 29616 | 2011-03-08T05:14:51.793 | 3 | 1522 | <p>In ubuntu 10.10 I have a dual monitor setup. I have an nVidia graphics card and am using twinview. One of the monitors is 1024 pixels high and the other is 900. In the monitor configuration screen & in real life, I have them set up side by side, 1024 on the left.</p>
<p>The result of this is that when I am on the bottom of the left monitor and move the mouse to the right, it goes into the hidden area below the right monitor's visible area.</p>
<p>It seems like it would make a lot more sense for it to be bumped up to the bottom of the right monitor - since one almost never wants to move the mouse into an area of the screen that doesn't show up. And, systems I have used before have been set up that way.</p>
<p>How can I set this up?</p>
<p>I am not interested in lists of window managers for ubuntu; I would like to know the identity of a particular WM or set of steps I can take to solves the particular problem I have outlined above. Thanks!</p>
<p>EDIT:
I changed to use two seperate X window monitors, and it works better. if you cross in an area that the target monitor doesn't cover, the software just puts you at the nearest point to where you crossed.</p>
<p>EDIT LATER:
You can use XCreateMouseVoid to do this; I used it to improve the setup even more in <a href="https://askubuntu.com/questions/29490/connecting-two-monitors-at-the-corners/">Connecting two monitors at the corners</a></p>
<p>using XCreateMouseVoid has the advantage of letting you use just one X window, so <kbd>Alt</kbd>-<kbd>Tab</kbd> shows all windows and you can move them between the screens without any dead areas.</p>
| 12004 | -1 | 2017-04-13T12:23:59.520 | 2011-11-02T21:10:23.533 | Monitor height differences & the mouse going off screen | [
"10.10",
"multiple-monitors",
"resolution",
"monitor"
] | 1 | 5 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-08T05:17:51.997",
"id": "32790",
"postId": "29478",
"score": "0",
"text": "+1 This happens for me too but I think fixing it will actually make the mouse hit the corner when moving to another screen where earlier it used to enter blank space (your bottom right corner)",... | {
"accepted": true,
"body": "<p>Roughly speaking, the answer is “you can't”. It's filed as <a href=\"https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/389519\" rel=\"nofollow\">bug 389519</a> and is mostly-fixed upstream (there's a patch-series that implements pointer barriers, and this is one of them).</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-09T09:33:10.453",
"id": "32997",
"postId": "29616",
"score": "0",
"text": "thanks RAOF. that thread also mentions some manual fixes which I'll try out.",
"userDisplayName": null,
"userId": "12004"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T04:24:11.287",
"id": "29616",
"lastActivityDate": "2011-03-09T04:24:11.287",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "188",
"parentId": "29478",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>Roughly speaking, the answer is “you can't”. It's filed as <a href=\"https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/389519\" rel=\"nofollow\">bug 389519</a> and is mostly-fixed upstream (there's a patch-series that implements pointer barriers, and this is one of ... | null | null | null | null | null |
29481 | 1 | 30254 | 2011-03-08T07:49:28.953 | 3 | 5320 | <p>I have server running Ubuntu 10.10. Never used samba before, as I never had windows machines, but now I need it.</p>
<p>So I did: <code>apt-get install samba smbfs smbclient</code>.</p>
<p>Packages are installed, but I have no idea how to configure it. All howtos I found on the net relate to /etc/samba/something.conf, where I don't even have /etc/samba directory.</p>
<p>The only config I found is /etc/default/samba, which contains (aside from comments) only:</p>
<pre><code>RUN_MODE="daemons"
</code></pre>
<p>All I want is to be able to have access to some directories on the Ubuntu machine from Windows, nothing else.</p>
| null | 3550 | 2011-03-08T15:12:50.723 | 2011-03-14T13:44:34.217 | How can I run samba? | [
"server",
"windows",
"configuration",
"samba"
] | 4 | 9 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T08:48:50.517",
"id": "32804",
"postId": "29481",
"score": "0",
"text": "If you have the IP of the windows machine, just type this in an explorer: `smb://x.x.x.x`",
"userDisplayName": null,
"userId": "3778"
},
{
"creationDate": "2011-03-08T09:19:06.39... | {
"accepted": true,
"body": "<p>Installing the \"samba\" package should have also installed the \"samba-common\" package which contains the /etc/samba/smb.conf file. </p>\n\n<p>A lot of things depend on samba-common (including, indirectly, GNOME) so you probably had it installed before you installed Samba. Perhaps this directory was deleted by accident at some point? </p>\n\n<p>You should be able to create it again from scratch by reinstalling the samba-common package, or by simply creating it manually. The only file that really matters in that directory is smb.conf.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-14T01:14:44.610",
"id": "30254",
"lastActivityDate": "2011-03-14T01:14:44.610",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "730",
"parentId": "29481",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": null,
"body": "<p>I'm not too sure about setting Samba up on a server but the steps listed <a href=\"http://www.hardcode.nl/archives_147/article_548-samba-quick-setup-on-ubuntu-1004.htm\" rel=\"nofollow\">here</a> worked for me to allow two Ubuntu pc's to share files with Windows pc's on my ne... | null | null | null | null | user12008 |
29482 | 1 | 29507 | 2011-03-08T07:53:54.357 | 1 | 763 | <p>I bought a small touchpad to stick on top of the keyboard, and it works fine on the windows computer, but not on my ubuntu desktop.</p>
<p>I mean, when I do "xinput list" it shows the following:</p>
<pre><code>⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PIXART USB OPTICAL MOUSE id=8 [slave pointer (2)]
⎜ ↳ Logitech USB-PS/2 Optical Mouse id=11 [slave pointer (2)]
⎜ ↳ Microsoft Wired Keyboard 600 id=13 [slave pointer (2)]
⎜ ↳ Macintosh mouse button emulation id=14 [slave pointer (2)]
⎜ ↳ Cirque Corporation 9925 AG Touchpad id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ No brand SP04-A1 id=9 [slave keyboard (3)]
↳ Elite Silicon USB Audio Device id=10 [slave keyboard (3)]
↳ Microsoft Wired Keyboard 600 id=12 [slave keyboard (3)]
</code></pre>
<p>The Cirque Corporation touchpad (I'm assuming that's the component name) is the touchpad. Is there anything I'm missing?</p>
| 9103 | null | null | 2018-06-12T03:35:38.943 | Getting touchpad to work in desktop ubuntu | [
"touchpad",
"input"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Try touchpad indicator. That may solve your problem.</p>\n\n<p><a href=\"http://www.webupd8.org/2010/11/touchpad-indicator-lets-you-quickly.html\" rel=\"nofollow\">http://www.webupd8.org/2010/11/touchpad-indicator-lets-you-quickly.html</a></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T11:14:48.823",
"id": "29507",
"lastActivityDate": "2011-03-08T11:14:48.823",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "5845",
"parentId": "29482",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>Try touchpad indicator. That may solve your problem.</p>\n\n<p><a href=\"http://www.webupd8.org/2010/11/touchpad-indicator-lets-you-quickly.html\" rel=\"nofollow\">http://www.webupd8.org/2010/11/touchpad-indicator-lets-you-quickly.html</a></p>\n",
"commentCount": "0",
... | null | null | null | null | null |
29483 | 1 | 29522 | 2011-03-08T08:22:31.647 | 26 | 21114 | <p>I am looking for a software that will search text in files from a folder similar to <a href="http://www.xyplorer.com/free.php">XYplorer</a>.</p>
<p>Is there something similar?</p>
| 8144 | 2732 | 2011-03-08T14:00:01.150 | 2021-03-09T10:20:34.947 | Software for text search in files | [
"software-recommendation",
"search"
] | 10 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T08:46:43.533",
"id": "32803",
"postId": "29483",
"score": "0",
"text": "Does it have to be a GUI tool?",
"userDisplayName": null,
"userId": "2732"
},
{
"creationDate": "2011-03-08T08:55:55.863",
"id": "32807",
"postId": "29483",
"score": ... | {
"accepted": true,
"body": "<p>There is a very nice one that shipped with Ubuntu out of the box until 16.04. For modern releases, read the update below!</p>\n<ol>\n<li><p>Open the Dash (<kbd>Super</kbd> key or the Ubuntu button) and begin typing until you find <code>Search for Files</code></p>\n<p><img src=\"https://i.stack.imgur.com/XotlL.png\" alt=\"enter image description here\" /></p>\n</li>\n<li><p>The above is for Unity, the default Desktop Environment in Ubuntu. In menu-driven environments, go to <code>Applications</code> -> <code>Accessories</code> -> <code>Search for Files</code></p>\n<p><img src=\"https://i.stack.imgur.com/yRjRM.png\" alt=\"enter image description here\" /></p>\n</li>\n<li><p>Expand the <code>Select more options</code> section and enter the text to search for in the <code>Contains the text:</code> input field.</p>\n<p><img src=\"https://i.stack.imgur.com/hIwEQ.png\" alt=\"enter image description here\" /></p>\n</li>\n</ol>\n<p>Features:</p>\n<ul>\n<li>100% GUI</li>\n<li>You can search for file names or content</li>\n<li>It does look in sub-folders.</li>\n</ul>\n<p>Given your scenario (no terminal commands, simple to use interface) I think theres no better option.</p>\n<p>PS: on the <code>Contains the text:</code> input field the '.' character is a wildcard. To escape it you have to use '[]'. E.g.: type <code>Contains the text: [.]myFunction</code> to search for .myFunction</p>\n<hr />\n<p><strong>UPDATE</strong>: Gnome Search Tool was unfortunately <a href=\"https://launchpad.net/ubuntu/bionic/amd64/gnome-search-tool\" rel=\"nofollow noreferrer\">removed from Ubuntu</a> on early 2018. For Ubuntu 18.04 onwards there's <code>mate-search-tool</code>, from the <code>mate-utils</code> package, that looks and behave exactly like the defunct Gnome tool:</p>\n<pre><code>sudo apt install mate-utils\nmate-search-tool\n</code></pre>\n<p>However, its associated <code>.desktop</code> launcher does not show by default in Gnome/Unity menu, but a simple edit can workaround that:</p>\n<pre><code>sed '/^OnlyShowIn/s/^/#/' /usr/share/applications/mate-search-tool.desktop \\\n> "$HOME"/.local/share/applications/mate-search-tool.desktop\n</code></pre>\n",
"commentCount": "12",
"comments": [
{
"creationDate": "2011-03-08T13:43:17.283",
"id": "32861",
"postId": "29522",
"score": "0",
"text": "yup, I didn't see i could add details",
"userDisplayName": null,
"userId": "8144"
},
{
"creationDate": "2011-03-08T13:53:07.113",
"id": "32865",
"postId": "29522",
"score": "1",
"text": "yes, you can... just click on \"select more options\" and you can have not only \"Contains the Text\" but also tons of other search options (date, user, file sizer, even regex expressions). I also missed this little beast for a long time... i wish it was integrated into Nautilus (kinda like F3 in Windows Explorer)",
"userDisplayName": null,
"userId": "11015"
},
{
"creationDate": "2011-03-08T14:19:57.240",
"id": "32869",
"postId": "29522",
"score": "0",
"text": "this is the same as i advised earlier `gnome-search-tool`",
"userDisplayName": null,
"userId": "11995"
},
{
"creationDate": "2011-03-09T16:02:36.207",
"id": "33073",
"postId": "29522",
"score": "0",
"text": "@Octavian: Thanks for providing the screenshots!",
"userDisplayName": null,
"userId": "11015"
},
{
"creationDate": "2011-03-09T16:10:55.070",
"id": "33074",
"postId": "29522",
"score": "0",
"text": "@Mikl: its the same result, the difference lies in approach on how to invoke it: your initial solution was focused on command-line invocation (or ALT+F2) and only briefly mentioned it could also be found on menu. Didnt say *where*, or what the program name was in the menu. Only after i post my answer you edited yours to provide the menu path and name. For newcomers, a Menu-oriented approach is always better than CLI invocation. ALT+F2 should only be used when the software is not avaliable in menu.",
"userDisplayName": null,
"userId": "11015"
},
{
"creationDate": "2014-03-05T11:10:45.273",
"id": "557680",
"postId": "29522",
"score": "0",
"text": "I'm not sure this tool still exists in this form after the Unity button. The answer by @wizztjh works though.",
"userDisplayName": null,
"userId": "232762"
},
{
"creationDate": "2021-03-07T01:52:57.703",
"id": "2252307",
"postId": "29522",
"score": "0",
"text": "could someone help to find out where is this tool please? for Ubuntu 20.04. I searched this tool, it's not there anymore. How to get it back?",
"userDisplayName": null,
"userId": "970380"
},
{
"creationDate": "2021-03-09T09:52:48.950",
"id": "2253318",
"postId": "29522",
"score": "0",
"text": "@Franva: it was removed from Ubuntu since 18.04. You could use the similar `mate-search-tool`: `sudo apt install mate-utils`",
"userDisplayName": null,
"userId": "11015"
},
{
"creationDate": "2021-03-10T10:43:21.190",
"id": "2253795",
"postId": "29522",
"score": "0",
"text": "@MestreLion thanks for letting know. I went with SearchMonkey and it looks good as well :) have you tried to compare these 2?",
"userDisplayName": null,
"userId": "970380"
},
{
"creationDate": "2021-03-12T13:39:46.683",
"id": "2254802",
"postId": "29522",
"score": "0",
"text": "@Franva, nope, never used SearchMonkey. Gnome/Mate Search Tool is fine for me as a simple find GUI, for anything more complex I prefer using `grep` and `find` directly on terminal",
"userDisplayName": null,
"userId": "11015"
},
{
"creationDate": "2021-03-12T13:49:48.210",
"id": "2254811",
"postId": "29522",
"score": "1",
"text": "@Franva: Also, I usually tend to avoid software that's not in the repositories. SearchMonkey in particular does not even have a .DEB installer yet. It seems the project was inactive for *10 years* , still uses GTK2, and was revived in 2018 (possibly due to Gnome Search Tools being deleted from Ubuntu). Hopefully they'll migrate away from SourceForge to a proper GitHub hosting, and re-active their currently suspended website. They have a lot of catching up to fill this 10-year gap of inactivity.",
"userDisplayName": null,
"userId": "11015"
},
{
"creationDate": "2021-03-14T22:57:00.990",
"id": "2255838",
"postId": "29522",
"score": "0",
"text": "@MestreLion good point. thanks :)",
"userDisplayName": null,
"userId": "970380"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 4.0",
"creationDate": "2011-03-08T13:10:17.070",
"id": "29522",
"lastActivityDate": "2021-03-09T10:20:34.947",
"lastEditDate": "2021-03-09T10:20:34.947",
"lastEditorDisplayName": null,
"lastEditorUserId": "11015",
"ownerDisplayName": null,
"ownerUserId": "11015",
"parentId": "29483",
"postTypeId": "2",
"score": "21"
} | [
{
"accepted": null,
"body": "<p>use</p>\n\n<pre><code> grep -nr <your text> .\n</code></pre>\n\n<p>put the text that you want to find inside the <your text></p>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-03-08T09:02:47.883",
"id": "32808",
... | null | null | null | null | null |
29486 | 1 | 41050 | 2011-03-08T08:59:19.963 | 7 | 4932 | <p>I'd like to send files to my phone via bluetooth using a bash script or something similar. The ussp-push utility works, but I find it is much slower than the "Send To" option in gnome. Is there a way to use gnome's bluetooth functionality from a shell scirpt?</p>
| 6873 | null | null | 2012-11-09T10:52:10.773 | Bluetooth file transfer in shell script | [
"bluetooth"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p><code>bluetooth-sendto --device=12:34:56:78:9A:BC filename</code> works for me. \"12:34:56:78:9A:BC\" is the Bluetooth device address (bdaddr) of the device. You can get the bdaddr with <code>hcitool scan</code>.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-05-09T14:05:05.783",
"id": "45447",
"postId": "41050",
"score": "0",
"text": "Note that the bluetooth-sendto command opens a dialog which shows the progress of the file transfer, so it cannot be used from a headless display. However, it is perfect for my use case.",
"userDisplayName": null,
"userId": "6873"
},
{
"creationDate": "2017-08-26T21:28:37.520",
"id": "1512849",
"postId": "41050",
"score": "0",
"text": "This is a nautilus plugin command that was removed, as far as I can tell.",
"userDisplayName": null,
"userId": "172823"
},
{
"creationDate": "2017-08-26T22:32:44.423",
"id": "1512882",
"postId": "41050",
"score": "0",
"text": "It's in the gnome-bluetooth package in Ubuntu 16.04.",
"userDisplayName": null,
"userId": "16134"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-05-07T18:28:23.473",
"id": "41050",
"lastActivityDate": "2011-05-07T18:28:23.473",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "16134",
"parentId": "29486",
"postTypeId": "2",
"score": "10"
} | [
{
"accepted": true,
"body": "<p><code>bluetooth-sendto --device=12:34:56:78:9A:BC filename</code> works for me. \"12:34:56:78:9A:BC\" is the Bluetooth device address (bdaddr) of the device. You can get the bdaddr with <code>hcitool scan</code>.</p>\n",
"commentCount": "3",
"comments": [
{
... | null | null | null | null | null |
29487 | 1 | 29551 | 2011-03-08T08:59:49.130 | 4 | 3601 | <p>I have two cairo docks, one is at the bottom , one is at the top of my desktop.
How do I remove the top dock?</p>
| 7885 | 6450 | 2011-03-08T09:50:40.940 | 2014-08-09T00:13:31.903 | How do I remove an extra dock in cairo dock? | [
"cairo-dock"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Delete all the items on the unwanted dock. To do so, just right click on each icon and go to \"remove.\" When they are all gone, the dock will disappear. </p>\n\n<p>There might be another way via the settings, but Cairo dock's are so utterly confusing that I couldn't find one.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-12T05:55:45.190",
"id": "33557",
"postId": "29551",
"score": "0",
"text": "agreed , i am using docky now ...",
"userDisplayName": null,
"userId": "7885"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T17:34:55.607",
"id": "29551",
"lastActivityDate": "2011-03-08T17:34:55.607",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11317",
"parentId": "29487",
"postTypeId": "2",
"score": "6"
} | [
{
"accepted": true,
"body": "<p>Delete all the items on the unwanted dock. To do so, just right click on each icon and go to \"remove.\" When they are all gone, the dock will disappear. </p>\n\n<p>There might be another way via the settings, but Cairo dock's are so utterly confusing that I couldn't find one... | null | null | null | null | null |
29489 | 1 | 38307 | 2011-03-08T09:28:55.073 | 6 | 528 | <p>I have the impression that Japanese input method editor (変換) is not as good as it used to be (can't tell since when).</p>
<p>When I type "terekomu" and transform, the IME does not propose テレコム (a very usual word) but テレ込む which makes no sense.</p>
<p>Using Ubuntu 10.10, everything by default (which means iBus 1.3.7/Anthy).</p>
<p>Is it a known bug I just did not notice before? Can I fix it somehow?</p>
| 4066 | 4066 | 2012-07-30T00:32:52.923 | 2012-07-30T00:32:52.923 | Japanese IME clueless about certain words | [
"10.10",
"ibus",
"mozc"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>It works with Google Japan's ibus-mozc: </p>\n\n<p>Two ways to install it:</p>\n\n<p>1) Search the Ubuntu Software Center for \"ibus-mozc\" </p>\n\n<p>OR </p>\n\n<p>2) Install it in the terminal below:</p>\n\n<pre><code>sudo add-apt-repository ppa:japaneseteam/ppa\nsudo apt-get update\nsudo apt-get install ibus-mozc\n</code></pre>\n\n<p>You might need to restart the GUI or log out. You should then be able to select \"ibus-mozc\" in the keyboard dropdown in the top right panel under preferences.</p>\n\n<p><em>(For anyone else, this assumes you've already installed Japanese)</em></p>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-05-09T00:09:53.227",
"id": "45320",
"postId": "38307",
"score": "0",
"text": "I installed by command line and restarted, I added Mozc as an input method in the IBus Preferences, but still the same テレ込む... actually it looks no different from before. How can I make sure I am using mozc? When I left-click on the IBus status icon I can see that \"Mozc - Japanese\" is selected\".",
"userDisplayName": null,
"userId": "4066"
},
{
"creationDate": "2011-05-15T15:12:13.317",
"id": "47034",
"postId": "38307",
"score": "0",
"text": "Yeah, and the keyboard icon should change to show an orange icon when it's activated. Make sure Anthy is not selected if both are in the list.. If that doesn't work then I don't know what will.\n\nThis is what I see:\n\n[link](http://www.imageupload.org/?d=DDA2065C1)",
"userDisplayName": null,
"userId": "14952"
},
{
"creationDate": "2011-05-16T01:08:09.423",
"id": "47149",
"postId": "38307",
"score": "0",
"text": "I removed Anthy altogether from the preferences list, but I think it is still being called, even though Mozc is always the one selected in the status bar icon's contextual menu. I will try to uninstall Anthy from the whole system.",
"userDisplayName": null,
"userId": "4066"
},
{
"creationDate": "2011-05-29T14:37:23.607",
"id": "50331",
"postId": "38307",
"score": "0",
"text": "Thanks! mozc has its own problematic words but it spells テレコム correctly :-)",
"userDisplayName": null,
"userId": "4066"
},
{
"creationDate": "2012-07-30T06:36:38.187",
"id": "208916",
"postId": "38307",
"score": "0",
"text": "I had always been bothered by the suggested choices when entering Japanese, but I never thought that it was something that could be changed. This solution works for me on Ubuntu 12.04, Gnome-classic, and it should be noted that I also had to completely uninstall Anthy to start seeing an improvement.",
"userDisplayName": null,
"userId": "17041"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-04-30T04:55:29.123",
"id": "38307",
"lastActivityDate": "2011-04-30T04:55:29.123",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "14952",
"parentId": "29489",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": null,
"body": "<p>tested and I think it is a bug\nIt splits 'terekomu' into two words, 'tere' and 'komu' with underscore\nusing spacebar to change to rewrite mode, <- and -> to select word and then spacebar to rewrite word.\nテレコム :)</p>\n",
"commentCount": "1",
"comments": [
... | null | 0 | null | null | null |
29490 | 1 | 29680 | 2011-03-08T09:29:45.927 | 1 | 714 | <p>I am using two separate X screens on two monitors and I would like them to be connected at the lower right corner. That is, if you move to the lower right corner of screen0 the mouse should appear at the upper left of screen1.</p>
<p>I do not want an entire edge of each monitor to be permeable to the mouse.</p>
<p>I modified the xorg.conf file like so:</p>
<pre><code>Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" Relative "Screen0" 1200 1000
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
</code></pre>
<p>(screen 0's resolution is 1280x1024)</p>
<p>so there is a bit of overlap. However whenever I move the mouse to the bottom of screen0, the pointer appears at the upper left of screen1. And, the entire top of screen1 is permeable to the mouse and brings it to the lower left corner of screen0.</p>
<p>I have tried various numbers in following the "relative" statement - if I put 1280 1024 the mouse does not cross over at all. If I use 1280 1023 the entire right side of screen0 is permeable.</p>
<p>I haven't been able to find any documentation about how to explicitly tell the mouse where to crossover - is there some? It seems that xorg is being really aggressive in guessing where the mouse crossover should take place.</p>
<p>Does anyone know how to do this? Thanks!</p>
| 12004 | 1067 | 2011-03-08T15:58:04.617 | 2011-05-08T19:44:27.503 | Connecting two monitors at the corners | [
"10.10",
"xorg",
"multiple-monitors"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T16:18:51.103",
"id": "32897",
"postId": "29490",
"score": "0",
"text": "one really strange thing. say screen0 is 1000 pixels wide, and screen1 is positioned on x at +980. When I am at the very right edge of screen0 and move downwards, I show up 20 pixels from the ... | {
"accepted": true,
"body": "<p>SOLVED!</p>\n\n<p>in <a href=\"https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/389519\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/389519</a> there is a link to a program called XCreateMouseVoid. I used nZain's version (there is a later improved version that would work, but I haven't compiled it) to set up barriers that force the mouse certain directions. The link is <a href=\"https://bugs.launchpad.net/ubuntu/+source/libxrandr/+bug/373367/+attachment/1053824/+files/XCreateMouseVoid.tar.gz\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/libxrandr/+bug/373367/+attachment/1053824/+files/XCreateMouseVoid.tar.gz</a></p>\n\n<p>Here are the barriers I created.</p>\n\n<pre><code>XCreateMouseVoid 1280 0 1280 1022 l &\nXCreateMouseVoid 1280 924 1441 100 d &\nXCreateMouseVoid 0 1023 1278 100 u &\nXCreateMouseVoid 1180 1026 100 901 r &\n</code></pre>\n\n<p>it is so sweet and works like a charm.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T16:44:37.097",
"id": "29680",
"lastActivityDate": "2011-03-09T16:44:37.097",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "12004",
"parentId": "29490",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": null,
"body": "<p>When you are using multiple monitors - make sure with what configuration tool (or how) you manage the configuration. There are several ways how to configure just this one setting, how screens are positioned relative one to another.</p>\n\n<p>I would try to check what tools (s... | null | null | null | null | null |
29498 | 1 | null | 2011-03-08T10:37:01.110 | 6 | 3246 | <p>Is there a simple way (on the command line - I want to write a script which compresses all videos in a folder) to reduce the filesize of a video (almost) without quality loss? Is there a method which works equally well for different video format (mp4, flv, m4v, mpg, mov, avi)?</p>
<p>I should mention that most of the videos I would like to compress are downloaded web-videos (mp4, flv), so it's not clear if there is much room for further compression.</p>
| 12015 | 1067 | 2011-03-08T15:55:13.420 | 2015-11-24T16:51:08.383 | Optimize video filesize without quality loss | [
"command-line",
"video",
"compression"
] | 2 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T11:13:03.023",
"id": "32835",
"postId": "29498",
"score": "0",
"text": "flv videos are already highly compressed. I doubt whether you will gain anything by recompressing them. As for the others there is mencoder.",
"userDisplayName": null,
"userId": "5845"
... | null | [
{
"accepted": null,
"body": "<p>In the mystical land of the PNG, the most effective way of <em>near</em>-lossless compression is to compress the image with almost every possible combination of settings and compare the output. This is what applications like <code>pngcrush</code> do.</p>\n\n<p>There's no reas... | null | null | null | null | null |
29499 | 1 | 29501 | 2011-03-08T10:38:40.987 | 2 | 781 | <p>I can see the remote share from nautilus and browse to it. I want to access that share from another application in this case, Eclipse - which is using the standard open file dialog.</p>
<p>Is there a convenient way I can do this from Nautilus? I cannot find that share anyway on the file system, mnt or media... is it somewhere? How do I put it somewhere if it is now.</p>
| 8019 | 1067 | 2011-03-08T15:55:43.420 | 2011-03-08T15:56:05.307 | How to enable Nautilus mounted remote shares in a file system dialog | [
"networking",
"nautilus",
"share"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>If the share is mounted it should be in Media/mount-point, you can also find it in <code>~/.gvfs</code>.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-08T11:21:57.540",
"id": "32838",
"postId": "29501",
"score": "0",
"text": "you got a typo there man, the directory is .gvfs",
"userDisplayName": null,
"userId": "6359"
},
{
"creationDate": "2011-03-09T14:32:44.930",
"id": "33062",
"postId": "29501",
"score": "0",
"text": "thanks - I found it at ~/.gvfs - be nice if this directory wasn't hidden :)",
"userDisplayName": null,
"userId": "8019"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T10:43:28.717",
"id": "29501",
"lastActivityDate": "2011-03-08T15:56:05.307",
"lastEditDate": "2011-03-08T15:56:05.307",
"lastEditorDisplayName": null,
"lastEditorUserId": "1067",
"ownerDisplayName": null,
"ownerUserId": "5499",
"parentId": "29499",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>If the share is mounted it should be in Media/mount-point, you can also find it in <code>~/.gvfs</code>.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-08T11:21:57.540",
"id": "32838",
"postId": "29501",
"sc... | null | null | null | null | null |
29502 | 1 | 31111 | 2011-03-08T10:44:05.853 | 5 | 3247 | <p>I want to get any application's close/minimize button in top gnome-panel. Please note that my top gnome-panel also has global-menu applet. Is there any app which can do that?</p>
| 12016 | 3037 | 2011-03-09T09:08:19.347 | 2012-05-04T16:07:16.247 | How to get a windows close/minimize buttons in top GNOME panel? | [
"gnome-panel",
"applet"
] | 4 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>The solution is to make the \"Decoration Windows\" in \"Window decorations\" inside CCSM blank and use Windows applets.\nThanks Andrew from Webupd8.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-19T20:17:13.077",
"id": "31111",
"lastActivityDate": "2011-03-19T20:17:13.077",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "12016",
"parentId": "29502",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>You can the gnome panel window applets.</p>\n\n<pre><code>sudo add-apt-repository ppa:tsbarnes/misc\nsudo apt-get update\nsudo apt-get install gnome-window-applets\n</code></pre>\n\n<p>Once installed you will see two new panel applets. Window title and window buttons. Place t... | null | null | null | null | null |
29511 | 1 | null | 2011-03-08T11:42:50.827 | 3 | 939 | <p>I am getting the following error:</p>
<pre><code>sudo: unable to resolve host XXX
sudo: /etc/sudoers is mode 0666, should be 0440
Segmentation fault
</code></pre>
<p>To start xampp, I typed</p>
<pre><code>sudo /opt/lampp/lampp start
</code></pre>
<p>Please help. How can I solve this?</p>
<p>Thanks.</p>
| null | 1067 | 2011-03-08T12:59:13.093 | 2011-03-08T16:25:51.420 | Sudo permissions error | [
"permissions",
"sudo",
"xampp"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T12:33:42.007",
"id": "32845",
"postId": "29511",
"score": "1",
"text": "Have you just installed Ubuntu? Make sure you've installed Ubuntu on a EXT filesystem (e.g. ext4). Please post the output of `mount` and `cat /etc/sudoers`. File permissions 666 is not good, it ... | null | [
{
"accepted": null,
"body": "<p>To solve this issue you will have to boot into recovery mode (root shell) and set the appropriate permissions on that file.</p>\n\n<ol>\n<li><p>To boot into recovery mode hold the <kbd>Shift</kbd> while booting.</p></li>\n<li><p>Select the first entry ending with <code>(recov... | null | null | null | null | user12018 |
29512 | 1 | null | 2011-03-08T12:06:25.470 | 1 | 217 | <p>The application make the color reversed when i type <kbd>super</kbd>+<kbd>m</kbd>. I don't know what 's its name, and how can i make it start automatically when i log in?</p>
| null | 25863 | 2012-06-18T18:13:23.717 | 2012-10-29T19:06:04.567 | How can I make the color reverse application autostart when I log in? | [
"compiz",
"color-management"
] | 1 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>The application you are using is called <code>compiz</code>. Settings can most easily be adjusted by installing the compiz config settings manager <code>sudo apt-get install compizconfig-settings-manager</code>, find it in System->Preferences, although this will not be able t... | null | null | null | null | user8260 |
29513 | 1 | 61304 | 2011-03-08T12:13:25.583 | 18 | 44819 | <p>I have lots of video files on my hard drive and I want to manage and sort them using tags. So my question is: What do you think is the best way to do this?</p>
| 12015 | 1067 | 2011-03-08T14:44:32.323 | 2023-02-28T15:49:41.357 | Tag and manage video files | [
"software-recommendation",
"video",
"tagging"
] | 5 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>There's a fairly new project called <strong>Wwidd</strong>, which comes with a cross-platform video tagger. It's available for <a href=\"http://wwidd.com\" rel=\"nofollow noreferrer\">download</a>, but for Ubuntu installation instructions you'll need to check the readme on its <a href=\"https://github.com/wwidd/wwidd\" rel=\"nofollow noreferrer\">GitHub page</a>.</p>\n\n<p>Once you have it running, it's fairly simple to add and edit tags, even in bulks. I'm managing thousands of videos with it.</p>\n\n<p><img src=\"https://i.stack.imgur.com/r8iGG.jpg\" alt=\"Wwidd running on Ubuntu 11.04\"></p>\n\n<p>Dependencies are: node.js, sqlite3, ffmpeg, VLC (for playback).</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-11-02T12:01:11.343",
"id": "84650",
"postId": "61304",
"score": "0",
"text": "@'Dan Stocker' Thanks, this looks nice. However the the GitHub links is not working, so I can't try it.",
"userDisplayName": null,
"userId": "12015"
},
{
"creationDate": "2011-11-10T10:19:45.180",
"id": "87537",
"postId": "61304",
"score": "0",
"text": "Sorry, the links changed somewhat meanwhile, I fixed them.",
"userDisplayName": null,
"userId": "24950"
},
{
"creationDate": "2014-01-24T01:51:21.063",
"id": "527441",
"postId": "61304",
"score": "1",
"text": "I would like to try this application but can't get it working. I installed all the mentioned dependencies with `sudo apt-get install nodejs ffmpeg sqlite3`, but can't start the porgram anyway. I get a message: ./start.sh: Line 1: node: `Command not found`. Any ideas?",
"userDisplayName": null,
"userId": "138681"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-09-13T23:17:56.133",
"id": "61304",
"lastActivityDate": "2011-11-10T10:17:42.297",
"lastEditDate": "2011-11-10T10:17:42.297",
"lastEditorDisplayName": null,
"lastEditorUserId": "24950",
"ownerDisplayName": null,
"ownerUserId": "24950",
"parentId": "29513",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>To answer both of your questions I would convert all of your video files to MKV using Handbrake which has a command line version which means you can script the conversion of your files. Within <a href=\"http://handbrake.fr/\" rel=\"nofollow noreferrer\">Handbrake</a> you can ... | null | null | null | null | null |
29515 | 1 | null | 2011-03-08T11:33:16.710 | 0 | 1017 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/29511/sudo-permissions-error">Sudo permissions error</a> </p>
</blockquote>
<p>Hi,</p>
<p>I am getting the following error:</p>
<pre><code>sudo: unable to resolve host XXX
sudo: /etc/sudoers is mode 0666, should be 0440
Segmentation fault
</code></pre>
<p>To start xampp, I typed</p>
<pre><code>sudo /opt/lampp/lampp start
</code></pre>
<p>Please help, How can I solve this?</p>
<p>Thanks.</p>
| null | -1 | 2017-04-13T12:23:59.520 | 2011-03-08T20:43:20.223 | permission error on Ubuntu? | [
"permissions",
"sudo"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T12:56:23.443",
"id": "32849",
"postId": "29515",
"score": "0",
"text": "The permissions of this file do not change by itself. If you have not changed the permissions yourself, you could have executed a malicious script as root and have more worries.",
"userDispl... | null | [
{
"accepted": null,
"body": "<p>Please check the following :</p>\n\n<pre><code>1.sudo gedit /etc/hosts\n2.if ip address and hostname not there please write them and save the file.\n</code></pre>\n\n<p>Please feed us back if you still facing same problem !</p>\n",
"commentCount": "4",
"comments": [
... | null | null | 2011-03-08T12:59:35.527 | null | rajeshrt |
29519 | 1 | 29524 | 2011-03-08T12:43:51.413 | 6 | 4383 | <p>I have <code>postfix</code> mail agent installed and I've configured gmail relay and I could send mails from the terminal as below:</p>
<pre><code>root@statino1:~# mail -s "subject_here" my_gmail_id@gmail.com
CC: <hit enter for empty cc>
Type the mesage here
press Ctrl+d
</code></pre>
<p>I have to send a log file contents as a mail and schedule it to run everyday.</p>
<p>How do I send log file contents as mail message, how do I automate the inputs of <code>mail</code> command? so that I can schedule it. Anybody has any idea?</p>
| 3215 | 3215 | 2011-03-10T04:28:54.210 | 2011-03-10T04:28:54.210 | Schedule sending mail of a log file content | [
"9.10",
"cron",
"mail",
"log",
"postfix"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You can send an email with one command like this:</p>\n\n<pre><code>mail -s 'Subject' you@example.com < log.txt\n</code></pre>\n\n<p><code>mail</code> expects a stream of input, if there is none, it gets <em>standard input</em> (i.e. it let's you type something). The <code><</code> operator (unix file-stream) tells mail to read the contents of the file, rather than /dev/stdin (which is just a file as well).</p>\n\n<p>Adding an attachment seems a little more difficult:</p>\n\n<ul>\n<li><a href=\"http://www.shelldorado.com/articles/mailattachments.html\" rel=\"nofollow\">Sending files as mail attachments</a></li>\n</ul>\n\n<hr>\n\n<p>If you want to check if the file is empty or not, you can do a test like this:</p>\n\n<pre><code>if [ -s test.txt ];\nthen\n echo \"file is not empty\";\nfi\n</code></pre>\n\n<p>So your command would look like this:</p>\n\n<pre><code>if [ -s log.txt ]; then mail -s 'Subject' you@example.com < log.txt; fi\n</code></pre>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-03-08T13:38:44.597",
"id": "32859",
"postId": "29524",
"score": "0",
"text": "wow, will it skip cc:? I want it to be skiped. I'll give a try and let you know!",
"userDisplayName": null,
"userId": "3215"
},
{
"creationDate": "2011-03-08T13:59:36.793",
"id": "32866",
"postId": "29524",
"score": "0",
"text": "Worked perfectly!. One more thing, is it possible to fine tune to send only if the log file is not empty. i.e if logfile has something in it then send, like checking the size of the file or something",
"userDisplayName": null,
"userId": "3215"
},
{
"creationDate": "2011-03-08T14:37:39.663",
"id": "32872",
"postId": "29524",
"score": "1",
"text": "@user3215 of course, you can test if a file has something in it, I've added it to the answer. (please let me know if it works)",
"userDisplayName": null,
"userId": "1067"
},
{
"creationDate": "2011-03-09T05:12:07.023",
"id": "32966",
"postId": "29524",
"score": "1",
"text": "Awesome!!!. it works. when I checked syslog file without any mail command it didn't print \"file is not empty\". I checked your last line editing it and it worked perfectly. Thanks a lot!. The admins like you eases others life, otherwise I would have to spend months searching for this with what key word? don't know. Any way thanks again",
"userDisplayName": null,
"userId": "3215"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T13:17:05.910",
"id": "29524",
"lastActivityDate": "2011-03-08T14:37:04.920",
"lastEditDate": "2011-03-08T14:37:04.920",
"lastEditorDisplayName": null,
"lastEditorUserId": "1067",
"ownerDisplayName": null,
"ownerUserId": "1067",
"parentId": "29519",
"postTypeId": "2",
"score": "5"
} | [
{
"accepted": true,
"body": "<p>You can send an email with one command like this:</p>\n\n<pre><code>mail -s 'Subject' you@example.com < log.txt\n</code></pre>\n\n<p><code>mail</code> expects a stream of input, if there is none, it gets <em>standard input</em> (i.e. it let's you type something). The <cod... | null | null | null | null | null |
29523 | 1 | 29539 | 2011-03-08T13:10:51.127 | 11 | 8631 | <p>Is there a way to sync a folder to an USB drive when the drive is plugged in? I'd like it to sync, or copy over changes, both ways. I've seen the Back In Time and Unison-GTK applications, but I'd like for it to run as soon as the drive is mounted. What I mean is, unintrusively sync the two folders without any input from myself besides setting it up.</p>
<p>If this isn't possible, is it possible to run the application when the thumb drive is plugged in to remind myself to sync manually?</p>
<p>Thanks!</p>
| 9494 | 9494 | 2011-03-08T13:24:09.880 | 2012-08-03T18:42:57.480 | Automatically sync a folder to a USB when USB is plugged in? | [
"usb",
"backup",
"sync"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T13:32:56.627",
"id": "32858",
"postId": "29523",
"score": "1",
"text": "How do you plan to handle file conflicts?",
"userDisplayName": null,
"userId": "2732"
}
] | {
"accepted": true,
"body": "<p>I'd personally lean toward <code>udev</code> for something like this. <code>udev</code> is the subsystem that's responsible for handling hardware when it's plugged in, after the kernel has loaded it, that is.</p>\n\n<p>Amongst a plethora of other features, it can run a script. In your case, I'm thinking it could mount the drive somewhere and perform whatever sync features you need.</p>\n\n<p>I've already written <a href=\"https://askubuntu.com/questions/25071/run-script-when-usb-is-mounted/25091#25091\">how to write a simple udev script</a> so I'll just point you there.</p>\n\n<p>For the actual synchronisation, you need something else. <code>git</code> is a very popular version control application that you could easily twist to your will. And there are standard backup options like <code>rsync</code> that you can have it merge conflicts (just not as well as something like <code>git</code>).</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T16:50:07.157",
"id": "29539",
"lastActivityDate": "2011-03-08T16:50:07.157",
"lastEditDate": "2017-04-13T12:23:27.200",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29523",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>You could try making a file called .autorun in the root directory of your usb drive, and make the contents the command you want to run, like <code>/usr/bin/rsync -av /dir/you/want/to/sync /place/to/sync/to</code>.</p>\n",
"commentCount": "2",
"comments": [
{
... | null | null | null | null | null |
29526 | 1 | 29529 | 2011-03-08T13:49:27.900 | 38 | 56917 | <p>I have a lot of images on my laptop as I work in graphics. On the same system, I also have a folder containing my family pictures.</p>
<p>I would like to do two things:</p>
<ul>
<li>Empty the already cached images</li>
</ul>
<p>and then </p>
<ul>
<li>"blacklist" or exclude the folder holding the family pictures as I use Shotwell for organizing/adding/deleting these files</li>
</ul>
<p>In the settings of Nautilus you can only change global settings.</p>
<p><img src="https://i.stack.imgur.com/Gd6L8.png" alt="File Management Preferences preview tab"></p>
<p>Any ideas?</p>
| 6450 | null | 2013-01-11T08:05:03.353 | 2023-09-20T13:45:43.193 | How do I reset the thumbnail cache? | [
"cache",
"thumbnails"
] | 3 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>Thumbnails are stored in <code>~/.cache/thumbnails</code>. Simply deleting everything in there will reset your thumbnails, causing them to be recreated according to the global settings. I'm afraid I can't think of a way to prevent a specific directory from being thumbnailed.</p>\n\n<p><strong>Note</strong>: In Ubuntu 12.04 (Precise Pangolin) and older, the thumbnails are stored in <code>~/.thumbnails</code>. But please verify this for your own distro. Lubuntu <strong>12.10</strong> (a clean install) has its thumbnails in ~/.thumbnails and there is no <code>thumbnails</code> subfolder in ~/.cache.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-08T16:01:10.700",
"id": "32891",
"postId": "29529",
"score": "0",
"text": "would hidden files or files in a hidden folder be indexed?",
"userDisplayName": null,
"userId": "6450"
},
{
"creationDate": "2011-03-09T09:31:14.040",
"id": "32995",
"postId": "29529",
"score": "2",
"text": "The thumbnailer will only start when you browse to the directory in question - it doesn't silently scan your system looking for things to thumbnail. So if you have hidden image/video files, they won't be thumbnailed unless you show them. But if you show them, they'll be thumbnailed!",
"userDisplayName": null,
"userId": "861"
},
{
"creationDate": "2011-03-13T22:02:09.633",
"id": "33840",
"postId": "29529",
"score": "0",
"text": "looks like a Ubuntu brainstorm/ Launchpad feature request :( thanks for the info though",
"userDisplayName": null,
"userId": "6450"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-08T14:12:59.073",
"id": "29529",
"lastActivityDate": "2013-01-11T08:02:33.243",
"lastEditDate": "2013-01-11T08:02:33.243",
"lastEditorDisplayName": "user25656",
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "861",
"parentId": "29526",
"postTypeId": "2",
"score": "55"
} | [
{
"accepted": null,
"body": "<p>BleachBit can wipe your thumbnail cache, I believe. Not sure how to blacklist a folder from getting thumbnails, though. </p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T... | null | null | null | user25656 | null |
29533 | 1 | 29538 | 2011-03-08T14:59:19.530 | 5 | 5192 | <p>I want to install MySQL but my internet connection is very slow so I decided to download the database from the MySQL site.</p>
<p>I have read <a href="https://askubuntu.com/questions/27817/how-to-install-mysql-db-while-offline">this question</a>, but I don't have any friends using Ubuntu.</p>
| 12022 | -1 | 2017-04-13T12:23:59.520 | 2016-02-12T05:10:27.080 | Install MySQL without apt-get | [
"package-management",
"mysql"
] | 1 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T15:08:33.727",
"id": "32879",
"postId": "29533",
"score": "0",
"text": "There are 2 ways of doing it. With an already installed mysql5.1 in your PC and without any other mysql installed prior to starting work with the one you downloaded. Which one do you have?. For ... | {
"accepted": true,
"body": "<p>Well I thought this was an interesting problem. There are things like <code>apt-offline</code> that will help you if you have another Ubuntu machine connected to the internet (strongly suggest looking into it if you do) but there isn't much I can see to help people who are stuck needing packages of things.</p>\n\n<p>And yes, I do think the packages are worth the effort in this case. MySQL is a hard thing to install well manually. There's a lot of configuration that <code>dpkg</code> handles for you with the ubuntu packages.</p>\n\n<p>So I've written this one-line script. Give it a package to install (in this case <code>mysql-server</code>) and it'll use your local <code>apt-get</code> database in simulate mode to work out what packages it needs. You might be able to get away without an updated package list, but I strongly suggest you run <code>sudo apt-get update</code> before running this (you'll need <em>some</em> bandwidth for that).</p>\n\n<pre><code>apt-get install -qs mysql-server | grep \"Inst \" | awk 'BEGIN { FS=\"[ \\(\\)\\[\\]\\/]+\" } { print \"http://packages.ubuntu.com/\" $5 \"/\" $6 \"/\" $2 \"/download\" }'\n</code></pre>\n\n<p>This generates a list like this:</p>\n\n<pre><code>http://packages.ubuntu.com/maverick/all/libnet-daemon-perl/download\nhttp://packages.ubuntu.com/maverick/all/libplrpc-perl/download\nhttp://packages.ubuntu.com/maverick/i386/libdbi-perl/download\nhttp://packages.ubuntu.com/maverick/i386/libdbd-mysql-perl/download\nhttp://packages.ubuntu.com/maverick-updates/i386/mysql-client-core-5.1/download\nhttp://packages.ubuntu.com/maverick-updates/i386/mysql-client-5.1/download\nhttp://packages.ubuntu.com/maverick-updates/i386/mysql-server-core-5.1/download\nhttp://packages.ubuntu.com/maverick-updates/i386/mysql-server-5.1/download\nhttp://packages.ubuntu.com/maverick/all/libhtml-template-perl/download\nhttp://packages.ubuntu.com/maverick-updates/all/mysql-server/download\n</code></pre>\n\n<p>Those links will take you to the packages.ubuntu.com website where you can download the packages (at their right versions). Unfortunately, this is a little bit manual and the website is pretty slow. People might be able to improve my script to provide direct download links to the packages.</p>\n\n<p>Once you have the packages and you're back on your low-bandwidth system, either stick them in <code>/var/cache/apt/archives/</code> and run the standard <code>sudo apt-get install mysql-server</code> or simply <code>cd</code> into the directory where the packages are and run `sudo dpkg -i *.deb\"</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T16:08:20.250",
"id": "29538",
"lastActivityDate": "2011-03-08T16:08:20.250",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29533",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>Well I thought this was an interesting problem. There are things like <code>apt-offline</code> that will help you if you have another Ubuntu machine connected to the internet (strongly suggest looking into it if you do) but there isn't much I can see to help people who are st... | null | null | null | null | null |
29535 | 1 | null | 2011-03-08T15:47:29.033 | 35 | 116140 | <p>I use <code>Places > Connect to Server...</code> to connect to a Windows share in my work environment (requires Kerberos authentication). When I do so, I can access the Windows share via Nautilus, but I can't figure out how to access the share from the command line without using <code>smbclient</code>. </p>
<p>For example, the share isn't mounted under <code>/mnt</code> or <code>/media</code>. I also looked into <code>~/.gvfs</code> but that's empty as well.</p>
<p>Is it possible to access the mounted Windows share from the command line without using <code>smbclient</code>?</p>
| 11409 | 3037 | 2011-03-08T23:33:39.593 | 2021-03-27T22:26:36.950 | How do I access a mounted Windows share from the command line? | [
"command-line",
"samba"
] | 3 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>You can use:</p>\n<p><code>mount -t smbfs //servername/myshare /mnt/servername/myshare -o username=myself</code></p>\n<p><code>mount.cifs //servername/myshare /mnt/servername/myshare -o user=username,pass=password</code><br>is another option for scripting purposes.</p>\n<p>If... | null | null | null | null | null |
29540 | 1 | 29547 | 2011-03-08T16:52:28.970 | 174 | 491765 | <p>How can I browse the Internet from the command line in Ubuntu?</p>
| null | 197910 | 2019-11-11T18:05:01.040 | 2023-09-03T21:24:23.150 | Browsing the internet from the command line | [
"command-line",
"browser",
"webbrowser-app"
] | 14 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>There are actually a bunch of text-mode web-browsers, these are my top three :)</p>\n\n<ul>\n<li><p><a href=\"http://packages.ubuntu.com/elinks\" rel=\"noreferrer\">ELinks</a> (<a href=\"http://apt.ubuntu.com/p/elinks\" rel=\"noreferrer\">install</a>):</p>\n\n<p><a href=\"https://i.stack.imgur.com/XeOaU.png\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/3Tver.png\" alt=\"elinks screenshot\"></a></p>\n\n<ul>\n<li><p>Keyboard Shortcuts</p>\n\n<ul>\n<li>Open new tab - <kbd>t</kbd><br></li>\n<li>Goto URL - <kbd>g</kbd></li>\n<li>Go back - <kbd>Left</kbd></li>\n<li>Go forward - <kbd>u</kbd></li>\n<li>Exit - <kbd>q</kbd></li>\n<li>Toggle images - <kbd>*</kbd></li>\n<li>Toggle link numbering - <kbd>.</kbd></li>\n<li>Toggle document colours - <kbd>%</kbd></li>\n<li>Next tab - <kbd>></kbd></li>\n<li>Previous tab - <kbd><</kbd></li>\n<li>Close tab - <kbd>c</kbd></li>\n<li>Open in new tab in background - <kbd>T</kbd></li>\n</ul></li>\n<li><p>Automatic URL rewrites</p>\n\n<ul>\n<li><code>d</code> - dictionary search</li>\n<li><code>dmoz</code> - dmoz search</li>\n<li><code>g</code> - google search</li>\n<li><code>wiki</code> - wikipedia search</li>\n</ul></li>\n</ul>\n\n<p>(<a href=\"http://my.opera.com/jsharma/blog/2009/05/18/elinks-text-based-browser#toc5\" rel=\"noreferrer\">source</a>)</p></li>\n</ul>\n\n<p><br></p>\n\n<ul>\n<li><p><a href=\"http://packages.ubuntu.com/lynx\" rel=\"noreferrer\">Lynx</a> (<a href=\"http://apt.ubuntu.com/p/lynx\" rel=\"noreferrer\">install</a>):</p>\n\n<p><img src=\"https://i.stack.imgur.com/ozmXk.png\" alt=\"lynx screenshot\"></p>\n\n<ul>\n<li><a href=\"http://lynx.invisible-island.net/lynx_help/Lynx_users_guide.html\" rel=\"noreferrer\">Lynx User-Guide</a></li>\n</ul></li>\n</ul>\n\n<p><br></p>\n\n<ul>\n<li><p><a href=\"http://packages.ubuntu.com/w3m\" rel=\"noreferrer\">w3m</a> (<a href=\"http://apt.ubuntu.com/p/w3m\" rel=\"noreferrer\">install</a>):</p>\n\n<p><img src=\"https://i.stack.imgur.com/9pHuE.png\" alt=\"w3m screenshot\"></p>\n\n<ul>\n<li><a href=\"http://w3m.sourceforge.net/MANUAL\" rel=\"noreferrer\">w3m Manual</a></li>\n</ul></li>\n</ul>\n\n<p><br></p>\n\n<p>Wikipedia has a <a href=\"http://en.wikipedia.org/wiki/Text-based_web_browser\" rel=\"noreferrer\">List of more text-based web-browsers</a>, not all of which are available in Ubuntu.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2015-04-10T20:25:28.157",
"id": "851363",
"postId": "29547",
"score": "1",
"text": "Its a very old post and my question is also odd but can you tell while browsing internet using `w3m` how to open a \"linked\" new tab website.. Just like `Open link in new tab` feature available in chrome. If this cant be done in `w3m` can you suggest any other text-mode web-browsers",
"userDisplayName": null,
"userId": "158636"
},
{
"creationDate": "2015-07-15T11:22:45.757",
"id": "930984",
"postId": "29547",
"score": "1",
"text": "Wow, thanx for mentioning elinks' inbuilt search rewrites (\"smart prefixes\").. somehow missed them although I've been using `elinks` (with joy!) for years! here's a conf line to invoke it nicely from inside `tmux`, the 21st century terminal multiplexer: `bind-key g command-prompt -p \"google:\" \"split-window -c '#{pane_current_path}' -p 90 'elinks -no-home -no-connect \\\"g %%\\\"'\"`",
"userDisplayName": null,
"userId": "182923"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-08T17:18:24.063",
"id": "29547",
"lastActivityDate": "2016-02-01T13:18:25.850",
"lastEditDate": "2016-02-01T13:18:25.850",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "1067",
"parentId": "29540",
"postTypeId": "2",
"score": "147"
} | [
{
"accepted": null,
"body": "<p>If you meant a CLI based Internet browser, use w3m:</p>\n\n<pre><code>w3m 'http://example.com/'\n</code></pre>\n",
"commentCount": "6",
"comments": [
{
"creationDate": "2011-03-08T17:13:21.953",
"id": "32908",
"postId": "29541",
"... | null | null | null | null | user12025 |
29542 | 1 | 29548 | 2011-03-08T17:10:37.943 | 48 | 61829 | <p>Is there a way to get files/directories permissions in number format "0777" instead of "-rw--r--r" format? </p>
| 11999 | null | null | 2020-02-25T23:16:25.390 | Display files permissions in number format i.e "0755"? | [
"filesystem",
"permissions"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You can display the octal permissions for a file using the stat command:</p>\n\n<pre><code>stat -c %a [filename]\n</code></pre>\n\n<p>Or by using find:</p>\n\n<pre><code>find [path] -printf '%m %p\\n'\n</code></pre>\n\n<p>Note that find is recursive, and will print all files in all subdirectories as well. You can use options like <code>maxdepth</code> or <code>prune</code> to stop it from recursing.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T17:19:38.420",
"id": "29548",
"lastActivityDate": "2011-03-08T17:19:38.420",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11925",
"parentId": "29542",
"postTypeId": "2",
"score": "60"
} | [
{
"accepted": true,
"body": "<p>You can display the octal permissions for a file using the stat command:</p>\n\n<pre><code>stat -c %a [filename]\n</code></pre>\n\n<p>Or by using find:</p>\n\n<pre><code>find [path] -printf '%m %p\\n'\n</code></pre>\n\n<p>Note that find is recursive, and will print all files ... | null | null | 2014-03-07T21:48:36.090 | null | null |
29543 | 1 | null | 2011-03-08T17:12:32.853 | 3 | 1007 | <p>Ever since 10.04 I have been trying to resolve an issue with my graphics card - nVidia GeForce 210.</p>
<p>I'm having issues when I watch movies on 10.10 - they are jumping all the time, even with Compiz disabled and when that is the only thing I am doing.</p>
<p>I have tried the solution to <a href="https://askubuntu.com/questions/4954/how-to-get-nvidia-geforce-gt-210-drivers-working-on-lucid-lynx">How to get NVidia GeForce GT 210 drivers working on Lucid Lynx?</a> but it didn't work.</p>
<p>How can I fix this?</p>
<p>
Here are the steps I took:</p>
<ol>
<li><code>apt-get --purge remove xserver-xorg-video-nouveau</code></li>
<li>edit <code>/etc/default/grub</code> to add the line <code>GRUB_CMDLINE_LINUX="nouveau.modeset=0"</code></li>
<li><code>sudo update-grub</code></li>
<li>Reboot</li>
<li>Download official Linux drivers from nVidia site.</li>
<li><code>sh filename-of-downloaded-driver-package</code></li>
</ol>
| 12026 | -1 | 2017-04-13T12:24:13.310 | 2012-12-01T22:03:24.990 | Issues with nVidia GeForce 210 while watching movies | [
"10.10",
"drivers",
"nvidia"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-08T17:33:43.723",
"id": "32913",
"postId": "29543",
"score": "1",
"text": "Please edit your question to explain the exact steps you went through in your attempt to solve the problems.",
"userDisplayName": null,
"userId": "667"
}
] | null | [
{
"accepted": null,
"body": "<p>Did you check to see if there are drivers available in the Proprietary Drivers thing? In 10.04, its located at <code>System -> Administration -> Hardware Drivers</code>. There might be drivers there for your system that were packaged already.</p>\n",
"commentCount... | null | null | 2012-12-02T11:35:42.963 | null | null |
29545 | 1 | null | 2011-03-08T17:15:01.790 | 4 | 241 | <p>I currently have my</p>
<p><code><distance name = "left/right/bottom/whatever_width" value = 0\></code> </p>
<p>so I have to use <kbd>Alt</kbd>+<kbd>F8</kbd> to resize windows. Unfortunately, this is a bit cumbersome because the resize increment is so large. I'd like to change it so that when using keybindings to resize a window, the window only changes by a few pixels per "click". </p>
<p>I haven't been able to find any information on this issue.</p>
<p>Is it even possible to do this?</p>
| null | 114 | 2011-03-08T17:18:02.053 | 2011-09-17T05:55:01.163 | How do you change the resize increment? | [
"compiz",
"window-manager",
"metacity",
"window"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-07-30T21:56:46.100",
"id": "62069",
"postId": "29545",
"score": "0",
"text": "What does that cryptic semi-XML snippet *mean*?",
"userDisplayName": null,
"userId": "136"
}
] | null | [
{
"accepted": null,
"body": "<p>Looking into both Compiz and Metacity, both provide the functionality of pressing Alt+F8 to begin resize and you can change the bindings or disable it; but both fail to provide any configuration option for the degree of change when pressing the keyboard cursor keys.</p>\n\n<p... | null | null | null | null | user12028 |
29546 | 1 | 159655 | 2011-03-08T17:17:52.880 | 4 | 5617 | <p>I was reading that LibreOffice was finally opening up in supporting many of the formats that were eventually been closed in OpenOffice every time an update appeared. I see that Lotus 1,2,3 and WordPro are there but does it support Amipro .sam format? I have about 10K documents just in one of the offices and work maybe more than 100K in total .sam documents and the only way to read them is using the AmiPro 3.1 original.</p>
<p>But I want to change them all to .odt format assuming LibreOffice supports amipro. If yes (via an extension or a new upgrade) I would search for a way via console to convert them from .sam to .odt.</p>
| 7035 | 667 | 2011-03-08T17:20:46.077 | 2012-07-04T18:12:01.113 | Does LibreOffice Support AmiPro Format (.sam)? | [
"file-format",
"libreoffice",
"compatibility"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>It takes a couple of dollars, but the steps to get the SAM format to DOC or ODT is the following:</p>\n\n<ol>\n<li><p>Buy/Download Lotus Word Pro - <a href=\"http://www-01.ibm.com/software/lotus/products/smartsuite/features.html\" rel=\"nofollow\">http://www-01.ibm.com/software/lotus/products/smartsuite/features.html</a> The reason is this will be the link between opening SAM files with no format problems and saving them in either Microsoft Word 2000 Format or Lotus WordPro format.</p></li>\n<li><p>Open the newly converted file (Either DOC or LWP format) with LibreOffice.</p></li>\n<li><p>Enjoy either saving it in the same format or using the ODT format.</p></li>\n</ol>\n\n<p>This also helps because the Word Pro application includes converting of multiples files. I just did 16000+ files from SAM to LWP and then did a simple command in linux:</p>\n\n<p><code>libreoffice --convert-to odt *.wlp</code> - In case your files are WLP<br>\n<code>libreoffice --convert-to odt *.doc</code> - In case your files are DOC</p>\n\n<p>I am sorry there is no other way. I have spent about 7 years looking for an option and, well, this is the only one right now. The only other way would be for IBM to release the source for opening SAM files and that would help in bringing many MANY medics, accountants, architects and others that have their research in SAM format to a new format. Just in my case I changed around 16000+ in medical documents from SAM to ODT and about 10000+ for other areas.</p>\n\n<p>NOTE - I have checked as accepted until a better (Cost Free solution) comes out that works with no problems like the one I mention here.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2012-07-04T18:06:50.883",
"id": "159655",
"lastActivityDate": "2012-07-04T18:12:01.113",
"lastEditDate": "2012-07-04T18:12:01.113",
"lastEditorDisplayName": null,
"lastEditorUserId": "7035",
"ownerDisplayName": null,
"ownerUserId": "7035",
"parentId": "29546",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>Well atleast for now it does not support it. But there is a way by which you can convert sam to doc and then maybe you can turn it into odt. Worth a try imho</p>\n\n<p><a href=\"http://www.gmayor.com/downloads.htm\" rel=\"nofollow\">http://www.gmayor.com/downloads.htm</a></p>... | null | null | null | null | null |
29552 | 1 | 29556 | 2011-03-08T17:35:44.947 | 28 | 44904 | <p>Fonts in some Wine applications (Word 2007 for example) are heavily aliased. How do I turn on anti aliasing for Wine applications?</p>
| 2978 | 667 | 2011-03-08T18:22:30.727 | 2019-12-31T23:46:12.937 | How do I enable font anti-aliasing in Wine? | [
"wine",
"font-rendering",
"antialiasing"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>The easiest way is through <code>winetricks</code></p>\n\n<pre><code>mkdir ~/bin\ncd ~/bin\nwget http://winetricks.org/winetricks\nchmod +x ./winetricks\n\nwinetricks fontsmooth-rgb\n</code></pre>\n\n<p>In newer version of <code>winetricks</code> the command to use is</p>\n\n<pre><code>winetricks settings fontsmooth=rgb\n</code></pre>\n\n<p>There are other LCD pixel orders available. You can read about them and the rest of the impressive winetricks feature list on <a href=\"http://wiki.winehq.org/winetricks\">its WineHQ site</a>.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-08T18:28:00.877",
"id": "32918",
"postId": "29556",
"score": "7",
"text": "winetricks is also available through apt",
"userDisplayName": null,
"userId": "1992"
},
{
"creationDate": "2011-03-08T18:38:16.133",
"id": "32920",
"postId": "29556",
"score": "0",
"text": "@Roland it is but I can't attest to which version it is. Though the logic doesn't apply to something as simple as this, `winetricks` is one of those things you want to keep as recent as possible if you're following install guides that use it heavily.",
"userDisplayName": null,
"userId": "449"
},
{
"creationDate": "2011-03-08T18:40:27.493",
"id": "32921",
"postId": "29556",
"score": "1",
"text": "The wine ppa has updated versions :D, so you can use that as an additional option ^^",
"userDisplayName": null,
"userId": "1992"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-08T18:10:10.303",
"id": "29556",
"lastActivityDate": "2013-06-28T10:57:07.293",
"lastEditDate": "2013-06-28T10:57:07.293",
"lastEditorDisplayName": null,
"lastEditorUserId": "53498",
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29552",
"postTypeId": "2",
"score": "33"
} | [
{
"accepted": true,
"body": "<p>The easiest way is through <code>winetricks</code></p>\n\n<pre><code>mkdir ~/bin\ncd ~/bin\nwget http://winetricks.org/winetricks\nchmod +x ./winetricks\n\nwinetricks fontsmooth-rgb\n</code></pre>\n\n<p>In newer version of <code>winetricks</code> the command to use is</p>\n\n... | null | null | null | null | null |
29553 | 1 | null | 2011-03-08T17:38:59.750 | 305 | 501329 | <p>Are there any configuration options for the Unity desktop?</p>
<hr>
<p>There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below <a href="https://askubuntu.com/questions/12493/how-can-i-find-the-version-of-ubuntu-that-is-installed"><em>(How can I tell which Ubuntu release I'm using?</em>)</a>:</p>
<ul>
<li><a href="https://askubuntu.com/a/294604/14356">13.04</a></li>
<li><a href="https://askubuntu.com/a/224775/14356">12.10</a></li>
<li><a href="https://askubuntu.com/a/101415/14356">12.04</a></li>
<li><a href="https://askubuntu.com/questions/29553/how-can-i-configure-unity/62903#62903">11.10</a> </li>
<li><a href="https://askubuntu.com/questions/29553/how-can-i-configure-unity/29561#29561">11.04</a></li>
</ul>
<p>If you're looking to configure Unity 2D, <a href="https://askubuntu.com/questions/32667/how-do-i-configure-unity-2d">look here</a>.</p>
| 12029 | -1 | 2017-04-13T12:24:40.850 | 2014-02-24T10:07:07.387 | How can I configure Unity? | [
"unity"
] | 11 | 1 | CC BY-SA 3.0 | [
{
"creationDate": "2014-05-18T18:18:53.737",
"id": "619549",
"postId": "29553",
"score": "0",
"text": "i am using ubuntu 14.04 can it support 3d unity",
"userDisplayName": null,
"userId": "272357"
}
] | null | [
{
"accepted": null,
"body": "<p>Unity is configured through compiz. Install the CompizConfig Settings Manager (ccsm) from the Software Centre, and look under the desktop section for Unity options. </p>\n\n<p>Unity 2D settings can be configured with a tool available here:</p>\n\n<p><a href=\"http://marianoch... | 2012-05-10T20:02:28.633 | null | null | null | null |
29557 | 1 | null | 2011-03-08T18:11:47.043 | 2 | 6491 | <p>I am running Ubuntu 11.10 64bit with a Sony VAIO VPC F11. It has an NVIDIA GeForce 310M video card, with the latest Nvidia drivers for the 64 bit linux, and a Windows partition with Win7 64bit.</p>
<p>NVIDIA driver version is NVIDIA-Linux-x86_64-280.13</p>
<p>External monitor is Samsung SyncMaster P2770</p>
<p>If I boot into the Windows partition, the HDMI works as expected, with sound and video-- under linux, the HDMI port is not recognized at all, apparently, and provides no signal to the attached monitor. The nividia-settings tool does not recognize any monitor connected to the HDMI port.</p>
<p>Disper is installed and cannot recognize an attached external monitor.</p>
<p>Can anyone help me diagnose this issue and fix it if possible? The laptop has only the one HDMI port to connect any external monitor, so it I can't get this working I'm stuck using either the laptop screen or Windows.</p>
<p>Thanks</p>
| 12002 | 40716 | 2012-05-31T02:07:17.143 | 2012-05-31T02:07:17.143 | HDMI port not recognized on Sony Vaio | [
"11.04",
"nvidia",
"hdmi",
"vaio",
"sony"
] | 2 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>If you have your NVIDIA X.org drivers installed you should be able to run the config panel. There, when your external monitor is connected via HDMI port, you can detect displays and configure X server behaviour, eg. arrange displays in a way you need them to be.</p>\n\n<p>Unf... | null | null | null | null | null |
29559 | 1 | 29576 | 2011-03-08T18:24:59.367 | 152 | 132725 | <p>I sometimes browse erotic media files but I would like to avoid having them appear in files & folders / recent. How can I do that?</p>
<p>The old "making <code>.recently-used.xbel</code> a folder" trick from 10.10 and older doesn't work any more. </p>
<p>Plus I'd prefer to turn off tracking only temporarily.</p>
<p>I also prefer not to use a separate user for this, as switching users sometimes isn't fast enough.</p>
| 12032 | 301745 | 2017-05-03T21:02:24.917 | 2017-05-03T22:22:43.577 | How can I keep recent files from appearing in Unity? | [
"unity",
"unity-dash",
"zeitgeist"
] | 11 | 1 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-08T18:43:34.363",
"id": "32922",
"postId": "29559",
"score": "13",
"text": "Sure you don't want to switch user? You get [a free Warhammer figurine](http://askubuntu.com/questions/28977/how-to-hide-recent-files-and-most-used-apps/28981#28981).",
"userDisplayName": n... | {
"accepted": true,
"body": "<h2>Method 1: Using Activity Log Manager</h2>\n\n<p><strong>Ubuntu Precise 12.04</strong></p>\n\n<p>In Ubuntu Precise Activity Log Manager 0.9 is included by default. It can be accessed from System Settings or just by looking for Privacy.</p>\n\n<p><img src=\"https://i.stack.imgur.com/PrzsL.png\" alt=\"Finding Activity Log Manager in Dash\">\n<img src=\"https://i.stack.imgur.com/YtHc8.png\" alt=\"enter image description here\"></p>\n\n<p>Or you can simply type <strong>Privacy</strong> in Dash</p>\n\n<p><img src=\"https://i.stack.imgur.com/RrhLt.png\" alt=\"enter image description here\"></p>\n\n<p>Now you can start blacklisting applications. Screenshots</p>\n\n<p><img src=\"https://i.stack.imgur.com/usGJe.png\" alt=\"enter image description here\">\n<img src=\"https://i.stack.imgur.com/jyJb1.png\" alt=\"enter image description here\">\n<img src=\"https://i.stack.imgur.com/x1A0n.png\" alt=\"enter image description here\"></p>\n\n<hr>\n\n<p><strong>Activity Log Manager in Oneiric and first release</strong></p>\n\n<p>You can install Activity Log Manager from the <a href=\"https://launchpad.net/~zeitgeist/+archive/ppa\" rel=\"noreferrer\">Stable PPA</a>. </p>\n\n<p>For more details about Activity Log Manager you should check out the <a href=\"http://www.omgubuntu.co.uk/2011/05/activity-log-manager-for-zeitgeist-lets-you-blacklist-files-and-apps-delete-your-history-more/\" rel=\"noreferrer\">article on OMG! Ubuntu!</a> and <a href=\"http://www.webupd8.org/2011/05/zeitgeist-activity-log-manager-now.html\" rel=\"noreferrer\">article on Webupd8</a></p>\n\n<p>A new version of Activity Log Manager is in development which looks better and is simpler to use. A screenshot of the unreleased Activity Log Manager</p>\n\n<p><img src=\"https://i.stack.imgur.com/DTZ07.png\" alt=\"Unreleased Activity Log Manager screenshot\"></p>\n\n<hr>\n\n<h2>Method 2: Using Gnome Activity Journal</h2>\n\n<p>You can do it, provided that there is some pattern in the files. For example you have kept all your explicit content in folder <code>/home/mrpig/erotica/</code> folder.</p>\n\n<p>Then open <a href=\"http://apt.ubuntu.com/p/gnome-activity-journal\" rel=\"noreferrer\">Activity Journal</a> which is a GUI frontend to Zeitgeist which acts as a Dashboard showing your recent activities. On top right Zeitgeist Icon, click it and Preferences. Check \"Blacklist Manager\" plugin</p>\n\n<p>Then goto \"BlackList Manager\" tab.\nClick on New button, and then edit the new entry which comes as <code>file:///home/mrpig/erotica/*</code></p>\n\n<hr>\n\n<p><strong>Linked Question:</strong></p>\n\n<ol>\n<li><a href=\"https://askubuntu.com/questions/38743/hidden-files-are-shown-in-dash/38752#38752\">Hidden files are shown in Dash</a></li>\n</ol>\n",
"commentCount": "10",
"comments": [
{
"creationDate": "2011-03-08T21:49:01.570",
"id": "32939",
"postId": "29576",
"score": "5",
"text": "Gnome Activity Journal is not Zeitgeist so you should explain he has to install Activity Journal first.",
"userDisplayName": null,
"userId": "662"
},
{
"creationDate": "2011-03-24T18:49:04.523",
"id": "35695",
"postId": "29576",
"score": "0",
"text": "thanks! does something like this also work for programs/applications?",
"userDisplayName": null,
"userId": "12032"
},
{
"creationDate": "2011-03-24T20:27:50.263",
"id": "35712",
"postId": "29576",
"score": "3",
"text": "We are working on a new blacklist manager. When it comes out by version 0.9, you will have great control over what you want to blacklist and what not",
"userDisplayName": null,
"userId": "52"
},
{
"creationDate": "2011-05-11T16:48:48.447",
"id": "45974",
"postId": "29576",
"score": "1",
"text": "I found a not so nice side effect: If you really want to hide something, this is not sufficient: Every time Zeitgeist can't write an entry because of the blacklist, it is logged in ~/.cache/zeitgeist/daemon.log",
"userDisplayName": null,
"userId": "12124"
},
{
"creationDate": "2011-10-17T22:16:30.740",
"id": "77973",
"postId": "29576",
"score": "2",
"text": "The blacklist manager plugin doesn't appear to exist in Ubuntu 11.10.",
"userDisplayName": null,
"userId": "136"
},
{
"creationDate": "2011-10-19T14:20:00.033",
"id": "78789",
"postId": "29576",
"score": "0",
"text": "@marius-gedminas The previous version 0.1 is still present in our PPA https://launchpad.net/~zeitgeist/+archive/ppa?field.series_filter=oneiric",
"userDisplayName": null,
"userId": "52"
},
{
"creationDate": "2012-02-10T14:41:32.790",
"id": "119116",
"postId": "29576",
"score": "0",
"text": "@ManishSinha Isn't showing up for me, 12.04 up-to-date.",
"userDisplayName": null,
"userId": "6005"
},
{
"creationDate": "2012-02-10T14:50:30.277",
"id": "119121",
"postId": "29576",
"score": "0",
"text": "Install `activity-log-manager-control-center`",
"userDisplayName": null,
"userId": "52"
},
{
"creationDate": "2012-09-20T14:25:29.687",
"id": "236835",
"postId": "29576",
"score": "0",
"text": "The ability to choose what (not) to log is particularly useful.",
"userDisplayName": null,
"userId": "26636"
},
{
"creationDate": "2013-09-28T18:12:11.283",
"id": "450032",
"postId": "29576",
"score": "1",
"text": "This no longer works in 13.04, despite being blacklisted, items still show up in the Dash.",
"userDisplayName": null,
"userId": "99306"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-08T20:48:33.200",
"id": "29576",
"lastActivityDate": "2012-03-30T09:55:25.027",
"lastEditDate": "2017-04-13T12:23:55.970",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "52",
"parentId": "29559",
"postTypeId": "2",
"score": "138"
} | [
{
"accepted": null,
"body": "<p>There is a way to do it, but it will clear all the other recent files as well.</p>\n\n<p>All you have to do is run the following commands:</p>\n\n<pre><code>rm ~/.local/share/zeitgeist/activity.sqlite\nzeitgeist-daemon --replace\n</code></pre>\n\n<p>Edit zeitgiest/activity.sq... | null | null | null | null | null |
29562 | 1 | null | 2011-03-08T18:50:51.547 | 4 | 902 | <p>I have tried booting from ubuntu on my emac, but when i hold down the <kbd>C</kbd> key, or any other key like option. It just continues to boot up mac os 10.3, Panther. I really want to run ubuntu on my mac, instead of mac os panther.</p>
<p>My specs:</p>
<p>1Gb of ram
800mhz ppc g4 processor
40gb hdd
Mac os 10.3, Panther.</p>
| null | 19490 | 2011-09-25T13:55:14.087 | 2012-02-03T08:09:19.340 | Live CD doesn't boot on an emac | [
"10.10",
"installation"
] | 2 | 5 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-08T20:04:03.580",
"id": "32929",
"postId": "29562",
"score": "0",
"text": "Can the computer boot to any other CDs? Can you read the contents of the Ubuntu CD from within Mac OS X?",
"userDisplayName": null,
"userId": "1859"
},
{
"creationDate": "2011-03... | null | [
{
"accepted": null,
"body": "<p>You should be able to boot off of this CD. My guess is that the CD did not burn correctly - try making another and check the ISO file to make sure the md5sum/sha1sum matches.</p>\n\n<p>Make sure you can boot off your OS X CD if you still have one. This will ensure you can act... | null | 0 | null | null | user12034 |
29566 | 1 | 29570 | 2011-03-08T19:22:12.977 | 18 | 6706 | <p>My hard drive is going crazy and I don't know what application is doing it.</p>
<p>Are there any linux tools for profiling what processes are accessing drives and how frequently?</p>
<p><a href="http://linux.about.com/od/commands/l/blcmdl1_top.htm">top</a>, <a href="http://htop.sourceforge.net/">htop</a> and the like neatly sort out the memory and cpu hogs, and <a href="http://nethogs.sourceforge.net/">nethogs</a> lets me see the network hogs... but what to use for determining HDD hogs?</p>
| 7638 | null | null | 2015-03-04T08:26:13.963 | How to tell what applications are accessing the hard drive and how frequently? | [
"command-line",
"hard-drive",
"monitoring"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>you can install <code>iotop</code></p>\n\n<p><img src=\"https://i.stack.imgur.com/vpjHs.jpg\" alt=\"enter image description here\"></p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-08T20:04:59.897",
"id": "32930",
"postId": "29570",
"score": "1",
"text": "Looks great... although no standard repo package for it. Link is [here](http://guichaz.free.fr/iotop/) for anyone else looking.",
"userDisplayName": null,
"userId": "7638"
},
{
"creationDate": "2011-03-08T20:06:24.560",
"id": "32932",
"postId": "29570",
"score": "2",
"text": "`iotop --accumulated` is great.",
"userDisplayName": null,
"userId": "8844"
},
{
"creationDate": "2011-03-08T20:06:59.333",
"id": "32933",
"postId": "29570",
"score": "1",
"text": "@russ I had it in my repo, via universe : `http://archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages`",
"userDisplayName": null,
"userId": "8844"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-08T19:32:36.817",
"id": "29570",
"lastActivityDate": "2011-03-08T19:32:36.817",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "3226",
"parentId": "29566",
"postTypeId": "2",
"score": "17"
} | [
{
"accepted": true,
"body": "<p>you can install <code>iotop</code></p>\n\n<p><img src=\"https://i.stack.imgur.com/vpjHs.jpg\" alt=\"enter image description here\"></p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-08T20:04:59.897",
"id": "32930",
"po... | null | null | null | null | null |
29574 | 1 | null | 2011-03-08T20:17:21.710 | 5 | 918 | <p>Is it possible to do a fulltext search (or even better regexp) automatically on all websites I have in my bookmark list?</p>
<p><strong>Edit</strong></p>
<p>Is there any other browser where this is possible?</p>
| 12015 | 12015 | 2012-07-23T09:22:58.650 | 2012-07-23T09:22:58.650 | How to search Firefox Bookmarks? | [
"firefox",
"search"
] | 2 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>Maybe you can use the .json backup found inside the <code>~/.mozilla/firefox/'profile name'/bookmarkbackups/</code> to search for the websites and then search for expression inside those websites.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDat... | null | null | null | null | null |
29581 | 1 | null | 2011-03-08T21:26:20.063 | 3 | 144 | <p>So I have a pretty big server full of all sorts of Open/Office files, engineering data and whathaveyou and I was looking for a good way to index all of the data and create a tag or keyword cloud. Is there any sort of tool do so something like this in Ubuntu? It would save me a ton of time in digging around and rooting out old files...</p>
| 12041 | null | null | 2011-05-27T01:55:31.090 | Is there a good method to create a keyword cloud in Ubuntu? | [
"cloud",
"tagging"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>This looks like you want a graphical tool that expands upon 'grep'</p>\n\n<p>For example, say I'm in a folder called 'Documents' and I want to search through all the directory and all the subdirectories for files that contain the word 'event'. Then I can do:</p>\n\n<pre><code... | null | null | null | null | null |
29588 | 1 | 29605 | 2011-03-08T22:30:13.340 | 0 | 192 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/37/when-installing-im-given-the-option-of-encrypting-my-home-folder-what-does-th">When installing I'm given the option of encrypting my home folder — what does this do?</a> </p>
</blockquote>
<p>I know the basic idea behind encrypting, but what exactly does it mean to encrypt your home folder? Why would one choose to do that?</p>
| 3889 | -1 | 2017-04-13T12:24:29.360 | 2011-03-09T00:19:26.897 | When you install and it has the checkmark for encryptying your home folder, what exactly does that mean? | [
"encryption",
"installation"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>This is a duplicate question but here is a short answer anyway. The home folder is where all of your files and settings when you choose this option your home folder is encrypted. This prevents anyone who is not logged in as you from being able to access your home folder.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T00:19:26.897",
"id": "29605",
"lastActivityDate": "2011-03-09T00:19:26.897",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "5297",
"parentId": "29588",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>This is a duplicate question but here is a short answer anyway. The home folder is where all of your files and settings when you choose this option your home folder is encrypted. This prevents anyone who is not logged in as you from being able to access your home folder.</p>\... | null | null | 2011-03-09T00:26:47.907 | null | null |
29589 | 1 | 29591 | 2011-03-08T22:30:16.370 | 167 | 562044 | <p>What is the difference between <code>chmod u+x</code> and just <code>chmod +x</code>? I have seen a ton of tutorials that say to use <code>u+x</code> to make scripts executable. However, omitting the <code>u</code> doesn't seem to have any effect.</p>
| 11150 | 119754 | 2019-03-27T17:49:44.433 | 2019-03-27T17:49:44.433 | 'chmod u+x' versus 'chmod +x' | [
"bash",
"permissions",
"scripts",
"chmod"
] | 5 | 0 | CC BY-SA 4.0 | [] | {
"accepted": true,
"body": "<p>The man page of <code>chmod</code> covers that.</p>\n\n<ul>\n<li><em>u</em> stands for user.</li>\n<li><em>g</em> stands for group.</li>\n<li><em>o</em> stands for others.</li>\n<li><em>a</em> stands for all.</li>\n</ul>\n\n<p>That means that <code>chmod u+x somefile</code> will grant only the owner of that file execution permissions whereas <code>chmod +x somefile</code> is the same as <code>chmod a+x somefile</code>. </p>\n\n<p><a href=\"http://linux.die.net/man/1/chmod\">The chmod man page says:</a></p>\n\n<blockquote>\n <p>The format of a symbolic mode is\n <code>[ugoa...][[+-=][rwxXstugo...]...][,...]</code>.\n Multiple symbolic operations can be\n given, separated by commas.</p>\n \n <p>A combination of the letters 'ugoa'\n controls which users' access to the\n file will be changed: the user who\n owns it (u), other users in the file's\n group (g), other users not in the\n file's group (o), or all users (a). If\n none of these are given, the effect is\n as if 'a' were given, but bits that\n are set in the umask are not affected.</p>\n</blockquote>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2015-05-31T12:56:54.433",
"id": "897165",
"postId": "29591",
"score": "1",
"text": "I have a little question, what is the difference between a+x and let's say 111. It makes both executable",
"userDisplayName": null,
"userId": "378032"
},
{
"creationDate": "2015-06-23T18:47:55.193",
"id": "915459",
"postId": "29591",
"score": "1",
"text": "That is because 1 is the octal notation which stands for the execute permission. 111 means executable for user, group and other.",
"userDisplayName": null,
"userId": "2732"
},
{
"creationDate": "2017-05-30T22:47:33.273",
"id": "1453569",
"postId": "29591",
"score": "0",
"text": "Great clean answer",
"userDisplayName": null,
"userId": "233057"
},
{
"creationDate": "2017-12-01T20:50:40.293",
"id": "1579289",
"postId": "29591",
"score": "0",
"text": "The umask effect is important, making `chmod +x file` different from `chmod a+x file` - see Ravexina's answer for details.",
"userDisplayName": null,
"userId": "629200"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-08T22:33:51.973",
"id": "29591",
"lastActivityDate": "2013-04-14T12:52:55.377",
"lastEditDate": "2013-04-14T12:52:55.377",
"lastEditorDisplayName": null,
"lastEditorUserId": "2732",
"ownerDisplayName": null,
"ownerUserId": "2732",
"parentId": "29589",
"postTypeId": "2",
"score": "223"
} | [
{
"accepted": true,
"body": "<p>The man page of <code>chmod</code> covers that.</p>\n\n<ul>\n<li><em>u</em> stands for user.</li>\n<li><em>g</em> stands for group.</li>\n<li><em>o</em> stands for others.</li>\n<li><em>a</em> stands for all.</li>\n</ul>\n\n<p>That means that <code>chmod u+x somefile</code> w... | null | null | null | null | null |
29595 | 1 | null | 2011-03-08T23:50:09.547 | 3 | 16495 | <p>I am following the <a href="https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html" rel="nofollow">Ubuntu server guide</a> to configure OpenLDAP on an Ubuntu 10.04 server, but can not get it to work.</p>
<p>When I try to use <code>sudo ldapadd -x -D cn=admin,dc=don,dc=com -W -f frontend.ldif</code> I'm getting the following error:</p>
<pre><code>Enter LDAP Password: <entered 'secret' as password>
adding new entry "dc=don,dc=com"
ldap_add: Naming violation (64)
additional info: value of single-valued naming attribute 'dc' conflicts with value present in entry
</code></pre>
<p>Again when I try to do the same, I'm getting the following error:</p>
<pre><code>root@avy-desktop:/home/avy# sudo ldapadd -x -D cn=admin,dc=don,dc=com -W -f frontend.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
</code></pre>
<hr>
<p>Here is the <code>backend.ldif</code> file:</p>
<pre><code># Load dynamic backend modules
dn: cn=module,cn=config
objectClass: olcModuleList
cn: module
olcModulepath: /usr/lib/ldap
olcModuleload: back_hdb
# Database settings
dn: olcDatabase=hdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcHdbConfig
olcDatabase: {1}hdb
olcSuffix: dc=don,dc=com
olcDbDirectory: /var/lib/ldap
olcRootDN: cn=admin,dc=don,dc=com
olcRootPW: secret
olcDbConfig: set_cachesize 0 2097152 0
olcDbConfig: set_lk_max_objects 1500
olcDbConfig: set_lk_max_locks 1500
olcDbConfig: set_lk_max_lockers 1500
olcDbIndex: objectClass eq
olcLastMod: TRUE
olcDbCheckpoint: 512 30
olcAccess: to attrs=userPassword by dn="cn=admin,dc=don,dc=com" write by anonymous auth by self write by * none
olcAccess: to attrs=shadowLastChange by self write by * read
olcAccess: to dn.base="" by * read
olcAccess: to * by dn="cn=admin,dc=don,dc=com" write by * read
</code></pre>
<hr>
<p><code>frontend.ldif</code> file:</p>
<pre><code># Create top-level object in domain
dn: dc=don,dc=com
objectClass: top
objectClass: dcObject
objectclass: organization
o: Example Organization
dc: Example
description: LDAP Example
# Admin user.
dn: cn=admin,dc=don,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword: secret
dn: ou=people,dc=don,dc=com
objectClass: organizationalUnit
ou: people
dn: ou=groups,dc=don,dc=com
objectClass: organizationalUnit
ou: groups
dn: uid=john,ou=people,dc=don,dc=com
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: john
sn: Doe
givenName: John
cn: John Doe
displayName: John Doe
uidNumber: 1000
gidNumber: 10000
userPassword: password
gecos: John Doe
loginShell: /bin/bash
homeDirectory: /home/john
shadowExpire: -1
shadowFlag: 0
shadowWarning: 7
shadowMin: 8
shadowMax: 999999
shadowLastChange: 10877
mail: john.doe@don.com
postalCode: 31000
l: Toulouse
o: Example
mobile: +33 (0)6 xx xx xx xx
homePhone: +33 (0)5 xx xx xx xx
title: System Administrator
postalAddress:
initials: JD
dn: cn=example,ou=groups,dc=don,dc=com
objectClass: posixGroup
cn: example
gidNumber: 10000
</code></pre>
<p>Can anyone help me?</p>
| 3215 | 235 | 2011-07-30T12:41:33.053 | 2012-03-26T05:03:42.870 | "ldap_add: Naming violation (64)" error when configuring OpenLDAP | [
"10.04",
"configuration",
"ldap",
"openldap"
] | 2 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-09T07:49:42.223",
"id": "32979",
"postId": "29595",
"score": "0",
"text": "Anybody has any idea?",
"userDisplayName": null,
"userId": "3215"
},
{
"creationDate": "2011-03-09T10:04:48.813",
"id": "33008",
"postId": "29595",
"score": "0",
... | null | [
{
"accepted": null,
"body": "<p>For me, your frontend.ldif seems to be invalid, where <code>dn</code> stated <code>dn: dc=don,dc=com</code> (so rdn is <code>dc=don</code>) but still, you use <code>dc: Example</code> later. I think you've tried to use a tutorial, but you forget to modify some parts of your l... | null | null | null | null | null |
29600 | 1 | null | 2011-03-09T00:04:07.763 | 0 | 977 | <p>An icon has recently appeared on my panel with an exclamation mark. The message i get when hovering over this is that the update information is out of date, and that this may be caused by an unavailable repository or a network isssue.</p>
<p>My network connection appears to be ok.</p>
<p>The message advises i manually check for updates. When i do this, i get the following message:</p>
<blockquote>
<p>W:Failed to fetch
<a href="http://ppa.launchpad.net///ubuntu/dists/maverick/main/source/Sources.gz" rel="nofollow">http://ppa.launchpad.net///ubuntu/dists/maverick/main/source/Sources.gz</a>
404 Not Found , W:Failed to fetch
<a href="http://ppa.launchpad.net///ubuntu/dists/maverick/main/binary-amd64/Packages.gz" rel="nofollow">http://ppa.launchpad.net///ubuntu/dists/maverick/main/binary-amd64/Packages.gz</a>
404 Not Found , E:Some index files
failed to download, they have been
ignored, or old ones used instead.</p>
</blockquote>
<p>Any idea whats going on?</p>
| 2978 | null | null | 2011-03-09T17:36:00.177 | Warning about unavailable repositories | [
"update-manager"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2019-10-02T12:17:59.640",
"id": "1967704",
"postId": "29600",
"score": "2",
"text": "Possible duplicate of [How can I fix a 404 Error when using a PPA or updating my package lists?](https://askubuntu.com/questions/65911/how-can-i-fix-a-404-error-when-using-a-ppa-or-updating-my... | null | [
{
"accepted": null,
"body": "<p>The best way I have found of solving most problems with \"failed to fetch\" is to check that you are using the best server. The reason this works is that in the process of selecting the best server it has to ping each of the available servers to find the one that responds the... | null | null | null | null | null |
29602 | 1 | 74721 | 2011-03-09T00:09:17.630 | 2 | 1846 | <p>I've been struggling a while with getting the iMON LCD/IR-receiver on my Antec Fusion Black case to shutdown together with the system (XBMC Live 10 - ubuntu based). But it won't. When it's turned off the LCD still lights up the whole room. Many have proposed the "solution" of setting the machine into hibernation instead but that however won't work for me, since I'm unable to suspend my system.</p>
<p>It is the LCD/IR-module that prevents me from suspending and I haven't found a solution to properly unload it on suspending (it's way above my linux knowledge). I need help with getting the display to turn off the backlight when the system is turned off. Can anyone please help me?</p>
<p>If anyone also has the knowledge on how to get the eject function to work on my Antec Veris rm200 remote I would be very grateful, I was told about that it could get fixed with irexec but I do not know how since I haven't been able to find a good tutorial on the subject.</p>
<p>Thank you for helping me!</p>
| 10609 | null | null | 2011-11-02T11:14:41.353 | Antec Fusion Black LCD won't turn off on system shutdown | [
"hibernate",
"xbmc",
"backlight"
] | 1 | 7 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T07:26:59.193",
"id": "32974",
"postId": "29602",
"score": "0",
"text": "You may get better answers on [Superuser](http://superuser.com/) as this is a hardware problem. Check motherboard or BIOS how to disable USB standby power supply.",
"userDisplayName": null,
... | {
"accepted": true,
"body": "<p>solution copied from comment:</p>\n\n<p>I think I've managed to get it working (kinda). I read that it is a bug with USB3.0 that has been fixed in the Natty release but has not been included in Maverick. What I needed to do was to add the line SUSPEND_MODULES=\"xhci\" to the file /etc/pm/config.d/unload_module and then it suspended, ergo the LCD is also black. I think I will settle with that if not anyone has a better solution :) </p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-11-02T11:14:41.353",
"id": "74721",
"lastActivityDate": "2011-11-02T11:14:41.353",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "10609",
"parentId": "29602",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>solution copied from comment:</p>\n\n<p>I think I've managed to get it working (kinda). I read that it is a bug with USB3.0 that has been fixed in the Natty release but has not been included in Maverick. What I needed to do was to add the line SUSPEND_MODULES=\"xhci\" to the ... | null | 0 | null | null | null |
29603 | 1 | 29609 | 2011-03-09T00:15:59.090 | 60 | 64128 | <p>Exactly what the title asks. How do I clear xmodmap settings?</p>
<p>I have an IBM model M, and somehow xkeycaps got it into its head that my <kbd>End</kbd> key was not any key at all. <code>xev</code> reports keypresses when I use it, so I know the event is being generated by the keyboard. Also, xkeycaps thinks that my arrow keys are all wonky, and apparently the scrollbar is broken so it only scrolls down - so I can't scroll up to find an IBM keyboard that just maybe is close to my map so I can fix my keys.</p>
<p>So I'm trying to reset my keyboard to the default settings, but the xmodmap manpage is woefully devoid of "reset all" or "clear all" or anything of that nature (that I was able to find).</p>
| 658 | 134729 | 2017-11-25T18:27:15.893 | 2024-03-31T23:18:55.127 | How do I clear xmodmap settings? | [
"keyboard",
"keyboard-layout",
"xmodmap"
] | 5 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p><code>xmodmap</code> has no notion of state, so it has no way to reset state directly. You can simulate it by using <code>xmodmap -pke >.xmodmap.orig</code> before making any changes (although it doesn't save the modifier map, which you would have to save and restore manually) — but it's a bit too late for that.</p>\n\n<p>Modern systems don't generally use <code>xmodmap</code> to configure the keyboard, though. <code>setxkbmap</code> is the modern way to do it; and that <em>does</em> reset bindings when run. So you may be able to use <code>setxkbmap -layout us</code> to reset things to normal. More complete would be to check for the default configuration in <code>/etc/X11/xorg.conf</code>. For example, on my system</p>\n\n<pre><code>jinx:718 Z$ sed -n '/Identifier.*Keyboard/,/EndSection/p' /etc/X11/xorg.conf\n Identifier \"Generic Keyboard\"\n Driver \"kbd\"\n Option \"XkbModel\" \"pc105\"\n Option \"XkbLayout\" \"us\"\n Option \"XkbOptions\" \"grp:alt_shift_toggle\"\nEndSection\n</code></pre>\n\n<p>The corresponding command is</p>\n\n<pre><code>setxkbmap -model pc105 -layout us -option grp:alt_shift_toggle\n</code></pre>\n\n<p>If there were an <code>XkbVariant</code> entry in the output, you would pass its value with <code>-variant</code>. One thing to watch out for is that options are handled specially: you can only set one option per <code>-option</code> parameter, and you need to use <code>-option ''</code> to reset parameters first. So to fully reset when there is something like <code>XkbOptions \"grp:alt_shift_toggle,grp:ctrls_toggle\"</code> you would need</p>\n\n<pre><code>setxkbmap -model pc105 -layout us -option '' -option grp:alt_shift_toggle -option grp:ctrls_toggle\n</code></pre>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-11-08T13:20:24.540",
"id": "86645",
"postId": "29609",
"score": "41",
"text": "`setxkbmap -layout us` has reset my keys, thank you!",
"userDisplayName": null,
"userId": "21261"
},
{
"creationDate": "2013-07-21T11:39:42.483",
"id": "409996",
"postId": "29609",
"score": "9",
"text": "Another very helpful option I discovered is `setxkbmap -query` to print out the current settings in xkb's format, which helped me to [configure my Apple keyboard](http://superuser.com/a/622365/162627) as desired from the terminal.",
"userDisplayName": null,
"userId": "6418"
},
{
"creationDate": "2018-04-02T12:08:05.640",
"id": "1658463",
"postId": "29609",
"score": "1",
"text": "careful with that command of `setxkbmap -layout us` as it will restore the `us` layout for every language support you have. For instance my french key layout along with my english key layout turns to be qwerty insteady of azerty..",
"userDisplayName": null,
"userId": "69474"
},
{
"creationDate": "2018-05-15T17:40:46.043",
"id": "1687127",
"postId": "29609",
"score": "0",
"text": "This question is about xmodmap not xkb. These applications are conflicting, and if your system does use xmodmap (as does modern Ubuntu) you may get confused after using the xkb reset command and then attempt to modify key bindings in xmodmap (as I did)",
"userDisplayName": null,
"userId": "464343"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T00:54:54.843",
"id": "29609",
"lastActivityDate": "2011-03-09T00:54:54.843",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11775",
"parentId": "29603",
"postTypeId": "2",
"score": "88"
} | [
{
"accepted": true,
"body": "<p><code>xmodmap</code> has no notion of state, so it has no way to reset state directly. You can simulate it by using <code>xmodmap -pke >.xmodmap.orig</code> before making any changes (although it doesn't save the modifier map, which you would have to save and restore manu... | null | null | null | null | null |
29607 | 1 | 47529 | 2011-03-09T00:40:01.143 | 5 | 2445 | <p>I want to install the <a href="http://awesome.naquadah.org">Awesome</a> window manager.
In the environment where I want to configure it I don't have root access.</p>
<p>I do have a machine were I can be root (I use for this a virtual machine in my laptop).</p>
<p>I have tried the following:</p>
<pre><code>$ sudo apt-get install awesome
The following packages are about to be installed:
awesome libev3 libid3tag0 libimlib2 liblua5.1-0 libxcb-icccm1 libxcb-image0
libxcb-keysyms1 libxcb-property1 libxcb-randr0 libxcb-xinerama0
libxcb-xtest0 libxdg-basedir1 menu rlwrap
Do you want to continue [Y/n]? n
</code></pre>
<p>I do now have the list of dependencies for awesome, so I downloaded them all.
For that, I did the following.</p>
<pre><code>$ pkgs="awesome libev3 libid3tag0 libimlib2 liblua5.1-0 libxcb-icccm1 libxcb-image0
libxcb-keysyms1 libxcb-property1 libxcb-randr0 libxcb-xinerama0
libxcb-xtest0 libxdg-basedir1 menu rlwrap" # this is just for not writing it all ;)
$ sudo apt-get install --download-only $pkgs
....
$ mkdir -p /tmp/x_debs
$ for pkg in $pkgs; do cp /var/cache/apt/archives/$pkg* /tmp/x_debs/; done
[ copies all *.deb from my dependencies to /tmp/x_debs ]
</code></pre>
<p>Now, I want to install the dependencies.
For that, I setup a fake dpkg install in my home folder:</p>
<pre><code>$ mkdir $HOME/root
$ mkdir -p $HOME/root/var/lib/dpkg/{triggers,updates}
$ touch $HOME/root/var/lib/dpkg/{available,status}
</code></pre>
<p>Now I tried to install with dpkg, but I could not:</p>
<pre><code>$ dpkg --force-not-root --root=$HOME/root --recursive -i /tmp/x_debs
</code></pre>
<p>It failed while trying to set permissions for the packages and running chroot.
As I do have root access in this machine, I ran it with privileges:</p>
<pre><code>$ sudo dpkg --root=$HOME/root --recursive -i /tmp/x_debs
</code></pre>
<p>Then I had a lot of stuff (i.e., everything: dependencies and the own WM) installed inside <code>$HOME/root</code>.
Particularly, xcb-* libraries were installed in <code>$HOME/root/usr/lib</code> and the awesome binary in <code>$HOME/root/usr/bin/awesome</code>.</p>
<p>If I try to execute awesome as is I get as an error that libraries could not be loaded.
That's normal, as they are not in /usr/lib nor in /lib. So I ran <code>export LD_LIBRARY_PATH=$HOME/root/usr/lib:$HOME/root/lib:${LD_LIBRARY_PATH}</code> and awesome <em>would</em> try to load.</p>
<p>However, I could not make gdm to run <code>awesome</code> within gnome or replacing it.</p>
<p>I did it this way so I can copy everything in my $HOME/root folder, paste it in the other machine and have it running.
Is there any other way (to have less wasted space maybe..) to do this?</p>
<p>How can I tell gdm to <code>exec awesome</code> without root access?</p>
| 12049 | null | null | 2011-06-07T19:35:27.430 | How to install Awesome WM without root access? | [
"gnome",
"gdm",
"root",
"awesome"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>I didn't still success, but as for now I managed to get most of it.</p>\n\n<p>By installing each dependency within a fakeroot environment the system thinks every dependency is right. Except for Awesome itself.</p>\n\n<p>The config is so poorly written that every single component has its path hardcoded in every config file.\nWhen I have time later I'll try to \"regexly\" solve that problem and recompile Awesome.</p>\n\n<p>If anybody else does have a solution I'd like to know and discuss it, maybe mark it as accepted.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-06-07T19:35:27.430",
"id": "47529",
"lastActivityDate": "2011-06-07T19:35:27.430",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "12049",
"parentId": "29607",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>Create a shell script named <code>.xsession</code> in your $HOME that does whatever it needs to startyour session and select \"User defined session\" at the GDM login screen.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLice... | null | null | null | null | null |
29610 | 1 | 29612 | 2011-03-09T01:35:36.567 | 3 | 1104 | <p>When using Elementary (at least, using the Controls), it makes the panel dark, and I'd like to use a light panel. How can I change this?</p>
<p>Thanks for any help!</p>
| 9494 | null | null | 2011-03-09T01:55:47.420 | Use a light panel with Elementary (or other GTK+ themes that use dark panels)? | [
"gnome-panel",
"themes",
"elementary-theme"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<ol>\n<li><p>Hit <kbd>Alt</kbd>+<kbd>F2</kbd> and use this command: </p>\n\n<pre><code>gksudo gedit /usr/share/themes/elementary/gtk-2.0/gtkrc\n</code></pre>\n\n<p><img src=\"https://i.stack.imgur.com/l5cJ0.png\" alt=\"enter image description here\"></p></li>\n<li><p>Scroll to the bottom of the file and find the line <code>include \"Apps/panel-dark.rc</code></p>\n\n<p><img src=\"https://i.stack.imgur.com/JunEC.png\" alt=\"enter image description here\"> </p></li>\n<li><p>Replace <code>panel-dark.rc</code> with <code>panel.rc</code></p>\n\n<p><img src=\"https://i.stack.imgur.com/P8Dnz.png\" alt=\"enter image description here\"></p></li>\n<li><p>Save the file, and then switch to a different theme and then switch back to Elementary.</p>\n\n<p><img src=\"https://i.stack.imgur.com/h5pCV.png\" alt=\"enter image description here\"></p></li>\n</ol>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T01:55:47.420",
"id": "29612",
"lastActivityDate": "2011-03-09T01:55:47.420",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "114",
"parentId": "29610",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<ol>\n<li><p>Hit <kbd>Alt</kbd>+<kbd>F2</kbd> and use this command: </p>\n\n<pre><code>gksudo gedit /usr/share/themes/elementary/gtk-2.0/gtkrc\n</code></pre>\n\n<p><img src=\"https://i.stack.imgur.com/l5cJ0.png\" alt=\"enter image description here\"></p></li>\n<li><p>Scroll to... | null | null | null | null | null |
29617 | 1 | null | 2011-03-09T05:08:50.830 | 0 | 409 | <p>I am new to both percona & Ubuntu. According to this <a href="http://www.percona.com/downloads/Percona-Server-5.1/Percona-Server-5.1.55-12.6/deb/" rel="nofollow">page</a> percona is only available for</p>
<ul>
<li>etch</li>
<li>hardy</li>
<li>lenny</li>
<li>lucid</li>
<li>maverick</li>
<li>squeeze</li>
</ul>
<p>But i am using 11.04 (Natty). Can someone recommend me which version should i choose?</p>
<p>Cheers</p>
| 2148 | 235 | 2011-05-16T19:47:08.537 | 2011-12-02T01:24:28.563 | Which version of percona db package should I install? | [
"11.04",
"mysql"
] | 1 | 1 | CC BY-SA 3.0 | [
{
"creationDate": "2011-10-06T16:04:25.187",
"id": "74175",
"postId": "29617",
"score": "0",
"text": "and which for 11.10 oneiric?",
"userDisplayName": null,
"userId": "18604"
}
] | null | [
{
"accepted": null,
"body": "<p>Come across found a few references to using the maverick installation without any trouble</p>\n\n<p>I just tried installing - went in without a hitch though I've yet to have enough timeto full test</p>\n\n<p>running 11.04</p>\n",
"commentCount": "0",
"comments": [],
... | null | null | null | null | null |
29618 | 1 | null | 2011-03-09T03:29:54.517 | 2 | 164 | <p>I have two disks with the exact same partitioning and size. When I start the computer it obviously only boots from one of the disks. How can I tell which one?
(I have used <code>sudo fdisk -l</code>, but that will list the disks but since they have the same partitioning and size, I do not get a clue on which one is getting booted from)
Thanks in advance. </p>
| null | 1067 | 2011-03-09T06:14:02.030 | 2011-03-09T06:14:02.030 | How do I see which disk I am booting from? | [
"boot",
"hard-drive"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>Executing <code>mount</code> without any parameters will give you a list of all mounted drives. The one mounted to <code>/boot</code>, or <code>/</code> if there is no <code>/boot</code>, is your boot device.</p>\n",
"commentCount": "0",
"comments": [],
"community... | null | 0 | null | null | user644543 |
29620 | 1 | 29636 | 2011-03-09T06:26:02.883 | 8 | 2836 | <p>I'm a bit confused about whether or not Gnome-shell is a new distribution or just a desktop environment? Will shell be available to install and use instead of Unity?</p>
| 9494 | 1067 | 2011-03-09T08:10:55.033 | 2011-03-21T23:56:53.933 | Will I be able to switch to Gnome-Shell in 11.04? | [
"11.04",
"gnome"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<h2>About gnome-shell</h2>\n\n<p><code>gnome-shell</code> is just a shell and not a new distribution or desktop environment.</p>\n\n<p>The Desktop Environment is Gnome and <code>gnome-shell</code> the shell comes with version3 of Gnome Desktop Environment</p>\n\n<p>Please don't confuse gnome-shell or unity with Window Manager too. Both of them are not window manager. For gnome-shell the WM is Mutter and for unity WM is Compiz.</p>\n\n<h2>Availability in Natty</h2>\n\n<p>With respect to availability of gnome-shell in Ubuntu, it won't be in 11.04. It is present <a href=\"https://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them\">in a PPA</a>. There were some valid <strong>technical</strong> reasons for keeping it in a PPA. <a href=\"https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/690045\" rel=\"nofollow noreferrer\">This bug discusses the issue</a> Quoting from it</p>\n\n<pre><code>Due to the state of the GNOME3 stack in natty, we won't be able to \nupgrade gnome-shell to 2.91.x. In addition, due to libraries that \nhave already changed, (Bug #685225 and Bug #677382), gnome-shell \nis currently broken. We also have the xulrunner-2.0 transition to \nconsider. Due to all this, we believe it best to remove gnome-shell \nfrom natty.\n</code></pre>\n\n<p>Also I found a <a href=\"https://lists.ubuntu.com/archives/ubuntu-desktop/2011-January/002740.html\" rel=\"nofollow noreferrer\">mail titled Status update on GNOME3 and natty</a> sent by Sebastian Bacher dated Jan 20th 2011. It contains a lot of status updates. Go through it.</p>\n\n<p>Instructions for trying GNOME3 (and GNOME Shell) are at this question:</p>\n\n<ul>\n<li><a href=\"https://askubuntu.com/questions/22946/how-do-i-install-the-latest-version-of-gnome-3\">How do I install and use the latest version of GNOME?</a></li>\n</ul>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-03-09T10:43:31.230",
"id": "33018",
"postId": "29636",
"score": "0",
"text": "For unity 2d the WM is Metacity, to complete your list",
"userDisplayName": null,
"userId": "5499"
},
{
"creationDate": "2011-03-09T10:49:04.360",
"id": "33021",
"postId": "29636",
"score": "1",
"text": "Yeah true. Thanks Compiz is 3D compositing manager. Previously Compiz only worked with 3D hardware but as of now it can use AIGLX.",
"userDisplayName": null,
"userId": "52"
},
{
"creationDate": "2011-06-29T07:46:08.690",
"id": "56948",
"postId": "29636",
"score": "0",
"text": "Just an update. I heard Unity 2D would be migrated to Compiz (with no effects)",
"userDisplayName": null,
"userId": "52"
},
{
"creationDate": "2011-07-01T15:21:57.517",
"id": "57429",
"postId": "29636",
"score": "0",
"text": "How is working gnome-shell with 11.04 at this point? Is it reliable?",
"userDisplayName": null,
"userId": "17218"
},
{
"creationDate": "2011-07-01T19:57:38.423",
"id": "57462",
"postId": "29636",
"score": "0",
"text": "The PPA has gnome-shell, but there is guarantee still. I heard most of the issues have now been fixed, but as usual no guarantee",
"userDisplayName": null,
"userId": "52"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T10:22:23.527",
"id": "29636",
"lastActivityDate": "2011-03-21T23:56:53.933",
"lastEditDate": "2017-04-13T12:25:03.983",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "52",
"parentId": "29620",
"postTypeId": "2",
"score": "10"
} | [
{
"accepted": true,
"body": "<h2>About gnome-shell</h2>\n\n<p><code>gnome-shell</code> is just a shell and not a new distribution or desktop environment.</p>\n\n<p>The Desktop Environment is Gnome and <code>gnome-shell</code> the shell comes with version3 of Gnome Desktop Environment</p>\n\n<p>Please don't ... | null | null | null | null | null |
29621 | 1 | 29666 | 2011-03-09T06:48:34.337 | 1 | 1045 | <p>I really don't like the gradients in the Elementary theme and I was wondering if there is a way to remove them from applications like Nautilus-Elementary, Postler, Dexter, etc. I've tried commenting out the <code>Apps/[Application].rc</code> in <code>/usr/share/themes/elementary/gtk-2.0/gtkrc</code> but it doesn't work. It still leaves the gradients in their place.</p>
<p>I'm a big fan of the other controls in the theme: the scroll bar, the way it borders gedit and the buttons, and I'd like to keep these features, but I don't like the way it styles its windows.</p>
<p><strong>EDIT:</strong> The gradients I'm talking about are the ones at the top of the window.</p>
<p>Some examples:</p>
<p>Nautilus-Elementary:<br>
<img src="https://i.stack.imgur.com/Dftrs.png" alt="enter image description here"></p>
<p>Postler:<br>
<img src="https://i.stack.imgur.com/SmBEb.png" alt="enter image description here"></p>
<p>Rhythmbbox:<br>
<img src="https://i.stack.imgur.com/4Ax4U.png" alt="enter image description here"></p>
<p>Transmission:
<img src="https://i.stack.imgur.com/rUatX.png" alt="enter image description here"></p>
<p>I'd like to create a sort of matte look, similar to this, which was done using Orta:</p>
<p>Nautilus-Elementary:<br>
<img src="https://i.stack.imgur.com/xX2on.png" alt="enter image description here"></p>
<p>Postler:<br>
<img src="https://i.stack.imgur.com/wMSiA.png" alt="enter image description here"></p>
<p>Rhythmbox:<br>
<img src="https://i.stack.imgur.com/wMIfK.png" alt="enter image description here"></p>
<p>Transmission:<br>
<img src="https://i.stack.imgur.com/svi4I.png" alt="enter image description here"></p>
<p>I'd like a flat color, preferably without the line separating the top part of the application with the bottom.</p>
| 9494 | 2732 | 2011-03-09T12:10:11.547 | 2011-03-09T15:24:27.743 | How can I remove gradients from Elementary theme? | [
"elementary-theme"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T10:32:41.910",
"id": "33016",
"postId": "29621",
"score": "1",
"text": "What gradients are you referring to? There are several gradients used in the theme( titlebar/menu/toolbar/buttons/..?) if you post an image and point to the specific place you are looking to cha... | {
"accepted": true,
"body": "<p>The line you are looking for is line 410 in the gtkrc file, under the section </p>\n\n<blockquote>\n <p>style \"murrine-toolbar\" =\n \"murrine-default\"</p>\n</blockquote>\n\n<p>starts with: gradient_shades \nYou need to edit the gradient shade values to what you require.\n1.0 is normal color, lesser than 1.0 is darker and greater than 1.0 is lighter shade.</p>\n\n<p>If you want it flat you can set everything to 1.0 and it would look like :</p>\n\n<blockquote>\n<pre><code> gradient_shades = {1.0,1.0,1.0,1.0}\n</code></pre>\n</blockquote>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T15:24:27.743",
"id": "29666",
"lastActivityDate": "2011-03-09T15:24:27.743",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "2588",
"parentId": "29621",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>The line you are looking for is line 410 in the gtkrc file, under the section </p>\n\n<blockquote>\n <p>style \"murrine-toolbar\" =\n \"murrine-default\"</p>\n</blockquote>\n\n<p>starts with: gradient_shades \nYou need to edit the gradient shade values to what you require.\... | null | null | null | null | null |
29624 | 1 | 29735 | 2011-03-09T07:18:42.573 | 2 | 2011 | <p>The other day I came in to work and found that our development server - a Ubuntu box - had a full hard disk. I did a bit of investigation and it seems like mozilla thunderbird is the major culprit. After burning off some backup files which did not need to be on the machine, the disk was left at 94%:</p>
<pre><code>$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 895G 791G 59G 94% /
none 4.0G 300K 4.0G 1% /dev
none 4.0G 1.4M 4.0G 1% /dev/shm
none 4.0G 140K 4.0G 1% /var/run
none 4.0G 0 4.0G 0% /var/lock
none 4.0G 0 4.0G 0% /lib/init/rw
$ cd
$ du -ch | grep [0-9]G
666G ./.thunderbird/ccsmcruu.default/ImapMail/mail.adofms.com.au
666G ./.thunderbird/ccsmcruu.default/ImapMail
667G ./.thunderbird/ccsmcruu.default
667G ./.thunderbird
2.2G ./.VirtualBox/Machines/iBike/Snapshots
2.2G ./.VirtualBox/Machines/iBike
2.2G ./.VirtualBox/Machines
2.2G ./.VirtualBox
670G .
670G total
</code></pre>
<p>I did some reading and found that Mozilla Thunderbird does not compact files by default - i.e. all of the old emails that were sent to trash are still kept. One of the mailboxes used to get a lot of spam so I guess this accounts for the 667GB. I opened up Thunderbird to see how much space the inbox actually takes up and it turns out to be approximately 500MB - over 1000 times less than the stuff that has not been compacted over the years.</p>
<p>So i right clicked on the inbox directory in the tree on the left of Thunderbird and selected 'compact'. I left it for about 12hours but even after that it still said 'compacting folder' on the status bar. I don't use Thunderbird on this PC - it belonged to a colleague who has left the company, however I do occasionally need to look through the inbox for references to the project I am working on, so deleting all traces of Thunderbird is not an option.</p>
<p>My question is - is there any way I can monitor the progress of Thunderbird's compacting function? I would really like to know how long it is going to take.</p>
<p>If there is any way I can speed up the compacting process i would also like to know.</p>
| 12057 | 18612 | 2012-01-11T08:15:55.667 | 2012-01-11T08:15:55.667 | Thunderbird compact is taking forever | [
"performance",
"thunderbird",
"compression"
] | 2 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T08:44:34.670",
"id": "32989",
"postId": "29624",
"score": "0",
"text": "There should be a progress bar left to the \"Unread:\" label. I have no idea how long it's supposed to take to process 666 GB, though.",
"userDisplayName": null,
"userId": "3037"
},
... | {
"accepted": true,
"body": "<p>i found a much quicker solution! just right click on the each inbox and select properties. then under the 'general information' tab select 'rebuild index'. this took about 30 seconds and cleaned the whole thing up!</p>\n\n<pre><code>$ df -h\nFilesystem Size Used Avail Use% Mounted on\n/dev/sda1 895G 120G 730G 15% /\nnone 4.0G 300K 4.0G 1% /dev\nnone 4.0G 1.5M 4.0G 1% /dev/shm\nnone 4.0G 140K 4.0G 1% /var/run\nnone 4.0G 0 4.0G 0% /var/lock\nnone 4.0G 0 4.0G 0% /lib/init/rw\n$ du -ch | grep [0-9]G\n2.2G ./.VirtualBox/Machines/iBike/Snapshots\n2.2G ./.VirtualBox/Machines/iBike\n2.2G ./.VirtualBox/Machines\n2.2G ./.VirtualBox\n4.3G .\n4.3G total\n</code></pre>\n\n<p>far out! from 667GB to less than 1GB in 30 seconds!! that was quick! :)</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-10T00:07:10.313",
"id": "29735",
"lastActivityDate": "2011-03-18T04:09:16.560",
"lastEditDate": "2011-03-18T04:09:16.560",
"lastEditorDisplayName": null,
"lastEditorUserId": "12057",
"ownerDisplayName": null,
"ownerUserId": "12057",
"parentId": "29624",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": null,
"body": "<p>Since you are using IMAP, the mail is stored on the server, and just cached locally. You can shut down thunderbird and go into that directory and just delete the giant file. You also might want to make sure that you have the checkbox to sync the folder locally for offline a... | null | null | null | null | null |
29625 | 1 | null | 2011-03-09T07:26:57.970 | 3 | 5491 | <p>I want to configure EVDO Usb Modem in Ubuntu 10.10
I insert my usb modem to laptop and check the usb is detected or not using <code>$sudo lsusb</code> and the result is:</p>
<pre><code>Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 201e:2009
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 14cd:6600 Super Top USB 2.0 IDE DEVICE
</code></pre>
<p><code>Bus 002 Device 002: ID 201e:2009</code> is my us device.
and than I execute command <code>$dmesg | grep -e tty</code></p>
<pre><code>[ 0.000000] console [tty0] enabled
[ 818.054660] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 818.055125] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 818.055647] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 818.330641] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 818.330743] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 818.330840] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 1054.917473] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 1054.917995] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 1054.918481] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 1055.214087] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 1055.214221] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 1055.214356] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
</code></pre>
<p>Why converter disconnected from ttyUSB2 ? </p>
<p>and than I try to execute command <code>$sudo wvdialconf</code></p>
<pre><code>sorry, no modem was detected! Is it in use by another program ?
did you configure it properly with setserials ?
</code></pre>
<p>I change the same type usb modem from my friend, but I still get error above. </p>
| 12022 | 235 | 2011-03-10T14:59:14.543 | 2011-07-20T19:23:49.710 | Configure USB GSM Modem | [
"10.10",
"usb",
"modem"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-04-14T15:38:10.987",
"id": "39137",
"postId": "29625",
"score": "0",
"text": "I've found the solution. First, I must connecting the USB modem from windows operating system, and disconnect the modem. After that restart the computer, and choose Ubuntu Operating system.",
... | null | [
{
"accepted": null,
"body": "<p>You could give <a href=\"http://sourceforge.net/projects/ubudsl/\" rel=\"nofollow\">UbuDSL</a> a try, though it hasn't been updated in a little while, and I'm not 100% sure if your modem will be supported, but it might just work.</p>\n\n<p>BTW I found a pair of links that mig... | null | null | 2012-02-24T09:38:20.153 | null | null |
29626 | 1 | 49941 | 2011-03-09T07:29:20.260 | 16 | 11109 | <p>I have a problem where a one-pixel high white line is displayed through certain letters of text. Almost always only a single character type is affected at once, and only in one font size (though that size can change over time). Most of the time things are fine, but this happens several times a day. It happens frequently in Firefox, but system dialogs, menus, etc. can also be affected.
It's been happening ever since I upgraded to 10.10. Only restarting seems to fix it.</p>
<p>Two examples (in the first, only the larger "r" is corrupted):
<img src="https://i.stack.imgur.com/2l8GD.png" alt="rs"></p>
<p><img src="https://i.stack.imgur.com/B9Egg.png" alt="os"></p>
<p>Any help would be appreciated, thanks.</p>
<p>Edit: I've since noticed that I can (sometimes) make the fonts appear correctly by zooming in/out all the way and returning to the default in Firefox (one or two steps, then going back, does nothing) seems to make the problem go away temporarily.</p>
<p>Edit 2: I figure it's worth noting that the solution below doesn't fully work for me any longer (I'm now using Ubuntu 11.10). It does <em>significantly</em> reduce the frequency of this problem occurring.</p>
<p>Edit 3: Still around in 12.04. The fix provided by Vanni works perfectly now for me, but apparently doesn't for some.</p>
<p>Edit 4: This seems to be an xorg problem, with Vanni's answer fixing it for many Intel video cards. I've had this occasionally happen with AMD graphics cards in 13.10 and 14.04, but very rarely (only two or three times).</p>
| 11317 | 11317 | 2014-07-13T22:40:50.107 | 2014-07-13T22:40:50.107 | Font corruption: lines through characters | [
"12.04",
"10.10",
"xorg",
"intel-graphics",
"fonts"
] | 3 | 3 | CC BY-SA 3.0 | [
{
"creationDate": "2013-07-18T17:31:37.880",
"id": "408595",
"postId": "29626",
"score": "0",
"text": "@ **Edit 3**: I can confirm that on `Precise` it *mostly* works, but *sometimes* doesn't / stops working. No idea why; but it happens so rarely and goes away after re-booting (or maybe even aft... | {
"accepted": true,
"body": "<p>Probably related to this <a href=\"https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/745608\">xserver-xorg-video-intel bug on Launchpad</a>.</p>\n\n<p>Workaround:</p>\n\n<ol>\n<li>Open a terminal (<kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>t</kbd>);</li>\n<li>type <code>sudo gedit /etc/xorg.conf</code> and hit <kbd>ENTER</kbd>;</li>\n<li>type your user password and hit <kbd>ENTER</kbd>;</li>\n<li><p>copy & paste this into the just opened (hopefully empty) gedit window:</p>\n\n<pre><code>Section \"Device\"\n Identifier \"Intel\"\n Driver \"intel\"\n Option \"DebugWait\" \"true\"\nEndSection\n</code></pre></li>\n<li>save the file and close gedit;</li>\n<li>restart the PC (or restart X).</li>\n</ol>\n\n<p>Hope it works for you too.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-07-11T21:50:35.010",
"id": "58941",
"postId": "49941",
"score": "0",
"text": "Thank you. I finally followed your instructions about a week ago, and have yet to see any corruption at all!",
"userDisplayName": null,
"userId": "11317"
},
{
"creationDate": "2011-07-11T21:58:23.893",
"id": "58943",
"postId": "49941",
"score": "0",
"text": "@Aibara Iduas: you're welcome! :)",
"userDisplayName": null,
"userId": "15155"
},
{
"creationDate": "2013-07-25T09:54:32.260",
"id": "412319",
"postId": "49941",
"score": "0",
"text": "Lately the problem crops up inspite of implementing your answer. Any ideas if there's a new/updated/better solution out there (in mid-2013) ?",
"userDisplayName": null,
"userId": "16023"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-06-21T23:15:51.340",
"id": "49941",
"lastActivityDate": "2011-06-21T23:15:51.340",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "15155",
"parentId": "29626",
"postTypeId": "2",
"score": "13"
} | [
{
"accepted": null,
"body": "<p>I have also had this problem since 10.10. For some reason I don't get it as frequently any more. I recently upgraded to Natty alpha 3 and the problem still occurs with that. I have seen it happen in Firefox, including in this very text box! I have also seen it in window t... | null | null | null | null | null |
29627 | 1 | null | 2011-03-09T07:45:15.987 | 8 | 688 | <p>I installed Ubuntu 10.10 a few days ago. It is really awesome but the problem is that it takes unusually long time (about 20 minutes) for the login screen to appear after the Ubuntu startup screen. This only happens if I shutdown the computer. There is no problem when I restart the computer.</p>
| null | 3037 | 2011-03-09T08:01:26.487 | 2011-08-22T18:33:29.097 | Why does my system boot so slowly? | [
"10.10",
"startup",
"shutdown",
"reboot"
] | 1 | 8 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T08:04:24.347",
"id": "32983",
"postId": "29627",
"score": "3",
"text": "You can follow the two answers in [this question](http://askubuntu.com/questions/10503/boot-takes-a-lot-of-time) to get us more information.",
"userDisplayName": null,
"userId": "3037"
... | null | [
{
"accepted": null,
"body": "<p>The simplest way to solve this problem is with <a href=\"http://www.bootchart.org/\" rel=\"nofollow noreferrer\">bootchart</a>. It will let you see\nwhich process in the boot up sequence is slowing things down.</p>\n\n<blockquote>\n <p>sudo apt-get install bootchart pybootch... | null | null | null | null | user12061 |
29629 | 1 | 29634 | 2011-03-09T08:39:45.720 | 2 | 963 | <p>So I am trying to install Dragon Naturally Speaking 11 on Wine but at the installation I manage to get only at the last point of the setup where it is stuck for more than an hour</p>
<p><img src="https://i.stack.imgur.com/mlJGb.png" alt="screenshot of the installer"></p>
<p>What should I do now? I believe clicking cancel will rollback changes but that seems to be the only thing remaining, or I can just kill this process and trying installing it over again, it might get over with this step. Suggestions?</p>
| 8238 | 8238 | 2011-03-09T10:58:50.077 | 2013-02-24T13:18:31.347 | Dragon NaturallySpeaking 11 installer on wine gets stuck | [
"wine",
"speech-recognition"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>The installer is still stuck where it was but I can see it appear under the Wine menu and from there I can run it. So, I just killed all the wine related processes and all looks good now.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T10:10:10.323",
"id": "29634",
"lastActivityDate": "2011-03-09T10:10:10.323",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "8238",
"parentId": "29629",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>The installer is still stuck where it was but I can see it appear under the Wine menu and from there I can run it. So, I just killed all the wine related processes and all looks good now.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
... | null | 0 | null | null | null |
29630 | 1 | 29862 | 2011-03-09T08:48:58.183 | 7 | 4352 | <p>I'm pretty new to Ubuntu, but I know the basics.</p>
<p>I read the <a href="https://askubuntu.com/questions/5209/how-do-i-change-the-folder-icons-in-the-places-menu">"How do I change the folder icons in the “Places” menu?"</a> but it didn't help, did the option #2 since I want to specify it for a single directory (for now).</p>
<p>So what should I do?</p>
<p>I have the folder image as SVG in:</p>
<ul>
<li><code>/usr/share/icons/hicolor/scalable/apps/</code></li>
<li><code>/usr/share/icons/hicolor/scalable/places/</code></li>
</ul>
<p>The image I want to use: </p>
<p><img src="https://i.stack.imgur.com/KRJ9r.png" alt="enter image description here"> </p>
<p>and where I want it: </p>
<p><img src="https://i.stack.imgur.com/Xx4ED.png" alt="enter image description here"></p>
| 12060 | -1 | 2017-04-13T12:23:36.527 | 2014-07-18T05:08:05.887 | custom icon in "Places" menu | [
"10.10",
"gnome",
"menu",
"icons",
"folder"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T15:56:46.607",
"id": "33072",
"postId": "29630",
"score": "0",
"text": "What do you mean by \"single directory\"? Option #2 should do that.",
"userDisplayName": null,
"userId": "114"
},
{
"creationDate": "2011-03-09T17:38:23.530",
"id": "33110",
... | {
"accepted": true,
"body": "<p>The bookmark icons that appear in the places menu can not be changed\nsee: <a href=\"https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/423890\" rel=\"noreferrer\">https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/423890</a></p>\n<p>But, as you can see the user folders like Videos and Pictures do have a different icon, this is because the places menu only looks at the standard::icon: attribute while customizing a icon only changes the metadata::custom-icon: attribute. There is no way that i have found to change the standard::icon: attribute. This attribute, at a "normal" folder, will always be the same.</p>\n<p>A workaround that i have used is changing the directory of a user folder (which i don't use) to the directory of the folder of which the icon must be changed, and after that, replacing the icon files of that user folder.</p>\n<h1>step 1)</h1>\n<p>Changing the directory of a user folder can be done by editing the file ~/.config/user-dirs.dirs. You can open it by typing the following line in a terminal window:</p>\n<pre><code>gedit .config/user-dirs.dirs\n</code></pre>\n<p>Or by navigation to your home folder press Ctrl+H, search for the folder .config and opening the user-dirs.dirs file from there.</p>\n<p>The output of that file will be something like this:</p>\n<pre><code># This file is written by xdg-user-dirs-update\n# If you want to change or add directories, just edit the line you're\n# interested in. All local changes will be retained on the next run\n# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped\n# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an\n# absolute path. No other format is supported.\n# \nXDG_PUBLICSHARE_DIR="$HOME/Public"\nXDG_DOWNLOAD_DIR="$HOME/Downloads"\nXDG_MUSIC_DIR="$HOME/Music"\nXDG_VIDEOS_DIR="$HOME/Videos"\nXDG_DESKTOP_DIR="$HOME/Desktop"\nXDG_DOCUMENTS_DIR="$HOME/Documents"\nXDG_TEMPLATES_DIR="$HOME/Templates"\nXDG_PICTURES_DIR="$HOME/Pictures"\n</code></pre>\n<p><em>Note: before you start editing this file make a backup by saving it with a name like user-dirs.dirs.bak</em></p>\n<p>In this file you can change the directory of your user folders. For example, if you want to change the directory for your Public folder to the directory of your Dropbox folder change the line:</p>\n<pre><code>XDG_PUBLICSHARE_DIR="$HOME/Public"\n</code></pre>\n<p>to:</p>\n<pre><code>XDG_PUBLICSHARE_DIR="$HOME/Dropbox"\n</code></pre>\n<p>(assuming that your Dropbox folder is located in your home directory)</p>\n<p>After you have done this you will notice that your Dropbox folder (if you are using the Ambiance theme) will look like this:</p>\n<p><img src=\"https://i.stack.imgur.com/2DVtx.png\" alt=\"Icon Dropbox/Public\" /></p>\n<p>And after you bookmarked it by dragging it to your sidebar in nautilus it will appear in your places menu like this:</p>\n<p><img src=\"https://i.stack.imgur.com/zNyWh.png\" alt=\"enter image description here\" /></p>\n<p>If this is not the case try refreshing your window by pressing Ctrl+R or F5, if its still not working at that point check the users-dirs.dirs file for any mistakes you could have made.</p>\n<h1>step 2)</h1>\n<p>Although this is a very nice icon it's not the one you wanted to use. You have to replace the icons of the user folder with your own. The icons for the user folder public are named "folder-publicshare.svg" and can be found in:</p>\n<pre><code>/usr/share/icons/Humanity/places/16/\n/usr/share/icons/Humanity/places/22/\n/usr/share/icons/Humanity/places/24/\n/usr/share/icons/Humanity/places/32/\n/usr/share/icons/Humanity/places/48/\n/usr/share/icons/Humanity/places/64/\n</code></pre>\n<p>Because i was bored i made a bash script to make this easy for you</p>\n<pre><code>#!/bin/bash\ni=0\nfor d in `ls -d $2*/`\ndo cp $1 $d$3\necho copying $1 to $d$3\nlet i++\ndone\necho "The file $3 was copied to a total of $i locations"\n</code></pre>\n<p>You can copy this in a text editor like gedit and save it in your home folder with the name copy.sh or some other name which you like better. Once you have saved it you have to open a terminal window and type:</p>\n<pre><code>sudo chmod +x ./copy.sh\n</code></pre>\n<p>This will make the file you just created executable, to replace the icons type:</p>\n<p><code>sudo ./copy.sh /dir/to/icon.png /usr/share/icons/Humanity/places/ folder-publicshare.svg</code></p>\n<p>Replace the first parameter /dir/to/icon.png with the location of your icon, the second parameter is the parent directory of the folders where the icons are stored, the third parameter is the name of the icons that need to be replaced (this parameter is optional if the script is used for a different purpose).</p>\n<p>Using this script will also make a copy to the 128 folder where it isn't needed, it will do no harm there but if you want to delete it you can do this by typing the following line in a terminal window:</p>\n<pre><code>sudo rm /usr/share/icons/Humanity/places/128/folder-publicshare.svg\n</code></pre>\n<p>After you logged out and and logged in again this will be the result (in Dutch):</p>\n<p><img src=\"https://i.stack.imgur.com/SiAbu.png\" alt=\"enter image description here\" /></p>\n<p>As you can see there is another custom icon in my menu named School (it has my School logo on it), this one replaced the user folder Templates (guess no one really uses that folder). The icons for the user folder Templates are named folder-templates.svg and can be found at the same locations as the icons for the user folder public. While replacing these icons i didn't use the bash script that i posted above but i copied them manually because i made six different icons with different resolutions.</p>\n<p>The downside on this approach is that you can only customize a total of seven icons and you have to hand in a standard user folder.</p>\n<p><em>Note: Do not change the directory of your Desktop unless you know what you are doing.</em></p>\n<p>I hope this has answered your question, it may look like a lot of work but its done in a minute.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-13T15:10:09.027",
"id": "33764",
"postId": "29862",
"score": "0",
"text": "Thanks, I made a few modifications on the script (made it make a backup of the folder-publicshare.svg first).",
"userDisplayName": null,
"userId": "12060"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-11T03:16:02.797",
"id": "29862",
"lastActivityDate": "2011-03-11T03:20:45.133",
"lastEditDate": "2020-06-12T14:37:07.210",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "12152",
"parentId": "29630",
"postTypeId": "2",
"score": "12"
} | [
{
"accepted": true,
"body": "<p>The bookmark icons that appear in the places menu can not be changed\nsee: <a href=\"https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/423890\" rel=\"noreferrer\">https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/423890</a></p>\n<p>But, as you can see the user fol... | null | null | null | null | null |
29635 | 1 | null | 2011-03-09T10:18:51.517 | 5 | 925 | <p>I want to develop a little application and I want to add events to the calendar of the Gnome panel clock. How does it work? Is there a D-Bus Interface I can use? Or can I directly access the evolution-data-server?</p>
| 4871 | 235 | 2011-11-29T01:33:03.783 | 2012-11-23T05:23:51.370 | How do I program the GNOME Clock Calendar with Python? | [
"gnome",
"python",
"application-development",
"calendar"
] | 2 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>The <a href=\"https://live.gnome.org/Conduit/evolution-python\" rel=\"nofollow\">Evolution-python</a> library lets you access Evolution Data Server in Python.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA ... | null | 0 | null | null | null |
29637 | 1 | null | 2011-03-09T10:46:24.770 | 10 | 2489 | <p>After installing 10.10 I used <code>Hardware Drivers</code> (Jockey) to install the graphics driver v11.2 for my ATI HD 5770.</p>
<p>After restarting to activate the driver all went well and the boot screen showed up but not like the normal one the text was rough on the edges and after the boot finished the screen turned black and no signal.</p>
<p>I have found some forum discussions about that issue but no fix worked for me.
I use a DVI to VGA adapter and I have a View Sonic E70F CRT monitor.</p>
<p><a href="https://i.stack.imgur.com/rrzfS.jpg" rel="nofollow noreferrer">this is the last thing i see before i get a no signal</a></p>
<p>i found a bug report at <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/560306" rel="nofollow noreferrer">launchpad.net</a> take a look </p>
<ul>
<li>using <code>sudo rm /etc/X11/xorg.conf</code>
and the rebooted the screen came on</li>
<li><p>after the boot or splash screen the
desktop resolution is <code>1152x864</code> </p></li>
<li><p>I can't use the CCC "catalyst control
center":
<img src="https://i.stack.imgur.com/NTUc5.png" alt="msg popup"></p></li>
<li>I can't enable desktop effects </li>
</ul>
<p>I have found that my <strong>EDID</strong> in my monitor is corrupt and Ubuntu is not reading my monitor when I set it to defalut and gives me this error:</p>
<p><img src="https://i.stack.imgur.com/SCUxu.jpg" alt="enter image description here"></p>
<p>In windows the display is read as generic non-PnP monitor and it can live with that while Ubuntu can't. The error message is the right size when I set my display as default.</p>
<p>People told me i can put refresh rates horizontal and vertical and screen resolution in xorg. Am I on the right track? How can I do that? </p>
| 12067 | 1067 | 2011-03-20T16:27:50.100 | 2011-07-18T15:21:26.133 | No signal to monitor after driver install | [
"10.10",
"drivers",
"ati"
] | 3 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-14T17:52:06.087",
"id": "33993",
"postId": "29637",
"score": "1",
"text": "in the other post that guy got his issue which is like min fixed by DVI to HDMI adapter",
"userDisplayName": null,
"userId": "12067"
},
{
"creationDate": "2011-03-20T16:29:03.07... | null | [
{
"accepted": null,
"body": "<p>The issue with Ubuntu is you need to manually specify in your drivers' control panel that \"This monitor needs a signal, here's the specs\".</p>\n\n<p>On an nVidia system that I have, I have to connect the monitor, then open up the control panel for the nVidia system, hit 'De... | null | null | null | null | null |
29639 | 1 | null | 2011-03-09T11:03:14.300 | 6 | 26850 | <p>In Ubuntu when new mail arrives <em>Evolution</em> changes message indicator to green color. I have migrated from <em>Evolution</em> to <em>Thunderbird</em> and that is why looking for how to make <em>Thunderbird</em> react like <em>Evolution</em> once a new mail arrives.</p>
<p><strong>UPDATE 1</strong></p>
<p>I have forgotten to note that I don't have <em>administrator privileges</em> in my working computer.</p>
<p>Thanks</p>
| 161 | 161 | 2011-03-09T11:24:18.603 | 2014-08-04T06:06:06.187 | How to make Thunderbird notify of new email like Evolution? | [
"indicator",
"evolution",
"thunderbird",
"notification"
] | 4 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T11:21:11.863",
"id": "33030",
"postId": "29639",
"score": "0",
"text": "you also may have a look at [Popper](http://askubuntu.com/q/28231)",
"userDisplayName": null,
"userId": "3940"
}
] | null | [
{
"accepted": null,
"body": "<p>There is an extension that integrates Thunderbird with the Ubuntu Messaging menu (and also provides NotifyOSD notifications) that comes in a PPA. Here's a screenshot:</p>\n\n<p><img src=\"https://i.stack.imgur.com/sNW7J.png\" alt=\"enter image description here\"></p>\n\n<p>To... | null | null | null | null | null |
29641 | 1 | 29650 | 2011-03-09T11:17:19.260 | 1 | 274 | <p>Is it possible to make a script that basically does the same thing as <code>jockey-common</code>? i.e. An script to find any hardware that requires proprietary drivers and install them.</p>
<p><strong>EDIT</strong> As Oli mentioned, the scripts are already present in Ubuntu, if any of you are already aware as to which script corresponds to which options listed in <code>jockey-text --help</code> and how to use them, please answer!</p>
| 814 | 814 | 2011-03-13T16:08:15.140 | 2011-03-13T16:08:15.140 | Scripts used by `jockey-common` | [
"python",
"scripts",
"jockey"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>I'm not sure I know what you want to achieve but <code>jockey-text</code> will let you detect and install drivers from the command line.</p>\n\n<p>It has various arguments where you'd be able to parse the output and feed them back into it via a script. Just look at <code>jockey-text --help</code></p>\n\n<p>If you need to really play around with <em>how</em> it works, it's all Python (with a light dusting of dbus) so you're free to just dive in and hack around with whatever you want.</p>\n\n<p>You can find the scripts in <code>/usr/lib/python2.6/dist-packages/jockey/</code> (this path will change in future Ubuntu versions when there's a different Python version being used) and you can see how <code>jockey-text</code> interfaces with this in its own script here: <code>/usr/bin/jockey-text</code>.</p>\n\n<p>I'd suggest inheriting <code>jockey.ui.AbstractUI</code> like <code>jockey-text</code> does and working it from there. It's not a simple application though. It's going to take a bit of time to figure out what's actually happening inside that class before you can meaningfully use it.</p>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-03-09T12:58:36.473",
"id": "33047",
"postId": "29650",
"score": "0",
"text": "Yes, I'm already aware of it - `jockey-text` and `jockey-gtk` (Additional Drivers) are there because of `jockey-common`. What I'm looking for is a script that is an alternative solution to let me detect and install restricted drivers.",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-09T13:02:16.667",
"id": "33050",
"postId": "29650",
"score": "0",
"text": "Have a look at `/usr/bin/jockey-text` and you'll see it's just a wrapper around other Python scripts in `/usr/lib/python2.6/dist-packages/jockey/`. You're free to pull those apart and dig in.",
"userDisplayName": null,
"userId": "449"
},
{
"creationDate": "2011-03-09T13:05:42.893",
"id": "33051",
"postId": "29650",
"score": "0",
"text": "I was hoping it'd be something like that and thinking to take a peek into the source code (even though I don't really know any programming), so thanks for the pointer! I'll accept this answer if I can get them to work.",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-09T14:24:03.410",
"id": "33060",
"postId": "29650",
"score": "0",
"text": "By different Python version, do you mean the scripts will be upgraded to use Python 3? (Python three isn't consistent with older versions, as far as I know)",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-10T09:13:49.353",
"id": "33219",
"postId": "29650",
"score": "0",
"text": "@Oxwivi It's a class in `/usr/lib/python2.6/dist-packages/jockey/ui.py`",
"userDisplayName": null,
"userId": "449"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T12:56:23.103",
"id": "29650",
"lastActivityDate": "2011-03-09T13:10:00.900",
"lastEditDate": "2011-03-09T13:10:00.900",
"lastEditorDisplayName": null,
"lastEditorUserId": "449",
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29641",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>I'm not sure I know what you want to achieve but <code>jockey-text</code> will let you detect and install drivers from the command line.</p>\n\n<p>It has various arguments where you'd be able to parse the output and feed them back into it via a script. Just look at <code>jock... | null | null | null | null | null |
29642 | 1 | null | 2011-03-09T11:22:01.977 | 5 | 1932 | <p>This is something that's been bugging me for quite some time.</p>
<p>I'm attaching a screenshot of the issue as seen in <strong>Microsoft Office Word 2007</strong>.</p>
<p><img src="https://i.stack.imgur.com/6FZg9.png" alt="Issue in Word 2007"></p>
<p>While it doesn't get in the way when it's like this, I've had to uninstall other apps as the black artefacts affected usability.</p>
<p>Here is the same issue in <strong>Excel 2007</strong>.</p>
<p><img src="https://i.stack.imgur.com/KCE8e.png" alt="enter image description here"></p>
<p><strong>Setup</strong><br>
I'm running 32-bit Ubuntu 10.10, with an Intel 945 chipset.</p>
| 12066 | 94914 | 2013-12-04T06:15:07.363 | 2013-12-04T06:15:07.363 | Black or Corrupt UI Artifacts Under Wine | [
"wine",
"visual-artifacts"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T12:40:45.817",
"id": "33045",
"postId": "29642",
"score": "0",
"text": "I recently switched machines to a Lenovo Thinkpad X201 and have the same problem. I have the same problem using Crossover and their support team pointed to the same driver bug.",
"userDispla... | null | [
{
"accepted": null,
"body": "<p>Judging from <a href=\"http://appdb.winehq.org/objectManager.php?sClass=version&iId=12811\" rel=\"nofollow noreferrer\">Word 2007's AppDB page</a> this looks more to be a graphics driver bug</p>\n<blockquote>\n<p>xf86-video-intel 2.12.0 and newer</p>\n<p>GUI controls are ... | null | null | null | null | null |
29647 | 1 | null | 2011-03-09T12:13:41.777 | 1 | 2034 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/5304/upgrading-to-latest-stable-mono">Upgrading to latest stable Mono</a> </p>
</blockquote>
<p>Hi, I want to use Mono for some projects, but in Ubuntu (or Debian in general) is just 2.6.7 avalible. And I could not find any packages or PPAs. </p>
<p>I tried to compile it myself, but I failed. </p>
<p>Where can I get the current Mono 2.10 Version for Ubuntu Maverick and Natty? <a href="http://badgerports.org/" rel="nofollow noreferrer">http://badgerports.org/</a> only supports Lucid and Hardy and is not up to date</p>
| 4871 | -1 | 2017-04-13T12:23:28.223 | 2011-03-09T12:13:41.777 | where can I get Mono 2.10 for Maverick and Natty? | [
"10.10",
"11.04",
"package-management",
"development",
"mono"
] | 0 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T12:20:02.363",
"id": "33040",
"postId": "29647",
"score": "0",
"text": "You should elaborate on why you failed to compile it from source as that is going to be the only way to get it if there is no PPA for it.",
"userDisplayName": null,
"userId": "2732"
},... | null | [] | null | null | 2011-03-09T12:51:36.697 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.