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 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28757 | 1 | 28778 | 2011-03-02T18:44:32.343 | 7 | 172 | <p>I have a project in Launchpad with a bzr tree. I want all merge requests against that tree to have notifications set to my developer mailing list. How can I accomplish this?</p>
| 721 | 169736 | 2014-02-26T03:43:41.667 | 2014-02-26T03:43:41.667 | For my project in Launchpad, how do I send all merge requests to a mailing list? | [
"launchpad",
"bazaar"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<ol>\n<li>The mailing list must be associated with a LP user or team. For teams, it is under \"Set Contact Information\".</li>\n<li>Set this LP user or team as the \"Reviewer\" of the bzr tree, under \"Set branch reviewer\"</li>\n<li>On the mailing list, allow implicit inbound emails from LP. For example, with Mailman, under \"Privacy Options, Recipient Filters\", set \"Alias names (regexps) which qualify as explicit to or cc destination names for this list.\" to: <code>mp\\+.*@code\\.launchpad\\.net</code></li>\n</ol>\n\n<p>Now all merge request emails will be delivered to the mailing list.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-02T21:46:31.140",
"id": "28778",
"lastActivityDate": "2011-03-02T21:46:31.140",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "721",
"parentId": "28757",
"postTypeId": "2",
"score": "5"
} | [
{
"accepted": null,
"body": "<p>Register the mailing list as the owner of the branch?</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-02T21:43:23.233",
"id": "31991",
"postId": "28760",
"score": "0",
"text": "This doesn't seem suffi... | null | null | null | null | null |
28762 | 1 | 28765 | 2011-03-02T19:35:46.957 | 1 | 593 | <p>When I try to update I get <a href="http://pastebin.com/4RYUhwa1" rel="nofollow">this</a> message, I'm guessing I'm missing something here?</p>
<pre><code>Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb6 ext4 43G 7.7G 33G 20% /
none devtmpfs 1.6G 349k 1.6G 1% /dev
none tmpfs 1.6G 5.9M 1.6G 1% /dev/shm
none tmpfs 1.6G 218k 1.6G 1% /var/run
none tmpfs 1.6G 0 1.6G 0% /var/lock
/dev/sdb2 fuseblk 258G 198G 60G 77% /media/Backup
/dev/sda1 fuseblk 321G 175G 146G 55% /media/Media
/dev/sdb1 ext4 96M 84M 6.7M 93% /boot
/dev/sdb7 ext4 175G 81G 86G 49% /home
</code></pre>
<p>Here's the output:</p>
<pre><code>Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-2.6.35-22-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 107MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 282211 files and directories currently installed.)
Removing linux-image-2.6.35-22-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
/etc/default/grub: 23: Syntax error: newline unexpected
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.35-22- generic.postrm line 328.
dpkg: error processing linux-image-2.6.35-22-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-2.6.35-22-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
</code></pre>
<p><a href="http://pastebin.com/yiPnniNs" rel="nofollow">Here's</a> the content of etc/default/grub</p>
| 4203 | 4203 | 2011-03-04T06:33:59.197 | 2011-03-04T08:25:26.300 | Can't update kernel to 2.6.35.27 | [
"kernel",
"updates"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>As the log says</p>\n\n<blockquote>\n<pre><code>gzip: stdout: No space left on device\n</code></pre>\n</blockquote>\n\n<p>you're probably missing space on the root partition. Can you check that or provide the output of <code>df -Th</code>? </p>\n\n<p>EDIT1:</p>\n\n<p>As for the <code>dpkg</code> error:</p>\n\n<p>You have a syntax error in the <code>/etc/default/grub</code> file. Either correct it or post it here.</p>\n\n<p>EDIT2:</p>\n\n<p>The line 23 in <code>/etc/default/grub</code> shouldn't look like this:</p>\n\n<pre><code>GRUB_GFXMODE=>>1024x768-24<<\n</code></pre>\n\n<p>but like this:</p>\n\n<pre><code>GRUB_GFXMODE=1024x768\n</code></pre>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-03-02T19:57:14.787",
"id": "31971",
"postId": "28765",
"score": "0",
"text": "i checked and still have plenty of space , i added the output to my question",
"userDisplayName": null,
"userId": "4203"
},
{
"creationDate": "2011-03-04T10:47:15.593",
"id": "32216",
"postId": "28765",
"score": "0",
"text": "the line looks like that cause a used a script to fix plymouth, which didn't displayed properly, and the script required me to type the resolution i wanted like that",
"userDisplayName": null,
"userId": "4203"
},
{
"creationDate": "2011-03-04T15:31:46.797",
"id": "32271",
"postId": "28765",
"score": "0",
"text": "So now it's OK? Any other errors? :)",
"userDisplayName": null,
"userId": "9340"
},
{
"creationDate": "2011-03-04T16:52:53.657",
"id": "32292",
"postId": "28765",
"score": "0",
"text": "if i change it, plymouth will not work properly",
"userDisplayName": null,
"userId": "4203"
},
{
"creationDate": "2011-03-04T17:14:18.653",
"id": "32295",
"postId": "28765",
"score": "0",
"text": "I'm not sure about the syntax here if you need to specify depth, but it could be `1024x768x24`.",
"userDisplayName": null,
"userId": "9340"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-02T19:47:32.443",
"id": "28765",
"lastActivityDate": "2011-03-04T08:25:26.300",
"lastEditDate": "2011-03-04T08:25:26.300",
"lastEditorDisplayName": null,
"lastEditorUserId": "9340",
"ownerDisplayName": null,
"ownerUserId": "9340",
"parentId": "28762",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>As the log says</p>\n\n<blockquote>\n<pre><code>gzip: stdout: No space left on device\n</code></pre>\n</blockquote>\n\n<p>you're probably missing space on the root partition. Can you check that or provide the output of <code>df -Th</code>? </p>\n\n<p>EDIT1:</p>\n\n<p>As for t... | null | null | null | null | null |
28769 | 1 | 28776 | 2011-03-02T20:24:51.323 | 5 | 3411 | <p>Does there exists some list of keyboard shortcuts? I want to know how to turn photos (and other manipulations). I couldn't google it.</p>
| 1982 | null | null | 2011-03-02T20:53:50.313 | Eye Of Gnome (eog) keyboard shortcuts | [
"shortcut-keys",
"eog"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Some but unfortuanley not all of the keyboard shortcuts are listed in the <a href=\"http://library.gnome.org/users/eog/stable/index.html.en\" rel=\"nofollow\">GNOME Image Viewer Manual</a> that you will also get by pressing the \"Help\" button in Eye Of Gnome.</p>\n\n<p>Keyboard shortcuts that are not listed may appear in the menu dropdown list (e.g. <kbd>Ctrl</kbd>+<kbd>R</kbd> for rotating clockwise or <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>R</kbd> for rotating counter clockwise).</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-02T20:53:50.313",
"id": "28776",
"lastActivityDate": "2011-03-02T20:53:50.313",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "3940",
"parentId": "28769",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>Rotate Clockwise: <kbd>Ctrl</kbd>+<kbd>R</kbd></p>\n\n<p>Rotate Anti-clockwise: <kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Ctrl</kbd></p>\n\n<hr>\n\n<p>Unfortunately eog has no other 'photo editing' keyboard shortcuts as such. The easiest way to find out more shortcuts is to look ... | null | null | null | null | null |
28772 | 1 | null | 2011-03-02T20:41:22.463 | 6 | 1287 | <p>I'd like to have a message pop up in response to various system events, mostly in order to be able to set reminders for myself from a shell session. There are a few ways to do this; <code>zenity</code> seems to be the most polished. However, I've found at least two problems with zenity:</p>
<ol>
<li><p>Messages do not appear on all workspaces. I tried using the gtk option <code>--screen</code> to control this, but they just appear on the current workspace regardless. So if I am switching workspaces as the message comes up, I will not see it.</p></li>
<li><p>Messages do not appear above all other windows. Specifically, if I am using <code>guake</code>, a new <code>zenity</code> message will appear below the <code>guake</code> window and I won't be able to see it.</p></li>
</ol>
<p>I tried a few other apps a while back. Both <code>gmessage</code> and <code>xmessage</code> exhibited problem <strong>1</strong>; <code>gmessage</code> also exhibited problem <strong>2</strong>. I did find that <code>kalarm</code>, which can be scripted from the command line, worked acceptably, but I'm trying to avoid running the KDE stack if possible, and would prefer something lightweight with <code>zenity</code>'s versatility.</p>
<p>It seems that it might be possible to arrange for these problems to be resolved by setting the WM_CLASS, but I'm in a bit over my head there. It might also be possible to make modifications to the window after it launches with a script, but again I'm not sure where to look for resources on that.</p>
<h3>update</h3>
<p>As suggested by @geirha, I've looked into using <code>notify-send</code> (via the package <a href="https://launchpad.net/ubuntu/+source/libnotify" rel="nofollow">libnotify-bin</a>, which appears to be a client to <a href="https://launchpad.net/notify-osd" rel="nofollow">notify-osd</a>). There are numerous problems with this framework, for which I've filed <a href="https://bugs.launchpad.net/notify-osd/+bug/746172" rel="nofollow">a</a> <a href="https://bugs.launchpad.net/notify-osd/+bug/746175" rel="nofollow">few</a> <a href="https://bugs.launchpad.net/notify-osd/+bug/746177" rel="nofollow">bug</a> <a href="https://bugs.launchpad.net/notify-osd/+bug/694224" rel="nofollow">reports</a>. I'm hoping that devilspie can provide workarounds for some or all of these issues, or that there is another notification system which works more reliably.</p>
| 3865 | 3865 | 2011-03-31T02:24:49.403 | 2011-03-31T02:24:49.403 | Reliable alert dialogs from the shell | [
"xorg",
"notification",
"workspaces",
"zenity",
"guake"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>Maybe you want <code>notify-send</code>?</p>\n\n<p>Otherwise, there's <a href=\"https://help.ubuntu.com/community/Devilspie\" rel=\"nofollow\">devilspie</a>, which allows you to say things like \"all windows with this name (or of this class or with this role), shall be visibl... | null | null | null | null | null |
28779 | 1 | 30557 | 2011-03-02T21:47:57.733 | -1 | 242 | <p>When I try to minimize windows they close!</p>
| 8357 | 47291 | 2012-08-09T00:52:22.967 | 2012-09-04T19:19:06.927 | When I try to minimize windows, they close? | [
"unity",
"window-buttons"
] | 2 | 1 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-02T23:05:27.743",
"id": "31999",
"postId": "28779",
"score": "0",
"text": "What do you do to try to minimize windows?",
"userDisplayName": null,
"userId": "1859"
}
] | {
"accepted": true,
"body": "<p>I accidentally removed the Window's List application from the Desktop, once I put it back everything returned to normal!</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-16T02:25:47.337",
"id": "30557",
"lastActivityDate": "2011-03-16T02:25:47.337",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "8357",
"parentId": "28779",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": null,
"body": "<p>Try to change the window border theme. It could be that the images don't match with the buttons or aren't placed properly.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2012-08-20T18:12:35.010",
"id": "220980",
"postId": "... | null | null | null | null | null |
28785 | 1 | 31373 | 2011-03-02T23:51:36.963 | 0 | 830 | <p>The latest version of Gnome-shell starts to display (the top bar appears briefly) but I then get logged out. This happens when I start it with "gnome-shell --replace". Any idea how to make it behave properly? Laptop is a MSI U21, an0d I run with a 'nomodeset' startup option. Without this option the screen clears to just wallpaper and stays that way.</p>
<p>Gnome-shell v2.31.5
Kernel 2.6.35-27 (& 28 as well)</p>
| 1217 | 1217 | 2011-03-19T15:53:10.700 | 2011-03-21T18:42:31.257 | Gnome-Shell Logout | [
"gnome",
"logout"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Removing the boot-up option \"nomodeset\" seems to correct this problem. The MSI U210 needs \"nomodeset\" to handle an external monitor correctly, and so I have its set as a default. When I booth without it, gnome-shell behaves normally. It sounds like there is a fix for the U21p nomodeset requirement in Natty, so hopefully I'll be able to work as I wish then.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-21T18:42:31.257",
"id": "31373",
"lastActivityDate": "2011-03-21T18:42:31.257",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1217",
"parentId": "28785",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": null,
"body": "<p>You could try starting it in its own session instead of replacing your current WM with it. There's a package in the repos for that in Maverick--gnome3-session--but if you want it to start a compiled-from-git version instead you'll have to edit the session file (<code>/usr/sha... | null | null | null | null | null |
28788 | 1 | 28791 | 2011-03-03T00:09:54.083 | 17 | 27954 | <p>When I open up the manual for a command (<code>man wget</code> for example) the manual can be many hundreds of lines long. How can I get: </p>
<ul>
<li>to the end of the manual quickly and</li>
<li>back to my terminal prompt?</li>
</ul>
| 2978 | 3778 | 2011-03-03T06:48:45.557 | 2012-07-04T18:22:49.163 | How to jump to the end of a 'man' page | [
"command-line",
"manpage"
] | 4 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>When inside of the document viewer through the man command, press <kbd>h</kbd> or <kbd>H</kbd> in order to view the man's help.</p>\n\n<p>From man's help screen:</p>\n\n<pre><code>JUMPING\n\n g < ESC-< * Go to first line in file (or line N).\n G > ESC-> * Go to last line in file (or line N).\n p % * Go to beginning of file (or N percent into file).\n</code></pre>\n\n<p>Another good idea would be to press the <kbd>Home</kbd> or the <kbd>End</kbd> keys. :)</p>\n\n<p>Good luck!</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-03T02:44:34.017",
"id": "32013",
"postId": "28791",
"score": "2",
"text": "Home, End, Page Up, Page Down, and the mouse scroll wheel all work as expected for me.",
"userDisplayName": null,
"userId": "1859"
},
{
"creationDate": "2022-06-28T19:45:22.193",
"id": "2462989",
"postId": "28791",
"score": "0",
"text": "In the `man bash` interface, when I hit `g` and `G` I got to the top or the bottom, respectively. What does the `< ESC-<` part mean? I can type `g` then `7` then `<enter>` and it takes me to line 7, which is \"line N\" in the instructions but I couldn't tell you what made me try `g 7 <enter>` to get to line 7. `p 50 <enter>` does take me to what I believe to be half-way through the document so I guess I understand some of it but what's `< ESC-<` all about?",
"userDisplayName": null,
"userId": "128789"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T00:31:33.073",
"id": "28791",
"lastActivityDate": "2011-03-03T02:32:03.650",
"lastEditDate": "2011-03-03T02:32:03.650",
"lastEditorDisplayName": null,
"lastEditorUserId": "114",
"ownerDisplayName": null,
"ownerUserId": "9598",
"parentId": "28788",
"postTypeId": "2",
"score": "24"
} | [
{
"accepted": null,
"body": "<ul>\n<li><p>Press <kbd>G</kbd></p></li>\n<li><p>Press <kbd>q</kbd></p></li>\n</ul>\n\n<p>You can type <code>man less</code> to get more information.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-03T00:29:19.817",
"id": "3200... | null | null | null | null | null |
28792 | 1 | 28796 | 2011-03-03T01:02:46.857 | 0 | 1738 | <p>is it possible to give sudo privileges to a user for a specific folder?
e.g i want the user 'dads' to have sudo access for creating/deleting files in a folder 'virgo' in /opt </p>
| 9302 | null | null | 2011-03-03T02:36:06.413 | sudo access per folder? is that possible? | [
"users",
"sudo"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>No, i'm pretty sure you can't, but you can let other users read/write in that folder by changing it's permissions.</p>\n\n<p>Another approach is to create a group, set that group as the owner of the folder, and then add all the users you want to that group.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T01:29:14.773",
"id": "28796",
"lastActivityDate": "2011-03-03T01:29:14.773",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "5185",
"parentId": "28792",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>No, i'm pretty sure you can't, but you can let other users read/write in that folder by changing it's permissions.</p>\n\n<p>Another approach is to create a group, set that group as the owner of the folder, and then add all the users you want to that group.</p>\n",
"comme... | null | null | null | null | null |
28793 | 1 | 28825 | 2011-03-03T01:10:23.787 | 6 | 12607 | <p>When you right click a file, such as a power point presentation, I expect to be able to see the author of the file and other such metadata. This does not seem to happen in gnome / nautilus. This is standard behaviour in Windows.</p>
<p>Any idea how I can see a files metadata?</p>
| null | null | null | 2012-01-17T18:09:13.207 | View File MetaData in Gnome / Nautilus | [
"gnome",
"nautilus",
"metadata"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Files such as the Portable Document Format (PDF), images, audio and video files the metadata you are interested in can be viewed by right clicking the file, click properties and then click on the relevant tab to see the kind of metadata you asked about.</p>\n\n<p>For PDFs click the Document tab</p>\n\n<p>For images click the Image tab</p>\n\n<p>For audio click the Audio tab</p>\n\n<p>For video click the Audio/Video tab</p>\n\n<p>For some Office documents you will not be able to view the kind of metadata you asked about by right clicking, you can install the utility called extract from the repositories and and run it from the command line, the metadata, if any is contained in the file, will be displayed in your terminal.</p>\n\n<p>Example for using the extract utility:</p>\n\n<p>I have an OpenOffice.org spreadsheet called 555.ods,\nFrom the directory where the file is located I run;</p>\n\n<pre><code>extract 555.ods\n</code></pre>\n\n<p>The result below is the metadata in the file printed to stdout.</p>\n\n<pre><code>keywords - Electronics\nsubject - Electronics Engineering\ntitle - 555 Timer Calculations\ncreator - Shabaka Sellasie\ndate - 2011-03-03T00:48:04\ncreation date - 2006-03-03T00:48:02\nsoftware - OpenOffice.org/3.2$Linux OpenOffice.org_project/320m19$Build-9505\nmimetype - application/vnd.oasis.opendocument.spreadsheet\n</code></pre>\n\n<p>Currently, libextractor supports the following formats: HTML, PDF, PS, OLE2\n(DOC, XLS, PPT), OpenOffice (sxw), StarOffice (sdw), DVI, MAN, MP3 (ID3v1 and\nID3v2), OGG, WAV, EXIV2, JPEG, GIF, PNG, TIFF, DEB, RPM, TAR(.GZ), ZIP, ELF,\nREAL, RIFF (AVI), MPEG, QT and ASF.</p>\n\n<blockquote>\n <p>you can install the utility called extract</p>\n</blockquote>\n\n<p>This is a simple Nautilus script that invokes extract and displays the result with zenity, then with a right-click I can get that info. If you want, the script I wrote is this (please note that I'm not sure that the line \"IFS=$'\\n'\" is actually required, a bash expert could comment on that)</p>\n\n<pre><code>#!/bin/bash \nfor item ; do \n echo \"$item\" \n /usr/bin/extract \"$item\" \n echo \ndone | zenity --text-info --title=\"extract\" --width=300 --height=600\n</code></pre>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-03T13:21:11.333",
"id": "32073",
"postId": "28825",
"score": "0",
"text": "Sad that this doesn't work in Nautilus like it does in explorer.exe\n\nEither way, answer is what I was looking for, Thanks.",
"userDisplayName": "user11738",
"userId": null
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-03T06:47:39.023",
"id": "28825",
"lastActivityDate": "2011-10-03T16:56:35.113",
"lastEditDate": "2011-10-03T16:56:35.113",
"lastEditorDisplayName": null,
"lastEditorUserId": "211",
"ownerDisplayName": null,
"ownerUserId": "4923",
"parentId": "28793",
"postTypeId": "2",
"score": "8"
} | [
{
"accepted": true,
"body": "<p>Files such as the Portable Document Format (PDF), images, audio and video files the metadata you are interested in can be viewed by right clicking the file, click properties and then click on the relevant tab to see the kind of metadata you asked about.</p>\n\n<p>For PDFs cl... | null | null | null | null | user11738 |
28794 | 1 | null | 2011-03-03T01:21:19.483 | 4 | 140 | <p>I want to test out a kernel issue and see if it's corrected in the latest Natty release. The last alpha was a little bit ago and I thought there were nightly ISOs I could try instead, but I can't seem to find them.</p>
| 1550 | 1067 | 2011-03-03T09:59:31.257 | 2011-03-03T09:59:31.257 | Where can I find the latest nightly build of the development version? | [
"development",
"iso",
"release-management"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T01:52:09.847",
"id": "32010",
"postId": "28794",
"score": "1",
"text": "You do know you can test the latest kernels without using the latest version of Ubuntu? For example, I'm running 2.6.38-rc7 on Maverick.",
"userDisplayName": null,
"userId": "449"
},
... | null | [
{
"accepted": null,
"body": "<p>Here are the links:</p>\n\n<ul>\n<li>Live CD - <a href=\"http://cdimage.ubuntu.com/daily-live/current/\" rel=\"nofollow\">http://cdimage.ubuntu.com/daily-live/current/</a></li>\n<li>Alternate CD - <a href=\"http://cdimage.ubuntu.com/daily/current/\" rel=\"nofollow\">http://cd... | null | null | null | null | null |
28799 | 1 | null | 2011-03-03T02:50:05.200 | 3 | 917 | <p>My Xubuntu system recognizes my speakers, and I can change the mixer settings to make them the active sound device, but no matter what I do, the hardware dial will only affect the onboard sound device.</p>
<p><code>generic-usb 0003:046D:0A19.0003: input,hidraw1: USB HID v1.00 Device [ Logitech Logitech Z205 ] on usb-0000:00:1d.1-1/input2</code></p>
<p>updated to reflect the fact that this was Xubuntu desktop (from Kubuntu install originally) where I had this problem. I was able to easily do this from Ubuntu Natty installation.</p>
| 7152 | 7152 | 2011-03-04T18:46:15.410 | 2011-10-16T19:52:33.740 | How to associate hardware volume control to USB speakers? | [
"10.10",
"sound",
"usb",
"xubuntu"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>A cursory google search reveals the Ubuntu team has been working quite a bit on its USB speaker support. It's quite likely this is a 10.10 bug, fixed in Natty. I haven't found your specific bug yet, but if I do I'll come back here and add it to my answer.</p>\n",
"comment... | null | null | null | null | null |
28800 | 1 | 28810 | 2011-03-03T02:54:49.453 | 2 | 598 | <p>I'm running Ubuntu on an Eee PC with the Netbook interface. I installed Ubuntu Desktop via Aptitude to see how well it works on the Eee PC, and after a while I wanted to rid myself of it. So, I purged it using Aptitude, but it still shows up as an option in the dropdown menu on the login screen.</p>
<p>Is there any way I can remove the Ubuntu Desktop option from the dropdown menu? It's not a big deal I guess... I'm just curious now how to do it. :)</p>
| 11409 | 235 | 2011-03-03T03:31:32.997 | 2011-03-03T04:06:58.427 | Can't remove Ubuntu Desktop from dropdown menu on logon screen | [
"ubuntu-netbook",
"gdm",
"session"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You can edit the list by editing the files located at <code>/usr/share/xsessions</code>, i don't know exactly what package sets up the Ubuntu Desktop entry, but i guess that you can backup the <code>Ubuntu Desktop Edition</code> file and delete it. Just run the following command:</p>\n\n<p><code>sudo cp \"/usr/share/xsessions/Ubuntu Desktop Edition\" /home/$USER/ubuntu-desktop-entry.backup && sudo rm \"/usr/share/xsessions/Ubuntu Desktop Edition\"</code></p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-03T05:05:02.650",
"id": "32020",
"postId": "28810",
"score": "0",
"text": "Thanks Sebikul, that worked perfectly. And just an FYI, the name of the files I removed were gnome.desktop and gnome-failsafe.desktop. Thanks!",
"userDisplayName": null,
"userId": "11409"
},
{
"creationDate": "2011-03-03T05:09:03.040",
"id": "32021",
"postId": "28810",
"score": "0",
"text": "@bryan, in my installation the filenames are as i posted, weird. But anyway, you could solve your problem",
"userDisplayName": null,
"userId": "5185"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T04:06:58.427",
"id": "28810",
"lastActivityDate": "2011-03-03T04:06:58.427",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "5185",
"parentId": "28800",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>You can edit the list by editing the files located at <code>/usr/share/xsessions</code>, i don't know exactly what package sets up the Ubuntu Desktop entry, but i guess that you can backup the <code>Ubuntu Desktop Edition</code> file and delete it. Just run the following comm... | null | null | null | null | null |
28801 | 1 | 28819 | 2011-03-03T02:56:29.160 | 23 | 98526 | <p>I just installed PlayOnLinux, it says:</p>
<pre><code> An updated version of PlayOnLinux is available (3.8.11).
</code></pre>
<p>and nothing more.</p>
<p>Doing <code>apt-get update</code> doesn't offer any updated version of POL.</p>
<p>What is the safe / regular way to update playonlinux?</p>
| 6619 | 169736 | 2014-07-15T22:20:57.557 | 2021-05-30T15:34:50.090 | How to update PlayOnLinux? | [
"playonlinux"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Did you check the repositorys?</p>\n\n<blockquote>\n <p>Type the following commands:</p>\n\n<pre><code>wget -q \"http://deb.playonlinux.com/public.gpg\" -O - | sudo apt-key add -\nsudo wget http://deb.playonlinux.com/playonlinux_maverick.list -O /etc/apt/sources.list.d/playonlinux.list\nsudo apt-get update\nsudo apt-get install playonlinux\n</code></pre>\n</blockquote>\n\n<p>If you already did, running <code>sudo apt-get update && sudo apt-get upgrade</code> should install the latest version.</p>\n\n<p>You can find the above code for your current version (for future reference) on the following link:\n<a href=\"http://www.playonlinux.com/en/download.html\">http://www.playonlinux.com/en/download.html</a></p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-04T05:23:48.320",
"id": "32200",
"postId": "28819",
"score": "0",
"text": "@ring0 Just added this ppa,and updated with it. It does give 3.8.11.",
"userDisplayName": null,
"userId": "8844"
},
{
"creationDate": "2011-03-07T11:31:52.953",
"id": "32639",
"postId": "28819",
"score": "0",
"text": "Thanks. There is a consistency problem on the design, imo, if the repo is not added, POL should not talk about an update (outside the repo from which it is installed). Anyway, this is a Linux problem...",
"userDisplayName": null,
"userId": "6619"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-03T06:26:38.140",
"id": "28819",
"lastActivityDate": "2013-01-13T02:56:46.953",
"lastEditDate": "2013-01-13T02:56:46.953",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "114",
"parentId": "28801",
"postTypeId": "2",
"score": "30"
} | [
{
"accepted": null,
"body": "<p>The best way to update Play on Linux is to go to <a href=\"http://www.playonlinux.com/en/download.html\" rel=\"nofollow\">their main website</a> and download the package from there, and install it manually. Just download the .deb file and open it up. Use the software package ... | null | null | null | null | null |
28802 | 1 | 28803 | 2011-03-03T02:58:37.270 | 7 | 580 | <p>By default, the OpenOffice.org font is Liberation Serif. How do I change this behavior, so that "Ubuntu" becomes the default font?</p>
| 3889 | 6969 | 2011-04-09T15:40:09.557 | 2011-04-09T15:40:09.557 | How do I change the default font to "Ubuntu" on OpenOffice.org? | [
"fonts",
"openoffice.org",
"ubuntu-font-family"
] | 1 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>Navigate to <em>Tools ➜ Options... ➜ OpenOffice.org Writer ➜ Basic Fonts (Western)</em> and select the <em>Ubuntu</em> font from the combobox. </p>\n\n<p><a href=\"https://i.stack.imgur.com/g6DKZ.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/g6DKZ.png\" alt=\"enter image description here\"></a></p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-04T00:03:32.110",
"id": "32186",
"postId": "28803",
"score": "3",
"text": "The reason that **Ubuntu** has not (yet) been set as the default document font is because it's still in development. The the widths, kerning and spacing may continue to be tweaked and improved during development. In the user interface these adjusts just improve the look, but may cause *document reflow* (this is the \"presentation problem\", where having different/missing fonts can cause a carefully aligned presentation to change wrapping). Donald Knuth hit the same issue with updating the *Computer Modern* typeface fonts in 1992, see: http://www-cs-faculty.stanford.edu/~uno/cm.html",
"userDisplayName": null,
"userId": "7702"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T03:06:37.737",
"id": "28803",
"lastActivityDate": "2011-03-03T04:33:01.517",
"lastEditDate": "2011-03-03T04:33:01.517",
"lastEditorDisplayName": null,
"lastEditorUserId": "114",
"ownerDisplayName": null,
"ownerUserId": "114",
"parentId": "28802",
"postTypeId": "2",
"score": "6"
} | [
{
"accepted": true,
"body": "<p>Navigate to <em>Tools ➜ Options... ➜ OpenOffice.org Writer ➜ Basic Fonts (Western)</em> and select the <em>Ubuntu</em> font from the combobox. </p>\n\n<p><a href=\"https://i.stack.imgur.com/g6DKZ.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/g6DKZ.p... | null | null | null | null | null |
28804 | 1 | 28807 | 2011-03-03T03:11:02.803 | 1 | 462 | <p>I keep getting a "Failed To Synchronize" message on my Tomboy notes (with nothing in the 'details' section).</p>
<p>It has been working for months, just stopped working a couple of days ago.</p>
| 8357 | 1067 | 2011-03-03T09:38:42.430 | 2011-03-03T09:38:42.430 | Unable to synchronize Tomboy notes | [
"ubuntu-one",
"tomboy"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You might be suffering from <a href=\"https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/709378\" rel=\"nofollow\">this</a> bug or <a href=\"https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/575937\" rel=\"nofollow\">this</a> bug.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T03:33:20.327",
"id": "28807",
"lastActivityDate": "2011-03-03T03:33:20.327",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": "user6658",
"ownerUserId": null,
"parentId": "28804",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>You might be suffering from <a href=\"https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/709378\" rel=\"nofollow\">this</a> bug or <a href=\"https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/575937\" rel=\"nofollow\">this</a> bug.</p>\n",
"commentCount": "0",
"... | null | null | null | null | null |
28806 | 1 | null | 2011-03-03T03:26:32.717 | 4 | 6933 | <p>I have an external hard drive connected to my Airport Extreme. I keep my photo and music files on it and can access them from both a Mac and a Windows XP machine. </p>
<p>For some reason I can't find, much less connect to, it on my Ubuntu 10.10 machine. I can see my router in the "network" folder but can't seem to find and connect to the shared drive. </p>
<p>Any help would be greatly appreciated. I am somewhat of a novice with Ubuntu and networking.</p>
<p>Thanks</p>
| null | 1067 | 2011-03-03T09:41:57.340 | 2011-09-05T06:42:57.897 | How to access shared drive connected to Airport Extreme router? | [
"networking",
"file-sharing"
] | 1 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-12-05T17:01:07.110",
"id": "96917",
"postId": "28806",
"score": "0",
"text": "This question is abandoned - if you feel this is in error, then please flag explaining why and the moderators will re-open it.",
"userDisplayName": null,
"userId": "6005"
},
{
"c... | null | [
{
"accepted": null,
"body": "<p>I'm fairly sure it has something to do with permissions. For me, the solution was to open AirPort Utility on my Mac, go to Disks->File Sharing, and set \"AirPort Disks Guest Access\" to \"Read and write\". Once I did that, the drives connected to my AirPort Extreme showed up ... | null | null | 2011-12-05T17:25:13.900 | null | user11741 |
28812 | 1 | null | 2011-03-03T05:04:43.367 | 5 | 20447 | <p>I installed Cheese, but my webcam doesn't work. What should I do?</p>
<p>This is the output of <code>lsusb</code>:</p>
<pre><code>Bus 007 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 005: ID 044e:3012 Alps Electric Co., Ltd
Bus 003 Device 004: ID 044e:3013 Alps Electric Co., Ltd
Bus 003 Device 003: ID 044e:3010 Alps Electric Co., Ltd Bluetooth Adapter
Bus 003 Device 002: ID 044e:3011 Alps Electric Co., Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
</code></pre>
| 6530 | 449 | 2011-03-03T10:17:29.683 | 2011-03-03T10:17:29.683 | How to detect webcam? | [
"hardware",
"drivers",
"webcam"
] | 1 | 5 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T05:12:11.540",
"id": "32023",
"postId": "28812",
"score": "0",
"text": "Could you please use [pastebin](http://pastebin.com). The data you pasted is all mixed up. Also, have you checked if your webcam is compatible? You can read all documentation regarding webcams o... | null | [
{
"accepted": null,
"body": "<p>I googled your webcam model and chip, there are a few solutions, but i cant say they WILL work, but they are worth the try.</p>\n<h2>Solution 1</h2>\n<p>The first one, and the more reliable one, is to add and install the packages available in the following <a href=\"https://l... | null | null | null | null | null |
28822 | 1 | null | 2011-03-03T06:29:47.013 | 2 | 9617 | <p>I got a TP-LINK USB wireless module - TL-WN821N, using Ubuntu 10.04 (same problems were also seen in 10.10).</p>
<p>From everything I've read online, the usb adapter should work just fine, since the Atheros ar9170 driver is built into the kernel. However, when I plug it in, it is detected as a USB device, but there is no wlan associated with it, and basically - nothing happens.</p>
<p>Am I doing something wrong? what should I do so that the Atheros driver is associated with this device?</p>
<p>btw, on Windows it works fine (with the drivers).</p>
<p>Some logs:</p>
<pre><code>$ uname -mr
2.6.32-28-generic i686
$ lsb_release -d
Description: Ubuntu 10.04.2 LTS
$ lsusb
... (trimmed)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 017: ID 0cf3:7015 Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsmod |grep ar9
ar9170usb 51296 0
ath 7611 1 ar9170usb
mac80211 205402 3 ar9170usb,iwl3945,iwlcore
cfg80211 126528 5 ar9170usb,ath,iwl3945,iwlcore,mac80211
led_class 2864 4 ar9170usb,iwl3945,iwlcore,sdhci
</code></pre>
| null | 1067 | 2011-03-03T09:48:53.107 | 2012-06-08T08:39:26.633 | Unable to use TL-WN821N wireless adapter | [
"10.04",
"networking",
"wireless",
"usb"
] | 2 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T07:04:01.663",
"id": "32038",
"postId": "28822",
"score": "0",
"text": "Run `sudo lshw`, and try to find the driver associated with the device (It comes in the last line of the output). It should also show you the chipset of the device (which need not necessarily be... | null | [
{
"accepted": null,
"body": "<p>Dude, you shall take a look at the following pages:</p>\n\n<ul>\n<li><a href=\"http://wiki.debian.org/ar9170usb\" rel=\"nofollow\">http://wiki.debian.org/ar9170usb</a></li>\n<li><a href=\"http://wireless.kernel.org/en/users/Drivers/ath9k_htc\" rel=\"nofollow\">http://wireless... | null | null | null | null | user11745 |
28823 | 1 | 28854 | 2011-03-03T06:41:22.773 | 8 | 2232 | <p>What's the best way to learn how to use System Administration / using shell-commands in the Terminal?</p>
| 2626 | 25798 | 2011-11-24T17:16:47.677 | 2015-04-05T04:46:12.370 | Best Way To Start Learning Shell Commands in Terminal? | [
"command-line"
] | 7 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T06:57:41.650",
"id": "32037",
"postId": "28823",
"score": "2",
"text": "When you say \"use System Administration\", do you mean using the tools available in the gui?",
"userDisplayName": null,
"userId": "7729"
}
] | {
"accepted": true,
"body": "<p>My solution to this was to pick up a task that I needed to do, and start to do it terminal only, after that I tried to optimise the solution. Once you see the benefits you will create a virtous circle which will motivate you from then and onwards.</p>\n\n<p>Example: remove empty spaces in a file (at that time a classmate was feeding me with source code with loads of this).\nSay this is an awk/perl one liner. At some point we have the file we want to fix. After that I substituted the file with a variable, encapsulated in a bash script. Bang! (now by automating that to parse all files in a folder, I could easily accept 100 files having both parties happy).</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-03T12:43:06.750",
"id": "28854",
"lastActivityDate": "2012-09-17T22:06:28.580",
"lastEditDate": "2012-09-17T22:06:28.580",
"lastEditorDisplayName": null,
"lastEditorUserId": "4998",
"ownerDisplayName": null,
"ownerUserId": "4998",
"parentId": "28823",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>There is a nice manual in the community wiki, it can be found <a href=\"https://help.ubuntu.com/community/UsingTheTerminal\">here</a>. You have all you need to start there</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense... | null | null | 2016-06-15T16:44:11.370 | null | null |
28827 | 1 | null | 2011-03-03T07:03:03.583 | 3 | 2894 | <p>I wanted to install some source code that was on git. Don't really know what that means ; I've never used git before, but I figured it was time to learn so,</p>
<ul>
<li><p>I first installed git. </p></li>
<li><p>Next I tried to clone the git directory of the software I want to install.</p></li>
<li><p>I got a message saying "the authenticity of (IP) can't be established". I went ahead and ended up with another message saying, "warning, such and such will be added to known hosts." I went ahead, and it said something about hanging up on the connection.</p></li>
</ul>
<p>After searching the internet for a while I realized I didn't need git to install the software but now I have it installed, and have added some host to some file or another. I'm concerned I've created some security issues I need to fix.</p>
<p>Can anyone help me undo what I've done, or better understand what I've done. Did adding a git project open up my system? Beyond that can anyone tell me how git works. Everything I've found assumes I know stuff that I don't yet.</p>
<p>Thanks</p>
| null | 8844 | 2011-03-03T18:35:48.357 | 2011-03-04T04:43:16.480 | Confusion about git; how to undo? | [
"uninstall",
"git",
"install-from-source",
"version-control"
] | 2 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p><a href=\"http://git-scm.com/documentation\" rel=\"nofollow\">Git</a> is a version control system (a <a href=\"http://www.infoq.com/articles/dvcs-guide\" rel=\"nofollow\">DVCS</a> to be more exact). A VCS (version control system) on a server (or on a computer, or in the clou... | null | null | null | null | user11747 |
28829 | 1 | 28833 | 2011-03-03T07:29:51.947 | 2 | 2726 | <p>I'm having a problem using the <code>sed</code> command . I'm trying to write a bash script that does the following : </p>
<ol>
<li>search for the line that contain <code>:@</code></li>
<li>then save the line that contained <code>:@</code> and replace it with new line </li>
</ol>
<p>as in the following:</p>
<pre><code>#! /bin/bash
echo "Please enter the ip address of you file"
read ipnumber
find=`grep ':@' application.properties` # find the line
input="connection.url=jdbc\racle\:thin\:@$ipnumber\:1521\:billz" # preparing new line
echo `sed "s/'${find}'/'${input}'/g" application.properties` # replace old with new line
</code></pre>
<p>The problem is: nothing happens. </p>
<p>I've already tried to use <code>"${find}"</code> instead of <code>'${find}'</code></p>
| 11749 | 41 | 2011-03-03T16:09:24.787 | 2011-03-03T16:09:24.787 | Sed problem in a Bash script | [
"command-line",
"bash",
"sed"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>There are several problems with that snippet. I recommend you learn bash's syntax a little better before writing scripts in it.</p>\n\n<p>Anyway, if you want to edit a file, you want a file editor. sed is not a file editor. I believe this will do what you want.</p>\n\n<pre><code>#!/bin/bash\n\nread -p \"Enter the ip address: \" ipnumber\n\ned -s application.properties << EOF\n/:@/c\nconnection.url=jdbc:oracle:thin:@$ipnumber:1521:billz\n.\nw\nEOF\n</code></pre>\n\n<p>What that ed script says is: <code>/:@/c</code> - on the first line containing <code>:@</code>, <b>c</b>hange the line with everything following until a line containing only a <code>.</code>. Then <code>w</code> to <b>w</b>rite the changes to the file.</p>\n\n<p>See <a href=\"http://wiki.bash-hackers.org/doku.php?id=howto:edit-ed\">http://wiki.bash-hackers.org/doku.php?id=howto:edit-ed</a> for help with editing using ed, and <a href=\"http://mywiki.wooledge.org/BashGuide\">http://mywiki.wooledge.org/BashGuide</a> to learn bash.</p>\n\n<p>Update:<br>\nsed can be used to achieve the same, but it can't edit files, it can only be used to create a new file.</p>\n\n<pre><code># POSIX\nsed \"/:@/c\\\nconnection.url=jdbc:oracle:thin:@$ipnumber:1521:billz\" application.properties\n</code></pre>\n\n<p>Here sed will output the file with the changes applied. You can redirect to a new file, then move that file over the old one. GNU sed also has a non-standard <code>-i</code> option that does the last part transparently. GNU sed also doesn't require you to have that newline in the sed script.</p>\n\n<pre><code># GNU sed\nsed -i \"/:@/c connection.url=jdbc:oracle:thin:@$ipnumber:1521:billz\" application.properties\n</code></pre>\n\n<p>Note that the ed will only replace the <em>first</em> line that matches the regex while sed will replace <em>all</em> lines matching that regex.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-03T08:20:04.227",
"id": "32043",
"postId": "28833",
"score": "0",
"text": "you are genius.....Thanks man Thanks , is there way to use sed ??",
"userDisplayName": null,
"userId": "11749"
},
{
"creationDate": "2011-03-03T08:35:30.020",
"id": "32046",
"postId": "28833",
"score": "0",
"text": "@moata_u yes, I've updated the answer to also explain how to do it with sed.",
"userDisplayName": null,
"userId": "9016"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T08:04:33.663",
"id": "28833",
"lastActivityDate": "2011-03-03T08:33:45.293",
"lastEditDate": "2011-03-03T08:33:45.293",
"lastEditorDisplayName": null,
"lastEditorUserId": "9016",
"ownerDisplayName": null,
"ownerUserId": "9016",
"parentId": "28829",
"postTypeId": "2",
"score": "6"
} | [
{
"accepted": true,
"body": "<p>There are several problems with that snippet. I recommend you learn bash's syntax a little better before writing scripts in it.</p>\n\n<p>Anyway, if you want to edit a file, you want a file editor. sed is not a file editor. I believe this will do what you want.</p>\n\n<pre><c... | null | null | null | null | null |
28830 | 1 | null | 2011-03-03T07:31:16.267 | 4 | 11560 | <p>I am trying to run a SQL script on remote Oracle database. Something like this, the shell script contains:</p>
<pre><code>sqlplus / @db
</code></pre>
<p>I want to add something to this command so that is is able to run a SQL script on the database <code>db</code>.</p>
| null | 10581 | 2011-03-03T09:31:12.123 | 2011-10-22T20:55:19.570 | Run SQL script on remote Oracle database | [
"scripts",
"oracle"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2012-02-24T17:13:21.037",
"id": "125210",
"postId": "28830",
"score": "0",
"text": "This question appears to be abandoned as there hasn't been any activity for a longer period of time. I'm voting to close it for now. If by any reason you think this question is still viable or ... | null | [
{
"accepted": null,
"body": "<p>Create a file (let's say: <code>my_sql_commands.sql</code>) containing your SQL commands, for example:</p>\n\n<pre><code>select table_name from user_tables;\nexit;\n</code></pre>\n\n<p>And then:</p>\n\n<pre><code>sqlplus username/password@oracle_instance @my_sql_commands.sql\... | null | null | 2012-02-24T17:13:26.233 | null | user11638 |
28835 | 1 | 28837 | 2011-03-03T08:31:47.313 | 7 | 1192 | <p>Currently, as far as I am aware, you need to use the <strong>CompizConfig Settings Manager</strong> application to play with the Unity configuration settings. </p>
<p>While this makes sense, from a technical point of view, it requires the user to know about the settings manager, install it, and then find the Unity options within it. Not very user friendly.</p>
<p>Is there a user friendly configuration application planned that will offer all the configuration options in an <em>easy-to-use for new people</em> fashion?</p>
| 176 | 235 | 2011-03-03T13:57:26.163 | 2011-03-10T12:06:09.570 | Is there going to be a friendly Unity settings window? | [
"unity",
"11.04"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Obviously, application like this will be developed some day (unless Canonical dumps Unity).</p>\n\n<p>For now, it's not coming. 11.04 is not helping with this at all. I couldn't find anything related to this from <a href=\"http://brainstorm.ubuntu.com/?keywords=unity&tags=\" rel=\"nofollow\">ubuntu Brainstorm</a>. There doesn't seem to be any bugs filed, so most probably it will not be be fixed anytime soon.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-03T18:20:45.063",
"id": "32123",
"postId": "28837",
"score": "0",
"text": "Mind if I try to correct some English mistake?",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-10T10:10:53.930",
"id": "33231",
"postId": "28837",
"score": "0",
"text": "@Oxwivi: I don't mind at all, feel free to (always a good idea).",
"userDisplayName": null,
"userId": "10581"
},
{
"creationDate": "2011-03-10T11:02:29.563",
"id": "33232",
"postId": "28837",
"score": "0",
"text": "I submitted an edit, if it's accepted, have a look at the changes.",
"userDisplayName": null,
"userId": "814"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T09:03:38.003",
"id": "28837",
"lastActivityDate": "2011-03-10T12:06:09.570",
"lastEditDate": "2011-03-10T12:06:09.570",
"lastEditorDisplayName": null,
"lastEditorUserId": "814",
"ownerDisplayName": null,
"ownerUserId": "10581",
"parentId": "28835",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>Obviously, application like this will be developed some day (unless Canonical dumps Unity).</p>\n\n<p>For now, it's not coming. 11.04 is not helping with this at all. I couldn't find anything related to this from <a href=\"http://brainstorm.ubuntu.com/?keywords=unity&tags... | null | null | null | null | null |
28836 | 1 | 228926 | 2011-03-03T09:03:12.740 | 17 | 30921 | <p>Is there Any program for locking and unlocking my Ubuntu machine using a flash- drive?</p>
<p>For instance, when I take out the usb flash drive, the computer locks automatically and when I put in the flash drive, the computer unlocks automatically.</p>
<p>Thank You in advance.</p>
| 9183 | 1067 | 2011-03-03T09:57:08.247 | 2018-05-30T04:55:21.890 | Lock and Unlock from USB disk (pendrive) | [
"usb",
"unlock",
"lock"
] | 3 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T09:04:17.737",
"id": "32051",
"postId": "28836",
"score": "2",
"text": "Remember that cloning usb stick is trivial task, even if you check for serial number.",
"userDisplayName": null,
"userId": "10581"
}
] | {
"accepted": true,
"body": "<p>I know it's a terribly late answer, just thought it might help future readers.\nI posted the answer at <a href=\"https://askubuntu.com/questions/194027/locking-with-usb-drive/194040\">Locking with USB drive</a></p>\n\n<p>Well, a module called PAM (Pluggable Authentication module) can be customized to achieve your need. A beautiful article is available on <a href=\"http://linuxconfig.org/linux-authentication-login-with-usb-device\" rel=\"nofollow noreferrer\"><strong>linuxconfig</strong></a> describing this in detail. </p>\n\n<p>The steps are:</p>\n\n<ol>\n<li><p>Install PAM</p>\n\n<pre><code>$ sudo apt-get install pamusb-tools libpam-usb\n</code></pre></li>\n<li><p>Add USB device to PAM config</p>\n\n<pre><code>$ sudo pamusb-conf --add-device <my-usb-stick>\n</code></pre></li>\n<li><p>Select your volume and \"<strong>Y</strong>\" to save</p></li>\n<li><p>Define user for PAM auth</p>\n\n<pre><code>$ sudo pamusb-conf --add-user <ubuntu-user>\n</code></pre></li>\n<li><p>Select and \"<strong>Y</strong>\" to save</p></li>\n<li><p>Configure PAM</p>\n\n<pre><code>$ sudo gedit /etc/pam.d/common-auth\n</code></pre></li>\n<li><p>Add the line below and save</p>\n\n<pre><code>auth sufficient pam_usb.so\n</code></pre></li>\n<li><p>Test the PAM auth</p>\n\n<pre><code>$ su ubuntu-user\n</code></pre></li>\n<li><p>Lock when disconnected</p>\n\n<pre><code>$ sudo gedit /etc/pamusb.conf\n</code></pre></li>\n<li><p>Modify the block \"user\" block to look like: </p>\n\n<pre><code><user id=\"ubuntu-user\"> \n <device> \n my-usb-stick \n </device> \n <agent event=\"lock\">gnome-screensaver-command -l</agent> \n <agent event=\"unlock\">gnome-screensaver-command -d</agent> \n </user>*\n</code></pre></li>\n</ol>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2012-12-14T07:17:56.997",
"id": "228926",
"lastActivityDate": "2012-12-14T07:17:56.997",
"lastEditDate": "2017-04-13T12:24:48.080",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "60513",
"parentId": "28836",
"postTypeId": "2",
"score": "12"
} | [
{
"accepted": null,
"body": "<p>In </p>\n\n<pre><code>/etc/udev/rules.d/\n</code></pre>\n\n<p>you can write a script </p>\n\n<pre><code>SUBSYSTEM==\"usb\", SYSFS{idProduct}==\"PPPP\", SYSFS{idVendor}==\"VVVV\", RUN+=\"/usr/sbin/usb-locking\"\n</code></pre>\n\n<p>where PPPP and VVVV are values you can extrac... | null | null | null | null | null |
28838 | 1 | null | 2011-03-03T09:29:33.623 | 7 | 3382 | <p>Are there any simple tools to normalize an .ogg-library of 10'000+ songs so that the volume is the same throughout all songs?</p>
<p>Terminal or GUI doesn't matter, it only need to be simple.</p>
<p>One caveat though, I don't want soft interludes/intermissions and ballads blown out of proportion.</p>
<p>Preferably the process should find the overall gain of the album (I have all my CD's ripped into separate folders) and normalize the level thereafter.</p>
| 11583 | 1067 | 2011-03-03T09:58:31.197 | 2017-03-01T06:53:21.480 | Batch normalize audio volume on .ogg-files | [
"software-recommendation",
"sound"
] | 4 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>There's a tool in the repositories called <code>EasyMP3Gain</code> that works on Vorbis files. It will go Album gain adjustments as well as track adjustments. </p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA... | null | null | null | null | null |
28839 | 1 | null | 2011-03-03T09:52:26.240 | 2 | 347 | <p>Sometimes upon resuming from standby I find my screen brightness dimmed to the lowest setting, even though the indicator says it's where I left it.</p>
<p>If I use my brightness function keys I get the popup notification showing me where I am on the scale, but there is no difference between the brightest and the dimmest.</p>
<p>Laptop: Dell XPS M1210, integrated Intel graphics.</p>
| 11583 | 1067 | 2011-03-03T10:01:49.680 | 2011-03-03T10:01:49.680 | Screen dimmed upon wake after standby | [
"intel-graphics",
"dell",
"brightness",
"screen"
] | 0 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2012-01-28T06:09:49.117",
"id": "113771",
"postId": "28839",
"score": "0",
"text": "me too, man. HP Compaq nc2400",
"userDisplayName": null,
"userId": "10349"
},
{
"creationDate": "2012-02-20T23:23:54.867",
"id": "123179",
"postId": "28839",
"score"... | null | [] | null | null | 2012-02-20T23:24:02.323 | null | null |
28840 | 1 | 28843 | 2011-03-03T10:13:12.993 | 3 | 396 | <p>My root and admin user both have the same <code>.bashrc</code> file.</p>
<p>The prompt section of the <code>.bashrc</code> is the following:</p>
<pre><code> if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac
</code></pre>
<p>But the problem is that the admin user and root user have different prompts.</p>
<p>admin's prompt is: </p>
<blockquote>
<p>admin@hostname:~$ </p>
</blockquote>
<p>and root's prompt is </p>
<blockquote>
<p>root@hostname:/home#</p>
</blockquote>
<p>So it seems root is using the "xterm" version and admin is not.</p>
<p>Why does the <code>.bashrc</code> file have this difference in prompts? How do I get the admin user to also use the xterm version?</p>
<p>How would I test that condition? </p>
<p>If I run <code>echo $TERM</code> while running as the admin user I get <code>xterm</code> so as far as I can tell, it should be using the xterm version for the admin user.</p>
| 8019 | 10581 | 2011-03-03T11:34:22.813 | 2011-03-03T11:34:22.813 | Anomaly with bash PS1 definition | [
"bash",
"command-line",
"prompt"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>It works as expected.</p>\n\n<p>By convention, the prompt ends with <code>$</code> for users and by <code>#</code> for root. This is the <code>\\$</code> in <code>PS1</code>.</p>\n\n<p>The other difference is the <code>~</code> vs <code>/home</code>. This is also normal. It is the <code>\\w</code> part of the prompt, the current working path. If it begins with the content of <code>$HOME</code>, it is replaced by <code>~</code>.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T10:44:28.473",
"id": "28843",
"lastActivityDate": "2011-03-03T10:44:28.473",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "6475",
"parentId": "28840",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>It works as expected.</p>\n\n<p>By convention, the prompt ends with <code>$</code> for users and by <code>#</code> for root. This is the <code>\\$</code> in <code>PS1</code>.</p>\n\n<p>The other difference is the <code>~</code> vs <code>/home</code>. This is also normal. It i... | null | null | null | null | null |
28842 | 1 | 28942 | 2011-03-03T10:31:03.817 | 3 | 734 | <p>I've got an external hard drive with music on it, around 250 albums. To make it work nicely with Banshee, I've created an <code>.is_audio_player</code> file on the device, containing <code>audio_folders=Music</code>.</p>
<p>Every time I plug it in, Banshee takes around two minutes to index the thing, slowly building up the library - and being unusably sluggish while doing that.</p>
<p>Is there, per chance, any way to speed it up? Should I not mount the hard disk as a music player, but add it's contents to my library? And, if I do, won't that give me lots of annoying <kbd>X</Kbd> symbols next to the titles, as they can't be found sometimes?</p>
<p>What's the best way to have my library on an external HDD?</p>
| 1067 | null | null | 2011-03-03T23:22:49.293 | Speed up Banshee's indexing of files on a device | [
"banshee"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T18:04:05.240",
"id": "32115",
"postId": "28842",
"score": "0",
"text": "looks like no ones interested in answering any questions about Banshee at the mo Stefano.",
"userDisplayName": null,
"userId": "6450"
}
] | {
"accepted": true,
"body": "<blockquote>\n <p>Is there, per chance, any way to speed it up? </p>\n</blockquote>\n\n<p>I don't think so. When banshee scans the library, it reads the metadata of all files. This is a slow process, more if it has to scan ~250 albums (eq to 1300 song more or less). Another factor is the speed of the external hard drive and how it is plugged into the PC.</p>\n\n<blockquote>\n <p>Should I not mount the hard disk as a music player, but add it's contents to my library?</p>\n</blockquote>\n\n<p>If you do so, and you add it's content to banshee, you will get (as you said yourself) a lot of error messages pointing that the media files could not be found. This is if you open banshee with the external hard drive disconnected.</p>\n\n<blockquote>\n <p>What's the best way to have my library on an external hard drive?</p>\n</blockquote>\n\n<p>Summarizing, there is no better way other than having a local copy of your library (which would use ~7 GB).</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-04T02:04:16.987",
"id": "32194",
"postId": "28942",
"score": "0",
"text": "It's more in the region of 200 gigabytes, around 5000 songs.",
"userDisplayName": null,
"userId": "1067"
},
{
"creationDate": "2011-03-04T03:17:53.193",
"id": "32195",
"postId": "28942",
"score": "0",
"text": "@stefano-palazzo: With more reason. Reading 200 GB in 2 minutes isn't slow at all",
"userDisplayName": null,
"userId": "5185"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T23:22:49.293",
"id": "28942",
"lastActivityDate": "2011-03-03T23:22:49.293",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "5185",
"parentId": "28842",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<blockquote>\n <p>Is there, per chance, any way to speed it up? </p>\n</blockquote>\n\n<p>I don't think so. When banshee scans the library, it reads the metadata of all files. This is a slow process, more if it has to scan ~250 albums (eq to 1300 song more or less). Another fac... | null | null | null | null | null |
28845 | 1 | 28866 | 2011-03-03T11:33:55.913 | 0 | 314 | <p>I want to have a few folders on a partition whose contents I can freely edit, but outside nothing should be saved.</p>
<p>Specifically, I want the folders in my Home (Documents, Music, etc) on a different partition, but rest of the normally hidden folders remain in the main partition with Ubuntu. I can make the files within the Home folders save in another partition using <code>fstab</code> binding, but I still can't think of how to lock the partition from edits outside those folders. I'm open to suggestions of alternatives to binding - but please, no symbolic links.</p>
| 814 | null | null | 2011-03-05T13:47:46.777 | Lock a partition to a few folders | [
"partitioning"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Where do you want to prohibit write access - it's unclear. As user oxwivi you aren't allowed to write to /lib, /usr, /var, /bin and so on, but sudo needs write access for updates. </p>\n\n<p>Or the configuration needs to changed in /etc.</p>\n\n<p>And there are dynamic folders /proc /sys /dev , while logfiles are written to /var/log and so on ... </p>\n\n<p>And every user needs write access to /tmp</p>\n\n<hr>\n\n<p>(Edit after diskussion)</p>\n\n<pre><code>chmod a-w -R /partition\nchmod u+w /partition/1 /partition/2\n</code></pre>\n\n<ul>\n<li><code>a-w</code> means 'all (user, group, others) - := remove permission to w(rite). </li>\n<li><code>-R</code> means: recursively, for directories/files therein. </li>\n<li><code>u+w</code> := add write-permission for the user who is owner.</li>\n</ul>\n\n<p>In front of +and-, you may use <code>ugo</code> for user, who is the owner, group and others (problem: confusion o?owner/other) or <code>a</code> for all. \n<code>+-</code> means to add or revoke permissions, <code>=</code> means to set them.\n<code>rwx</code> are acronyms for read, write and execute.</p>\n\n<p>This are the mostly used ones. More details in <code>man chmod</code>.</p>\n\n<pre><code>chmod ug+rw foo.txt \n</code></pre>\n\n<p>adds read-write permissions for user and group.</p>\n\n<pre><code>chmod o=x bar.txt \n</code></pre>\n\n<p>sets the permission to execute for others. </p>\n",
"commentCount": "6",
"comments": [
{
"creationDate": "2011-03-03T14:04:11.603",
"id": "32080",
"postId": "28866",
"score": "0",
"text": "Let's say that `/partition` is the directory to the partition in question. I don't want anything to be able to be written except inside the folders named `1` and `2`. So the only way I can write something to the partition is by saving inside `/partition/1` and `/partition/2` - nothing will be written directly to `/partition/` directory.",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-03T14:28:02.587",
"id": "32082",
"postId": "28866",
"score": "4",
"text": "`chmod a-w -R /partition`, `chmod u+w /partition/1 /partition/2` - where is the problem?",
"userDisplayName": null,
"userId": "10068"
},
{
"creationDate": "2011-03-04T11:58:28.560",
"id": "32227",
"postId": "28866",
"score": "0",
"text": "@user unknown, the problem is that I did not know how to do it. And what's the difference between your commands and the ones in Amey's answer? There seems to be slight difference in the flags used.",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-04T19:46:43.920",
"id": "32314",
"postId": "28866",
"score": "0",
"text": "`u=rwx` means: for the user who is the owner, **set** the permissions to r(ead), w(rite) and (e)x(ecute). `a-w` means 'all (user, group, others) - := remove permission to w(rite). -R means: recursively, for directories/files therein. u+w := add write-permission for the user who is owner.",
"userDisplayName": null,
"userId": "10068"
},
{
"creationDate": "2011-03-05T05:55:52.327",
"id": "32361",
"postId": "28866",
"score": "0",
"text": "@user unknown, please edit that into your answer - I don't want any users to read or write unlike the other answer. And will this permission setting affect live sessions?",
"userDisplayName": null,
"userId": "814"
},
{
"creationDate": "2011-03-05T13:50:04.747",
"id": "32388",
"postId": "28866",
"score": "0",
"text": "I did. Modifications take effekt immediately, as well in live sessions. You may need to use `sudo` if you start with insufficient permissios.",
"userDisplayName": null,
"userId": "10068"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T13:24:03.560",
"id": "28866",
"lastActivityDate": "2011-03-05T13:47:46.777",
"lastEditDate": "2011-03-05T13:47:46.777",
"lastEditorDisplayName": null,
"lastEditorUserId": "10068",
"ownerDisplayName": null,
"ownerUserId": "10068",
"parentId": "28845",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>Where do you want to prohibit write access - it's unclear. As user oxwivi you aren't allowed to write to /lib, /usr, /var, /bin and so on, but sudo needs write access for updates. </p>\n\n<p>Or the configuration needs to changed in /etc.</p>\n\n<p>And there are dynamic folder... | null | null | null | null | null |
28846 | 1 | null | 2011-03-03T11:54:29.423 | 0 | 187 | <p>I have two computers running 10.4 . The first machine is a wired desktop with sshd. The second is a wifi connected laptop with the ssh client. When I use my laptop to bring up a remote gnome session to my desktop all the text gets reversed.</p>
<p><strong>Steps:</strong></p>
<p>1) login as a user on the laptop to activate the wifi with a stored key.</p>
<p>2) goto a console <kbd>Ctrl</kbd>-<kbd>Alt</kbd>-<kbd>F1</kbd></p>
<p>3) do a <code>xterm -- :1</code> to bring up a blank graphic session</p>
<p>4) <code>ssh -Y user@desktopmachine gnome-session</code></p>
<p>This shows reversed text and messes up the keyboard so I can't type</p>
| 7823 | 17739 | 2011-11-02T21:10:55.767 | 2011-11-02T21:11:19.557 | Text reverses on remote gnome session | [
"gnome",
"keyboard",
"ssh",
"session",
"text"
] | 2 | 0 | CC BY-SA 3.0 | [] | null | [
{
"accepted": null,
"body": "<p>Can you try to connect per ssh </p>\n\n<ul>\n<li>from the desktop to the desktop</li>\n<li>from the laptop to the laptop</li>\n</ul>\n\n<p>and see, whether the problem occurs there too?</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-0... | null | null | null | null | null |
28847 | 1 | 28861 | 2011-03-03T12:01:58.110 | 132 | 207718 | <p>Is there any text editor, which can edit such file?</p>
<p>I've tried:</p>
<ul>
<li><code>gedit</code></li>
<li><code>kate</code></li>
<li><code>nano</code></li>
<li><code>vim</code></li>
<li><code>mcedit</code></li>
</ul>
<p>without success.</p>
| 5306 | 158442 | 2017-01-11T01:26:11.177 | 2023-01-16T17:55:27.753 | Text editor to edit large (4.3 GB) plain text file | [
"files",
"text-editor"
] | 16 | 8 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-03T12:21:44.857",
"id": "32068",
"postId": "28847",
"score": "12",
"text": "Do you need to edit it or just view? If the latter, you can simply use \"less\" from CLI.",
"userDisplayName": null,
"userId": "4887"
},
{
"creationDate": "2011-03-04T06:14:41.7... | {
"accepted": true,
"body": "<p><strong>Another method</strong> is to use <code>split</code>. Split the file into 8 pieces and manipulate the files with a editor. After that, you reassemble the files again.</p>\n\n<pre><code>split -b 53750k <your-file>\n\ncat xa* > <your-file>\n\n\nSYNOPSIS\n split [OPTION]... [INPUT [PREFIX]]\n\n-a, --suffix-length=N\n use suffixes of length N (default 2)\n\n -b, --bytes=SIZE\n put SIZE bytes per output file\n\n -C, --line-bytes=SIZE\n put at most SIZE bytes of lines per output file\n\n -d, --numeric-suffixes\n use numeric suffixes instead of alphabetic\n\n -l, --lines=NUMBER\n put NUMBER lines per output file\n</code></pre>\n",
"commentCount": "7",
"comments": [
{
"creationDate": "2011-03-04T14:43:52.533",
"id": "32261",
"postId": "28861",
"score": "0",
"text": "it seems to be the best solution at the moment...",
"userDisplayName": null,
"userId": "5306"
},
{
"creationDate": "2011-03-23T06:04:21.027",
"id": "35409",
"postId": "28861",
"score": "14",
"text": "Take note that many editors **will add a newline character** to the end of your edited file, and do it *without informing you!* For more info see *How to stop Gedit, Gvim, Vim, Nano from adding End-of-File newline char?* http://askubuntu.com/q/20871/2670",
"userDisplayName": null,
"userId": "2670"
},
{
"creationDate": "2012-12-18T00:12:34.223",
"id": "284101",
"postId": "28861",
"score": "1",
"text": "nice way ... and then you should use vim with the single parts ... I hate vim :P but It win all other editor here",
"userDisplayName": null,
"userId": "48496"
},
{
"creationDate": "2015-09-10T17:27:46.533",
"id": "972521",
"postId": "28861",
"score": "1",
"text": "@Peter.O: Did the link change? I'm having a hard time finding info on the newline character issue at that URL. :/ Update: Found the referenced question here: http://askubuntu.com/q/13317/372950",
"userDisplayName": null,
"userId": "372950"
},
{
"creationDate": "2015-09-10T17:31:48.957",
"id": "972527",
"postId": "28861",
"score": "7",
"text": "(In short, use `nano --nonewlines` to avoid the automatic addition of newlines)",
"userDisplayName": null,
"userId": "372950"
},
{
"creationDate": "2017-10-25T16:38:54.587",
"id": "1552112",
"postId": "28861",
"score": "0",
"text": "This is the only working method as well as the one suggested by @rinogo, nano is honestly the most fast and reliable editor to work with. Each of the rest is either complicated or bloated or have its own anti-features.",
"userDisplayName": null,
"userId": "607195"
},
{
"creationDate": "2019-05-20T11:55:00.527",
"id": "1899458",
"postId": "28861",
"score": "0",
"text": "Thanks! This one helped a lot :)",
"userDisplayName": null,
"userId": "957851"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-03T13:09:39.627",
"id": "28861",
"lastActivityDate": "2015-10-01T10:27:21.127",
"lastEditDate": "2015-10-01T10:27:21.127",
"lastEditorDisplayName": null,
"lastEditorUserId": "204525",
"ownerDisplayName": null,
"ownerUserId": "11760",
"parentId": "28847",
"postTypeId": "2",
"score": "119"
} | [
{
"accepted": null,
"body": "<p>you will not find them. If you want to replace some lines in this file, you can look at with <code>less</code> or grep and use <code>sed</code> to search and replace some lines.</p>\n\n<p>like this:</p>\n\n<pre><code>sed -e 's/oldstuff/newstuff/g' inputFileName > outputFil... | null | null | null | null | null |
28848 | 1 | 50776 | 2011-03-03T12:07:27.327 | 64 | 135915 | <p>I am facing an issue with brightness control in my laptop which has Intel HD graphics and Ubuntu 10.10 64-bit. So when I searched for a fix I found that a common suggestion is to edit the GRUB file line, <code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code> to
<code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux acpi_backlight=vendor"</code></p>
<p>Documentation for boot parameter <code>acpi_osi</code> tells:</p>
<blockquote>
<pre><code>acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
acpi_osi="string1" # add string1 -- only one string
acpi_osi="!string2" # remove built-in string2
acpi_osi= # disable all strings
</code></pre>
<p>— <a href="http://redsymbol.net/linux_boot_parameters/">http://redsymbol.net/linux_boot_parameters/</a></p>
</blockquote>
<p>I don't find a reason why this should <strong>fix</strong> any laptop issue.</p>
<p>So could anyone tell me what the kernel boot option <code>acpi_osi=Linux</code> do?</p>
| 9193 | 246343 | 2014-08-27T20:40:48.457 | 2024-02-25T21:54:02.740 | What does the kernel boot parameter "set acpi_osi=Linux" do? | [
"kernel",
"graphics",
"laptop",
"acpi"
] | 3 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<blockquote>\n<p>I think you mean <code>=Windows</code>, not <code>Linux</code>.\nThe argument tells the kernel to lie\nto the ACPI BIOS and tell it that it\nis something <em>other</em> than Linux (which\nis why specifying Linux is silly).</p>\n</blockquote>\n<p>I'm sure he means what he wrote. Yes, BIOS's usually disable functionality if Windows is not detected, but specifying Linux is not silly because by default the kernel responds false when asked if Linux is running. <code>acpi_osi=Linux</code> tells the kernel to respond true.(see <code>drivers/acpi/osl.c</code>) It seems that you need to tell the BIOS the truth.</p>\n<p>It's either a driver problem or incorrect ACPI implementation. You'd have to take out your <code>dsdt</code> and disassemble it to review the code and get a better understanding of what is broke or disabled under the Linux OSI.</p>\n<p>Reference</p>\n<ul>\n<li><a href=\"https://wiki.ubuntu.com/BIOSandUbuntu#DSDT_handling_Operating_System_Variants\" rel=\"nofollow noreferrer\">Why Linux ACPI driver pretends to be Windows and disables OSI(Linux) by default</a></li>\n<li><a href=\"https://web.archive.org/web/20110320225941/http://en.gentoo-wiki.com/wiki/ACPI/Fix_common_problems\" rel=\"nofollow noreferrer\">ACPI/Fix common problems - Gentoo Linux Wiki</a></li>\n<li><a href=\"https://askubuntu.com/questions/19486/how-do-i-add-a-boot-parameter\">How do I add a kernel boot parameter?</a></li>\n</ul>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2014-07-12T18:57:09.937",
"id": "665463",
"postId": "50776",
"score": "2",
"text": "this was very useful for my ubuntu 14.04 installation on my dell vostro 3750 with nvidia GeForce GT 525M, and Intel HD graphics.",
"userDisplayName": null,
"userId": "212042"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 4.0",
"creationDate": "2011-06-27T14:35:00.033",
"id": "50776",
"lastActivityDate": "2024-02-25T21:54:02.740",
"lastEditDate": "2024-02-25T21:54:02.740",
"lastEditorDisplayName": null,
"lastEditorUserId": "164611",
"ownerDisplayName": null,
"ownerUserId": "20726",
"parentId": "28848",
"postTypeId": "2",
"score": "40"
} | [
{
"accepted": null,
"body": "<p>I think you mean <code>=Windows</code>, not <code>Linux</code>. The argument tells the kernel to lie to the ACPI BIOS and tell it that it is something <em>other</em> than Linux (which is why specifying Linux is silly). Certain BIOS are known to check to see if they are bein... | null | null | null | null | null |
28850 | 1 | 28858 | 2011-03-03T12:18:12.600 | 2 | 3728 | <p>I'd like to configure an SMTP MTA to accept all mail addressed to any domain and deliver it to my local user account.</p>
<p>It would be very useful for debugging mail sent in some code I'm working on. I'll be running the server locally - no outside world interaction required.</p>
<p>To be clear:</p>
<p>user@gmail.com -> delivered to -> cam8001@localhost</p>
<p>dogs@live.com -> delivered to -> cam8001@localhost</p>
<p>anything@any.domain.co.uk -> delivered to -> cam8001@localhost</p>
| 10876 | null | null | 2011-06-19T17:04:24.520 | SMTP server to deliver ALL mail to user@localhost | [
"mail",
"smtp"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>I found <a href=\"http://k3mist.com/linux/posix-catch-all-the-proper-way/\" rel=\"nofollow\">this article</a> explaining how to do it with postfix.</p>\n\n<p>The key is:</p>\n\n<pre><code>luser_relay = cam8001@localhost\nlocal_recipient_maps =\n</code></pre>\n\n<p>as explained in the article:</p>\n\n<blockquote>\n <p>luser_relay is the local user on the machine to catch all email that does not belong to an existing local user. luser_relay documentation.</p>\n \n <p>local_recipient_maps is left blank to stop Postfix from checking if the user exists on the local machine. This is very important, without this line, Postfix will still reject the mail and send a bounce message.</p>\n \n <p>After adding the above two lines to the configuration, apply the changes and restart Postfix.</p>\n</blockquote>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2012-12-02T23:38:52.477",
"id": "277439",
"postId": "28858",
"score": "0",
"text": "This is part of the answer, I found the full answer here http://askubuntu.com/a/206775/111625",
"userDisplayName": null,
"userId": "111625"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T12:57:26.353",
"id": "28858",
"lastActivityDate": "2011-03-03T16:22:14.053",
"lastEditDate": "2011-03-03T16:22:14.053",
"lastEditorDisplayName": null,
"lastEditorUserId": "4887",
"ownerDisplayName": null,
"ownerUserId": "4887",
"parentId": "28850",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>I found <a href=\"http://k3mist.com/linux/posix-catch-all-the-proper-way/\" rel=\"nofollow\">this article</a> explaining how to do it with postfix.</p>\n\n<p>The key is:</p>\n\n<pre><code>luser_relay = cam8001@localhost\nlocal_recipient_maps =\n</code></pre>\n\n<p>as explaine... | null | null | null | null | null |
28855 | 1 | 28896 | 2011-03-03T12:48:52.423 | 2 | 8530 | <p>Since I've installed Firestarter I have encountered connectivity issues that are all resolved by disabling the firewall. I'd prefer to have the firewall running and allow all the traffic I normally use:</p>
<ol>
<li>Wired network + wireless network, whichever I'm connected to, or both (1)</li>
<li>OpenVPN</li>
<li>VirtualBox internal network</li>
<li>Samba (for accessing shared Windows folders and sharing folders to Windows) (2)</li>
<li>BitTorrent</li>
<li>And everything else I use that I can't think of :)</li>
</ol>
<p>All the above works without a firewall.</p>
<p>(1) I used the Firestarter wizard and selected wlan0 as my primary connection, now whenever I plug in a network cable, I lose all connectivity. Should I just redo the wizard for eth0, or will I then lose wlan0?</p>
<p>(2) If it makes a difference I'm sharing a directory that I share between local users using bindfs. See my answer to <a href="https://askubuntu.com/questions/14765/good-and-easy-way-to-share-files-on-local-machine/20870#20870">Good and easy way to share files on local machine</a></p>
| 7146 | -1 | 2017-04-13T12:23:27.200 | 2011-03-05T06:34:08.913 | How do I open up firewall while keeping it safe? | [
"virtualbox",
"samba",
"firewall",
"openvpn",
"bittorrent"
] | 7 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T18:53:27.047",
"id": "32125",
"postId": "28855",
"score": "0",
"text": "This is really two questions, one of which would exclude the other. I.e., \"Do I really need a firewall?\" This has been tackled by various other questions, but is subjective at best. I woul... | {
"accepted": true,
"body": "<p>Here is one easy way to do it. My answer is going to assume that you have disabled all other firewall rules / packages you have tried.</p>\n\n<p>Ubuntu has a nice very simple command line interface to \"iptables\" (Linux firewall) which is call UFW for Uncomplicated FireWall.</p>\n\n<p><strong>simply do this:</strong></p>\n\n<pre><code>sudo ufw status\n</code></pre>\n\n<p><strong>you'll see that your firewall is currently inactive:</strong></p>\n\n<p>\"Status: inactive\"</p>\n\n<p><strong>if you then issue the following command:</strong></p>\n\n<pre><code>sudo ufw enable\n</code></pre>\n\n<p><strong>you'll then get this message if it worked:</strong></p>\n\n<p>\"Firewall is active and enabled on system startup\"</p>\n\n<p><strong>Final Thoughts / Wrap Up:</strong></p>\n\n<p>Honestly this is all you'll probably need as the default ufw policy allows all outbound traffic (i.e. you surfing, downloading, etc) and blocks all inbound traffic to your box.</p>\n\n<p>If you wanted to allow say... ssh/scp connections to your box/laptop for some reason you could simple add a rule such as this:</p>\n\n<pre><code>sudo ufw allow proto tcp from 192.168.1.0/24 to any port 22\n</code></pre>\n\n<p>In my opinion the syntax / commands are very simple and a gui app or overlay isn't bad, but not necessarily needed for what you seem to be wanting to achieve.</p>\n\n<p><strong>For more info check out the community docs on UFW here:</strong>\n<a href=\"https://help.ubuntu.com/community/UFW\" rel=\"nofollow\">https://help.ubuntu.com/community/UFW</a></p>\n\n<p>I hope this has been helpful. =)</p>\n\n<p><strong>##### EDIT #####</strong> (adding this in case people don't see my comment reply below and to add a resource link)</p>\n\n<p><strong>If you are wanting to open up certain ports click this link and look up all the ports you need (tcp and/or udp) for the services you listed:</strong>\n<a href=\"http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers\" rel=\"nofollow\">http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers</a></p>\n\n<p><strong>Then to open that port up from anywhere to your machine do this:</strong></p>\n\n<pre><code>sudo ufw allow proto tcp from any to any port __\n</code></pre>\n\n<p>or</p>\n\n<pre><code>sudo ufw allow proto udp from any to any port __\n</code></pre>\n\n<p><strong>If you only want to open it up to ONLY your home 192.168.1.x network you could do this:</strong></p>\n\n<pre><code>sudo ufw allow proto tcp from 192.168.1.0/24 to any port __\n</code></pre>\n\n<p>or</p>\n\n<pre><code>sudo ufw allow proto udp from 192.168.1.0/24 to any port __\n</code></pre>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-03T19:58:20.797",
"id": "32143",
"postId": "28896",
"score": "0",
"text": "That will (I think) break BitTorrent, as it will need an open port. Something like `sudo ufw allow tcp/25000` will allow inbound TCP connections on port 25000.",
"userDisplayName": null,
"userId": "861"
},
{
"creationDate": "2011-03-03T21:55:49.607",
"id": "32171",
"postId": "28896",
"score": "0",
"text": "correct, it would block others connecting to you via bit torrent ports. what you would need to do is what i gave an example for in the \"Final Thoughts / Wrap up:\" section of my post. (feel free to also look at the community docs I linked.) example: sudo ufw allow proto tcp from any to any port _____ =)",
"userDisplayName": null,
"userId": "11618"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T18:20:27.290",
"id": "28896",
"lastActivityDate": "2011-03-05T06:34:08.913",
"lastEditDate": "2011-03-05T06:34:08.913",
"lastEditorDisplayName": null,
"lastEditorUserId": "11618",
"ownerDisplayName": null,
"ownerUserId": "11618",
"parentId": "28855",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": null,
"body": "<p>I had a similar problem when using a wired and usb connection.</p>\n\n<p>Turned out some thing was creating iptable rules when I plugged I connected using the USB device as well, which caused me to loose my internet connection.</p>\n\n<p>Not sure if it was firestarter causing... | null | null | null | null | null |
28856 | 1 | 36044 | 2011-03-03T12:54:17.743 | 6 | 3946 | <p>I am not talking about the Win 98 look, but even with the gnome-integration installed buttons look a bit weird and there are sometimes black lines where there shouldn't be any. Why?</p>
<p><a href="https://i.stack.imgur.com/F7ajW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F7ajW.png" alt="enter image description here"></a></p>
| 11289 | 114 | 2011-03-03T17:23:04.370 | 2017-02-25T09:56:49.640 | Why doesn't LO/OOo look completely native? | [
"themes",
"gtk",
"openoffice.org",
"libreoffice"
] | 4 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T13:09:37.597",
"id": "32070",
"postId": "28856",
"score": "0",
"text": "Are you talking about the line behind 'basic fonts (Western) at the top?",
"userDisplayName": null,
"userId": "10068"
},
{
"creationDate": "2011-03-03T14:25:08.297",
"id": "3... | {
"accepted": true,
"body": "<p>This will be improved in LibO 3.4 --see this before-n-after screenshot: <a href=\"https://bugs.freedesktop.org/attachment.cgi?id=42337\" rel=\"nofollow\">https://bugs.freedesktop.org/attachment.cgi?id=42337</a></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-04-20T06:42:39.903",
"id": "36044",
"lastActivityDate": "2011-04-20T06:42:39.903",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": "user14625",
"ownerUserId": null,
"parentId": "28856",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>install openoffice.org-gtk and openoffice.org-gnome packages</p>\n\n<p><code>sudo apt-get install openoffice.org-gtk openoffice.org-gnome</code></p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-03T16:09:40.783",
"id": "32089"... | null | null | null | null | null |
28859 | 1 | 29043 | 2011-03-03T12:58:50.610 | 2 | 278 | <p>I have come across two bugs (which will be added to launchpad if it's not resolved here)</p>
<ol>
<li>When I open any of the websites in Banshee Amazon or Miro Guide as soon as the site is finished loading it crashes Banshee.</li>
<li><p>If I play any video local or remote it will show 1 frame maybe 0.5 sec of video then I get a black screen and audio continues in the backgound.</p>
<ul>
<li>Specs & Details</li>
</ul></li>
</ol>
<p>I have a Fujitsu Amilo 1718 laptop with 2 gig of ram (original 1 gig) graphics is provided by ATI Radeon Xpress 200M (don't laugh it works with compiz....just)</p>
<p>I have a link to the output of <code>banshee --debug</code> <a href="http://paste.ubuntu.com/574953/" rel="nofollow">Here</a>.</p>
<p>Don't have time to read? Here are the highlights:</p>
<pre><code>[2 Warn 11:52:34.814] Caught an exception - System.ArgumentNullException: Argument cannot be null.
</code></pre>
<p>then a bit later</p>
<pre><code>Debug info from gdb:
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
</code></pre>
<p>Not music to my ears as you can expect. The version I am using is 1.9.4 from the daily ppa but these bugs happen in any version of banshee from 1.8.1 and up. So if any one has come across a fix for this problem please share!!</p>
<p><strong>Additional info</strong></p>
<p>Both VLC and Miro work on my system so there isn't a system wide problem with video and I haven't mentioned mono so no trolling it will get voted down.</p>
<p><strong>Edit 1/2</strong></p>
<p>Ok so half way there I added the webkit teams ppa <code>ppa:webkit-team/ppa</code> to my software sources and updated. The result is Banshee no longer crashes when opening sites. However its is still unable to play video even after disabling gapless playback as per Michaels instructions so Halfway there but not the full Banana. </p>
| 6450 | 17722 | 2012-07-09T13:10:54.717 | 2012-07-09T13:10:54.717 | Banshee doesn't like opening websites | [
"10.10",
"banshee"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-15T16:37:01.177",
"id": "34188",
"postId": "28859",
"score": "0",
"text": "Glad the webkit issue is fixed. As far as the video issue goes, it looks like gapless might not be the cause of that bug after all -- see my updated answer. Is the problem happening with all f... | {
"accepted": true,
"body": "<ol>\n<li><p>This sounds like an issue with the version of webkit-gtk or webkit-sharp installed on your system. It's either a bug in Banshee, or a problem with the packaging, but either way, you should probably report it on Launchpad.</p></li>\n<li><p>This could be <a href=\"https://bugzilla.gnome.org/show_bug.cgi?id=617957\" rel=\"nofollow\">Bug 617957</a>. Does the problem happen with all types of video, or is it specific to certain types? It was thought that the problem might be related to gapless playback, but based on <a href=\"https://bugzilla.gnome.org/show_bug.cgi?id=617957#c16\" rel=\"nofollow\">Comment 16</a> there, that may not actually be the cause.</p></li>\n</ol>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-03-16T11:02:42.460",
"id": "34330",
"postId": "29043",
"score": "0",
"text": "Hi Michael thanks for the update. Unfortunately this happens with all videos from old avi to new mkv the symptom is every thing works fine up to about 0.5 sec or maybe less in to the video then the video goes black while the audio continues in the background. I will open a bug at launchpad this weekend.",
"userDisplayName": null,
"userId": "6450"
},
{
"creationDate": "2011-03-16T12:26:46.353",
"id": "34333",
"postId": "29043",
"score": "0",
"text": "Hmm, that's no good. Can Totem play the files without a problem? VLC packages its own video codecs, and I'm not sure what Miro does, but Totem and Banshee would share gstreamer libraries for playing videos. *In theory* if it works in one, it should work in the other. If the videos work in Totem, but not Banshee, you might want to skip Launchpad and report the bug directly to the source: http://banshee.fm/file-bugs",
"userDisplayName": null,
"userId": "2079"
},
{
"creationDate": "2011-03-16T13:04:19.280",
"id": "34344",
"postId": "29043",
"score": "0",
"text": "Reinstalled Totem which has no problems Banshee still has problems so its off to banshee.fm for me.",
"userDisplayName": null,
"userId": "6450"
},
{
"creationDate": "2011-05-08T11:33:37.660",
"id": "45151",
"postId": "29043",
"score": "0",
"text": "Recently upgraded to Natty 11.04 and everything works out of the box. Funnily enough I had a similar issue with window previews in kde I'm feeling some compiz (jealousy) bug at work. It seams the work done to get compiz up to scratch for unity has benefited other areas.",
"userDisplayName": null,
"userId": "6450"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T21:13:52.533",
"id": "29043",
"lastActivityDate": "2011-03-15T16:34:16.423",
"lastEditDate": "2011-03-15T16:34:16.423",
"lastEditorDisplayName": null,
"lastEditorUserId": "2079",
"ownerDisplayName": null,
"ownerUserId": "2079",
"parentId": "28859",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<ol>\n<li><p>This sounds like an issue with the version of webkit-gtk or webkit-sharp installed on your system. It's either a bug in Banshee, or a problem with the packaging, but either way, you should probably report it on Launchpad.</p></li>\n<li><p>This could be <a href=\"ht... | null | null | null | null | null |
28878 | 1 | null | 2011-03-03T10:03:35.497 | 7 | 7709 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/88384/how-can-i-repair-grub-how-to-get-ubuntu-back-after-installing-windows">How can I repair grub? (How to get Ubuntu back after installing Windows?)</a> </p>
</blockquote>
<p>Recently I reinstalled Windows XP on my laptop which also have Ubuntu 9.10 installed,
but after reinstalling Windows I was not able to boot to the Ubuntu again. </p>
<p>I have the Ubuntu 9.10 Live CD with me and I tried some of the tutorials I saw online but was not successfully. For example I followed the examples on <a href="http://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/" rel="nofollow noreferrer">this site</a> but I couldn't make it work. Can somebody please help me?</p>
| 54884 | -1 | 2017-04-13T12:24:49.530 | 2011-09-29T16:54:46.633 | Can't boot into Ubuntu after installing Windows | [
"grub2",
"dual-boot",
"9.10",
"windows-xp"
] | 3 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-07-26T16:38:47.567",
"id": "61344",
"postId": "28878",
"score": "0",
"text": "Windows XP might have overwritten some files it didn't recognize. It's always recommended to install Windows before Ubuntu, and any older versions before installing a newer one.",
"userDispl... | null | [
{
"accepted": null,
"body": "<p><a href=\"http://bkpavan.wordpress.com/2008/04/02/how-to-boot-linux-using-windows-bootloader-xp/\" rel=\"nofollow\">http://bkpavan.wordpress.com/2008/04/02/how-to-boot-linux-using-windows-bootloader-xp/</a></p>\n\n<p>Try this</p>\n",
"commentCount": "1",
"comments": [... | null | null | 2012-09-08T17:06:21.057 | null | bsanneh |
28880 | 1 | null | 2011-03-03T15:11:52.933 | 8 | 3362 | <p>I've got an external USB disk running btrfs. I use it for backups, and each time I do a backup I take a snapshot.</p>
<p>However, it's giving me this error now:</p>
<pre><code>parent transid verify failed on 109973766144 wanted 1823 found 1821
parent transid verify failed on 109973766144 wanted 1823 found 1821
</code></pre>
<p>Obviously, this is a non-critical disk, but I have a few files on here that aren't available elsewhere. Is there any way to recover data from this disk? Maybe by mounting one of the snapshots as root?</p>
| 11766 | 235 | 2011-03-03T15:16:54.583 | 2011-03-03T15:16:54.583 | How do I recover a BTRFS filesystem with "parent transid verify failed" errors? | [
"data-recovery",
"btrfs"
] | 0 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2012-02-20T23:23:29.717",
"id": "123177",
"postId": "28880",
"score": "0",
"text": "Hello, this question has no information and activity for a very long time. I am closing it for now. If by any reason you think this question is still viable or useful in anyway or that there is... | null | [] | null | null | 2012-02-20T23:23:37.143 | null | null |
28885 | 1 | 33497 | 2011-03-03T16:39:56.977 | 1 | 947 | <p>So I installed the detailed Battery Indicator that was <a href="http://www.omgubuntu.co.uk/2011/02/battery-applet-status-ubuntu/" rel="nofollow noreferrer">shown on OMGUbuntu</a>, and it worked fine for a few days. Now, every time I login I get this:
<img src="https://i.stack.imgur.com/Z4TeO.jpg" alt="Error"></p>
<p>I tried to go back to the old indicator, but it appears to be a D-Bus error. Any ideas? </p>
<p>I'm on Ubuntu 11.04 (Yes, I use Unity. I've also tried <em>NOT</em> using Unity in a hope that it had something to do with that and that the error was misleading, but I got the exact same results) on an Asus EEE PC, and here is what I get when I run <code>cat /proc/acpi/battery/BAT0/info</code> <em>when it's plugged in</em>:</p>
<pre><code>james@tristan:~$ cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 4400 mAh
last full capacity: 4266 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 10 mAh
design capacity low: 5 mAh
cycle count: 0
capacity granularity 1: 44 mAh
capacity granularity 2: 44 mAh
model number: 1005P
serial number:
battery type: LION
OEM info: ASUS
james@tristan:~$
</code></pre>
<p>I get the exact same output when I'm <strong>not</strong> plugged in as well. </p>
<p><strong>*EDIT: THERE IS NO <code>BAT1</code>. I'm now on 11.04 beta, and I'm still getting the same error</strong></p>
<p>Another edit: Output of <code>acpitool -b</code> </p>
<p><code>Battery #1 : discharging, 100.0%</code></p>
| 6005 | 6005 | 2011-04-04T18:39:08.503 | 2011-04-04T18:40:45.357 | Battery Indicator Error. D-Bus | [
"power-management",
"battery",
"dbus"
] | 1 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T19:34:17.690",
"id": "32130",
"postId": "28885",
"score": "0",
"text": "By \"plugged in\" do you mean that the battery is plugged in or that the AC adapter is plugged in? Also, what exactly happened when you tried to go back to the old indicator?",
"userDisplayN... | {
"accepted": true,
"body": "<p>There is a know bug that can be solved by this:\nLets make a backup first: </p>\n\n<pre>\n sudo cp /usr/lib/battery-status/battery-status /usr/lib/battery-status/battery-status.bak \n</pre> \n\n<p>And then: </p>\n\n<pre> sudo sed -i 's/BAT0/BAT1/g' /usr/lib/battery-status/battery-status </pre> \n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-04-04T17:57:57.930",
"id": "37367",
"postId": "33497",
"score": "0",
"text": "https://gist.github.com/1c510b08c587a8cacb19 - the PPA isn't found.",
"userDisplayName": null,
"userId": "6005"
},
{
"creationDate": "2011-04-04T18:43:57.883",
"id": "37376",
"postId": "33497",
"score": "0",
"text": "I'm sorry I am at my mobile. I will check that when I get home. Until then you could try what I've added to the answer.",
"userDisplayName": null,
"userId": "12943"
},
{
"creationDate": "2011-04-04T18:44:59.730",
"id": "37377",
"postId": "33497",
"score": "0",
"text": "You just solved it for me. I followed your instructions, logged out and it worked.... THANK YOU. :D",
"userDisplayName": null,
"userId": "6005"
},
{
"creationDate": "2011-04-04T18:46:34.090",
"id": "37378",
"postId": "33497",
"score": "0",
"text": "I'm glad to help. ;-)",
"userDisplayName": null,
"userId": "12943"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-04-04T17:49:04.013",
"id": "33497",
"lastActivityDate": "2011-04-04T18:40:45.357",
"lastEditDate": "2011-04-04T18:40:45.357",
"lastEditorDisplayName": null,
"lastEditorUserId": "12943",
"ownerDisplayName": null,
"ownerUserId": "12943",
"parentId": "28885",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>There is a know bug that can be solved by this:\nLets make a backup first: </p>\n\n<pre>\n sudo cp /usr/lib/battery-status/battery-status /usr/lib/battery-status/battery-status.bak \n</pre> \n\n<p>And then: </p>\n\n<pre> sudo sed -i 's/BAT0/BAT1/g' /usr/lib/battery-status/b... | null | null | null | null | null |
28887 | 1 | 29027 | 2011-03-03T17:32:15.037 | 4 | 3004 | <p>I'm aware of the existence of similar threads on this forum. But any of replies mach to my problem.</p>
<p>I'm using Ubuntu 10.4 and I hadn't problems with fonts till I've decided to use XeLaTeX instead of LaTeX (cf <a href="https://tex.stackexchange.com/questions/12347/typesetting-a-document-using-arabic-script/12358#12358">https://tex.stackexchange.com/questions/12347/typesetting-a-document-using-arabic-script/12358#12358</a>). The problem is that I'm not able to compile any .tex document using XeLaTeX, as well as properly display XeLaTeX documentation. As I've learn thanks to mentioned thread, XeLaTeX uses the fonts availables in general in the system.</p>
<p>I was trying yo read <code>fontspec</code> documentation, but it opens in pdf with a lot of white gaps and terminal output (quite long) consist mostly of errors. This are just few lines of it: </p>
<pre><code>Error: Missing language pack for 'Adobe-Japan1' mapping
Error: Unknown font tag 'F5.1'
Error (24124): No font in show
Error: Unknown font tag 'F5.1'
</code></pre>
<p>I was trying to compile simple XeLaTeX file: </p>
<pre><code>\documentclass{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\begin{document}
Hello World!
\end{document}
</code></pre>
<p>without succes. This is terminal output of compilation: </p>
<pre><code>This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./ex.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, polish, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.sty
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty)
(/usr/share/texmf-texlive/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texmf-texlive/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf-texlive/tex/generic/xkeyval/keyval.tex)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1enc.def)
(/usr/share/texmf-texlive/tex/xelatex/euenc/eu1lmr.fd))
fontspec.cfg loaded.
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg))kpathsea: Invalid fontname `Linux Libertine O', contains ' '
! Font \zf@basefont="Linux Libertine O" at 10.0pt not loadable: Metric (TFM) fi
le or installed font not found.
\zf@fontspec ...ntname \zf@suffix " at \f@size pt
\unless \ifzf@icu \zf@set@...
l.3 \setmainfont{Linux Libertine O}
?
</code></pre>
<p>I can't find <code>Linux Libertine O</code>. Searching for <code>otf-</code> by <code>aptitude</code> gives as result: </p>
<pre><code>maria@maria-laptop:/etc/fonts$ aptitude search otf
p emdebian-rootfs - emdebian root filesystem support
p libotf-bin - A Library for handling OpenType Font - utilities
p libotf-dev - A Library for handling OpenType Font - development
i libotf0 - A Library for handling OpenType Font - runtime
p libotf0-dbg - The libotf libraries and debugging symbols
p libpam-dotfile - A PAM module which allows users to have more than one password
p livecd-rootfs - construction script for the livecd rootfs
p makebootfat - Utility to create a bootable FAT filesystem
p otf-ipaexfont - Japanese OpenType font, IPAexFont (IPAexGothic/Mincho)
p otf-ipaexfont-gothic - Japanese OpenType font, IPAexFont (IPAexGothic)
p otf-ipaexfont-mincho - Japanese OpenType font, IPAexFont (IPAexMincho)
p otf-ipafont - Japanese OpenType font set, IPAfont
p otf-ipafont-gothic - Japanese OpenType font set, IPA Gothic font
p otf-ipafont-mincho - Japanese OpenType font set, IPA Mincho font
p otf-stix - the Scientific and Technical Information eXchange fonts
p otf-thai-tlwg - Thai fonts in OpenType format
p otf-yozvox-yozfont - Japanese proportional Handwriting OpenType font
p otf2bdf - generate BDF bitmap fonts from OpenType outline fonts
p robotfindskitten - Zen Simulation of robot finding kitten
</code></pre>
<p>So font in question is not just uninstalled, but not available, if I'm not wrong. Does it mean that I lack some repositoires?</p>
<p>I was trying also to apply solution from the thread <a href="https://askubuntu.com/questions/24983/how-do-i-reinstall-default-fonts">How do I reinstall default fonts?</a>, but the result is: </p>
<pre><code>maria@maria-laptop:~$ sudo apt-get install msttcorefonts
[sudo] password for maria:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting ttf-mscorefonts-installer instead of msttcorefonts
ttf-mscorefonts-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
maria@maria-laptop:~$
</code></pre>
<p>It seems that is not a usual problem for use of XeLaTeX; nobody in the mentioned thread suggested instalation of anything else than TeX Live.</p>
<p>Thanks in advance</p>
| 11141 | -1 | 2017-04-13T12:36:10.473 | 2011-03-04T19:49:10.700 | What packages do I need to compile .tex documents using XeLaTeX? | [
"10.04",
"fonts",
"latex"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Finally I've managed to solve the problem.</p>\n\n<ol>\n<li><p>Lacking fonts were accessible via Ubuntu Software Center (I thought before that it's just another graphical presentation of the same mechanism as <code>apt</code> and Synaptic...)</p></li>\n<li><p>Problem with documentation solved by installation of <code>poppler-data</code>.</p></li>\n</ol>\n\n<p>Hope it helps to somebody with similar problem.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-04T18:24:03.387",
"id": "32300",
"postId": "29027",
"score": "0",
"text": "Good job sorting this out, can you reword the title to be something more descriptive than \"font on ubuntu 10.04?\" so it's a bit more detailed? Thanks!",
"userDisplayName": null,
"userId": "235"
},
{
"creationDate": "2011-03-04T18:50:51.337",
"id": "32301",
"postId": "29027",
"score": "0",
"text": "@Jorge I could reword the title if I knew what formulation would be more accurate... I'm not fluent in English and not very skilled for informatics... Any hints?",
"userDisplayName": null,
"userId": "11141"
},
{
"creationDate": "2011-03-04T19:28:08.170",
"id": "32313",
"postId": "29027",
"score": "0",
"text": "No clue either, I barely understand the subject you're talking about myself, I'll give it a go though.",
"userDisplayName": null,
"userId": "235"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T17:37:02.693",
"id": "29027",
"lastActivityDate": "2011-03-04T17:39:59.333",
"lastEditDate": "2011-03-04T17:39:59.333",
"lastEditorDisplayName": null,
"lastEditorUserId": "235",
"ownerDisplayName": null,
"ownerUserId": "11141",
"parentId": "28887",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>Finally I've managed to solve the problem.</p>\n\n<ol>\n<li><p>Lacking fonts were accessible via Ubuntu Software Center (I thought before that it's just another graphical presentation of the same mechanism as <code>apt</code> and Synaptic...)</p></li>\n<li><p>Problem with doc... | null | null | null | null | null |
28891 | 1 | 28897 | 2011-03-03T17:45:39.413 | 1 | 1355 | <p>I guess the title is self descriptive. I just moved to KDE but the Gnome based apps (like Banshee, Emacs, Tomboy and others) simply look terrible.</p>
| 10943 | 114 | 2011-03-03T18:03:14.333 | 2012-09-10T01:41:14.463 | How do I setup the look & feel of Gnome applications while on KDE? | [
"gnome",
"kde",
"themes"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>pulled from: <a href=\"http://www.gossamer-threads.com/lists/gentoo/desktop/219652\" rel=\"nofollow\">http://www.gossamer-threads.com/lists/gentoo/desktop/219652</a></p>\n\n<p>On 10/15/2010 02:56 PM, Coert Waagmeester wrote: </p>\n\n<blockquote>\n <p>Hello all, </p>\n \n <p>How can I get a nice theme on firefox (and other gnome gtk apps) when I \n use KDE? </p>\n \n <p>I have installed the gtk qtcurve package. </p>\n</blockquote>\n\n<p>Also install kde-misc/kcm_gtk. This will give you a new configuration \noption in System Settings (either in \"Application Appearance\" or in \n\"Lost and Found\" if you're on KDE 4.5.2) where you can configure Gtk. </p>\n\n<p>In order to configure QtCurve itself though, you will also have to \ninstall x11-themes/qtcurve-qt4, and switch KDE from Oxygen to that, \nconfigure it (this also configures the Gtk version) and then switch back \nto Oxygen (the Gtk configuration of QtCurve will be kept.)</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-04T15:29:31.450",
"id": "32270",
"postId": "28897",
"score": "0",
"text": "It worked, still many of my settings do not seem to survived a log out",
"userDisplayName": null,
"userId": "10943"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T18:31:25.490",
"id": "28897",
"lastActivityDate": "2011-03-03T18:31:25.490",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11773",
"parentId": "28891",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>pulled from: <a href=\"http://www.gossamer-threads.com/lists/gentoo/desktop/219652\" rel=\"nofollow\">http://www.gossamer-threads.com/lists/gentoo/desktop/219652</a></p>\n\n<p>On 10/15/2010 02:56 PM, Coert Waagmeester wrote: </p>\n\n<blockquote>\n <p>Hello all, </p>\n \n <... | null | null | null | null | null |
28892 | 1 | 29274 | 2011-03-03T18:04:04.780 | 17 | 12501 | <p>Related to a question on <a href="https://askubuntu.com/questions/20705/is-the-brain-fuck-scheduler-better-than-completely-fair-scheduler-for-desktop-com">which is better, the CFS or BFS scheduler</a>:</p>
<p>Where do I find a list of which schedulers are available?</p>
<p>And how do I switch between them?</p>
| 2337 | -1 | 2017-04-13T12:23:46.240 | 2013-12-19T04:47:31.507 | How can I switch between the CFS and BFS schedulers? | [
"10.10",
"kernel",
"process"
] | 4 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You will have to download, patch, and compile your own kernel because BFS is currently not part of the mainline kernel. The mainline kernel contains only one scheduler and is not meant to have multiple schedulers in the same codebase, or even on-the-fly switchable schedulers (it that's even something that could possibly be done). It would simply be too complicated, and not worth the effort.</p>\n\n<p>So, in order to get BFS on your system:</p>\n\n<ul>\n<li>Get the kernel: <a href=\"http://www.kernel.org\">http://www.kernel.org</a></li>\n<li>Get the latest BFS patch for your kernel version: <a href=\"http://ck.kolivas.org/patches/bfs/\">http://ck.kolivas.org/patches/bfs/</a> </li>\n<li>Patch, compile, and then boot your new kernel.</li>\n</ul>\n\n<p>The benefit of running BFS over CFS is very small though, especially with newer kernel versions. Keep in mind that CFS is constantly being improved. </p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2015-06-08T11:18:58.223",
"id": "903445",
"postId": "29274",
"score": "0",
"text": "I compiled kernel 4.0.5 with BFS patch but scheduler is not listed. BFS was enable in make menuconfig. I don't understand why.",
"userDisplayName": null,
"userId": "17118"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-06T16:16:06.443",
"id": "29274",
"lastActivityDate": "2011-03-06T16:16:06.443",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11925",
"parentId": "28892",
"postTypeId": "2",
"score": "7"
} | [
{
"accepted": null,
"body": "<p>Patch and install a new kernel with BFS. You have to use sepatare kernels, there is no way of using both in the same kernel image (especially to swith them on-the-fly)</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "... | null | null | null | null | null |
28893 | 1 | null | 2011-03-03T18:14:19.297 | 1 | 866 | <p>I wanted to install OpenOffice 3.3.0, but it was installed alongside OpenOffice 3.2.0 instead of replacing it</p>
<p>How do I upgrade 3.2.0 to 3.3.0?</p>
| null | 8844 | 2011-03-03T18:25:51.110 | 2011-03-03T21:41:32.747 | How do I replace OpenOffice 3.2.0 with OpenOffice 3.3.0? | [
"openoffice.org"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T18:54:38.880",
"id": "32126",
"postId": "28893",
"score": "0",
"text": "Are you sure you're trying to install OpenOffice and not LibreOffice 3.3.0? If you want to install LibreOffice, you'll have to remove OpenOffice first.",
"userDisplayName": null,
"userId... | null | [
{
"accepted": null,
"body": "<p>Have you tried removing Openoffice prior to the new install?</p>\n\n<p>You can do this via synaptic and/or the next command should work:</p>\n\n<pre><code>sudo apt-get remove openoffice\n</code></pre>\n\n<p>You will be asked to enter your password, after which the application... | null | null | null | null | user11774 |
28898 | 1 | 28905 | 2011-03-03T18:35:31.773 | 37 | 81741 | <p>I saw the option <em>Suspend</em> in Ubuntu. What does it do?</p>
<p>I tried this option, but my PC goes to low power mode and then, I can't bring it to a normal condition. So I had to power off my PC. </p>
| 11769 | 10883 | 2012-08-19T17:38:17.653 | 2018-10-23T15:15:09.300 | What is suspend? | [
"suspend"
] | 2 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-03T18:36:28.667",
"id": "32124",
"postId": "28898",
"score": "12",
"text": "You've really got two questions in this one - it would be a lot more beneficial if you split up the \"What is suspend\" and \"Why doesn't my laptop wake up from suspension\" so each can be obje... | {
"accepted": true,
"body": "<p>Suspend mode is a special low-power mode, often used on laptops, that preserves the contents of RAM while conserving power.</p>\n\n<p>There are two main forms of suspend - suspend-to-RAM and suspend-to-disk (also known as \"software suspend\" or \"hibernation\"). Suspend-to-RAM uses more power, but is almost instant. Suspend-to-disk, on the other hand, uses no power (the system actually powers off), but takes longer to suspend/resume.</p>\n\n<p>You can find more info in <a href=\"https://help.ubuntu.com/community/SuspendHowto\">this</a> wiki page.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-03T19:50:29.103",
"id": "32138",
"postId": "28905",
"score": "1",
"text": "In fact, the power usage to support RAM contents alive is extremely low. My laptop managed to survive *at least* 24 hours of suspend-to-RAM mode, and I was still able to bring it into normal mode; and that happened *instantly*. I didn't have to wait while the whole 2 billion of bytes were read off the hard drive into RAM. I get my laptop ready to work right the second I hit the spacebar to wake it up. Contrary to this, suspend-to-disk a.k.a. hibernate is SLOW and actually sucks IMO.",
"userDisplayName": null,
"userId": "9061"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T19:08:15.880",
"id": "28905",
"lastActivityDate": "2011-03-03T19:18:29.753",
"lastEditDate": "2011-03-03T19:18:29.753",
"lastEditorDisplayName": null,
"lastEditorUserId": "5185",
"ownerDisplayName": null,
"ownerUserId": "5185",
"parentId": "28898",
"postTypeId": "2",
"score": "39"
} | [
{
"accepted": true,
"body": "<p>Suspend mode is a special low-power mode, often used on laptops, that preserves the contents of RAM while conserving power.</p>\n\n<p>There are two main forms of suspend - suspend-to-RAM and suspend-to-disk (also known as \"software suspend\" or \"hibernation\"). Suspend-to-R... | null | null | null | null | null |
28901 | 1 | 29110 | 2011-03-03T18:42:06.493 | 2 | 8090 | <p>I can't ping my Ubuntu on VirtualBox (within another Ubuntu).</p>
<p>I had set my ip using:</p>
<pre><code># ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
</code></pre>
<p>but the ping still fails. What's different when you're in the VirtualBox?</p>
| 5304 | null | null | 2011-03-05T14:40:02.767 | How to configure my VirtualBox's Ubuntu IP? | [
"virtualbox",
"ifconfig"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<ul>\n<li>First you must install the following programs:</li>\n</ul>\n\n<blockquote>\n <p>sudo apt-get install uml-utilities\n bridge-utils</p>\n</blockquote>\n\n<ul>\n<li>then you have to add something to the kernel:</li>\n</ul>\n\n<blockquote>\n <p>sudo modprobe tun</p>\n</blockquote>\n\n<ul>\n<li>Now, Here is a script that allows a guest virtual machine to connect to the main host and also have internet on both machines, <strong>you have to make a small adjustment to changing the USER variable for your user</strong> and ready, I save the script as vb:</li>\n</ul>\n\n<p><strong>permission first :</strong></p>\n\n<blockquote>\n <p>sudo chmod +x vb</p>\n</blockquote>\n\n<p><strong>then to start :</strong></p>\n\n<p><code>sudo ./vb start</code> </p>\n\n<p><strong>if we do not need it anymore</strong> </p>\n\n<p><code>sudo ./vb stop</code></p>\n\n<ul>\n<li>create the virtual machine and configure it in the choice of network adapter bridge and interface vth0 and you are ready.,</li>\n</ul>\n\n<p><strong>Here the Script :</strong></p>\n\n<pre><code>#!/bin/bash\n\nif [ -z $1 ]; then\necho \"Usage: $0 [start|stop]\"\nexit 1\nfi\n\n#Check root\n\nUSER=$(id -u)\n\nif [ \"$USER\" -ne \"0\" ]; then\necho \"Must be root\"\nexit 1\nfi\n\nUSER=your user\nTAP=vth0\nBR=br0\nETH=eth0\n\nfunction doStart {\n#Create the bridge\nbrctl addbr $BR\nifconfig $ETH 0.0.0.0 promisc\nbrctl addif $BR $ETH\ndhclient $BR\n\ntunctl -t $TAP -u $USER\nbrctl addif $BR $TAP\nifconfig $TAP up\n\necho \"$TAP ready\"\n}\n\nfunction doStop {\nifconfig $BR down\nifconfig $TAP down\ntunctl -d $TAP\nbrctl delbr $BR\ndhclient $ETH\n\necho \"Cleaned\"\n}\n\ncase $1 in\nstart)\ndoStart\n;;\n\nstop)\ndoStop\n;;\n\n*)\necho \"Usage: $0 [start|stop]\"\n;;\nesac\n\nexit 0\n</code></pre>\n\n<p>Step :</p>\n\n<ul>\n<li>Execute the script</li>\n<li>create your virtual machine or modify, in the machine configuration select NETWORK</li>\n</ul>\n\n<p><img src=\"https://i.stack.imgur.com/VqISW.png\" alt=\"enter image description here\"></p>\n\n<ul>\n<li>then select BRIDGE ADAPTER and interface VTH0</li>\n</ul>\n\n<p><img src=\"https://i.stack.imgur.com/RAW0d.png\" alt=\"enter image description here\"></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-05T13:01:09.727",
"id": "29110",
"lastActivityDate": "2011-03-05T14:40:02.767",
"lastEditDate": "2011-03-05T14:40:02.767",
"lastEditorDisplayName": null,
"lastEditorUserId": "3550",
"ownerDisplayName": null,
"ownerUserId": "3550",
"parentId": "28901",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": null,
"body": "<p>I know that in vmware you have the option of bridging the connection from the hardware ethernet to the virtualized ethernet device. Are the connections bridged in VirtualBox?</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-04T13:00... | null | null | null | null | null |
28903 | 1 | 28939 | 2011-03-03T18:47:13.840 | 3 | 447 | <p>Is there a plugin for gedit to enable me to have the API for a particular language open in a sidebar? </p>
<p>I'm currently working in Java, and it would be useful to have a tree type document with the details of the API keywords.</p>
| 2978 | 527764 | 2017-03-15T06:31:38.453 | 2017-07-04T18:29:37.580 | Programming language API sidebar in gedit | [
"programming",
"gedit"
] | 3 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>I am not sure if that can be achieved in gedit, but there are several alternatives for this case, such as <a href=\"http://bluefish.openoffice.nl/index.html\" rel=\"nofollow noreferrer\">Bluefish</a> which imho is the most lightweight and will give you the reference information in autocompletion popup as shown in the <strong>Edit Preferences</strong>.</p>\n\n<p>Give it a try, it isn't that different from or more resource-demanding than gedit.</p>\n\n<p>A php file highlighted and html reference information in a popup.</p>\n\n<p><img src=\"https://i.stack.imgur.com/NUmvL.png\" alt=\"enter image description here\"></p>\n\n<p>An html file highlighted and html reference information in a popup.</p>\n\n<p><img src=\"https://i.stack.imgur.com/O8H5k.png\" alt=\"enter image description here\"></p>\n\n<p>Edit/Preferences Language support config.</p>\n\n<p><img src=\"https://i.stack.imgur.com/oqAmb.png\" alt=\"enter image description here\"></p>\n\n<p>Supported languages, which include but are not limited to Javascript</p>\n\n<p><img src=\"https://i.stack.imgur.com/Mecpy.png\" alt=\"enter image description here\"></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-03T22:50:08.613",
"id": "28939",
"lastActivityDate": "2017-03-15T06:31:04.847",
"lastEditDate": "2017-03-15T06:31:04.847",
"lastEditorDisplayName": null,
"lastEditorUserId": "527764",
"ownerDisplayName": null,
"ownerUserId": "9598",
"parentId": "28903",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>I am not sure if that can be achieved in gedit, but there are several alternatives for this case, such as <a href=\"http://bluefish.openoffice.nl/index.html\" rel=\"nofollow noreferrer\">Bluefish</a> which imho is the most lightweight and will give you the reference informati... | null | null | null | null | null |
28904 | 1 | null | 2011-03-03T18:55:21.063 | 2 | 777 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/8803/how-can-i-reboot-into-the-non-default-operating-system-in-a-dual-boot-configura">How can I “reboot into” the non-default operating system in a dual-boot configuration?</a> </p>
</blockquote>
<p>I'm using a wireless keyboard via bluetooth and therefore cannot use it in grub, so I have to plug in an USB keyboard everytime I want to boot into Windows. AFAK Apple solved this problem by adding adding functions such as "Boot to MacOSX" in the Boot Camp control panel (iMacs come with Bluetooth mice and keyboard) so I was wondering weather it's possible to tell grub to boot Windows next time (and maybe even tell it from Windows to boot Linux next time)</p>
| 10887 | -1 | 2017-04-13T12:24:13.310 | 2011-03-03T19:22:20.093 | Boot to Windows option? Similar to bootcamp | [
"grub2",
"bluetooth"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p><code>sudo grub-reboot X</code> where X is the menu entry position (starting with 0 as the first entry)</p>\n",
"commentCount": "7",
"comments": [
{
"creationDate": "2011-03-03T19:37:56.583",
"id": "32131",
"postId": "28906",
"sco... | null | null | 2011-06-05T20:13:52.180 | null | null |
28907 | 1 | null | 2011-03-03T19:25:01.050 | 2 | 762 | <p>I was working with some .pptx presentations, and when I opened a new .pptx file, a tty appeared and the system reloaded back to the Ubuntu login screen. </p>
<p>Since then, every time I open LibreOffice Impress, the same thing happens.
Can anyone help with this?</p>
| 3246 | 6005 | 2012-06-12T19:10:41.090 | 2012-06-12T19:10:41.090 | Opening files in LibreOffice logs out and returns to the login screen | [
"libreoffice",
"login-screen",
"gdm"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T19:47:55.653",
"id": "32137",
"postId": "28907",
"score": "3",
"text": "Can you post the output of `/var/log/?dm.log` (? = gdm, kdm, ...), `/var/log/messages`, `/var/log/Xorg.0.log` and `~/.xsession-errors` on http://paste.ubuntu.com/?",
"userDisplayName": null,... | null | [
{
"accepted": null,
"body": "<p>You should look at the logs, to see if you can get the problem. Also, this seems like a bug, and Askubuntu is not the best place to solve it. You can find all the possible ways of asking for a solution <a href=\"http://www.libreoffice.org/get-help/\" rel=\"nofollow\">here</a>... | null | null | null | null | null |
28910 | 1 | 29682 | 2011-03-03T19:39:47.640 | 4 | 297 | <p>Could not launch 'Ubuntu One'
Just upgraded from 10.04-->10.10 64-bit. When I try to launch Ubuntu One, I get a dialog that says:</p>
<blockquote>
<p>Could Not Launch 'Ubuntu One"<br>
Failed to execute child process "ubuntuone" (No such file or directory)</p>
</blockquote>
<p>I uninstalled, and reinstalled. I also followed a process outlined here to completely purge. Still doesn't work.</p>
<p>Not sure how to trouble shoot this...</p>
<p>I have logged in via the website and added my computer.</p>
| 2692 | 41 | 2011-03-09T18:28:55.387 | 2011-03-11T11:45:48.567 | Can't Launch Ubuntu One | [
"10.10",
"ubuntu-one"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>I don't know where you're launching it from, but there has never been (to the best of my knowledge) a program called <code>ubuntuone</code>. Running <code>ubuntuone-preferences</code> (which is available in 10.10 in <code>System › Preferences › Ubuntu One</code> should bring up the old preferences application,</p>\n\n<p><img src=\"https://i.stack.imgur.com/Ge7Pu.png\" alt=\"Maverick's Ubuntu One Preferences application\"></p>\n\n<p>which should start everything running; if this is the first time you're running Ubuntu One on the computer, this should in turn pull up the Ubuntu Single Sign On application,</p>\n\n<p><img src=\"https://i.stack.imgur.com/fQt6V.png\" alt=\"the Ubuntu Single Sign On client\"></p>\n\n<p>Lastly should ensure that <code>ubuntuone-launch</code> (visible under the user-friendly name of \"Ubuntu One\") is listed and enabled amongst the <code>System › Preferences › Startup Applications</code>:</p>\n\n<p><img src=\"https://i.stack.imgur.com/8kwgR.png\" alt=\"Startup Applications Preferences\"></p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-10T15:06:43.193",
"id": "33261",
"postId": "29682",
"score": "0",
"text": "Thanks... this totally helps. What was confusing to me is that I had an item in my Applications/System menu called Ubuntu One. This is probably a leftover from upgrades from prior versions of Ubuntu. Also, in looking at my startup, I discovered that there was no Ubuntu One instance... also, in looking at another machine, the correct command at startup is: /bin/sh -c '[ -d \"$HOME/Ubuntu One\" ] && ubuntuone-launch'",
"userDisplayName": null,
"userId": "2692"
},
{
"creationDate": "2011-03-11T11:46:37.117",
"id": "33408",
"postId": "29682",
"score": "0",
"text": "whoops, fixed the `u1launch` vs `ubuntuone-launch` thing. The bit before `ubuntuone-launch` is to avoid running even that if the user has never used the service.",
"userDisplayName": null,
"userId": "711"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T16:49:08.727",
"id": "29682",
"lastActivityDate": "2011-03-11T11:45:48.567",
"lastEditDate": "2011-03-11T11:45:48.567",
"lastEditorDisplayName": null,
"lastEditorUserId": "711",
"ownerDisplayName": null,
"ownerUserId": "711",
"parentId": "28910",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>I don't know where you're launching it from, but there has never been (to the best of my knowledge) a program called <code>ubuntuone</code>. Running <code>ubuntuone-preferences</code> (which is available in 10.10 in <code>System › Preferences › Ubuntu One</code> should bring ... | null | null | null | null | null |
28912 | 1 | 28923 | 2011-03-03T19:50:44.033 | 13 | 5412 | <p>I am noticing some unusual network data transfer activity. Is there any software that can show the amount of network data transfer is process is doing.</p>
| 11769 | 11769 | 2011-03-03T20:01:18.470 | 2013-02-22T16:18:18.550 | Software to show amount of data transfer of each process | [
"internet",
"network-monitoring"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T19:54:04.887",
"id": "32142",
"postId": "28912",
"score": "1",
"text": "Do you mean Disk I/O or network transfer (internet)?",
"userDisplayName": null,
"userId": "5185"
}
] | {
"accepted": true,
"body": "<p>You could use <strong>nethogs</strong> to see the speed of transfer for each process.</p>\n\n<pre><code>sudo apt-get install nethogs\n</code></pre>\n\n<p>Run it in terminal by running <code>sudo nethogs</code> but if you have more than one network device, you may need to specify it like so:</p>\n\n<pre><code>sudo nethogs eth0\nsudo nethogs eth1 \nsudo nethogs wlan0 \nsudo nethogs wlan1 \n</code></pre>\n\n<p>A picture of nethogs working with a chrome opening a webpage:</p>\n\n<p><img src=\"https://i.stack.imgur.com/9TzEb.png\" alt=\"Nethogs in Action\"></p>\n\n<p>You also have <strong>bmon</strong> which shows you ethernet devide usage.</p>\n\n<pre><code>sudo apt-get install bmon\n</code></pre>\n\n<p>and just run it like <code>sudo bmon</code> it will show you all network devices are their usage\n<img src=\"https://i.stack.imgur.com/dCR2f.png\" alt=\"BMON in Action\"></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-03T20:27:59.727",
"id": "28923",
"lastActivityDate": "2013-02-22T16:18:18.550",
"lastEditDate": "2013-02-22T16:18:18.550",
"lastEditorDisplayName": null,
"lastEditorUserId": "449",
"ownerDisplayName": null,
"ownerUserId": "7035",
"parentId": "28912",
"postTypeId": "2",
"score": "14"
} | [
{
"accepted": null,
"body": "<p>You can use a command line tool called <strong>nethogs</strong>.\nFirst install it:</p>\n\n<pre><code>sudo apt-get install nethogs\n</code></pre>\n\n<p>Then call it on the interface.Like this for Ethernet interface:</p>\n\n<pre><code>sudo nethogs eth0\n</code></pre>\n\n<p>It ... | null | null | null | null | null |
28913 | 1 | 28988 | 2011-03-03T19:51:19.783 | 3 | 1769 | <p>A little history: 2 years ago I was really excited to find out that mdadm is so powerful that it even can reshape arrays, so you can start with a smaller array and then grow it as you need. I've bought 3x1Tb drives and made a RAID-5. It was fine for a year.</p>
<p>Then I bought 2x more, and tried to reshape to RAID-6 out of 5 drives, and due to some mess with superblock versions, lost all content. Had to rebuild it from scratch, but 2Tb of data were gone.</p>
<p>Yesterday I bought 2 more drives, and this time I had everything: properly built array, UPS. I've disabled write intent map, added 2 new drives as spares and run a command to grow array to 7-disks.</p>
<p>It started working, but speed was ridiculously slow, ~100kb/sec. After processing first 37Mb at such an amazing speed, one of old HDDs fails. I properly shutdown the PC and disconnected the failed drive. After bootup it appeared that it recreated the intent map as it was still in mdadm config, so I removed it from config and rebooted again.</p>
<p>Now all I see is that all mdadm processes deadlock, and don't do anything.</p>
<pre><code> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1937 root 20 0 12992 608 444 D 0 0.1 0:00.00 mdadm
2283 root 20 0 12992 852 704 D 0 0.1 0:00.01 mdadm
2287 root 20 0 0 0 0 D 0 0.0 0:00.01 md0_reshape
2288 root 18 -2 12992 820 676 D 0 0.1 0:00.01 mdadm
</code></pre>
<p>And all I see in mdstat is:</p>
<pre><code>$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid6 sdb1[1] sdg1[4] sdf1[7] sde1[6] sdd1[0] sdc1[5]
2929683456 blocks super 1.2 level 6, 1024k chunk, algorithm 2 [7/6] [UU_UUUU]
[>....................] reshape = 0.0% (37888/976561152) finish=567604147.2min speed=0K/sec
</code></pre>
<p>I've already tried mdadm 2.6.7, 3.1.4 and 3.2 - nothing helps. Did I lose my data again? Any suggestions on how can I make this work? </p>
<p>OS is Ubuntu Server 10.04.2.</p>
<p>PS. Needless to say, the data is inaccessible - I cannot mount /dev/md0 to save the most valuable data.</p>
<p>You can see my disappointment - the very specific thing I was excited about failed twice taking 5Tb of my data with it. </p>
<p><strong>Update:</strong> It appears there is some nice info in kern.log:</p>
<pre><code>21:38:48 ...: [ 166.522055] raid5: reshape will continue
21:38:48 ...: [ 166.522085] raid5: device sdb1 operational as raid disk 1
21:38:48 ...: [ 166.522091] raid5: device sdg1 operational as raid disk 4
21:38:48 ...: [ 166.522097] raid5: device sdf1 operational as raid disk 5
21:38:48 ...: [ 166.522102] raid5: device sde1 operational as raid disk 6
21:38:48 ...: [ 166.522107] raid5: device sdd1 operational as raid disk 0
21:38:48 ...: [ 166.522111] raid5: device sdc1 operational as raid disk 3
21:38:48 ...: [ 166.523942] raid5: allocated 7438kB for md0
21:38:48 ...: [ 166.524041] 1: w=1 pa=2 pr=5 m=2 a=2 r=7 op1=0 op2=0
21:38:48 ...: [ 166.524050] 4: w=2 pa=2 pr=5 m=2 a=2 r=7 op1=0 op2=0
21:38:48 ...: [ 166.524056] 5: w=3 pa=2 pr=5 m=2 a=2 r=7 op1=0 op2=0
21:38:48 ...: [ 166.524062] 6: w=4 pa=2 pr=5 m=2 a=2 r=7 op1=0 op2=0
21:38:48 ...: [ 166.524068] 0: w=5 pa=2 pr=5 m=2 a=2 r=7 op1=0 op2=0
21:38:48 ...: [ 166.524073] 3: w=6 pa=2 pr=5 m=2 a=2 r=7 op1=0 op2=0
21:38:48 ...: [ 166.524079] raid5: raid level 6 set md0 active with 6 out of 7 devices, algorithm 2
21:38:48 ...: [ 166.524519] RAID5 conf printout:
21:38:48 ...: [ 166.524523] --- rd:7 wd:6
21:38:48 ...: [ 166.524528] disk 0, o:1, dev:sdd1
21:38:48 ...: [ 166.524532] disk 1, o:1, dev:sdb1
21:38:48 ...: [ 166.524537] disk 3, o:1, dev:sdc1
21:38:48 ...: [ 166.524541] disk 4, o:1, dev:sdg1
21:38:48 ...: [ 166.524545] disk 5, o:1, dev:sdf1
21:38:48 ...: [ 166.524550] disk 6, o:1, dev:sde1
21:38:48 ...: [ 166.524553] ...ok start reshape thread
21:38:48 ...: [ 166.524727] md0: detected capacity change from 0 to 2999995858944
21:38:48 ...: [ 166.524735] md: reshape of RAID array md0
21:38:48 ...: [ 166.524740] md: minimum _guaranteed_ speed: 1000 KB/sec/disk.
21:38:48 ...: [ 166.524745] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for reshape.
21:38:48 ...: [ 166.524756] md: using 128k window, over a total of 976561152 blocks.
21:39:05 ...: [ 166.525013] md0:
21:42:04 ...: [ 362.520063] INFO: task mdadm:1937 blocked for more than 120 seconds.
21:42:04 ...: [ 362.520068] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:42:04 ...: [ 362.520073] mdadm D 00000000ffffffff 0 1937 1 0x00000000
21:42:04 ...: [ 362.520083] ffff88002ef4f5d8 0000000000000082 0000000000015bc0 0000000000015bc0
21:42:04 ...: [ 362.520092] ffff88002eb5b198 ffff88002ef4ffd8 0000000000015bc0 ffff88002eb5ade0
21:42:04 ...: [ 362.520100] 0000000000015bc0 ffff88002ef4ffd8 0000000000015bc0 ffff88002eb5b198
21:42:04 ...: [ 362.520107] Call Trace:
21:42:04 ...: [ 362.520133] [<ffffffffa0224892>] get_active_stripe+0x312/0x3f0 [raid456]
21:42:04 ...: [ 362.520148] [<ffffffff81059ae0>] ? default_wake_function+0x0/0x20
21:42:04 ...: [ 362.520159] [<ffffffffa0228413>] make_request+0x243/0x4b0 [raid456]
21:42:04 ...: [ 362.520169] [<ffffffffa0221a90>] ? release_stripe+0x50/0x70 [raid456]
21:42:04 ...: [ 362.520179] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:42:04 ...: [ 362.520188] [<ffffffff81414df0>] md_make_request+0xc0/0x130
21:42:04 ...: [ 362.520194] [<ffffffff81414df0>] ? md_make_request+0xc0/0x130
21:42:04 ...: [ 362.520205] [<ffffffff8129f8c1>] generic_make_request+0x1b1/0x4f0
21:42:04 ...: [ 362.520214] [<ffffffff810f6515>] ? mempool_alloc_slab+0x15/0x20
21:42:04 ...: [ 362.520222] [<ffffffff8116c2ec>] ? alloc_buffer_head+0x1c/0x60
21:42:04 ...: [ 362.520230] [<ffffffff8129fc80>] submit_bio+0x80/0x110
21:42:04 ...: [ 362.520236] [<ffffffff8116c849>] submit_bh+0xf9/0x140
21:42:04 ...: [ 362.520244] [<ffffffff8116f124>] block_read_full_page+0x274/0x3b0
21:42:04 ...: [ 362.520251] [<ffffffff81172c90>] ? blkdev_get_block+0x0/0x70
21:42:04 ...: [ 362.520258] [<ffffffff8110d875>] ? __inc_zone_page_state+0x35/0x40
21:42:04 ...: [ 362.520265] [<ffffffff810f46d8>] ? add_to_page_cache_locked+0xe8/0x160
21:42:04 ...: [ 362.520272] [<ffffffff81173d78>] blkdev_readpage+0x18/0x20
21:42:04 ...: [ 362.520279] [<ffffffff810f484b>] __read_cache_page+0x7b/0xe0
21:42:04 ...: [ 362.520285] [<ffffffff81173d60>] ? blkdev_readpage+0x0/0x20
21:42:04 ...: [ 362.520290] [<ffffffff81173d60>] ? blkdev_readpage+0x0/0x20
21:42:04 ...: [ 362.520297] [<ffffffff810f57dc>] do_read_cache_page+0x3c/0x120
21:42:04 ...: [ 362.520304] [<ffffffff810f5909>] read_cache_page_async+0x19/0x20
21:42:04 ...: [ 362.520310] [<ffffffff810f591e>] read_cache_page+0xe/0x20
21:42:04 ...: [ 362.520317] [<ffffffff811a6cb0>] read_dev_sector+0x30/0xa0
21:42:04 ...: [ 362.520324] [<ffffffff811a7fcd>] amiga_partition+0x6d/0x460
21:42:04 ...: [ 362.520331] [<ffffffff811a7938>] check_partition+0x138/0x190
21:42:04 ...: [ 362.520338] [<ffffffff811a7a7a>] rescan_partitions+0xea/0x2f0
21:42:04 ...: [ 362.520344] [<ffffffff811744c7>] __blkdev_get+0x267/0x3d0
21:42:04 ...: [ 362.520350] [<ffffffff81174650>] ? blkdev_open+0x0/0xc0
21:42:04 ...: [ 362.520356] [<ffffffff81174640>] blkdev_get+0x10/0x20
21:42:04 ...: [ 362.520362] [<ffffffff811746c1>] blkdev_open+0x71/0xc0
21:42:04 ...: [ 362.520369] [<ffffffff811419f3>] __dentry_open+0x113/0x370
21:42:04 ...: [ 362.520377] [<ffffffff81253f8f>] ? security_inode_permission+0x1f/0x30
21:42:04 ...: [ 362.520385] [<ffffffff8114de3f>] ? inode_permission+0xaf/0xd0
21:42:04 ...: [ 362.520391] [<ffffffff81141d67>] nameidata_to_filp+0x57/0x70
21:42:04 ...: [ 362.520398] [<ffffffff8115207a>] do_filp_open+0x2da/0xba0
21:42:04 ...: [ 362.520406] [<ffffffff811134a8>] ? unmap_vmas+0x178/0x310
21:42:04 ...: [ 362.520414] [<ffffffff8115dbfa>] ? alloc_fd+0x10a/0x150
21:42:04 ...: [ 362.520421] [<ffffffff81141769>] do_sys_open+0x69/0x170
21:42:04 ...: [ 362.520428] [<ffffffff811418b0>] sys_open+0x20/0x30
21:42:04 ...: [ 362.520437] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:42:04 ...: [ 362.520446] INFO: task mdadm:2283 blocked for more than 120 seconds.
21:42:04 ...: [ 362.520450] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:42:04 ...: [ 362.520454] mdadm D 0000000000000000 0 2283 2212 0x00000000
21:42:04 ...: [ 362.520462] ffff88002cca7d98 0000000000000086 0000000000015bc0 0000000000015bc0
21:42:04 ...: [ 362.520470] ffff88002ededf78 ffff88002cca7fd8 0000000000015bc0 ffff88002ededbc0
21:42:04 ...: [ 362.520478] 0000000000015bc0 ffff88002cca7fd8 0000000000015bc0 ffff88002ededf78
21:42:04 ...: [ 362.520485] Call Trace:
21:42:04 ...: [ 362.520495] [<ffffffff81543a97>] __mutex_lock_slowpath+0xf7/0x180
21:42:04 ...: [ 362.520502] [<ffffffff8154397b>] mutex_lock+0x2b/0x50
21:42:04 ...: [ 362.520508] [<ffffffff8117404d>] __blkdev_put+0x3d/0x190
21:42:04 ...: [ 362.520514] [<ffffffff811741b0>] blkdev_put+0x10/0x20
21:42:04 ...: [ 362.520520] [<ffffffff811741f3>] blkdev_close+0x33/0x60
21:42:04 ...: [ 362.520527] [<ffffffff81145375>] __fput+0xf5/0x210
21:42:04 ...: [ 362.520534] [<ffffffff811454b5>] fput+0x25/0x30
21:42:04 ...: [ 362.520540] [<ffffffff811415ad>] filp_close+0x5d/0x90
21:42:04 ...: [ 362.520546] [<ffffffff81141697>] sys_close+0xb7/0x120
21:42:04 ...: [ 362.520553] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:42:04 ...: [ 362.520559] INFO: task md0_reshape:2287 blocked for more than 120 seconds.
21:42:04 ...: [ 362.520563] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:42:04 ...: [ 362.520567] md0_reshape D ffff88003aee96f0 0 2287 2 0x00000000
21:42:04 ...: [ 362.520575] ffff88003cf05a70 0000000000000046 0000000000015bc0 0000000000015bc0
21:42:04 ...: [ 362.520582] ffff88003aee9aa8 ffff88003cf05fd8 0000000000015bc0 ffff88003aee96f0
21:42:04 ...: [ 362.520590] 0000000000015bc0 ffff88003cf05fd8 0000000000015bc0 ffff88003aee9aa8
21:42:04 ...: [ 362.520597] Call Trace:
21:42:04 ...: [ 362.520608] [<ffffffffa0224892>] get_active_stripe+0x312/0x3f0 [raid456]
21:42:04 ...: [ 362.520616] [<ffffffff81059ae0>] ? default_wake_function+0x0/0x20
21:42:04 ...: [ 362.520626] [<ffffffffa0226f80>] reshape_request+0x4c0/0x9a0 [raid456]
21:42:04 ...: [ 362.520634] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:42:04 ...: [ 362.520644] [<ffffffffa022777a>] sync_request+0x31a/0x3a0 [raid456]
21:42:04 ...: [ 362.520651] [<ffffffff81052713>] ? __wake_up+0x53/0x70
21:42:04 ...: [ 362.520658] [<ffffffff814156b1>] md_do_sync+0x621/0xbb0
21:42:04 ...: [ 362.520668] [<ffffffff810387b9>] ? default_spin_lock_flags+0x9/0x10
21:42:04 ...: [ 362.520675] [<ffffffff8141640c>] md_thread+0x5c/0x130
21:42:04 ...: [ 362.520681] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:42:04 ...: [ 362.520688] [<ffffffff814163b0>] ? md_thread+0x0/0x130
21:42:04 ...: [ 362.520694] [<ffffffff81084416>] kthread+0x96/0xa0
21:42:04 ...: [ 362.520701] [<ffffffff810131ea>] child_rip+0xa/0x20
21:42:04 ...: [ 362.520707] [<ffffffff81084380>] ? kthread+0x0/0xa0
21:42:04 ...: [ 362.520713] [<ffffffff810131e0>] ? child_rip+0x0/0x20
21:42:04 ...: [ 362.520718] INFO: task mdadm:2288 blocked for more than 120 seconds.
21:42:04 ...: [ 362.520721] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:42:04 ...: [ 362.520725] mdadm D 0000000000000000 0 2288 1 0x00000000
21:42:04 ...: [ 362.520733] ffff88002cca9c18 0000000000000086 0000000000015bc0 0000000000015bc0
21:42:04 ...: [ 362.520741] ffff88003aee83b8 ffff88002cca9fd8 0000000000015bc0 ffff88003aee8000
21:42:04 ...: [ 362.520748] 0000000000015bc0 ffff88002cca9fd8 0000000000015bc0 ffff88003aee83b8
21:42:04 ...: [ 362.520755] Call Trace:
21:42:04 ...: [ 362.520763] [<ffffffff81543a97>] __mutex_lock_slowpath+0xf7/0x180
21:42:04 ...: [ 362.520771] [<ffffffff812a6d50>] ? exact_match+0x0/0x10
21:42:04 ...: [ 362.520777] [<ffffffff8154397b>] mutex_lock+0x2b/0x50
21:42:04 ...: [ 362.520783] [<ffffffff811742c8>] __blkdev_get+0x68/0x3d0
21:42:04 ...: [ 362.520790] [<ffffffff81174650>] ? blkdev_open+0x0/0xc0
21:42:04 ...: [ 362.520795] [<ffffffff81174640>] blkdev_get+0x10/0x20
21:42:04 ...: [ 362.520801] [<ffffffff811746c1>] blkdev_open+0x71/0xc0
21:42:04 ...: [ 362.520808] [<ffffffff811419f3>] __dentry_open+0x113/0x370
21:42:04 ...: [ 362.520815] [<ffffffff81253f8f>] ? security_inode_permission+0x1f/0x30
21:42:04 ...: [ 362.520821] [<ffffffff8114de3f>] ? inode_permission+0xaf/0xd0
21:42:04 ...: [ 362.520828] [<ffffffff81141d67>] nameidata_to_filp+0x57/0x70
21:42:04 ...: [ 362.520834] [<ffffffff8115207a>] do_filp_open+0x2da/0xba0
21:42:04 ...: [ 362.520841] [<ffffffff810ff0e1>] ? lru_cache_add_lru+0x21/0x40
21:42:04 ...: [ 362.520848] [<ffffffff8111109c>] ? do_anonymous_page+0x11c/0x330
21:42:04 ...: [ 362.520855] [<ffffffff81115d5f>] ? handle_mm_fault+0x31f/0x3c0
21:42:04 ...: [ 362.520862] [<ffffffff8115dbfa>] ? alloc_fd+0x10a/0x150
21:42:04 ...: [ 362.520868] [<ffffffff81141769>] do_sys_open+0x69/0x170
21:42:04 ...: [ 362.520874] [<ffffffff811418b0>] sys_open+0x20/0x30
21:42:04 ...: [ 362.520882] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:44:04 ...: [ 482.520065] INFO: task mdadm:1937 blocked for more than 120 seconds.
21:44:04 ...: [ 482.520071] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:44:04 ...: [ 482.520077] mdadm D 00000000ffffffff 0 1937 1 0x00000000
21:44:04 ...: [ 482.520087] ffff88002ef4f5d8 0000000000000082 0000000000015bc0 0000000000015bc0
21:44:04 ...: [ 482.520096] ffff88002eb5b198 ffff88002ef4ffd8 0000000000015bc0 ffff88002eb5ade0
21:44:04 ...: [ 482.520104] 0000000000015bc0 ffff88002ef4ffd8 0000000000015bc0 ffff88002eb5b198
21:44:04 ...: [ 482.520112] Call Trace:
21:44:04 ...: [ 482.520139] [<ffffffffa0224892>] get_active_stripe+0x312/0x3f0 [raid456]
21:44:04 ...: [ 482.520154] [<ffffffff81059ae0>] ? default_wake_function+0x0/0x20
21:44:04 ...: [ 482.520165] [<ffffffffa0228413>] make_request+0x243/0x4b0 [raid456]
21:44:04 ...: [ 482.520175] [<ffffffffa0221a90>] ? release_stripe+0x50/0x70 [raid456]
21:44:04 ...: [ 482.520185] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:44:04 ...: [ 482.520194] [<ffffffff81414df0>] md_make_request+0xc0/0x130
21:44:04 ...: [ 482.520201] [<ffffffff81414df0>] ? md_make_request+0xc0/0x130
21:44:04 ...: [ 482.520212] [<ffffffff8129f8c1>] generic_make_request+0x1b1/0x4f0
21:44:04 ...: [ 482.520221] [<ffffffff810f6515>] ? mempool_alloc_slab+0x15/0x20
21:44:04 ...: [ 482.520229] [<ffffffff8116c2ec>] ? alloc_buffer_head+0x1c/0x60
21:44:04 ...: [ 482.520237] [<ffffffff8129fc80>] submit_bio+0x80/0x110
21:44:04 ...: [ 482.520244] [<ffffffff8116c849>] submit_bh+0xf9/0x140
21:44:04 ...: [ 482.520252] [<ffffffff8116f124>] block_read_full_page+0x274/0x3b0
21:44:04 ...: [ 482.520258] [<ffffffff81172c90>] ? blkdev_get_block+0x0/0x70
21:44:04 ...: [ 482.520266] [<ffffffff8110d875>] ? __inc_zone_page_state+0x35/0x40
21:44:04 ...: [ 482.520273] [<ffffffff810f46d8>] ? add_to_page_cache_locked+0xe8/0x160
21:44:04 ...: [ 482.520280] [<ffffffff81173d78>] blkdev_readpage+0x18/0x20
21:44:04 ...: [ 482.520286] [<ffffffff810f484b>] __read_cache_page+0x7b/0xe0
21:44:04 ...: [ 482.520293] [<ffffffff81173d60>] ? blkdev_readpage+0x0/0x20
21:44:04 ...: [ 482.520299] [<ffffffff81173d60>] ? blkdev_readpage+0x0/0x20
21:44:04 ...: [ 482.520306] [<ffffffff810f57dc>] do_read_cache_page+0x3c/0x120
21:44:04 ...: [ 482.520313] [<ffffffff810f5909>] read_cache_page_async+0x19/0x20
21:44:04 ...: [ 482.520319] [<ffffffff810f591e>] read_cache_page+0xe/0x20
21:44:04 ...: [ 482.520327] [<ffffffff811a6cb0>] read_dev_sector+0x30/0xa0
21:44:04 ...: [ 482.520334] [<ffffffff811a7fcd>] amiga_partition+0x6d/0x460
21:44:04 ...: [ 482.520341] [<ffffffff811a7938>] check_partition+0x138/0x190
21:44:04 ...: [ 482.520348] [<ffffffff811a7a7a>] rescan_partitions+0xea/0x2f0
21:44:04 ...: [ 482.520355] [<ffffffff811744c7>] __blkdev_get+0x267/0x3d0
21:44:04 ...: [ 482.520361] [<ffffffff81174650>] ? blkdev_open+0x0/0xc0
21:44:04 ...: [ 482.520367] [<ffffffff81174640>] blkdev_get+0x10/0x20
21:44:04 ...: [ 482.520373] [<ffffffff811746c1>] blkdev_open+0x71/0xc0
21:44:04 ...: [ 482.520380] [<ffffffff811419f3>] __dentry_open+0x113/0x370
21:44:04 ...: [ 482.520388] [<ffffffff81253f8f>] ? security_inode_permission+0x1f/0x30
21:44:04 ...: [ 482.520396] [<ffffffff8114de3f>] ? inode_permission+0xaf/0xd0
21:44:04 ...: [ 482.520403] [<ffffffff81141d67>] nameidata_to_filp+0x57/0x70
21:44:04 ...: [ 482.520410] [<ffffffff8115207a>] do_filp_open+0x2da/0xba0
21:44:04 ...: [ 482.520417] [<ffffffff811134a8>] ? unmap_vmas+0x178/0x310
21:44:04 ...: [ 482.520426] [<ffffffff8115dbfa>] ? alloc_fd+0x10a/0x150
21:44:04 ...: [ 482.520432] [<ffffffff81141769>] do_sys_open+0x69/0x170
21:44:04 ...: [ 482.520438] [<ffffffff811418b0>] sys_open+0x20/0x30
21:44:04 ...: [ 482.520447] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:44:04 ...: [ 482.520458] INFO: task mdadm:2283 blocked for more than 120 seconds.
21:44:04 ...: [ 482.520462] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:44:04 ...: [ 482.520467] mdadm D 0000000000000000 0 2283 2212 0x00000000
21:44:04 ...: [ 482.520475] ffff88002cca7d98 0000000000000086 0000000000015bc0 0000000000015bc0
21:44:04 ...: [ 482.520483] ffff88002ededf78 ffff88002cca7fd8 0000000000015bc0 ffff88002ededbc0
21:44:04 ...: [ 482.520490] 0000000000015bc0 ffff88002cca7fd8 0000000000015bc0 ffff88002ededf78
21:44:04 ...: [ 482.520498] Call Trace:
21:44:04 ...: [ 482.520508] [<ffffffff81543a97>] __mutex_lock_slowpath+0xf7/0x180
21:44:04 ...: [ 482.520515] [<ffffffff8154397b>] mutex_lock+0x2b/0x50
21:44:04 ...: [ 482.520521] [<ffffffff8117404d>] __blkdev_put+0x3d/0x190
21:44:04 ...: [ 482.520527] [<ffffffff811741b0>] blkdev_put+0x10/0x20
21:44:04 ...: [ 482.520533] [<ffffffff811741f3>] blkdev_close+0x33/0x60
21:44:04 ...: [ 482.520541] [<ffffffff81145375>] __fput+0xf5/0x210
21:44:04 ...: [ 482.520547] [<ffffffff811454b5>] fput+0x25/0x30
21:44:04 ...: [ 482.520554] [<ffffffff811415ad>] filp_close+0x5d/0x90
21:44:04 ...: [ 482.520560] [<ffffffff81141697>] sys_close+0xb7/0x120
21:44:04 ...: [ 482.520568] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:44:04 ...: [ 482.520574] INFO: task md0_reshape:2287 blocked for more than 120 seconds.
21:44:04 ...: [ 482.520578] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:44:04 ...: [ 482.520582] md0_reshape D ffff88003aee96f0 0 2287 2 0x00000000
21:44:04 ...: [ 482.520590] ffff88003cf05a70 0000000000000046 0000000000015bc0 0000000000015bc0
21:44:04 ...: [ 482.520597] ffff88003aee9aa8 ffff88003cf05fd8 0000000000015bc0 ffff88003aee96f0
21:44:04 ...: [ 482.520605] 0000000000015bc0 ffff88003cf05fd8 0000000000015bc0 ffff88003aee9aa8
21:44:04 ...: [ 482.520612] Call Trace:
21:44:04 ...: [ 482.520623] [<ffffffffa0224892>] get_active_stripe+0x312/0x3f0 [raid456]
21:44:04 ...: [ 482.520633] [<ffffffff81059ae0>] ? default_wake_function+0x0/0x20
21:44:04 ...: [ 482.520643] [<ffffffffa0226f80>] reshape_request+0x4c0/0x9a0 [raid456]
21:44:04 ...: [ 482.520651] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:44:04 ...: [ 482.520661] [<ffffffffa022777a>] sync_request+0x31a/0x3a0 [raid456]
21:44:04 ...: [ 482.520668] [<ffffffff81052713>] ? __wake_up+0x53/0x70
21:44:04 ...: [ 482.520675] [<ffffffff814156b1>] md_do_sync+0x621/0xbb0
21:44:04 ...: [ 482.520685] [<ffffffff810387b9>] ? default_spin_lock_flags+0x9/0x10
21:44:04 ...: [ 482.520692] [<ffffffff8141640c>] md_thread+0x5c/0x130
21:44:04 ...: [ 482.520699] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:44:04 ...: [ 482.520705] [<ffffffff814163b0>] ? md_thread+0x0/0x130
21:44:04 ...: [ 482.520711] [<ffffffff81084416>] kthread+0x96/0xa0
21:44:04 ...: [ 482.520718] [<ffffffff810131ea>] child_rip+0xa/0x20
21:44:04 ...: [ 482.520725] [<ffffffff81084380>] ? kthread+0x0/0xa0
21:44:04 ...: [ 482.520730] [<ffffffff810131e0>] ? child_rip+0x0/0x20
21:44:04 ...: [ 482.520735] INFO: task mdadm:2288 blocked for more than 120 seconds.
21:44:04 ...: [ 482.520739] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:44:04 ...: [ 482.520743] mdadm D 0000000000000000 0 2288 1 0x00000000
21:44:04 ...: [ 482.520751] ffff88002cca9c18 0000000000000086 0000000000015bc0 0000000000015bc0
21:44:04 ...: [ 482.520759] ffff88003aee83b8 ffff88002cca9fd8 0000000000015bc0 ffff88003aee8000
21:44:04 ...: [ 482.520767] 0000000000015bc0 ffff88002cca9fd8 0000000000015bc0 ffff88003aee83b8
21:44:04 ...: [ 482.520774] Call Trace:
21:44:04 ...: [ 482.520782] [<ffffffff81543a97>] __mutex_lock_slowpath+0xf7/0x180
21:44:04 ...: [ 482.520790] [<ffffffff812a6d50>] ? exact_match+0x0/0x10
21:44:04 ...: [ 482.520797] [<ffffffff8154397b>] mutex_lock+0x2b/0x50
21:44:04 ...: [ 482.520804] [<ffffffff811742c8>] __blkdev_get+0x68/0x3d0
21:44:04 ...: [ 482.520810] [<ffffffff81174650>] ? blkdev_open+0x0/0xc0
21:44:04 ...: [ 482.520816] [<ffffffff81174640>] blkdev_get+0x10/0x20
21:44:04 ...: [ 482.520822] [<ffffffff811746c1>] blkdev_open+0x71/0xc0
21:44:04 ...: [ 482.520829] [<ffffffff811419f3>] __dentry_open+0x113/0x370
21:44:04 ...: [ 482.520837] [<ffffffff81253f8f>] ? security_inode_permission+0x1f/0x30
21:44:04 ...: [ 482.520843] [<ffffffff8114de3f>] ? inode_permission+0xaf/0xd0
21:44:04 ...: [ 482.520850] [<ffffffff81141d67>] nameidata_to_filp+0x57/0x70
21:44:04 ...: [ 482.520857] [<ffffffff8115207a>] do_filp_open+0x2da/0xba0
21:44:04 ...: [ 482.520864] [<ffffffff810ff0e1>] ? lru_cache_add_lru+0x21/0x40
21:44:04 ...: [ 482.520871] [<ffffffff8111109c>] ? do_anonymous_page+0x11c/0x330
21:44:04 ...: [ 482.520878] [<ffffffff81115d5f>] ? handle_mm_fault+0x31f/0x3c0
21:44:04 ...: [ 482.520885] [<ffffffff8115dbfa>] ? alloc_fd+0x10a/0x150
21:44:04 ...: [ 482.520891] [<ffffffff81141769>] do_sys_open+0x69/0x170
21:44:04 ...: [ 482.520897] [<ffffffff811418b0>] sys_open+0x20/0x30
21:44:04 ...: [ 482.520905] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:46:04 ...: [ 602.520053] INFO: task mdadm:1937 blocked for more than 120 seconds.
21:46:04 ...: [ 602.520059] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:46:04 ...: [ 602.520065] mdadm D 00000000ffffffff 0 1937 1 0x00000000
21:46:04 ...: [ 602.520075] ffff88002ef4f5d8 0000000000000082 0000000000015bc0 0000000000015bc0
21:46:04 ...: [ 602.520084] ffff88002eb5b198 ffff88002ef4ffd8 0000000000015bc0 ffff88002eb5ade0
21:46:04 ...: [ 602.520091] 0000000000015bc0 ffff88002ef4ffd8 0000000000015bc0 ffff88002eb5b198
21:46:04 ...: [ 602.520099] Call Trace:
21:46:04 ...: [ 602.520127] [<ffffffffa0224892>] get_active_stripe+0x312/0x3f0 [raid456]
21:46:04 ...: [ 602.520142] [<ffffffff81059ae0>] ? default_wake_function+0x0/0x20
21:46:04 ...: [ 602.520153] [<ffffffffa0228413>] make_request+0x243/0x4b0 [raid456]
21:46:04 ...: [ 602.520162] [<ffffffffa0221a90>] ? release_stripe+0x50/0x70 [raid456]
21:46:04 ...: [ 602.520171] [<ffffffff81084790>] ? autoremove_wake_function+0x0/0x40
21:46:04 ...: [ 602.520180] [<ffffffff81414df0>] md_make_request+0xc0/0x130
21:46:04 ...: [ 602.520187] [<ffffffff81414df0>] ? md_make_request+0xc0/0x130
21:46:04 ...: [ 602.520197] [<ffffffff8129f8c1>] generic_make_request+0x1b1/0x4f0
21:46:04 ...: [ 602.520206] [<ffffffff810f6515>] ? mempool_alloc_slab+0x15/0x20
21:46:04 ...: [ 602.520215] [<ffffffff8116c2ec>] ? alloc_buffer_head+0x1c/0x60
21:46:04 ...: [ 602.520222] [<ffffffff8129fc80>] submit_bio+0x80/0x110
21:46:04 ...: [ 602.520229] [<ffffffff8116c849>] submit_bh+0xf9/0x140
21:46:04 ...: [ 602.520237] [<ffffffff8116f124>] block_read_full_page+0x274/0x3b0
21:46:04 ...: [ 602.520244] [<ffffffff81172c90>] ? blkdev_get_block+0x0/0x70
21:46:04 ...: [ 602.520252] [<ffffffff8110d875>] ? __inc_zone_page_state+0x35/0x40
21:46:04 ...: [ 602.520259] [<ffffffff810f46d8>] ? add_to_page_cache_locked+0xe8/0x160
21:46:04 ...: [ 602.520266] [<ffffffff81173d78>] blkdev_readpage+0x18/0x20
21:46:04 ...: [ 602.520273] [<ffffffff810f484b>] __read_cache_page+0x7b/0xe0
21:46:04 ...: [ 602.520279] [<ffffffff81173d60>] ? blkdev_readpage+0x0/0x20
21:46:04 ...: [ 602.520285] [<ffffffff81173d60>] ? blkdev_readpage+0x0/0x20
21:46:04 ...: [ 602.520292] [<ffffffff810f57dc>] do_read_cache_page+0x3c/0x120
21:46:04 ...: [ 602.520300] [<ffffffff810f5909>] read_cache_page_async+0x19/0x20
21:46:04 ...: [ 602.520306] [<ffffffff810f591e>] read_cache_page+0xe/0x20
21:46:04 ...: [ 602.520314] [<ffffffff811a6cb0>] read_dev_sector+0x30/0xa0
21:46:04 ...: [ 602.520321] [<ffffffff811a7fcd>] amiga_partition+0x6d/0x460
21:46:04 ...: [ 602.520328] [<ffffffff811a7938>] check_partition+0x138/0x190
21:46:04 ...: [ 602.520335] [<ffffffff811a7a7a>] rescan_partitions+0xea/0x2f0
21:46:04 ...: [ 602.520342] [<ffffffff811744c7>] __blkdev_get+0x267/0x3d0
21:46:04 ...: [ 602.520348] [<ffffffff81174650>] ? blkdev_open+0x0/0xc0
21:46:04 ...: [ 602.520354] [<ffffffff81174640>] blkdev_get+0x10/0x20
21:46:04 ...: [ 602.520359] [<ffffffff811746c1>] blkdev_open+0x71/0xc0
21:46:04 ...: [ 602.520367] [<ffffffff811419f3>] __dentry_open+0x113/0x370
21:46:04 ...: [ 602.520375] [<ffffffff81253f8f>] ? security_inode_permission+0x1f/0x30
21:46:04 ...: [ 602.520383] [<ffffffff8114de3f>] ? inode_permission+0xaf/0xd0
21:46:04 ...: [ 602.520390] [<ffffffff81141d67>] nameidata_to_filp+0x57/0x70
21:46:04 ...: [ 602.520397] [<ffffffff8115207a>] do_filp_open+0x2da/0xba0
21:46:04 ...: [ 602.520404] [<ffffffff811134a8>] ? unmap_vmas+0x178/0x310
21:46:04 ...: [ 602.520413] [<ffffffff8115dbfa>] ? alloc_fd+0x10a/0x150
21:46:04 ...: [ 602.520419] [<ffffffff81141769>] do_sys_open+0x69/0x170
21:46:04 ...: [ 602.520425] [<ffffffff811418b0>] sys_open+0x20/0x30
21:46:04 ...: [ 602.520434] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
21:46:04 ...: [ 602.520443] INFO: task mdadm:2283 blocked for more than 120 seconds.
21:46:04 ...: [ 602.520447] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
21:46:04 ...: [ 602.520451] mdadm D 0000000000000000 0 2283 2212 0x00000000
21:46:04 ...: [ 602.520460] ffff88002cca7d98 0000000000000086 0000000000015bc0 0000000000015bc0
21:46:04 ...: [ 602.520468] ffff88002ededf78 ffff88002cca7fd8 0000000000015bc0 ffff88002ededbc0
21:46:04 ...: [ 602.520475] 0000000000015bc0 ffff88002cca7fd8 0000000000015bc0 ffff88002ededf78
21:46:04 ...: [ 602.520483] Call Trace:
21:46:04 ...: [ 602.520492] [<ffffffff81543a97>] __mutex_lock_slowpath+0xf7/0x180
21:46:04 ...: [ 602.520500] [<ffffffff8154397b>] mutex_lock+0x2b/0x50
21:46:04 ...: [ 602.520506] [<ffffffff8117404d>] __blkdev_put+0x3d/0x190
21:46:04 ...: [ 602.520512] [<ffffffff811741b0>] blkdev_put+0x10/0x20
21:46:04 ...: [ 602.520518] [<ffffffff811741f3>] blkdev_close+0x33/0x60
21:46:04 ...: [ 602.520526] [<ffffffff81145375>] __fput+0xf5/0x210
21:46:04 ...: [ 602.520533] [<ffffffff811454b5>] fput+0x25/0x30
21:46:04 ...: [ 602.520539] [<ffffffff811415ad>] filp_close+0x5d/0x90
21:46:04 ...: [ 602.520545] [<ffffffff81141697>] sys_close+0xb7/0x120
21:46:04 ...: [ 602.520552] [<ffffffff810121b2>] system_call_fastpath+0x16/0x1b
</code></pre>
| 8085 | 8085 | 2011-03-04T06:17:12.973 | 2014-08-12T19:41:15.280 | Did I lose my RAID again? | [
"server",
"filesystem",
"raid",
"data-recovery",
"mdadm"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>I was able to contact Neil Brown (THE developer), and he immidiately suggested to increase stripe_cache_size to 2048 at least. That resembles my previous question where I was unable to make that setting permanent.</p>\n\n<p>So after setting it 8192 reshape continued, so problem is solved.\nGod bless Neil Brown :-)</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T12:46:40.230",
"id": "28988",
"lastActivityDate": "2011-03-04T12:46:40.230",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "8085",
"parentId": "28913",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>I was able to contact Neil Brown (THE developer), and he immidiately suggested to increase stripe_cache_size to 2048 at least. That resembles my previous question where I was unable to make that setting permanent.</p>\n\n<p>So after setting it 8192 reshape continued, so probl... | null | null | null | null | null |
28916 | 1 | null | 2011-03-03T20:02:31.147 | 3 | 5451 | <p>I'm using the Banshee media player with my iPod Nano 5G and it works fine, but for some reason it won't recognise the Touch 2G at all this error message comes up:</p>
<blockquote>
<p>DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)</p>
</blockquote>
<p>How do I mount my iPod?</p>
<p>Thanks
Robin</p>
| null | 3037 | 2011-03-03T20:12:45.820 | 2011-10-20T00:09:29.270 | How do I mount an iPod Touch with Banshee? | [
"mount",
"banshee",
"ipod"
] | 1 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T20:22:44.317",
"id": "32150",
"postId": "28916",
"score": "0",
"text": "This is just a hunch but it might work to do what I did.\nhttp://askubuntu.com/questions/27141/nothing-happens-when-i-connect-my-iphone-3g-to-my-laptop\nLook at my accepted answer, on edit2!",
... | null | [
{
"accepted": null,
"body": "<p>Just follow this instructions:</p>\n\n<ol>\n<li><p>Execute this:</p>\n\n<p><code>sudo add-apt-repository ppa:pmcenery/ppa</code><br>\n<code>sudo apt-get update && sudo apt-get upgrade</code></p>\n\n<p>Just in case, execute this (unless you know you have both installed... | null | null | null | null | user11780 |
28918 | 1 | 28922 | 2011-03-03T20:16:02.467 | 6 | 1964 | <p>Is there a software alternative to <a href="http://www.softperfect.com/products/networkscanner/" rel="nofollow">NetScanner</a> (which runs on the Windows platform)?</p>
| 11769 | 8844 | 2011-03-15T05:47:46.590 | 2017-03-15T06:12:08.477 | Alternative to NetScanner | [
"networking",
"software-recommendation",
"security"
] | 4 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You can try <code>nmap</code>, it's console based, but you can install <code>nmapsi4</code> which is a very easy to use gui.</p>\n\n<pre><code>sudo apt-get install nmapsi4\n</code></pre>\n\n<p>This will install both packages.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-03T21:26:41.937",
"id": "32158",
"postId": "28922",
"score": "0",
"text": "Hadn't heard of nmapsi4. Nice one. It's QT based, so I'll likely (definitely) prefer zenmap, but I'll have to give it a try sometime.",
"userDisplayName": null,
"userId": "861"
},
{
"creationDate": "2011-03-03T21:54:40.447",
"id": "32169",
"postId": "28922",
"score": "0",
"text": "@Scain: You are right, if using Ubuntu definitely `zenmap`, I didn't notice that `nmapsi4` was QT based.",
"userDisplayName": null,
"userId": "5185"
},
{
"creationDate": "2011-03-04T01:13:50.897",
"id": "32192",
"postId": "28922",
"score": "0",
"text": "@scaine I haven't played with it much, but nmapsi4 looks very good (well, the competition isn't much -- zenmap and umit are pretty bare bones). I'll probably keep it on my system, despite being Gnome/gtk-centric at the moment.",
"userDisplayName": null,
"userId": "8844"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-03T20:27:45.983",
"id": "28922",
"lastActivityDate": "2011-03-03T20:33:49.923",
"lastEditDate": "2011-03-03T20:33:49.923",
"lastEditorDisplayName": null,
"lastEditorUserId": "5185",
"ownerDisplayName": null,
"ownerUserId": "5185",
"parentId": "28918",
"postTypeId": "2",
"score": "6"
} | [
{
"accepted": true,
"body": "<p>You can try <code>nmap</code>, it's console based, but you can install <code>nmapsi4</code> which is a very easy to use gui.</p>\n\n<pre><code>sudo apt-get install nmapsi4\n</code></pre>\n\n<p>This will install both packages.</p>\n",
"commentCount": "3",
"comments": [... | null | null | null | null | null |
28925 | 1 | 29053 | 2011-03-03T20:55:13.397 | 3 | 1025 | <p>I just installed 10.10 x64 and cannot even find my wireless network let alone connect to it. I've searched all over SE and Ubuntu forums and cannot find out how to do this simple thing. </p>
<p>Can some one please give me the answer? It is plugged in right now and is 100% updated.</p>
<p>It is a Desktop with wireless card.</p>
<pre><code>0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
</code></pre>
<p>Here's the output of <code>sudo lshw -c network</code>:</p>
<pre><code>*-network DISABLED
description: Wireless interface
product: RT2860
vendor: RaLink
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlan0
version: 00
serial: 70:1a:04:f4:de:e9
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=2.6.35-27-generic firmware=N/A latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:fcff0000-fcffffff
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 03
serial: 00:23:54:fd:c2:32
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.1.14 latency=0 link=yes multicast=yes port=MII speed=100MB/s
resources: irq:44 ioport:d800(size=256) memory:fceff000-fcefffff memory:ddffc000-ddffffff memory:fcec0000-fcedffff
</code></pre>
<h2>Update</h2>
<p>I have discovered that this is a know issue with the rt2860. I have been following step by step the instructions found <a href="http://www.ctbarker.info/2010/05/ubuntu-1004-wireless-chipsets-and-wpa.html" rel="nofollow">here</a></p>
<p>I decided to stat over because I was getting stuck on step 5:<br>
<code>sudo rmmod rt2860sta</code></p>
<p>is was giving me this problem:</p>
<p><code>ERROR: Module rt2860sta does not exist in /proc/modules</code></p>
<p>Since I started over I cannot even get past step 5<br>
<code>sudo make</code></p>
<p>I get this:
<code>make: *** No targets specified and no makefile found. Stop.</code></p>
<p>I am lost. Any help would be appreciated.</p>
| 10252 | 5185 | 2011-03-03T23:35:30.997 | 2011-03-04T22:03:27.770 | How do I connect to a wireless network? | [
"10.10",
"wireless"
] | 1 | 6 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-03T20:56:03.097",
"id": "32155",
"postId": "28925",
"score": "0",
"text": "It's a notebook, right? Can you post the output of `rfkill list wifi`?",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-03T21:28:59.090",
"id": "3215... | {
"accepted": true,
"body": "<p>In case anyone ever encounters the problem, here is what I did to fix this.\n<code>sudo modprobe rt2860sta</code></p>\n\n<p>Needed to insert the module because Ubuntu cones with generic drivers. Run this code to verify:<code>locate rt2860sta.ko</code></p>\n\n<p>No need to download additional drivers.</p>\n\n<p>There may need to be some minor tweaking, but I hope this helps anyone experiencing the same problem.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T22:03:27.770",
"id": "29053",
"lastActivityDate": "2011-03-04T22:03:27.770",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "10252",
"parentId": "28925",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>In case anyone ever encounters the problem, here is what I did to fix this.\n<code>sudo modprobe rt2860sta</code></p>\n\n<p>Needed to insert the module because Ubuntu cones with generic drivers. Run this code to verify:<code>locate rt2860sta.ko</code></p>\n\n<p>No need to dow... | null | null | null | null | null |
28926 | 1 | 30435 | 2011-03-03T20:56:31.510 | 13 | 15453 | <p>I have some shell users on a server with 300GB of monthly data transfer. How can I monitor bandwidth usage per user?</p>
| 10494 | 22949 | 2012-10-06T09:56:17.553 | 2012-10-06T09:56:17.553 | How to monitor network bandwidth per user on Ubuntu server? | [
"10.04",
"server",
"monitoring",
"network-monitoring"
] | 4 | 4 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-14T04:58:43.700",
"id": "33890",
"postId": "28926",
"score": "0",
"text": "is this even possible? It seems that, theoretically, it'd be more hassle than its worth, because you'd technically have to have each process using the internet identify who's running it, then f... | {
"accepted": true,
"body": "<p>As root, you could at least measure the outgoing traffic on a per-user basis using the \"owner\" module of iptables. If all the users you want to monitor are in <code>/root/list-of-users.txt</code>, you can do:</p>\n\n<pre><code>for login in $(cat /root/list-of-users.txt);\ndo\n iptables -N out_user_$login\n iptables -A OUTPUT -m owner --uid-owner $(id -u $login) -j out_user_$login\ndone\n</code></pre>\n\n<p>And then the packet and byte counts for each user's outbound traffic are visible:</p>\n\n<pre><code>iptables -L OUTPUT -n -v | grep out_\n</code></pre>\n\n<p>This could be extended further with CONNMARK to track the inbound side too.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-15T09:21:01.807",
"id": "34108",
"postId": "30435",
"score": "0",
"text": "Thanks.It's great.I did this.But why can't I use the same method for INPUT?",
"userDisplayName": null,
"userId": "10494"
},
{
"creationDate": "2011-03-15T19:11:25.073",
"id": "34211",
"postId": "30435",
"score": "1",
"text": "The owner of the packet isn't known for incoming packets because from the kernel's perspective, it came from outside the machine. CONNMARK could be used to tie packets in TCP streams to their originator, etc, but I don't have a working example of this.",
"userDisplayName": null,
"userId": "721"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-15T06:03:43.507",
"id": "30435",
"lastActivityDate": "2011-03-15T06:03:43.507",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "721",
"parentId": "28926",
"postTypeId": "2",
"score": "13"
} | [
{
"accepted": null,
"body": "<p>You can use <a href=\"http://www.cacti.net/\">Cacti</a></p>\n\n<blockquote>\n <p>Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along... | null | null | null | null | null |
28927 | 1 | null | 2011-03-03T21:07:38.527 | 5 | 12343 | <p>I've recently moved to kubuntu. Is there any app to read HTTP Archive Log (.har). I know about this <a href="http://www.softwareishard.com/har/viewer/" rel="noreferrer">http://www.softwareishard.com/har/viewer/</a>. I'm looking for an offline app to view .har files.</p>
<p>Thanks,
jeetesh</p>
| null | 235 | 2011-03-03T21:46:44.630 | 2023-06-23T12:59:41.123 | HTTP Archive (.har) log reader? | [
"software-recommendation",
"kubuntu"
] | 5 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>You can use <a href=\"https://github.com/janodvarko/harviewer\" rel=\"nofollow noreferrer\">HAR Viewer</a></p>\n\n<blockquote>\n <p>HAR Viewer is a web application (PHP) that allows to visualize HTTP tracing logs based on HTTP Archive format (HAR). These files contain recor... | null | null | null | null | user643696 |
28929 | 1 | 29978 | 2011-03-03T21:29:07.483 | 4 | 1753 | <p>I am using Firefox 4.0RC1 from the <a href="https://launchpad.net/~mozillateam/+archive/firefox-next" rel="nofollow">Mozilla Team's "Firefox Next" PPA</a>.</p>
<p>My about:config has <code>webgl.enabled_for_all_sites</code> set to true as most guides recommend that and also say that is all that is needed. It doesn't work for me.</p>
<p>The main <a href="https://demos.mozilla.org" rel="nofollow">Mozilla Demos</a> page ("Web O' Wonder") gives me:</p>
<blockquote>
<p>Unfortunately, while your browser
supports WebGL, your video drivers may
be too old. To view any of the demos
tagged with WebGL, try updating your
drivers at NVIDIA, AMD, and Intel.</p>
<p>You can still watch screencasts of the
WebGL demos or fully experience our
other non-WebGL demos without
updating.</p>
</blockquote>
<p>My laptop (a Thinkpad x200s) has an <a href="http://www.thinkwiki.org/wiki/Intel_Graphics_Media_Accelerator_4500MHD" rel="nofollow">Intel GMA 4500HD chipset</a> and my <code>xserver-xorg-video-intel</code> version is <code>2:2.12.0-1ubuntu5.2</code></p>
<p>This <a href="https://mozillademos.org/demos/remixingreality/demo.html" rel="nofollow">Mozilla demo</a> gives me "No WebGL context found."</p>
| 1694 | 1694 | 2011-03-11T19:14:28.467 | 2011-03-24T03:57:10.500 | How do I enable WebGL sites with Firefox 4 Beta? | [
"10.04",
"firefox",
"webgl"
] | 2 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T19:02:26.920",
"id": "32304",
"postId": "28929",
"score": "1",
"text": "I think the answer to your question is in the details, as it tells you your drivers don't support the features needed for WebGL. Can you tell us what graphics card/chipset + drivers you are usin... | {
"accepted": true,
"body": "<p>Firefox has WebGL enabled for Linux but only the NVIDIA proprietary driver is on the whitelist.</p>\n\n<p>Reference: <a href=\"https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers#On_X11\" rel=\"nofollow\">https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers#On_X11</a></p>\n\n<p>You could try bypassing that block or use Chromium if you want to see if WebGL is possible on your hardware.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-23T11:34:52.177",
"id": "35463",
"postId": "29978",
"score": "0",
"text": "Indeed it seems a Firefox-only issue. I have Firefox 4.0 on Ubuntu 10.10 Maverick, kernel: Linux annafi 2.6.35-28-generic-pae #49+kamal~mjgbacklight3-Ubuntu SMP Wed Mar 2 02:55:35 UTC 2011 i686 GNU/Linux, VGA: 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18), and WebGl doesn't work on Firefox 4.0. However WebGL works on Google Chrome 10 in my Ubuntu.",
"userDisplayName": null,
"userId": "11666"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-11T21:03:07.560",
"id": "29978",
"lastActivityDate": "2011-03-11T21:03:07.560",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1579",
"parentId": "28929",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>Firefox has WebGL enabled for Linux but only the NVIDIA proprietary driver is on the whitelist.</p>\n\n<p>Reference: <a href=\"https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers#On_X11\" rel=\"nofollow\">https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drive... | null | null | null | null | null |
28934 | 1 | null | 2011-03-03T21:54:55.933 | 2 | 989 | <p>That doesn't sound right to me..
No way to restore the files?</p>
| null | 6005 | 2011-10-02T12:23:47.967 | 2011-10-02T12:23:47.967 | Deleted unintentionally on your local host? Deleted on the cloud? | [
"ubuntu-one",
"sync"
] | 3 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-03T22:51:32.233",
"id": "32179",
"postId": "28934",
"score": "5",
"text": "**Sync != Backup**",
"userDisplayName": null,
"userId": "829"
},
{
"creationDate": "2011-03-04T00:22:47.497",
"id": "32188",
"postId": "28934",
"score": "0",
"tex... | null | [
{
"accepted": null,
"body": "<p>Your \"Ubuntu One\" folder is \"always in sync\". If you make a change locally, it will sync to the cloud within moments if you are connected to the internet. If you are concerned about this, create a different folder (say, \"Ubuntu Two\") and you can turn sync on/off at will... | null | 0 | null | null | user11790 |
28943 | 1 | 32009 | 2011-03-04T00:13:42.773 | 11 | 15548 | <p>I use a VPS with Ubuntu Server 10.10 x64. I want to use Java and run the command <code>sudo apt-get install openjdk-6-jre</code> but it fails because the installation encounted errors while processing <code>ca-certificates-java</code>.</p>
<p>I have tried to install the failed package with:</p>
<p><code>sudo apt-get install ca-certificates-java</code></p>
<p>How can I solve this?</p>
<p>I have run <code>sudo apt-get update</code> and <code>sudo apt-get upgrade</code> but I get the same errors after that.</p>
<p>I have also installed Ubuntu Server x64 on a VirtualBox, but the two Ubuntu Server 10.10 has different kernel versions (<strong>2.6.35</strong> on VirtualBox and <strong>2.6.18</strong> on my VPS). And on VirtualBox I can install Jetty without any problems.</p>
<hr>
<p>The VPS is a fresh install of Ubuntu Server 10.10 x64, the first command I was running was <code>sudo apt-get install openjdk-6-jre</code>. </p>
<p>When I run <code>sudo apt-get install ca-certificates-java</code> I get this message:</p>
<pre><code>Reading package lists... Done
Building dependency tree
Reading state information... Done
ca-certificates-java is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
</code></pre>
<p>Here I press <code>Y</code> then I get this message:</p>
<pre><code>Setting up ca-certificates-java (20100412) ...
creating /etc/ssl/certs/java/cacerts...
error adding brasil.gov.br/brasil.gov.br.crt
error adding cacert.org/cacert.org.crt
error adding debconf.org/ca.crt
error adding gouv.fr/cert_igca_dsa.crt
error adding gouv.fr/cert_igca_rsa.crt
error adding mozilla/ABAecom_=sub.__Am._Bankers_Assn.=_Root_CA.crt
error adding mozilla/AOL_Time_Warner_Root_Certification_Authority_1.crt
error adding mozilla/AOL_Time_Warner_Root_Certification_Authority_2.crt
error adding mozilla/AddTrust_External_Root.crt
error adding mozilla/AddTrust_Low-Value_Services_Root.crt
error adding mozilla/AddTrust_Public_Services_Root.crt
error adding mozilla/AddTrust_Qualified_Certificates_Root.crt
error adding mozilla/America_Online_Root_Certification_Authority_1.crt
error adding mozilla/America_Online_Root_Certification_Authority_2.crt
error adding mozilla/Baltimore_CyberTrust_Root.crt
error adding mozilla/COMODO_Certification_Authority.crt
error adding mozilla/COMODO_ECC_Certification_Authority.crt
error adding mozilla/Camerfirma_Chambers_of_Commerce_Root.crt
error adding mozilla/Camerfirma_Global_Chambersign_Root.crt
error adding mozilla/Certplus_Class_2_Primary_CA.crt
error adding mozilla/Certum_Root_CA.crt
error adding mozilla/Comodo_AAA_Services_root.crt
error adding mozilla/Comodo_Secure_Services_root.crt
error adding mozilla/Comodo_Trusted_Services_root.crt
error adding mozilla/DST_ACES_CA_X6.crt
error adding mozilla/DST_Root_CA_X3.crt
error adding mozilla/DigiCert_Assured_ID_Root_CA.crt
error adding mozilla/DigiCert_Global_Root_CA.crt
error adding mozilla/DigiCert_High_Assurance_EV_Root_CA.crt
error adding mozilla/DigiNotar_Root_CA.crt
error adding mozilla/Digital_Signature_Trust_Co._Global_CA_1.crt
error adding mozilla/Digital_Signature_Trust_Co._Global_CA_2.crt
error adding mozilla/Digital_Signature_Trust_Co._Global_CA_3.crt
error adding mozilla/Digital_Signature_Trust_Co._Global_CA_4.crt
error adding mozilla/Entrust.net_Global_Secure_Personal_CA.crt
error adding mozilla/Entrust.net_Global_Secure_Server_CA.crt
error adding mozilla/Entrust.net_Premium_2048_Secure_Server_CA.crt
error adding mozilla/Entrust.net_Secure_Personal_CA.crt
error adding mozilla/Entrust.net_Secure_Server_CA.crt
error adding mozilla/Entrust_Root_Certification_Authority.crt
error adding mozilla/Equifax_Secure_CA.crt
error adding mozilla/Equifax_Secure_Global_eBusiness_CA.crt
error adding mozilla/Equifax_Secure_eBusiness_CA_1.crt
error adding mozilla/Equifax_Secure_eBusiness_CA_2.crt
error adding mozilla/Firmaprofesional_Root_CA.crt
error adding mozilla/GTE_CyberTrust_Global_Root.crt
error adding mozilla/GTE_CyberTrust_Root_CA.crt
error adding mozilla/GeoTrust_Global_CA.crt
error adding mozilla/GeoTrust_Global_CA_2.crt
error adding mozilla/GeoTrust_Primary_Certification_Authority.crt
error adding mozilla/GeoTrust_Universal_CA.crt
error adding mozilla/GeoTrust_Universal_CA_2.crt
error adding mozilla/GlobalSign_Root_CA.crt
error adding mozilla/GlobalSign_Root_CA_-_R2.crt
error adding mozilla/Go_Daddy_Class_2_CA.crt
error adding mozilla/IPS_CLASE1_root.crt
error adding mozilla/IPS_CLASE3_root.crt
error adding mozilla/IPS_CLASEA1_root.crt
error adding mozilla/IPS_CLASEA3_root.crt
error adding mozilla/IPS_Chained_CAs_root.crt
error adding mozilla/IPS_Servidores_root.crt
error adding mozilla/IPS_Timestamping_root.crt
error adding mozilla/NetLock_Business_=Class_B=_Root.crt
error adding mozilla/NetLock_Express_=Class_C=_Root.crt
error adding mozilla/NetLock_Notary_=Class_A=_Root.crt
error adding mozilla/NetLock_Qualified_=Class_QA=_Root.crt
error adding mozilla/Network_Solutions_Certificate_Authority.crt
error adding mozilla/QuoVadis_Root_CA.crt
error adding mozilla/QuoVadis_Root_CA_2.crt
error adding mozilla/QuoVadis_Root_CA_3.crt
error adding mozilla/RSA_Root_Certificate_1.crt
error adding mozilla/RSA_Security_1024_v3.crt
error adding mozilla/RSA_Security_2048_v3.crt
error adding mozilla/SecureTrust_CA.crt
error adding mozilla/Secure_Global_CA.crt
error adding mozilla/Security_Communication_Root_CA.crt
error adding mozilla/Sonera_Class_1_Root_CA.crt
error adding mozilla/Sonera_Class_2_Root_CA.crt
error adding mozilla/Staat_der_Nederlanden_Root_CA.crt
error adding mozilla/Starfield_Class_2_CA.crt
error adding mozilla/StartCom_Certification_Authority.crt
error adding mozilla/StartCom_Ltd..crt
error adding mozilla/SwissSign_Gold_CA_-_G2.crt
error adding mozilla/SwissSign_Platinum_CA_-_G2.crt
error adding mozilla/SwissSign_Silver_CA_-_G2.crt
error adding mozilla/Swisscom_Root_CA_1.crt
error adding mozilla/TC_TrustCenter__Germany__Class_2_CA.crt
error adding mozilla/TC_TrustCenter__Germany__Class_3_CA.crt
error adding mozilla/TDC_Internet_Root_CA.crt
error adding mozilla/TDC_OCES_Root_CA.crt
error adding mozilla/TURKTRUST_Certificate_Services_Provider_Root_1.crt
error adding mozilla/TURKTRUST_Certificate_Services_Provider_Root_2.crt
error adding mozilla/Taiwan_GRCA.crt
error adding mozilla/Thawte_Personal_Basic_CA.crt
error adding mozilla/Thawte_Personal_Freemail_CA.crt
error adding mozilla/Thawte_Personal_Premium_CA.crt
error adding mozilla/Thawte_Premium_Server_CA.crt
error adding mozilla/Thawte_Server_CA.crt
error adding mozilla/Thawte_Time_Stamping_CA.crt
error adding mozilla/UTN-USER_First-Network_Applications.crt
error adding mozilla/UTN_DATACorp_SGC_Root_CA.crt
error adding mozilla/UTN_USERFirst_Email_Root_CA.crt
error adding mozilla/UTN_USERFirst_Hardware_Root_CA.crt
error adding mozilla/ValiCert_Class_1_VA.crt
error adding mozilla/ValiCert_Class_2_VA.crt
error adding mozilla/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.crt
error adding mozilla/Verisign_Class_1_Public_Primary_Certification_Authority.crt
error adding mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.crt
error adding mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.crt
error adding mozilla/Verisign_Class_2_Public_Primary_Certification_Authority.crt
error adding mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.crt
error adding mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.crt
error adding mozilla/Verisign_Class_3_Public_Primary_Certification_Authority.crt
error adding mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.crt
error adding mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.crt
error adding mozilla/Verisign_Class_4_Public_Primary_Certification_Authority_-_G2.crt
error adding mozilla/Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.crt
error adding mozilla/Verisign_RSA_Secure_Server_CA.crt
error adding mozilla/Verisign_Time_Stamping_Authority_CA.crt
error adding mozilla/Visa_International_Global_Root_2.crt
error adding mozilla/Visa_eCommerce_Root.crt
error adding mozilla/WellsSecure_Public_Root_Certificate_Authority.crt
error adding mozilla/Wells_Fargo_Root_CA.crt
error adding mozilla/XRamp_Global_CA_Root.crt
error adding mozilla/beTRUSTed_Root_CA-Baltimore_Implementation.crt
error adding mozilla/beTRUSTed_Root_CA.crt
error adding mozilla/beTRUSTed_Root_CA_-_Entrust_Implementation.crt
error adding mozilla/beTRUSTed_Root_CA_-_RSA_Implementation.crt
error adding mozilla/thawte_Primary_Root_CA.crt
error adding signet.pl/signet_ca1_pem.crt
error adding signet.pl/signet_ca2_pem.crt
error adding signet.pl/signet_ca3_pem.crt
error adding signet.pl/signet_ocspklasa2_pem.crt
error adding signet.pl/signet_ocspklasa3_pem.crt
error adding signet.pl/signet_pca2_pem.crt
error adding signet.pl/signet_pca3_pem.crt
error adding signet.pl/signet_rootca_pem.crt
error adding signet.pl/signet_tsa1_pem.crt
error adding spi-inc.org/spi-ca-2003.crt
error adding spi-inc.org/spi-cacert-2008.crt
error adding telesec.de/deutsche-telekom-root-ca-2.crt
failed (VM used: java-6-openjdk).
dpkg: error processing ca-certificates-java (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ca-certificates-java
E: Sub-process /usr/bin/dpkg returned an error code (1)
</code></pre>
<hr>
<p><strong>Update</strong></p>
<p>I also get a problem when running <code>java -version</code>:</p>
<pre><code>Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
</code></pre>
<p>My VPS had 128MB of Memory, I changed to 256MB but got the same problem. Then I changed to 512MB and got the same problem.</p>
<p>I found a related post on a forum: <a href="http://ubuntuforums.org/showthread.php?t=1174123">Sub-process /usr/bin/dpkg returned an error code (1)</a>
And I tried:</p>
<pre><code>sudo apt-get clean
sudo apt-get --reinstall install openjdk-6-jre
sudo dpkg --configure -a
</code></pre>
<p>But I got the same problem, even when I'm using 512MB of Memory.</p>
<p>Any suggestions?</p>
<hr>
<p><strong>Update 2:</strong></p>
<p>I have now created a new VPS with 512MB and Ubuntu Server 10.04 LTS x64 and run these commands:</p>
<p>sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openjdk-6-jre</p>
<p>But I got the same error messages. If I do the same thing in VirtualBox everything works fine.</p>
| 4692 | 4692 | 2011-03-04T16:42:51.030 | 2023-01-17T02:20:47.537 | ca-certificates-java fails when trying to install openjdk-6-jre | [
"10.10",
"server",
"installation",
"java",
"openjdk"
] | 2 | 5 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T00:20:54.143",
"id": "32187",
"postId": "28943",
"score": "0",
"text": "Can you paste in the errors? Is this server 64-bit also?",
"userDisplayName": null,
"userId": "8844"
},
{
"creationDate": "2011-03-04T08:56:32.803",
"id": "32211",
"post... | {
"accepted": true,
"body": "<p>This is obviously due to Java actually not working inside OpenVZ/Virtuozzo due to its different way of virtualization compared to VirtualBox. It's about JVM always trying to allocate more memory than available in VM and requires some command line options. Actually using Java inside a VPS (based on OpenVZ/Virtuozzo) is a neverending pain. Had to realize this on trying to install Zimbra in a VPS and there are plenty of sites dedicated to this topic.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-25T17:01:46.187",
"id": "32009",
"lastActivityDate": "2011-03-25T17:01:46.187",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": "user13004",
"ownerUserId": null,
"parentId": "28943",
"postTypeId": "2",
"score": "5"
} | [
{
"accepted": true,
"body": "<p>This is obviously due to Java actually not working inside OpenVZ/Virtuozzo due to its different way of virtualization compared to VirtualBox. It's about JVM always trying to allocate more memory than available in VM and requires some command line options. Actually using Java ... | null | null | null | null | null |
28947 | 1 | 28951 | 2011-03-04T01:10:58.573 | 3 | 7108 | <p>I am trying to compress and backup my <code>/var/www/</code>. I stopped apache, but I still get this error: </p>
<pre><code>An error occurrend while adding files to archive
</code></pre>
| 11647 | null | null | 2011-04-03T03:39:11.233 | An error occurrend while adding files to archive | [
"backup",
"kubuntu",
"apache2",
"compression"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Make sure you have read rights to the entire directory or use sudo.</p>\n\n<p>One thing you could do is this....</p>\n\n<pre><code>sudo -s\n</code></pre>\n\n<p>Then do:</p>\n\n<pre><code>tar -zcvf /home/yourusername/var_www.tar.gz /var/www\n</code></pre>\n\n<p>I don't want to assume too much or give you too many options; so try this first and reply with any errors or success. =)</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T02:47:52.047",
"id": "28951",
"lastActivityDate": "2011-03-04T02:47:52.047",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11618",
"parentId": "28947",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>Make sure you have read rights to the entire directory or use sudo.</p>\n\n<p>One thing you could do is this....</p>\n\n<pre><code>sudo -s\n</code></pre>\n\n<p>Then do:</p>\n\n<pre><code>tar -zcvf /home/yourusername/var_www.tar.gz /var/www\n</code></pre>\n\n<p>I don't want t... | null | null | null | null | null |
28950 | 1 | 29601 | 2011-03-04T02:43:15.250 | 1 | 240 | <p>I am having locking issues on Youtube ever since today's update. Firefox and Google Chrome crash it. Changing back to kernel 6.<em>*</em>*.28 (one below) did not help. Flash + Ubuntu is not really kicking. More info <a href="http://ubuntuforums.org/showthread.php?p=10519150#post10519150" rel="nofollow">here</a>.</p>
| 2599 | 3889 | 2011-03-09T06:03:54.023 | 2011-03-09T06:03:54.023 | Youtube locking up Ubuntu after update | [
"10.04",
"youtube",
"lock"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Yeah, it had some problems with intel graphic cards. I installed missing ATI card drivers, which had given me enough trouble on 9.04 that I decided to skip on 10.04, and now any further fault is on ATI's shoulder. At least youtube works now.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-09T00:04:42.560",
"id": "29601",
"lastActivityDate": "2011-03-09T00:04:42.560",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "2599",
"parentId": "28950",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>Yeah, it had some problems with intel graphic cards. I installed missing ATI card drivers, which had given me enough trouble on 9.04 that I decided to skip on 10.04, and now any further fault is on ATI's shoulder. At least youtube works now.</p>\n",
"commentCount": "0",
... | null | null | null | null | null |
28952 | 1 | null | 2011-03-04T02:52:02.430 | 3 | 4602 | <p>It could be similar to one of the bugs listed on LaunchPad (#689158), but may not be. Basically, I used to occasionally get a crash on YouTube and opening a new browser or rebooting (don't remember which) took care of the problem. However, now, EVERY time I try to open a video on YouTube, I get the frowning block and the message, "The Adobe Flash plugin has crashed." However, Hulu would also call for Adobe, right? But I can see videos there.</p>
| null | 8844 | 2011-03-27T03:54:47.963 | 2011-12-25T12:31:06.750 | Consistent Flash Player Crash ONLY on YouTube | [
"flash",
"plugins",
"youtube"
] | 2 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-17T12:52:41.863",
"id": "34474",
"postId": "28952",
"score": "0",
"text": "You don't even need a flash player to use youtube! You just need a browser thst can handle html5! Btw flash isn't that great, html is the future! :)",
"userDisplayName": null,
"userId": ... | null | [
{
"accepted": null,
"body": "<p>Solution can be found at <a href=\"http://www.bwebcentral.com/cms/drupal/node/6560\" rel=\"nofollow\">http://www.bwebcentral.com/cms/drupal/node/6560</a></p>\n\n<p>basically you turn off hardware acceleration in the Adobe Settings. </p>\n\n<ol>\n<li>Go to: <a href=\"http://ww... | null | null | 2012-02-03T00:52:14.950 | null | user11796 |
28954 | 1 | null | 2011-03-04T03:48:42.247 | 5 | 1803 | <p>I have tried to <code>wget</code> a page with windows/mac, and the response is instant
while the the Linux application delays for 4 seconds before it shows the response.</p>
<p>The command I ran is:</p>
<pre><code>wget http://192.168.0.135/test.cgi?cmd= -O test.txt
</code></pre>
<p>The result in Ubuntu:</p>
<pre><code>--2011-03-04 14:21:17-- http://192.168.0.135/test.cgi?cmd=
Connecting to 192.168.0.135:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `test.txt'
[ <=> ] 17 --.-K/s in 0s
2011-03-04 14:21:22 (1.88 MB/s) - `test.txt' saved [17]
</code></pre>
<p>Running the command in Mac yields:</p>
<pre><code>--2011-03-04 14:22:33-- http://192.168.0.135/test.cgi?cmd=
Connecting to 192.168.0.135:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `test.txt'
[ <=> ] 17 --.-K/s in 0s
2011-03-04 14:22:33 (755 KB/s) - `test.txt' saved [17]
</code></pre>
<p>I believe it may related to some setting in the network configuration, such as packet size, window frame, but I have no idea how to set this.</p>
<p>The output of <code>uname -a</code> (kernel version):</p>
<blockquote>
<p>Linux linux017 2.6.35-25-generic-pae #44-Ubuntu SMP Fri Jan 21 19:01:46 UTC 2011 i686 GNU/Linux</p>
</blockquote>
<p>The version of wget (<code>wget --version</code>) is: <code>GNU Wget 1.12</code></p>
| null | 6969 | 2011-04-09T16:40:46.003 | 2011-04-09T16:40:46.003 | wget has a 4 second delay | [
"command-line",
"wget"
] | 2 | 6 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-04T04:14:49.957",
"id": "32197",
"postId": "28954",
"score": "1",
"text": "Can you provide the link you are trying?",
"userDisplayName": null,
"userId": "8844"
},
{
"creationDate": "2011-03-04T08:38:41.040",
"id": "32209",
"postId": "28954",
... | null | [
{
"accepted": null,
"body": "<p>Try to use it with IP address instead of domain name. \nIf it's instant - then your local DNS server might be overloaded (while windows cache it).\nYou may try GOogle's one(8.8.8.8), or install pdnsd - local DNS cache.</p>\n",
"commentCount": "0",
"comments": [],
... | null | null | null | null | user11845 |
28956 | 1 | null | 2011-03-04T03:54:50.153 | 1 | 1890 | <p>Haven't had a chance to setup Davmail per the earlier discussion around connecting to my Exchange box w/ Kontact but tonight I had some free time.</p>
<p>So I have Davmail installed and working I thinking, but the problem that I am running into is the icon doesn't not show up in the system tray. The documentation says right-click o the tray, but there are no icons to right click on.</p>
<p>Any help would be greatly appreciated. Running Kubuntu 11.04</p>
<p>Thanks,</p>
<p>Jonathn</p>
| 152 | null | null | 2015-10-07T07:19:25.140 | Problems setting up Davmail in Kubuntu 11.04 | [
"kubuntu",
"ms-exchange"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p><a href=\"http://sourceforge.net/users/raducotescu/\" rel=\"nofollow\">http://sourceforge.net/users/raducotescu/</a></p>\n\n<p>This is not a bug. It's a new feature in Ubuntu 11.04 where the systray is only used by indicators and not regular applications. To overcome this, yo... | null | null | null | null | null |
28961 | 1 | 29137 | 2011-03-04T06:52:07.607 | 2 | 513 | <p>I am using gwibber and have my facebook and twitter account configured in it. My system crashed 2 days ago after an update messed it up and after resurrecting it, I have configured it again. But now it doesnt display any notifications.</p>
<p>I have checked the boxes (in preference) to display All Messages but its still no go.</p>
<p>Need help !</p>
| 11809 | 235 | 2011-03-04T14:18:58.423 | 2011-03-05T17:42:04.813 | No notifications for facebook or twitter in Gwibber | [
"10.10",
"ubuntu-netbook",
"display",
"notification",
"gwibber"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-06T04:11:24.587",
"id": "32496",
"postId": "28961",
"score": "0",
"text": "I updated my Ubuntu, and it solved my problem on reboot :)",
"userDisplayName": null,
"userId": "11809"
}
] | {
"accepted": true,
"body": "<p>I would delete the /homedir/.config/gwibber directory and then setup the connections again to see if this solves your problem. </p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-05-02T15:21:18.500",
"id": "43097",
"postId": "29137",
"score": "0",
"text": "I tried this and it worked initially and then I stopped getting updates. Still looking for a permanent solution, but hope it might work for some folks.",
"userDisplayName": null,
"userId": "2022"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-05T17:42:04.813",
"id": "29137",
"lastActivityDate": "2011-03-05T17:42:04.813",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1999",
"parentId": "28961",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>I would delete the /homedir/.config/gwibber directory and then setup the connections again to see if this solves your problem. </p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-05-02T15:21:18.500",
"id": "43097",
"postId... | null | null | null | null | null |
28962 | 1 | 28997 | 2011-03-04T06:56:00.693 | 3 | 7027 | <p>Since yesterday, all YouTube videos have a red / pink tint. Vimeo and other video sites are working.</p>
<p>It seems strange that it's only on YouTube, but since other people I asked don't have this problem, I think it's a Flash plugin problem.</p>
<p>It does this on all my browsers.</p>
<p><img src="https://i.stack.imgur.com/iZ0wG.png" alt="screenshot"></p>
| 82 | 6860 | 2011-03-09T01:29:05.250 | 2011-04-27T01:08:02.890 | YouTube videos have a red tint | [
"youtube",
"flash"
] | 2 | 3 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T08:30:52.740",
"id": "32206",
"postId": "28962",
"score": "0",
"text": "This thread has an extensive discussion (and some workarounds) on this very topic: http://ubuntuforums.org/showthread.php?t=1698956",
"userDisplayName": null,
"userId": "9340"
},
{
... | {
"accepted": true,
"body": "<p>Saw this this morning, <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\n<p>Which by the way this is a fantastic site to have in your feed reader.</p>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-04T16:05:30.340",
"id": "32283",
"postId": "28997",
"score": "0",
"text": "tnx. activating HTML5 worked for me",
"userDisplayName": null,
"userId": "82"
},
{
"creationDate": "2011-03-04T19:52:42.873",
"id": "32317",
"postId": "28997",
"score": "1",
"text": "It does't work for me: Not all youtube videos can be played in the html5 beta, some still use flash.",
"userDisplayName": null,
"userId": "1067"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T13:53:19.863",
"id": "28997",
"lastActivityDate": "2011-03-04T13:53:19.863",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "49",
"parentId": "28962",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>Saw this this morning, <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\n<p>Which by the way this is a fantastic site to have in your fe... | null | 0 | null | null | null |
28965 | 1 | 28992 | 2011-03-04T07:52:16.113 | 4 | 13109 | <p>I just upgraded an old, secondary computer to the latest Kubuntu (10.10). It seems the effort was a bit too much for the hardware and one 512MB memory module died. I tried to take it away, clean the connectors, put it back several times, but to no avail. </p>
<p>Until such a time I can find a second hand DDR memory module, I am <strong>left with a meagre 256MB RAM</strong>, which is below the official requirements (384MB) to run Kubuntu/KDE. Indeed: the computer constantly swaps the memory, making everything painfully slow.</p>
<p>Since Kubuntu is already installed and I use it on all my computers (and I want to keep KDE for when I really need it), <strong>how can I configure ubuntu to squeeze out every bit of unnecessary memory usage?</strong></p>
<p>This is a secondary computer but still very useful. We use it mostly for web browsing.</p>
<p>A "lightweight" tag is missing.</p>
| 1183 | 1183 | 2011-03-06T03:28:21.857 | 2019-10-17T05:48:28.217 | How to configure ubuntu for lightweight low-memory usage? | [
"memory-usage"
] | 5 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p><a href=\"https://kubuntu.org\" rel=\"nofollow noreferrer\">Kubuntu</a> is really Ubuntu with a <a href=\"https://kde.org/\" rel=\"nofollow noreferrer\">KDE</a> desktop instead of <a href=\"https://gnome.org/\" rel=\"nofollow noreferrer\">GNOME</a>. The lightest I know of is <a href=\"https://lubuntu.me\" rel=\"nofollow noreferrer\"><strong>Lubuntu</strong></a> (<a href=\"https://packages.ubuntu.com/bionic/lubuntu-desktop\" rel=\"nofollow noreferrer\">lubuntu-dektop package</a>) this is still running the same thing underneath Kubuntu and normal Ubuntu just with a lighter desktop.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-03-04T17:25:37.170",
"id": "32296",
"postId": "28992",
"score": "5",
"text": "+1 for Lubuntu. Even better than XFCE. If you do not feel for reïnstalling the desktop, install it by running `sudo apt-get install lubuntu-desktop`.",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-06T03:26:57.410",
"id": "32494",
"postId": "28992",
"score": "0",
"text": "Thank you both. lubuntu-desktop comes with its own desktop manager, ldm, to replace kdm, which was another item I thought could be improved.",
"userDisplayName": null,
"userId": "1183"
},
{
"creationDate": "2019-10-17T05:55:52.723",
"id": "1973774",
"postId": "28992",
"score": "0",
"text": "[Note](https://ubuntuforums.org/showthread.php?t=2360662&p=13642420#post13642420) that the official Lubuntu site is [lubuntu.me](https://lubuntu.me/), not .net.",
"userDisplayName": null,
"userId": "349837"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 4.0",
"creationDate": "2011-03-04T13:41:20.080",
"id": "28992",
"lastActivityDate": "2019-10-17T05:48:28.217",
"lastEditDate": "2019-10-17T05:48:28.217",
"lastEditorDisplayName": null,
"lastEditorUserId": "349837",
"ownerDisplayName": null,
"ownerUserId": "5297",
"parentId": "28965",
"postTypeId": "2",
"score": "12"
} | [
{
"accepted": null,
"body": "<p>The first thing I did was install XFCE4 and use it as the default desktop environment, instead of KDE. This I know is the single most important step I could take. It already makes a huge difference. The system is responsive again.</p>\n\n<p>Still, the memory usage (as indicat... | null | null | null | null | null |
28969 | 1 | 28970 | 2011-03-04T08:42:46.580 | 53 | 159765 | <p>I want every new user from now on to have bash as their shell by default. </p>
<p>I know that to change your own shell to bash, you would use the command "chsh -s /bin/bash", but how do I automatically set all future users' shell to bash by default?</p>
| 1196 | 169736 | 2014-01-06T22:55:13.620 | 2019-05-24T13:25:15.773 | How do you change the default shell for ALL USERS to bash? | [
"command-line",
"bash",
"adduser"
] | 3 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p><strong>adduser</strong></p>\n\n<p>The <code>adduser</code> defaults file is <code>/etc/adduser.conf</code>. The default shell defined by the <code>DSHELL</code> variable is <code>/bin/bash</code> by default.</p>\n\n<p><strong>useradd</strong></p>\n\n<p>Most likely you don't need this because useradd is a very low-level utility, and it's hardly ever used directly.</p>\n\n<p>If you use useradd, edit the <code>/etc/default/useradd</code> skeleton file (don't forget to make a backup though).</p>\n\n<p>Set the <code>SHELL</code> variable to <code>/bin/bash</code> instead of <code>/bin/sh</code>.</p>\n\n<p>Now every time you use <code>useradd</code> to add a new user <code>bash</code> is automatically their default shell.</p>\n\n<p><strong>Already existing users</strong></p>\n\n<p>If you want to change the shell of already existing users you have to edit the <code>/etc/passwd</code> file (please make sure to back have a backup of it).</p>\n\n<p>Here is a description of the columns</p>\n\n<ol>\n<li>login name</li>\n<li>optional encrypted password</li>\n<li>numerical user ID</li>\n<li>numerical group ID</li>\n<li>user name or comment field</li>\n<li>user home directory</li>\n<li>optional user command interpreter</li>\n</ol>\n\n<p>In that order separated by colons (:) like this.</p>\n\n<pre><code>root:x:0:0:root:/root:/bin/bash\n</code></pre>\n\n<p>For more information about that file consult the man page <code>man 5 passwd</code>.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2013-10-24T19:57:13.527",
"id": "467327",
"postId": "28970",
"score": "9",
"text": "I think a safer way to change another user's shell would be something like `sudo -u $USER chsh -s $SHELL`.",
"userDisplayName": null,
"userId": "73244"
},
{
"creationDate": "2013-10-25T08:24:43.157",
"id": "467636",
"postId": "28970",
"score": "1",
"text": "@JackO'Connor you should post that as an answer as well.",
"userDisplayName": null,
"userId": "2732"
},
{
"creationDate": "2017-07-13T16:00:10.320",
"id": "1482665",
"postId": "28970",
"score": "0",
"text": "This does not seem to be working in Ubuntu 16.04. Does anyone know the fix.",
"userDisplayName": null,
"userId": "260820"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-04T08:48:50.313",
"id": "28970",
"lastActivityDate": "2012-03-20T10:53:29.820",
"lastEditDate": "2012-03-20T10:53:29.820",
"lastEditorDisplayName": null,
"lastEditorUserId": "4770",
"ownerDisplayName": null,
"ownerUserId": "2732",
"parentId": "28969",
"postTypeId": "2",
"score": "76"
} | [
{
"accepted": true,
"body": "<p><strong>adduser</strong></p>\n\n<p>The <code>adduser</code> defaults file is <code>/etc/adduser.conf</code>. The default shell defined by the <code>DSHELL</code> variable is <code>/bin/bash</code> by default.</p>\n\n<p><strong>useradd</strong></p>\n\n<p>Most likely you don't ... | null | null | null | null | null |
28977 | 1 | 28981 | 2011-03-04T10:59:16.507 | 56 | 14666 | <p>How can I hide recent files that my Ubuntu Netbook's unity menu shows when I click on the files and folder icon?</p>
<p>Okay ! I watch porn sometimes and right after that it appears in the files and folder menu.
<strong>And believe me, that is not a good thing. :D</strong></p>
<p>So, please tell me if there is a way to do this :D</p>
| 11809 | 25798 | 2012-09-27T09:13:49.463 | 2017-02-26T10:59:33.573 | How to hide recent files and most used apps? | [
"unity",
"zeitgeist",
"privacy"
] | 4 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T15:49:31.657",
"id": "32279",
"postId": "28977",
"score": "4",
"text": "Even if you can stop Unity remembering things, each application you use might keep its own history. Most are integrated into the same system (so can be disabled centrally) but some are not. Most... | {
"accepted": true,
"body": "<p>I personally don't use Unity but if you're looking for a way to hide traces of certain, erm, \"activities\", you could create another user account that was dedicated to that activity which would have its own Unity cache and settings, so you could go wild and nobody ever need know.</p>\n\n<p>So let's say you have a passion for painting Warhammer 40,000 characters. Obviously you don't want your friends or family suddenly see a picture of a great, big, filthy Space Marine Terminator Chaplain.</p>\n\n<p><img src=\"https://i.stack.imgur.com/4stOF.jpg\" alt=\"Grrr\"></p>\n\n<p>Oh yes, he'd do some pretty bad things to your Tyranids.</p>\n\n<p>So you create an account:</p>\n\n<ul>\n<li>Go into System > Administration > Users and Groups (no idea how you get there in Unity)</li>\n<li>Create a new user <code>tyranidlover</code></li>\n<li>Then you want to hide this from the login screen. The options for this have been evaluated <a href=\"https://askubuntu.com/questions/2471/how-to-hide-users-from-the-login-screen\">on this thread</a>.</li>\n<li>You can also encrypt your other user's home directory so that nobody else could accidentally find the files hidden within. This is another step for another question, I think. I don't know how to do this for a second user off the top of my head.</li>\n</ul>\n\n<p>Then when you feel the need to do some Warhammer research, you can just switch users, punch in your hidden username and password and there you are, up to your knuckles in lead-based modelling paint and plastic glue.</p>\n",
"commentCount": "3",
"comments": [
{
"creationDate": "2011-04-21T07:34:55.090",
"id": "40331",
"postId": "28981",
"score": "2",
"text": "Pressing Super then typing \"Users\" should find it in Unity. And the dialog to add a new user has a very handy \"Encrypt home folder\" checkbox.",
"userDisplayName": null,
"userId": "1116"
},
{
"creationDate": "2013-06-20T15:16:59.067",
"id": "391826",
"postId": "28981",
"score": "1",
"text": "If you had all your Warhammer 40,000 resources in a single folder or on an external hard drive, you can exclude that location from the recent activity log by going to the application \"Privacy\", then adding the path to the directory into the blacklist in the \"Files\" tab. Keep in mind that this wouldn't stop a file search from hypothetically resulting in some huge guns and bad ass armor.",
"userDisplayName": null,
"userId": "52719"
},
{
"creationDate": "2014-05-15T15:39:59.637",
"id": "616504",
"postId": "28981",
"score": "1",
"text": "+1 for the sheer hilarity of the answer :D (We need more humour on AskUbuntu ;)",
"userDisplayName": null,
"userId": "125220"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T11:36:11.560",
"id": "28981",
"lastActivityDate": "2011-03-04T11:36:11.560",
"lastEditDate": "2017-04-13T12:23:40.050",
"lastEditorDisplayName": null,
"lastEditorUserId": "-1",
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "28977",
"postTypeId": "2",
"score": "58"
} | [
{
"accepted": true,
"body": "<p>I personally don't use Unity but if you're looking for a way to hide traces of certain, erm, \"activities\", you could create another user account that was dedicated to that activity which would have its own Unity cache and settings, so you could go wild and nobody ever need ... | null | null | null | null | null |
28978 | 1 | 28991 | 2011-03-04T11:10:56.797 | 1 | 14536 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/2793/is-there-a-way-to-remove-hide-old-kernel-versions">Is there a way to remove/hide old kernel versions?</a> </p>
</blockquote>
<p>I've been using dual boot on my PC for some time now, to use Ubuntu along side with Windows 7. One very disturbing thing happens, when Ubuntu linux core gets updated (this happens once in a while). They are added as options to the grub menu so, my boot menu now looks like this:</p>
<pre><code>Ubuntu, with linux 2.6.35-27 generic
Ubuntu, with linux 2.6.35-27 generic (recovery mode)
Ubuntu, with linux 2.6.35-25 generic
Ubuntu, with linux 2.6.35-25 generic (recovery mode)
Ubuntu, with linux 2.6.35-24 generic
Ubuntu, with linux 2.6.35-24 generic (recovery mode)
Ubuntu, with linux 2.6.35-22 generic
Ubuntu, with linux 2.6.35-22 generic (recovery mode)
Memory test
Windows 7
</code></pre>
<p>This gets very annoying, because I want to load windows by default, but after every update it shifts down and I have to go to grub config and change the default option.</p>
<p><strong>My question:</strong> How to get rid of older versions of linux in the grub menu and leave only the newest one?</p>
| 8239 | -1 | 2017-04-13T12:25:03.983 | 2011-03-04T15:14:07.640 | How to get rid of multiple linux versions in grub boot menu | [
"10.10",
"grub2",
"dual-boot"
] | 6 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T14:40:16.933",
"id": "32259",
"postId": "28978",
"score": "1",
"text": "this is a duplicate of my question here: http://askubuntu.com/questions/2793/is-there-a-way-to-remove-hide-old-kernel-versions",
"userDisplayName": null,
"userId": "352"
}
] | {
"accepted": true,
"body": "<p>With Ubuntu Tweak is the easiest way to remove old kernel images.</p>\n\n<p>Here is a tutorial <a href=\"http://www.ubunturoot.com/2010/03/how-to-remove-old-kernel-images-in-grub.html\" rel=\"nofollow\">http://www.ubunturoot.com/2010/03/how-to-remove-old-kernel-images-in-grub.html</a></p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T13:39:13.763",
"id": "28991",
"lastActivityDate": "2011-03-04T13:39:13.763",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1893",
"parentId": "28978",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": null,
"body": "<p>The simple way is to go to synaptic and search for the kernels which are not in use</p>\n\n<p>In your case search for 2.6.35-25 & 24 & 22 and completely remove them. You can even check which kernel you are using with <code>uname</code> command in your terminal and rem... | null | null | 2011-03-04T15:46:07.147 | null | null |
28982 | 1 | null | 2011-03-04T11:57:09.403 | 3 | 6261 | <p>How can I use the fingerprint reader on my HP DV6-3049TX?</p>
<p>I've tried it with some software (please edit so we know what you've tried) but it just says "No device".</p>
| null | 40166 | 2013-06-23T05:20:30.820 | 2013-06-23T05:20:30.820 | How to use fingerprint authentication on a HP DV6-3049TX? | [
"hardware",
"fingerprint-reader",
"hp-pavilion",
"peripherals"
] | 2 | 2 | CC BY-SA 3.0 | [
{
"creationDate": "2011-03-04T12:06:43.340",
"id": "32230",
"postId": "28982",
"score": "3",
"text": "Please append the post with the output of `lspci` and `lsusb` so we can see what the fingerprint reader we're dealing with here is.",
"userDisplayName": null,
"userId": "449"
},
{
... | null | [
{
"accepted": null,
"body": "<p>There's a similar question asked here:</p>\n\n<p><a href=\"https://askubuntu.com/q/15029/6211\">How can I use my fingerprint reader?</a></p>\n\n<p>This comment: <a href=\"https://askubuntu.com/questions/15029/how-can-i-use-my-fingerprint-reader/15040#15040\">FPrint</a> - poi... | null | null | null | null | user11817 |
28983 | 1 | null | 2011-03-04T12:11:15.460 | 5 | 722 | <p>For transcription it can be useful to use a pedal to control playback of an audio stream so you don't have to stop typing.</p>
<p>Are there any combinations hardware and software that work under Ubuntu for this?</p>
<p>(My personal ideal would be to get a USB pedal to trigger scripts that make API calls to VLC or something, but I'd settle for just about anything!)</p>
| 4512 | 235 | 2011-03-04T18:25:47.347 | 2011-03-04T18:25:47.347 | Is there a USB pedal solution for transcription? | [
"software-recommendation",
"sound",
"remote-control"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T12:43:52.920",
"id": "32239",
"postId": "28983",
"score": "1",
"text": "no idea about hard/software combination, but rather than API calls I would try to just emulate the pause button of a multimedia keyboard. this should get forwarded to VLC correctly (or to other ... | null | [
{
"accepted": null,
"body": "<p>I don't know of any pre-built pedals right off hand, but I did see this tutorial on how to build your own USB pedal. Since it is just a modified USB keyboard, it would work fine on linux as well. You could just assign the keyboard command you chose for the pedal to VLC or w... | null | null | null | null | null |
28989 | 1 | 29008 | 2011-03-04T13:05:11.310 | 1 | 158 | <p>I've got several Ubuntu 10.10 servers which should all be set to do automatic security updates.</p>
<p>Is there any way I could get them to send me an email when they apply updates (particularly if they fail)?</p>
<p>I'm using r-u-on to monitor availability, disk space etc but the security updates are very important and I don't have a good way to monitor them.</p>
<p>I could possibly script something myself but I figured it's the kind of thing that's probably been solved many times already. </p>
| 3813 | null | null | 2011-03-04T15:49:34.023 | auto-update and email | [
"10.10",
"server",
"updates"
] | 1 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T14:17:17.443",
"id": "32255",
"postId": "28989",
"score": "0",
"text": "Webmin has an email on update feature",
"userDisplayName": null,
"userId": "5297"
}
] | {
"accepted": true,
"body": "<p>It turns out that the unattended-upgrades package actually has a parameter for this:</p>\n\n<pre><code>/etc/apt/apt.conf.d/50unattended-upgrades\n</code></pre>\n\n<hr>\n\n<p>EDIT: in fact there is more than one way to do it, and it's documented in the server manual:\n<a href=\"https://help.ubuntu.com/10.10/serverguide/C/automatic-updates.html\" rel=\"nofollow\">https://help.ubuntu.com/10.10/serverguide/C/automatic-updates.html</a></p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-04T16:13:46.607",
"id": "32285",
"postId": "29008",
"score": "0",
"text": "Problem solved? if yes, please mark your own answer as the best one.",
"userDisplayName": null,
"userId": "8973"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T15:12:50.980",
"id": "29008",
"lastActivityDate": "2011-03-04T15:49:34.023",
"lastEditDate": "2011-03-04T15:49:34.023",
"lastEditorDisplayName": null,
"lastEditorUserId": "3813",
"ownerDisplayName": null,
"ownerUserId": "3813",
"parentId": "28989",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>It turns out that the unattended-upgrades package actually has a parameter for this:</p>\n\n<pre><code>/etc/apt/apt.conf.d/50unattended-upgrades\n</code></pre>\n\n<hr>\n\n<p>EDIT: in fact there is more than one way to do it, and it's documented in the server manual:\n<a href=... | null | null | null | null | null |
28990 | 1 | 29012 | 2011-03-04T13:27:31.023 | 1 | 12530 | <p>Is there any <code>DOM XML</code> package available for <code>php5</code> as <code>php4-domxml</code> in the case of <code>php4</code>?</p>
| 4980 | 6969 | 2011-04-13T15:54:21.637 | 2011-04-13T15:55:30.450 | Where is the DOM XML package for PHP 5? | [
"php"
] | 1 | 0 | CC BY-SA 3.0 | [] | {
"accepted": true,
"body": "<p>DOM is <a href=\"http://www.php.net/manual/en/dom.installation.php\" rel=\"nofollow\">included by default</a> in a PHP installation:</p>\n\n<blockquote>\n <p>Installation</p>\n \n <p>This extension is enabled by default.\n It may be disabled by using the\n following option at compile time:\n --disable-dom</p>\n</blockquote>\n\n<p>Looking at the <a href=\"http://git.debian.org/?p=pkg-php/php.git;a=blob;f=debian/rules;h=0a561b44668abef43af8c9d186fd081b8321dbc2;hb=HEAD\" rel=\"nofollow\">build rules</a>, DOM is neither disabled, so it should be available.</p>\n\n<p>Answering your question: no, there is no package like php4-domxml because PHP 5 includes it by default.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-04T15:39:45.890",
"id": "29012",
"lastActivityDate": "2011-04-13T15:55:30.450",
"lastEditDate": "2011-04-13T15:55:30.450",
"lastEditorDisplayName": null,
"lastEditorUserId": "6969",
"ownerDisplayName": null,
"ownerUserId": "6969",
"parentId": "28990",
"postTypeId": "2",
"score": "2"
} | [
{
"accepted": true,
"body": "<p>DOM is <a href=\"http://www.php.net/manual/en/dom.installation.php\" rel=\"nofollow\">included by default</a> in a PHP installation:</p>\n\n<blockquote>\n <p>Installation</p>\n \n <p>This extension is enabled by default.\n It may be disabled by using the\n following opti... | null | null | null | null | null |
28993 | 1 | 29196 | 2011-03-04T13:43:50.473 | 1 | 583 | <p>I have installed Kubuntu 64bit on my MBP 7,1.
After installation I was going through following documentation (screen)</p>
<p><a href="https://help.ubuntu.com/community/MacBookPro7-1/Maverick#Screen" rel="nofollow">https://help.ubuntu.com/community/MacBookPro7-1/Maverick#Screen</a></p>
<p>I am confused about line
/usr/bin/xcalib "/etc/xcalib/<strong><code><insert name of profile here></code></strong>"</p>
<p>which profile to put at that place?</p>
<p>I am getting following output on command prompt</p>
<pre><code>bharat@bharat-MacBookPro:~$ ls /etc/xcalib
Color LCD-00000610-0000-9CC5-0000-000004273140.icc
EPSON PJ -00004CA3-0000-A600-0000-000028E98001.icc
SyncMaster-00004C2D-0000-0117-4C45-31370B4074F5.icc
</code></pre>
| 11813 | null | null | 2011-03-06T00:57:50.577 | Apple MBP 7,1 Color profile xcalib | [
"kubuntu",
"macbook",
"apple"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>It should be the Color LCD one as the EPSON one is for a printer and the SyncMaster one is likely an external monitor.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-06T00:57:50.577",
"id": "29196",
"lastActivityDate": "2011-03-06T00:57:50.577",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "2178",
"parentId": "28993",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": true,
"body": "<p>It should be the Color LCD one as the EPSON one is for a printer and the SyncMaster one is likely an external monitor.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-06T00... | null | null | null | null | null |
28994 | 1 | 63402 | 2011-03-04T13:45:51.433 | 2 | 862 | <p>I am running on Ubuntu 10.04 LTS Server an GTK application that used to work fine. It suddenly started to hang in interruptible state (Sl+) without any apparent reason. Here is a snippet of the strace:</p>
<pre><code>poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}], 2, 0) = 0 (Timeout)
poll([{fd=5, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=5, revents=POLLOUT}])
writev(5, [{"\2\30\4\0\224\4\240\0\0@\0\0\37\0\240\0\2\4\4\0\224\4\240\0\0@\0\0\37\0\240\0"..., 192}, {NULL, 0}, {"", 0}], 3) = 192
read(5, 0x2ba9ac4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
</code></pre>
<p>I googled that line <code>read(5, 0x2ba9ac4, 4096)</code>, which seems to be more significant, and it seems that many other applications tend to have the same problem. I tried to restart my X server, but it didn't help.</p>
<p>Do you have an idea how to solve this problem?</p>
| 11599 | null | null | 2011-09-28T13:01:38.550 | Why does my application hang in interruptible state? | [
"10.04",
"server",
"gtk"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T19:03:14.593",
"id": "32306",
"postId": "28994",
"score": "0",
"text": "what is the application?",
"userDisplayName": null,
"userId": "1992"
},
{
"creationDate": "2011-03-05T17:04:24.453",
"id": "32423",
"postId": "28994",
"score": "0",
... | {
"accepted": true,
"body": "<p>It's attempting to read a socket and is hanging waiting for the server to respond. You might not have a timeout for the socket or your internet may be not fully functional, or the target server might be causing you to wait without response.</p>\n\n<p>Either way, this is an issue for the developers of the program to sort out, they need to make sure all their reads have timeouts and errors and perhaps retrying. Unless the developers have looked at the issue and determined it's a upstream library issue or a downstream packaging issue.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-09-28T13:01:38.550",
"id": "63402",
"lastActivityDate": "2011-09-28T13:01:38.550",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "132",
"parentId": "28994",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>It's attempting to read a socket and is hanging waiting for the server to respond. You might not have a timeout for the socket or your internet may be not fully functional, or the target server might be causing you to wait without response.</p>\n\n<p>Either way, this is an is... | null | null | null | null | null |
28995 | 1 | 29038 | 2011-03-04T13:46:16.720 | 7 | 26525 | <p>I want to make a backup of my <code>/var/lib/mysql</code> and <code>/var/www</code> folders and save them as tar.gz files to my mounted network file server (uslons001).</p>
<p>Here is my bash file located in: <code>/bin/backups/mysqlbackup.sh</code></p>
<pre><code>#!/bin/bash
mkdir /home/lv_admin/uslons001/`date +%d%m%y`
cd /home/lv_admin/uslons001/`date +%d%m%y`
tar -czf mysql.tar.gz /var/lib/mysql
tar -czf www.tar.gz /var/www
</code></pre>
<p>Which works PERFECTLY fine when I execute it in a cmd shell but when I setup the cron job it never runs, so I'm not setting the cron job up properly. My cron job looks like this.</p>
<pre><code> 36 10 * * 5 /bin/backups/mysqlbackup.sh
</code></pre>
<p>..there is also nothing in the /var/log/cron.log file, so no errors are being logged. (even after enabling cron logging in the /etc/syslog.conf file</p>
| 11290 | 11290 | 2011-03-04T16:40:53.353 | 2016-03-16T20:53:09.940 | Setup CRON weekly backup | [
"bash",
"backup",
"cron"
] | 4 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>I changed the location of the bash file to <code>/usr/local/mysqlbackup.sh</code>. After doing so I did the following commands on the file:</p>\n\n<pre><code>cd /usr/local/\nsudo chown [username] mysqlbackup.sh\nsudo chmod -rwx mysqlbackup.sh\nsudo chmod go= mysqlbackup.sh\n</code></pre>\n\n<p>then I stopped using <code>~$ crontab -e</code> as the command to edit the cron job and started using <code>sudo nano /etc/crontab</code> where I made a new job line with the following:</p>\n\n<pre><code>00 20 * * 5 root /usr/local/mysqlbackup.sh\n</code></pre>\n\n<p>I started using this file instead because it enabled me to tell it which user should execute it. After these changes the cron job works.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T20:22:42.103",
"id": "29038",
"lastActivityDate": "2011-03-04T20:22:42.103",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11290",
"parentId": "28995",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>The day of the week is a numeric field, so it's failing while trying to parse 'fri'. Change that to 5 (sunday is 0). <strong>edit:</strong> I see the OP was updated to fix this and there are still issues, but they're addressed in other answers.</p>\n\n<p>The cron format is ... | null | null | null | null | null |
28996 | 1 | 29442 | 2011-03-04T13:52:25.827 | 2 | 843 | <p>My Ubuntu 10.10 just crashed, probably due to <a href="https://askubuntu.com/questions/28394/read-error-while-booting">hardware error</a> (and in the end I was getting errors like <code>Unknown filesystem</code> ..... <code>grub> ..</code>, and it went to the GRUB console before I could take any other action).</p>
<p>I reinstalled the same version from a USB stick. I had Ubuntu installed with the <code>ext4</code> file system and I also have the same filesystem in the same hard disk on a different drive. </p>
<p>When I try to access my previous filesystem, I get errors:</p>
<pre><code>Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
</code></pre>
<p>I had some important files in the previous volume ; I don't know how to retrieve them. </p>
<p>And what are the chances that I would get the same outcome (hardware error)?
Please help me!</p>
| 8144 | -1 | 2017-04-13T12:25:03.983 | 2013-03-18T20:08:18.177 | How to retrieve data from a corrupted volume | [
"10.10",
"data-recovery"
] | 2 | 4 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T14:02:39.603",
"id": "32253",
"postId": "28996",
"score": "0",
"text": "Well, hopefully you have backups.",
"userDisplayName": null,
"userId": "10581"
},
{
"creationDate": "2011-03-04T14:10:23.127",
"id": "32254",
"postId": "28996",
"scor... | {
"accepted": true,
"body": "<p>Try <code>ddrescue</code> to make an image of your failing drive/partition. Then use <code>foremost</code> on the image you made to try and save files.</p>\n\n<p>As you say you're a layman, that would mean running, these commands:</p>\n\n<pre><code>ddrescue -i0 -s50M /dev/sda6 image.dd logfile\nddrescue /dev/sda6 image.dd logfile\nddrescue -d -r3 /dev/sda6 hdimage.dd logfile\n</code></pre>\n\n<p>Good information on how to use ddrescue on <a href=\"http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html\" rel=\"nofollow\">its documentation page</a>.</p>\n\n<p>After that, try foremost on the image:</p>\n\n<pre><code>foremost -i image.dd -t all -o savedfiles -v\n</code></pre>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-07T21:53:17.193",
"id": "29442",
"lastActivityDate": "2011-03-07T22:02:13.343",
"lastEditDate": "2011-03-07T22:02:13.343",
"lastEditorDisplayName": null,
"lastEditorUserId": "8851",
"ownerDisplayName": null,
"ownerUserId": "8851",
"parentId": "28996",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>If it is a hard drive failure SpinRite (www.grc.com) may be your only hope for disk recovery.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T14:21:02.930",
"id": "2... | null | null | null | null | null |
29002 | 1 | 29028 | 2011-03-04T14:24:30.433 | 1 | 1989 | <p>I have a VPS with Ubuntu Server 10.10 x64.</p>
<p>I tried to install Java using <code>apt-get install openjdk-6-jre</code> but that fails, see <a href="https://askubuntu.com/questions/28943/ca-certificates-java-fails-to-install">ca-certificates-java fails to install</a>.</p>
<p>Now I would like to install PHP with <code>sudo apt-get install nginx php5-fpm php-apc php5-pgsql php5-suhosin</code> but that also fails, with the same error message as I had with Java. Why is that? How can I install other applications now after the installation of Java has failed?</p>
| 4692 | -1 | 2017-04-13T12:23:46.240 | 2011-03-04T18:06:28.563 | How can I install other applications after a failed installation using apt-get? | [
"10.10",
"server",
"apt",
"openjdk"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You can't install other applications until you resolve the problem with <code>ca-certificates-java</code>. <code>apt-get</code> won't let you keep any packages in an unconfigured state.</p>\n\n<p>If you are not able to resolve the problem (you should - just google the error message Java gives you), force removal of the package:</p>\n\n<pre><code>sudo mv /var/lib/dpkg/info/ca-certificates-java.postinst /var/lib/dpkg/info/ca-certificates-java.postinst.backup\nsudo apt-get purge ca-certificates-java\n</code></pre>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T18:06:28.563",
"id": "29028",
"lastActivityDate": "2011-03-04T18:06:28.563",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "9340",
"parentId": "29002",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": null,
"body": "<p>it seems like a broken <em>ca-certificates-java</em> package. Because the apt error says:</p>\n\n<pre><code>1 not fully installed or removed.\n</code></pre>\n\n<p>First try to remove it with: <code>dpkg -r ca-certificates-java</code></p>\n\n<p>and reinstall it with apt: <code... | null | null | null | null | null |
29004 | 1 | 29006 | 2011-03-04T14:40:29.863 | 8 | 10269 | <p>I accidentally removed myself from the admin group when editing the user. Now I can no longer use <code>sudo</code>. The error says: <em>ber is not in the sudoers file. This incident will be <a href="http://xkcd.com/838/">reported</a>.</em> </p>
<p>I booted up in rescue mode, but, when going into <em>root prompt</em>, it asks me for the root password. I don't have one, and providing with my own (first and only ubuntu-user) password, it won't allow entrance. </p>
<p>My harddisk is encrypted, but only the <em>/home/user</em> part, not the entire disk, afaik. </p>
<p>What can I do?</p>
| 9070 | null | null | 2013-04-08T20:33:17.623 | Regain Sudo rights after removing from admin group | [
"root",
"sudo"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Hmm well you've covered what I would have suggested first. Seems annoying that Rescue mode would hassle you for a password if the entire disk weren't encrypted (I don't know, that might be standard protocol).</p>\n\n<p>I'd personally jump into a live environment (via Live CD or Live USB), mount the filesystem (assuming it <em>isn't</em> encrypted) and edit its <code>etc/group</code> file and add yourself back in. The resulting line should look something like this (though the GID may be different):</p>\n\n<pre><code>admin:x:115:oli\n</code></pre>\n\n<p>Or on Ubuntu 12.04, find the line for the <code>sudo</code> group instead of the <code>admin</code> group.</p>\n\n<hr>\n\n<p>Alternatively, you can probably <code>chroot</code> from the LiveCD to run commands. (sudo password for the LiveCD is a blank password, just press return when prompted)</p>\n\n<pre><code>sudo mount /dev/sdYY /mnt # change sdYY to your root partition\nsudo mount --bind /dev /mnt/dev\nsudo mount --bind /dev/pts /mnt/dev/pts\nsudo mount --bind /proc /mnt/proc\nsudo mount --bind /sys /mnt/sys\nsudo chroot /mnt\n</code></pre>\n\n<pre><code>sudo adduser your-username admin</code></pre>\n\n<p>For Ubuntu 12.04 and later, add the user to the <code>sudo</code> group instead of the <code>admin</code> group:</p>\n\n<pre><code>sudo adduser your-username sudo\n</code></pre>\n\n<p><code>chroot</code> drops you off at a root shell inside your filesystem so should let you do fancy things like adding users to groups. It's most useful for fixing boot issues but it can do a lot of gubbins.</p>\n",
"commentCount": "7",
"comments": [
{
"creationDate": "2011-03-04T15:02:14.690",
"id": "32264",
"postId": "29006",
"score": "0",
"text": "IMHO, you have to mount at least /dev and /proc to get a running bash in a chrooted environment, but I may be wrong.",
"userDisplayName": null,
"userId": "1676"
},
{
"creationDate": "2011-03-04T15:15:09.270",
"id": "32267",
"postId": "29006",
"score": "0",
"text": "@FUZxxl You're probably right, I've only ever done it to do fix a bootloader so that needed /dev mounting. I'll update it with a full compliment (mounting too much won't hurt)",
"userDisplayName": null,
"userId": "449"
},
{
"creationDate": "2011-03-04T15:27:07.163",
"id": "32269",
"postId": "29006",
"score": "1",
"text": "There is no need to chroot the filesystem, you can modify `/etc/group` manually. If I'm not mistaken, a backup of the group file is also written to `/etc/group-`.",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-04T15:46:20.770",
"id": "32278",
"postId": "29006",
"score": "1",
"text": "@Lekensteyn Yeah the that was the first suggestion I gave. Note the path won't be `/etc/group` because that would refer to the LiveCD's version. I gave `chroot` as an option because it's not wildly difficult and should still work.",
"userDisplayName": null,
"userId": "449"
},
{
"creationDate": "2011-03-04T15:50:59.547",
"id": "32280",
"postId": "29006",
"score": "0",
"text": "Sorry for the confusion, by `/etc/group`, I meant the `/etc/group` of the mounted partition, like `/mnt/etc/group`.",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2011-03-04T20:38:49.353",
"id": "32325",
"postId": "29006",
"score": "0",
"text": "Here is what I did: dowload and burn an ubuntu ISO. Start with that CD as liveCD. From that session, mount the drive. `sudo gedit /media/10...e3/etc/group`. Added myself (*ber*) to *adm,dialout,cdrom,plugdev,lpadmin,admin* and *sambashare*",
"userDisplayName": null,
"userId": "9070"
},
{
"creationDate": "2015-04-30T09:22:48.333",
"id": "868732",
"postId": "29006",
"score": "0",
"text": "@Oli None of the `sudo mount --bind` commands are necessary. I've just tested on 15.04 to verify that a simple chroot, with no extra mounts except `/`, is (still) sufficient to add a user to a group, or change a password, from a live environment. [`/dev`, `/dev/pts`, `/proc`, and `/sys`, do *not* need to be mounted in the chroot for the `usermod`, `adduser`, and `passwd` commands to work.](http://paste.ubuntu.com/10950646/) (`sudo` is also not necessary in the chroot--i.e., when running `adduser`--as one already has a root shell.)",
"userDisplayName": null,
"userId": "22949"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-04T14:57:16.907",
"id": "29006",
"lastActivityDate": "2013-04-08T20:33:17.623",
"lastEditDate": "2013-04-08T20:33:17.623",
"lastEditorDisplayName": null,
"lastEditorUserId": "22949",
"ownerDisplayName": null,
"ownerUserId": "449",
"parentId": "29004",
"postTypeId": "2",
"score": "8"
} | [
{
"accepted": true,
"body": "<p>Hmm well you've covered what I would have suggested first. Seems annoying that Rescue mode would hassle you for a password if the entire disk weren't encrypted (I don't know, that might be standard protocol).</p>\n\n<p>I'd personally jump into a live environment (via Live CD ... | null | null | 2013-04-09T01:06:49.253 | null | null |
29010 | 1 | 29018 | 2011-03-04T15:28:25.647 | 1 | 453 | <p>I upgraded my Lucid installation to Maverick today via an alternate CD. Everything went fine but the shut down icon which provides the options to log out, suspend, hibernate etc. in the top right corner of the panel and the me menu which allows to set chat status are absent! I tried searching for suitable options in 'Add to Panel' but cannot find the exact solution - shut down provides option only to shut down, log out only to log out and so on.</p>
| 4157 | 866 | 2011-03-04T16:50:46.757 | 2014-04-16T10:52:01.527 | Shut down/log out, me menu absent in panel | [
"10.10",
"indicator",
"panel"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>The power/logout/suspend/hibernate option you are looking for is called the \"Indicator Applet Session\" in the \"Add to Panel\" Menu.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T16:07:25.953",
"id": "29018",
"lastActivityDate": "2011-03-04T16:07:25.953",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11290",
"parentId": "29010",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p>The power/logout/suspend/hibernate option you are looking for is called the \"Indicator Applet Session\" in the \"Add to Panel\" Menu.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate"... | null | null | null | null | null |
29013 | 1 | 29032 | 2011-03-04T15:40:34.267 | 3 | 373 | <p>Here's the deal: I use the lastfm package to listen my Last.FM (duh)... And I want to show some notify-osd notifications when a new music starts.</p>
<p>As long the program don't supports it, I want to create a shell script that will monitor the window title of the lastfm player and send a notification when it changes.</p>
<p>What do you think? How can I start?</p>
| 10029 | 169736 | 2013-12-25T05:32:10.930 | 2013-12-25T05:32:10.930 | Script to monitor window title changes | [
"notify-osd",
"music-player"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You can check the title of an open window using <a href=\"http://manpages.ubuntu.com/manpages/maverick/en/man1/wmctrl.1.html\" rel=\"noreferrer\">wmctrl</a>:</p>\n\n<pre><code>$ wmctrl -lx | grep \"last.fm.Last.fm\" | grep -Po \"(?<=$HOSTNAME ).*$\"\nInsomnium – Death Walked the Earth\n</code></pre>\n\n<p>Watching the title using this method would require the script to periodically poll for changes, though, which would be messy and inefficient.</p>\n\n<p>A smarter approach would be to wait for some kind of event generated by the Last.fm player. A D-Bus interface or similar API would be ideal, but I don't see any documentation suggesting one exists. As a next-best alternative, you can try watching the terminal output for information on what the player is doing:</p>\n\n<pre><code>#!/bin/bash\n\ngrabnextline=0\nalbumart=\"$(mktemp)\"\n\nwhile read line; do\n if [ $grabnextline = 1 ]; then\n title=\"$(echo \"$line\" | cut -d\\\" -f2)\"\n wget -O \"$albumart\" \"$(grep -A 10 \"<title>$(echo \"$title\" | awk -F ' – ' '{print $2}')\" ~/.local/share/Last.fm/Last.fm.log | grep -Eo \"http://.*\\.(jpg|png)\" | sed 's/174s/64s/' | sed 's/jpg/png/')\"\n notify-send \"$title\" --icon \"$albumart\"\n grabnextline=0\n fi\n if [[ \"$line\" = *ScrobblerManager::nowPlaying* ]]; then\n grabnextline=1\n fi\ndone < <( /usr/bin/lastfm 2>&1 )\n\nrm \"$albumart\"\n\nexit\n</code></pre>\n\n<p>It's still an ugly hack, but it gets the job done.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T19:30:48.400",
"id": "29032",
"lastActivityDate": "2011-03-04T23:45:43.757",
"lastEditDate": "2011-03-04T23:45:43.757",
"lastEditorDisplayName": null,
"lastEditorUserId": "1859",
"ownerDisplayName": null,
"ownerUserId": "1859",
"parentId": "29013",
"postTypeId": "2",
"score": "5"
} | [
{
"accepted": null,
"body": "<p>Which player do you use for list.fm . Many application use dbus to notify events. You would need to catch them in script.</p>\n\n<p>Like following page has a example on how to use catch Rhythmbox song change.</p>\n\n<p><a href=\"https://stackoverflow.com/questions/3919735/how... | null | null | null | null | null |
29014 | 1 | 29035 | 2011-03-04T15:48:27.737 | 2 | 4498 | <p>I have a fake raid, which I wanted to access using</p>
<pre><code>mdadm /dev/md0 -A -c 128 -l stripe --verbose /dev/sda /dev/sdc
</code></pre>
<p>which should be right, as far as I understand the man page. But I get the message</p>
<pre><code>mdadm: option -l not valid in assemble mode
</code></pre>
<p>leaving the offending option out leads to</p>
<pre><code>mdadm: failed to create /dev/md0
</code></pre>
<p>and (despite verbose) no more information. I'm assuming that <code>-A</code> requires some mdadm-specific header which is obviously missing. I probably need to use "build" instead of assemble, but from the description I'm really unsure whether this is a non-destructive operation. Is it? What should I exactly do?</p>
<h2>UPDATE</h2>
<p>I see I haven't made clear, that the array already exists as a <em>fake-raid</em> (I can't give the details about my mainboard now). It looks like doing nothing except for interleaving blocks, so I hoped it could be easily done using mdadm, too. Maybe I'm completely wrong, but all the info I've found was concerned with booting from fake-raid, what I don't really need. I'd be happy with a read access for now.</p>
<h2>UPDATE 2</h2>
<p>The solution from the answer nearly works. My fake-raid gets recognized by dmraid, but it refuses to start because of missing disks. I've forgotten to mention that my RAID10 is running without two disks i.e. it's just stripped. (I've already moved the important data to a safer place).</p>
| 10802 | -1 | 2020-06-12T14:37:07.210 | 2011-11-22T14:07:16.460 | How to access a fake raid? | [
"raid",
"dmraid"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T15:51:38.753",
"id": "32281",
"postId": "29014",
"score": "1",
"text": "This isn't \"fake raid\", this is \"software raid\". FakeRAID uses semi-hardware controllers that offload their processing onto the CPU and use a driver called `dmraid`. Could you update your po... | {
"accepted": true,
"body": "<p>Fake raid is accessed with the dmraid utility, not mdadm. It should also work out of the box with recent Ubuntu releases. See <a href=\"http://wiki.ubuntu.com/FakeRaidHowto\" rel=\"nofollow\">http://wiki.ubuntu.com/FakeRaidHowto</a> for more information, though much of the how to part does not apply with recent releases, since as I said, it now just works automatically.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T19:45:05.780",
"id": "29035",
"lastActivityDate": "2011-03-04T19:45:05.780",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "8500",
"parentId": "29014",
"postTypeId": "2",
"score": "3"
} | [
{
"accepted": true,
"body": "<p>Fake raid is accessed with the dmraid utility, not mdadm. It should also work out of the box with recent Ubuntu releases. See <a href=\"http://wiki.ubuntu.com/FakeRaidHowto\" rel=\"nofollow\">http://wiki.ubuntu.com/FakeRaidHowto</a> for more information, though much of the ... | null | null | null | null | null |
29016 | 1 | 29046 | 2011-03-04T15:57:28.683 | 2 | 759 | <p>I was trying to install APE-Server from the .deb file at the ape-server homepage (www.ape-project.org) and I ran into an error so wanted to try removing the installation and reinstalling. I did a sudo apt-get remove ape-server which ran successfully but left ape-server folders in my /etc/ and /etc/init.d locations. Me being an idiot new comer to linux decided that manually delete those folders. Now when I reinstall the ape-server those folders don't get recreated and therefore I cannot send the </p>
<pre><code> /etc/init.d/ape-server [option]
</code></pre>
<p>command because the folder is not found. </p>
<p>When I try to sudo apt-get purge (or remove) ape-server I get the following </p>
<pre><code> sudo apt-get purge ape-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
ape-server*
0 upgraded, 0 newly installed, 1 to remove and 92 not upgraded.
1 not fully installed or removed.
After this operation, 1,753kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 43924 files and directories currently installed.)
Removing ape-server ...
invoke-rc.d: unknown initscript, /etc/init.d/ape-server not found.
dpkg: error processing ape-server (--purge):
subprocess installed pre-removal script returned error exit status 100
update-rc.d: /etc/init.d/ape-server: file does not exist
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
ape-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
</code></pre>
<p>My question is; how do I remove all of the ape-server installation packages that were installed so I can reinstall from scratch?</p>
| 11290 | null | null | 2011-03-04T21:29:44.410 | Error with APE Server Installation | [
"uninstall",
"folder",
"installation",
"init.d",
"purge"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T20:43:19.163",
"id": "32326",
"postId": "29016",
"score": "1",
"text": "have you tried to trick dpkg by creating an empty file?",
"userDisplayName": null,
"userId": "1992"
},
{
"creationDate": "2011-03-04T20:50:34.080",
"id": "32328",
"postId... | {
"accepted": true,
"body": "<p><em>Since we know it worked, I'll answer your question:</em></p>\n\n<p>Create an empty file:</p>\n\n<ul>\n<li><code>/etc/init.d/ape-server</code></li>\n</ul>\n\n<p>Now remove the package, and it will be all clear.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T21:29:44.410",
"id": "29046",
"lastActivityDate": "2011-03-04T21:29:44.410",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1992",
"parentId": "29016",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": true,
"body": "<p><em>Since we know it worked, I'll answer your question:</em></p>\n\n<p>Create an empty file:</p>\n\n<ul>\n<li><code>/etc/init.d/ape-server</code></li>\n</ul>\n\n<p>Now remove the package, and it will be all clear.</p>\n",
"commentCount": "0",
"comments": [],
"comm... | null | null | null | null | null |
29024 | 1 | null | 2011-03-04T17:11:55.557 | 4 | 114 | <p>Being a big fan of the UbuntuWeeklyNewsletter, I'd like to know why it is not published regularly anymore. The last issue dates back to mid-January. Thanks!</p>
| 11828 | null | null | 2011-03-04T17:36:05.533 | What is happening with the UbuntuWeeklyNewsletter? | [
"community"
] | 1 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>According to <a href=\"https://lists.ubuntu.com/archives/ubuntu-news-team/2010-November/001200.html\" rel=\"nofollow\">this message</a> the former editor had to step down due to personal issues, and that has caused the delays in the last few issues.</p>\n\n<p>If you are inter... | null | null | null | null | null |
29025 | 1 | null | 2011-03-04T17:13:09.447 | 2 | 644 | <p>how to drag and drop a picture from a home folder into an open application in full size? I wanted to take a picture file (CD cover) and drag-and-drop it to Rhythmbox for a selected song/album. Not sure how to do that in Unity. Please help.</p>
| 11829 | 235 | 2011-03-04T18:25:22.403 | 2011-03-05T14:19:51.050 | How to drag and drop a picture from a home folder into an open application in full size? | [
"unity"
] | 1 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T18:59:13.133",
"id": "32303",
"postId": "29025",
"score": "1",
"text": "Do you mean an application that is maximized?",
"userDisplayName": null,
"userId": "1992"
},
{
"creationDate": "2011-03-04T19:04:00.310",
"id": "32307",
"postId": "29025"... | null | [
{
"accepted": null,
"body": "<p>I'm not sure I understand your question 100%, but here's trying :-)</p>\n\n<p>So, consider you have Eye of Gnome opened somewhere (maximized or not) and you have a maximized Nautilus (the file manager) window open and you have found a picture in there you want to see in EOG. ... | null | null | null | null | null |
29029 | 1 | null | 2011-03-04T18:32:16.067 | 8 | 5595 | <h2>Simple explanation</h2>
<p>If mpd is playing and sound attempts to play through another application, <em>x</em>, sound from <em>x</em> will not be output.</p>
<p>If sound from another application, <em>x</em>, is playing and mpd then attempts to play, no sound will be output from mpd whilst sound from <em>x</em> continues to play.</p>
<h2>Details</h2>
<p>I first noticed this problem with Flash, and this continues to be the most common scenario. I <a href="https://askubuntu.com/questions/23556/flash-breaking-pulseaudio">posted a question about this</a> before realising it was not strictly Flash-related, but instead is something to do with mpd.</p>
<p>My biggest frustration comes from trying to get mpd working again, as I can't seem to pin down any method. Sometimes <code>pulseaudio -k</code> seems to help, other times <code>sudo /etc/init.d/mpd restart</code>, others killing Chromium (due to Flash) with <code>SIGTERM</code>. Most of the time it's a combination of the above.</p>
<p>I think this might be because I run mpd as another user and use pulseaudio. It is not run as root or current user. Also, mpd is compiled with pulse support.</p>
<p>I have tried numerous things, however I honestly couldn't recite what, as it has been some time since. I'd rather not go poking around without some direction, but I'd be really happy to fix this problem once and for all.</p>
<h2>mpd.conf</h2>
<p>Simplified by removing comments/blank lines.</p>
<pre><code>music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/pid"
state_file "/var/lib/mpd/state"
user "mpd"
bind_to_address "wilson"
input {
plugin "curl"
}
audio_output {
type "pulse"
name "My Pulse Output"
}
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
</code></pre>
<h2>Question</h2>
<p>For the sake of keeping this a question: <strong>does anyone know what is causing this, or how to fix it without running mpd as the current user?</strong></p>
| 4661 | -1 | 2017-04-13T12:24:10.250 | 2016-03-10T18:45:39.020 | mpd conflicting with other applications -- taking control of pulse? | [
"sound",
"pulseaudio",
"mpd"
] | 3 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-04T20:31:41.493",
"id": "32324",
"postId": "29029",
"score": "1",
"text": "When playing something through mpd (and the sound from it is working) load up the sound properties window, hit the applications tab and this will tell you for certain if mpd is using PA or not."... | null | [
{
"accepted": null,
"body": "<p>I had this problem when I first started using mpd, but it was quite some time ago, so I can't exactly remember what I did to fix it!</p>\n\n<p>Do you have PulseAudio preferences installed? I found this tip on a forum:\n<code>sudo apt-get install paprefs</code></p>\n\n<p>Then ... | null | null | null | null | null |
29031 | 1 | null | 2011-03-04T19:25:11.377 | 2 | 1842 | <p>I have a Windows Live account that I want to add to Empathy for messaging at work. I use my work email as my login. Nothing I try will get Empathy to connect. I have already removed telepathy butterfly plugin, still nothing. What are the setting for adding Windows Live account?</p>
<p>Empathy 2.30.3</p>
| 8017 | 866 | 2011-03-05T08:01:14.127 | 2011-03-05T08:01:14.127 | How do I add a Windows Live account to Empathy? | [
"10.04",
"empathy"
] | 2 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-09T20:27:28.407",
"id": "33143",
"postId": "29031",
"score": "0",
"text": "Is your problem with understanding the process to add your Windows Live account? Or is it, instead, a problem with _getting it to work_ (e.g., an error message, etc.)?",
"userDisplayName": n... | null | [
{
"accepted": null,
"body": "<p>Try adding it through the \"MSN\" option with your username being \"user@live.com\".</p>\n\n<p>Screenshot:</p>\n\n<p><img src=\"https://i.stack.imgur.com/DBXDi.png\" alt=\"Empathy Screnshot\"></p>\n",
"commentCount": "5",
"comments": [
{
"creationDate": ... | null | null | null | null | null |
29036 | 1 | 29050 | 2011-03-04T19:56:41.273 | 3 | 1108 | <p>I have a launcher on my desktop. I would like to run it via a keyboard shortcut. Is it possible ?</p>
| 6065 | null | null | 2011-03-04T21:40:32.883 | How to use a hotkey shortcut to run a launcher? | [
"shortcut-keys",
"launcher"
] | 1 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Open keyboard shortcuts (<code>System>Preference>Keyboard Shortcuts</code>), and create the shortcut you want to add:</p>\n\n<ol>\n<li><p><img src=\"https://i.stack.imgur.com/HBg8R.png\" alt=\"img1\"></p></li>\n<li><p><img src=\"https://i.stack.imgur.com/6jn8j.png\" alt=\"enter image description here\"></p></li>\n</ol>\n\n<p>Right click the launcher and click properties. Copy the information from the launcher where it says command (in the launcher properties) to where it says type here:</p>\n\n<ul>\n<li><img src=\"https://i.stack.imgur.com/SOXw2.png\" alt=\"enter image description here\"></li>\n</ul>\n\n<p>Now save the keyboard shortcut (by clicking apply).</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011-03-05T15:24:52.680",
"id": "32396",
"postId": "29050",
"score": "0",
"text": "Thank you very much. It is exactly what I was looking for. Very didactic too !",
"userDisplayName": null,
"userId": "6065"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T21:40:32.883",
"id": "29050",
"lastActivityDate": "2011-03-04T21:40:32.883",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1992",
"parentId": "29036",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": true,
"body": "<p>Open keyboard shortcuts (<code>System>Preference>Keyboard Shortcuts</code>), and create the shortcut you want to add:</p>\n\n<ol>\n<li><p><img src=\"https://i.stack.imgur.com/HBg8R.png\" alt=\"img1\"></p></li>\n<li><p><img src=\"https://i.stack.imgur.com/6jn8j.png\" alt... | null | null | null | null | null |
29037 | 1 | 55278 | 2011-03-04T20:18:44.897 | 5 | 588 | <p>If I drag and drop an image to gwibber, will sending work? (Will it upload the image and link to it). Or is this not supported?</p>
<p><em>P.S. - I've never tried, but I just thought of it.</em></p>
| 1992 | null | null | 2012-09-28T15:38:41.230 | Is it possible to post images with Gwibber? | [
"gwibber"
] | 2 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>The latest version Gwibber 3.1.0 can upload images to imageshack, shorten the url and put the link into the messagebox. You'll find a \"+\" icon next to the send button to upload the image. In order to install this version in Ubuntu Natty and prior, you've got to use the <a href=\"https://launchpad.net/~gwibber-daily/+archive/ppa\" rel=\"nofollow\">Gwibber-Daily-PPA</a>.</p>\n\n<pre><code>sudo add-apt-repository ppa:gwibber-daily/ppa\nsudo apt-get update && sudo apt-get dist-upgrade\n</code></pre>\n\n<p>Ubuntu Oneiric 11.10 will ship with a version of Gwibber which is new enough for this feature, so that you won't have to deal with the PPA anymore.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2012-08-12T11:38:42.660",
"id": "215866",
"postId": "55278",
"score": "0",
"text": "I cannot find any such feature for images, nor any \"+\" button...",
"userDisplayName": null,
"userId": "31723"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-08-01T01:13:19.237",
"id": "55278",
"lastActivityDate": "2012-09-28T15:38:41.230",
"lastEditDate": "2012-09-28T15:38:41.230",
"lastEditorDisplayName": null,
"lastEditorUserId": "449",
"ownerDisplayName": null,
"ownerUserId": "15467",
"parentId": "29037",
"postTypeId": "2",
"score": "4"
} | [
{
"accepted": null,
"body": "<p>Would be a nice feature but Gwibber doesn't support this.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-05T00:11:22.970",
"id": "29069",
"lastActivityDate": "2011... | null | null | null | null | null |
29040 | 1 | null | 2011-03-04T20:52:10.257 | 4 | 1023 | <p>I'm looking to run Ubuntu on a 2008 MacBook Pro 2.4Ghz C2D, 2GB GDDR3.</p>
<p>Will it be okay performance wise through virtualization such as VMWARE or should I use BootCamp?</p>
<p>Thanks.</p>
| 11835 | 866 | 2011-03-04T22:15:07.930 | 2013-01-05T03:38:35.023 | MacBook Pro: should I virtualize Ubuntu or use Boot Camp? | [
"laptop",
"performance",
"mac",
"macbook",
"setup"
] | 4 | 1 | CC BY-SA 2.5 | [
{
"creationDate": "2011-05-04T11:04:53.173",
"id": "43844",
"postId": "29040",
"score": "0",
"text": "Isn't it the case that you should use [rEFIt](http://refit.sourceforge.net/) when dual-booting a Mac and not using Windows as the 2nd OS? Or: Isn't Boot Camp specifically designed for Windows us... | null | [
{
"accepted": null,
"body": "<p>What are you looking to do in Ubuntu?</p>\n\n<p>For basic tasks -- internet, office apps, IM, etc, virtualization should be sufficient. I suggest using a lightweight window manager since you'll likely only want to allocate 1gb or less to the VM.</p>\n",
"commentCount": "1... | null | null | null | null | null |
29042 | 1 | 29044 | 2011-03-04T21:10:56.553 | 4 | 6642 | <p>I have a bunch of files that have <code>.png</code> extension. However, some of them are actually gif files. I can open any of the files with gimp or view them in firefox, but when I try to open them with the Eye of Gnome viewer, it gives an error</p>
<blockquote>
<p>Could not load image: Fatal error reading PNG image file: Not a PNG file</p>
</blockquote>
<p>Is there:</p>
<ol>
<li>Another image viewer that can open files with incorrect extensions that I could use as default? It would need to have the ability to zoom in and out on images, and scroll through all the images in a folder via arrow keys.</li>
<li>An automated way to rename the files that are actually gif files to the correct extensions?</li>
</ol>
<p>Choice 2 is preferred, but I don't know how to tell what type they are. I would be able to put together a Bash script to do the renaming if there is a command that could tell me the file type.</p>
| 6161 | 527764 | 2020-08-10T05:31:36.157 | 2020-08-10T05:34:29.523 | EOG (Image Viewer) fails to open gif files with incorrect png extension - how can I solve this? | [
"command-line",
"file-format",
"eog"
] | 2 | 0 | CC BY-SA 4.0 | [] | {
"accepted": true,
"body": "<p>If you use (from command line or within a script... if you need the script just ask ;) ) the command <code>file thisimage.png</code>, it will tell you what image format you actually have.... Then you can rename accordingly...</p>\n\n<p>This is a sample of what I get with a file with incorrect file extension .png which is really a jpg file:</p>\n\n<pre><code>user@computer:$ file logo.png\nlogo.png: JPEG image data, JFIF standard 1.01 \n</code></pre>\n\n<p>Edit: Oh, ok, I was lazy before... Here's an script that will rename actual gif files that are named with .png extension to their correct extension .gif:</p>\n\n<pre><code>#!/bin/bash\nfor NAME in $(ls *.png); do\n\nif [ \"$(file $NAME|grep GIF)\" ]; then\n\necho \"Renaming ${NAME} to ${NAME%.*}.gif\"\nmv ${NAME} ${NAME%.*}.gif\n\nfi\n\ndone\n</code></pre>\n",
"commentCount": "2",
"comments": [
{
"creationDate": "2011-03-04T21:55:23.097",
"id": "32331",
"postId": "29044",
"score": "1",
"text": "I know that this can probably be accomplished quite more easily with a single line using ´find´ with ´exec´ and such, but I'm not a 'scripter' at all, so anyone should feel free to edit my answer and add a shorter command, if you wish.",
"userDisplayName": null,
"userId": "8851"
},
{
"creationDate": "2015-09-10T10:24:25.703",
"id": "972202",
"postId": "29044",
"score": "0",
"text": "This answer was of great help when debugging a javascript driven image download script. Thanks!! :)",
"userDisplayName": null,
"userId": "137467"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-04T21:18:14.707",
"id": "29044",
"lastActivityDate": "2011-03-04T21:51:29.683",
"lastEditDate": "2011-03-04T21:51:29.683",
"lastEditorDisplayName": null,
"lastEditorUserId": "8851",
"ownerDisplayName": null,
"ownerUserId": "8851",
"parentId": "29042",
"postTypeId": "2",
"score": "7"
} | [
{
"accepted": true,
"body": "<p>If you use (from command line or within a script... if you need the script just ask ;) ) the command <code>file thisimage.png</code>, it will tell you what image format you actually have.... Then you can rename accordingly...</p>\n\n<p>This is a sample of what I get with a fi... | null | null | null | null | null |
29047 | 1 | 30211 | 2011-03-04T21:30:00.650 | 1 | 3173 | <p>I am trying to compile some OpenGL apps from source, but there is no <code>/usr/lib/libGL.so</code>, or <code>/usr/lib/libGL.so.1</code> or even <code>/usr/lib/libGL.so.1.2</code>, however fglrxinfo says:</p>
<pre class="lang-none prettyprint-override"><code>display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 4500 Series
OpenGL version string: 3.3.10237 Compatibility Profile Context
</code></pre>
<p>Which is what I expect and the gears demo also works.</p>
<p>How do I get those files? I tried the MESA files and then I got software rendering which is not what I wanted.</p>
| 1136 | 94914 | 2020-07-21T09:44:18.927 | 2020-07-21T09:44:18.927 | fglrx does not have /usr/lib/libGL.so lib | [
"software-installation",
"10.10",
"fglrx"
] | 2 | 0 | CC BY-SA 4.0 | [] | {
"accepted": true,
"body": "<p>The <code>libgl1-dev</code> package is a meta-package that contains the required lib and can be replaced with software implementations <code>libgl1-mesa-swx11</code> or dri accelerated version <code>libgl1-mesa-dri</code>.</p>\n",
"commentCount": "0",
"comments": [],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-13T19:11:13.067",
"id": "30211",
"lastActivityDate": "2011-03-13T19:11:13.067",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "1136",
"parentId": "29047",
"postTypeId": "2",
"score": "0"
} | [
{
"accepted": null,
"body": "<p>The <em>fglrx</em> package contains /usr/lib/fglrx/libGL.so</p>\n\n<p>To see which libs glxgears (or any other program) is using use</p>\n\n<pre><code>ldd \"$(which glxgears)\"\n</code></pre>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2011... | null | null | null | null | null |
29051 | 1 | 29986 | 2011-03-04T21:43:29.643 | 12 | 11915 | <p>I have empathy already installed but am not sure how to configure it to join the channel at <a href="http://www.ape-project.org">http://www.ape-project.org</a>. I do not have a password or login name yet to properly configure the channel with Empathy and when I click "Join our IRC Channel" firefox comes back with an error stating:</p>
<blockquote>
<p>Firefox doesn't know how to open this address, because the protocol (irc) isn't associated with any program.</p>
</blockquote>
<p>What can I do to join this (freenode) channel? </p>
<p><B>UPDATE 1</b>
Using Empathy Version 2.23.1
When viewing accounts click "Add..."
Protocol: "IRC"
Network: "freenode"
create new nickname, password, and real name.</p>
<p>Then went back to ape-project.org link and click "Join our IRC Channel" again. It brings my Empathy contact list to the foreground but nothing happens...</p>
| 11290 | 1992 | 2011-03-04T23:14:02.937 | 2014-06-19T13:44:30.800 | How do I join a channel on Freenode with Empathy? | [
"empathy",
"irc"
] | 5 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>Since Empathy wouldn't do anything when I click on the link (won't bring up an input box for me to enter /join #ape-project or anything. And since I can't get freenode server to bring anything up either I just started using xchat - which works perfectly fine.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "2014-05-18T14:34:14.400",
"id": "619400",
"postId": "29986",
"score": "1",
"text": "please reconsider the \"correct answer\" flag",
"userDisplayName": null,
"userId": "142867"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-11T21:48:23.493",
"id": "29986",
"lastActivityDate": "2011-03-11T21:48:23.493",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11290",
"parentId": "29051",
"postTypeId": "2",
"score": "1"
} | [
{
"accepted": null,
"body": "<p>Basically the channel name for the ape-project is #ape-project. So after joining to freenode on empathy Just do </p>\n\n<pre><code>/join #ape-project\n</code></pre>\n\n<p>on text input field.</p>\n",
"commentCount": "1",
"comments": [
{
"creationDate": "... | null | null | null | null | null |
29056 | 1 | 29063 | 2011-03-04T22:15:58.903 | 35 | 81259 | <p>I have a folder with quite a few files in it. I want to display the following:</p>
<pre><code>filename_1
first line of file1
second line of file1
third line of file1
filename_2
first line of file2
second line of file2
third line of file2
filename_3
first line of file3
second line of file3
third line of file3
</code></pre>
<p>etc. How can I do that?</p>
| 6161 | null | null | 2016-06-10T09:34:45.690 | Display the first few lines of a file | [
"command-line"
] | 4 | 0 | CC BY-SA 2.5 | [] | {
"accepted": true,
"body": "<p>You use the <code>head</code> command to do this, with the -n argument with the number of lines from each file, like this:</p>\n\n<pre><code>head -n3 *\n</code></pre>\n\n<p>or</p>\n\n<pre><code>head -n3 *.txt\n</code></pre>\n\n<p>This also works for a single file:</p>\n\n<pre><code>head -n3 filename.txt\n</code></pre>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2011-03-05T00:01:13.167",
"id": "32350",
"postId": "29063",
"score": "0",
"text": "Just as a comment (I DO like the cleanness of the proposed solution), this command won't write out filenames, but just the first lines of the files",
"userDisplayName": null,
"userId": "8851"
},
{
"creationDate": "2011-03-05T14:03:28.370",
"id": "32390",
"postId": "29063",
"score": "0",
"text": "@luri - Really? In Ubuntu `head` version `head (GNU coreutils) 8.5` it by default will. Or maybe you're using an alias `head --quiet`?",
"userDisplayName": null,
"userId": "9340"
},
{
"creationDate": "2011-03-05T19:09:19.320",
"id": "32439",
"postId": "29063",
"score": "1",
"text": "@luri: It did output the filenames for me as well.",
"userDisplayName": null,
"userId": "6161"
},
{
"creationDate": "2011-03-05T21:56:14.350",
"id": "32453",
"postId": "29063",
"score": "0",
"text": "Damn yes... it was aliased (--silent, actually, instead of --quiet) and I don't know why. Two answers in one for arrange ;)",
"userDisplayName": null,
"userId": "8851"
},
{
"creationDate": "2022-07-01T12:36:19.660",
"id": "2464079",
"postId": "29063",
"score": "0",
"text": "but if i want only couple of bytes, not lines of file ? i got big json file head dod not help (",
"userDisplayName": null,
"userId": "591314"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-04T22:54:58.257",
"id": "29063",
"lastActivityDate": "2016-06-10T09:34:45.690",
"lastEditDate": "2016-06-10T09:34:45.690",
"lastEditorDisplayName": null,
"lastEditorUserId": "31058",
"ownerDisplayName": null,
"ownerUserId": "9340",
"parentId": "29056",
"postTypeId": "2",
"score": "73"
} | [
{
"accepted": null,
"body": "<p><strong>head</strong></p>\n\n<p>You use <code>head</code> with the <code>-n</code> option.</p>\n\n<p><code>head -n 10 FILE</code></p>\n\n<p>This will print the first ten lines of a file.</p>\n\n<p>Another useful variation would be <code>-n -NUMBER</code>.</p>\n\n<p><code>head... | null | null | null | null | null |
29057 | 1 | null | 2011-03-04T22:18:21.887 | 5 | 5268 | <p>I've tried to create a tunnel torward a client passed through a server, using the following command</p>
<p><code>ssh -X -f admin@IP_server -N -L 4444:IP_client:80</code></p>
<p>but when try to open client:80 by firefox receive as error this</p>
<pre><code>channel 2: open failed: unknown channel type:
Connection to 81.21.20.207 closed by remote host.
</code></pre>
<p>someone knows where is the issue?
thanks so much</p>
| 9285 | 235 | 2011-03-05T17:02:17.780 | 2013-10-04T08:25:30.020 | ssh tunnel and receiving Web pages through the tunnel | [
"ssh",
"tunnel"
] | 3 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>Your description is confusing. As specified, you have told it that connections to <code>localhost:4444</code> are to be forwarded to <code>IP_server</code> which should then connect to <code>IP_client:80</code>, but then you are connecting directly to <code>IP_client:80</cod... | null | null | null | null | null |
29062 | 1 | null | 2011-03-04T22:54:57.303 | 12 | 1941 | <p>I've looked for this question and haven't gotten a reasonable answer yet. If I synchronize a folder will it synchronize a symlink? Will it process all the way through the link to all the files within that symlink?</p>
| null | 114 | 2011-03-04T23:08:35.097 | 2019-09-08T12:35:04.153 | Does Ubuntu One follow symlinks if synchronizing a folder? | [
"ubuntu-one",
"symbolic-link"
] | 2 | 0 | CC BY-SA 2.5 | [] | null | [
{
"accepted": null,
"body": "<p>From the <a href=\"https://wiki.ubuntu.com/UbuntuOne/FAQ/AreSymHardLinksSupported\" rel=\"nofollow\">Ubuntu One FAQ</a>:</p>\n\n<blockquote>\n <h1>Does Ubuntu One support symlinks or hard links?</h1>\n \n <p>No, Ubuntu One does not currently support symlinks or hard links.... | null | null | null | null | user11839 |
29071 | 1 | 29073 | 2011-03-05T00:24:37.850 | 70 | 419834 | <p>Running <code>sudo apt-get update</code> fails on my server (that has an internet connection). Are the servers temporarily broken, or is my APT misconfigured and using old servers? In short, how do I fix this?</p>
<p>Here's the output:</p>
<pre><code>~$ uname -a
Linux nematode 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:41:24 UTC 2010 i686 GNU/Linux
~$ sudo apt-get update
Err http://us.archive.ubuntu.com jaunty Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/main Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/restricted Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/universe Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates/main Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://security.ubuntu.com jaunty-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/main Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/restricted Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/universe Translation-en_US
Could not resolve 'security.ubuntu.com'
Err http://security.ubuntu.com jaunty-security/multiverse Translation-en_US
Could not resolve 'security.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/main/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/restricted/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/universe/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/multiverse/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release.gpg Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/restricted/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/multiverse/i18n/Translation-en_US.bz2 Could not resolve 'us.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/Release.gpg Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/main/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/restricted/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/universe/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jaunty-security/multiverse/i18n/Translation-en_US.bz2 Could not resolve 'security.ubuntu.com'
W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
</code></pre>
| 11844 | 527764 | 2018-05-14T09:08:29.870 | 2022-01-11T17:53:18.273 | `apt-get update` cannot find Ubuntu servers | [
"apt"
] | 15 | 3 | CC BY-SA 4.0 | [
{
"creationDate": "2011-03-05T00:30:49.263",
"id": "32355",
"postId": "29071",
"score": "1",
"text": "What is the output of `cat /etc/resolv.conf`?",
"userDisplayName": null,
"userId": "1859"
},
{
"creationDate": "2016-01-19T15:04:31.093",
"id": "1069315",
"postId": "2907... | {
"accepted": true,
"body": "<p>Can you resolve any of those hosts from the command line?</p>\n\n<pre><code>jinx:775 Z$ ping us.archive.ubuntu.com\nPING us.archive.ubuntu.com (91.189.92.171) 56(84) bytes of data.\n64 bytes from cassava.canonical.com (91.189.92.171): icmp_seq=1 ttl=128 time=104 ms\n</code></pre>\n\n<p>If not, next step is to try <code>host -v</code>:</p>\n\n<pre><code>jinx:776 Z$ host -v us.archive.ubuntu.com\nTrying \"us.archive.ubuntu.com\"\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14243\n;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 0\n\n;; QUESTION SECTION:\n;us.archive.ubuntu.com. IN A\n\n;; ANSWER SECTION:\nus.archive.ubuntu.com. 592 IN A 91.189.88.31\nus.archive.ubuntu.com. 592 IN A 91.189.88.40\nus.archive.ubuntu.com. 592 IN A 91.189.88.45\nus.archive.ubuntu.com. 592 IN A 91.189.88.46\nus.archive.ubuntu.com. 592 IN A 91.189.92.169\nus.archive.ubuntu.com. 592 IN A 91.189.92.170\nus.archive.ubuntu.com. 592 IN A 91.189.92.171\nus.archive.ubuntu.com. 592 IN A 91.189.88.30\n\nReceived 167 bytes from 10.211.55.1#53 in 37 ms\nTrying \"us.archive.ubuntu.com\"\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50130\n;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0\n\n;; QUESTION SECTION:\n;us.archive.ubuntu.com. IN AAAA\n\n;; AUTHORITY SECTION:\nubuntu.com. 1800 IN SOA ns1.canonical.com. hostmaster.canonical.com. 2011030301 10800 3600 604800 3600\n\nReceived 100 bytes from 10.211.55.1#53 in 65 ms\nTrying \"us.archive.ubuntu.com\"\n;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54875\n;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0\n\n;; QUESTION SECTION:\n;us.archive.ubuntu.com. IN MX\n\n;; AUTHORITY SECTION:\nubuntu.com. 1800 IN SOA ns1.canonical.com. hostmaster.canonical.com. 2011030301 10800 3600 604800 3600\n\nReceived 100 bytes from 10.211.55.1#53 in 62 ms\n</code></pre>\n\n<p>Look for errors returned by DNS servers.</p>\n",
"commentCount": "4",
"comments": [
{
"creationDate": "2011-03-05T01:54:59.233",
"id": "32358",
"postId": "29073",
"score": "2",
"text": "I should have mentioned that the `ping` did not resolve either, but that I was able to ping via IP (resolved on a separate machine). Thanks to this help, and the comment by @ændrük, I discovered that somehow my DNS entries were completely useless. Fixing those fixed the problem.",
"userDisplayName": null,
"userId": "11844"
},
{
"creationDate": "2016-07-12T16:50:46.543",
"id": "1202705",
"postId": "29073",
"score": "1",
"text": "Interesting problem: \"host: command not found\"\nBut I can't install it using apt without accepting non-verified packages.",
"userDisplayName": null,
"userId": "507629"
},
{
"creationDate": "2016-08-21T00:02:04.443",
"id": "1232868",
"postId": "29073",
"score": "1",
"text": "no actual commands given here to fix. Just to state when it's working it's working correctly. If I can't ping and can't do `host -v` I'm doomed. What's next? No help whatsoever.",
"userDisplayName": null,
"userId": "326972"
},
{
"creationDate": "2022-11-01T16:35:36.317",
"id": "2509373",
"postId": "29073",
"score": "1",
"text": "Running `host` with the optional DNS server option (`host -v us.archive.ubuntu.com 1.1.1.1`) can help. More info here: https://unix.stackexchange.com/questions/685094/why-host-command-returns-servfail",
"userDisplayName": null,
"userId": "831221"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 2.5",
"creationDate": "2011-03-05T00:51:06.010",
"id": "29073",
"lastActivityDate": "2011-03-05T00:51:06.010",
"lastEditDate": null,
"lastEditorDisplayName": null,
"lastEditorUserId": null,
"ownerDisplayName": null,
"ownerUserId": "11775",
"parentId": "29071",
"postTypeId": "2",
"score": "24"
} | [
{
"accepted": true,
"body": "<p>Can you resolve any of those hosts from the command line?</p>\n\n<pre><code>jinx:775 Z$ ping us.archive.ubuntu.com\nPING us.archive.ubuntu.com (91.189.92.171) 56(84) bytes of data.\n64 bytes from cassava.canonical.com (91.189.92.171): icmp_seq=1 ttl=128 time=104 ms\n</code></... | null | null | null | null | null |
29077 | 1 | null | 2011-03-05T02:09:40.587 | 2 | 239 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/915/is-it-possible-to-install-without-a-cd-or-usb-drive">Is it possible to install without a CD or USB drive?</a> </p>
</blockquote>
<p>I have an Acer Aspire One D255E netbook. Both 10.04 and 10.10 hangs on install from USB, so could not install them. However Ubuntu 9.10 worked and installed. </p>
<p>Then I figured I would just connect to the internet and update. However, the internet does not work (doesn't show up in notification), but it worked when 10.04 and 10.10 where used as a live USB. Is there a way to update by using the 10.04-desktop ISO file from a USB or somewhere in 9.10, say the documents folder?</p>
| null | -1 | 2017-04-13T12:24:49.530 | 2011-03-05T10:41:40.347 | Upgrade without internet & CD | [
"10.10",
"upgrade",
"usb"
] | 0 | 0 | CC BY-SA 2.5 | [] | null | [] | null | 0 | 2012-05-16T19:18:37.373 | null | user11847 |
29079 | 1 | 29096 | 2011-03-05T02:54:21.510 | 285 | 854397 | <p>I've tried to connect to a server via wget:</p>
<pre><code>wget http://<user>:<pass>@serveradress
</code></pre>
<p>But wget responds: invalid port</p>
<p>I know that the server accepts incoming traffic at port 80.
How can I fix this issue?</p>
| 10046 | 169736 | 2014-01-07T15:56:55.573 | 2023-04-25T11:09:20.653 | How do I provide a username and password to wget? | [
"wget"
] | 6 | 2 | CC BY-SA 2.5 | [
{
"creationDate": "2011-03-05T03:02:10.153",
"id": "1061956",
"postId": "29079",
"score": "1",
"text": "I don't think you can reliably use the user:pass@name syntax there; `wget` has separate command line options for those instead, so is probably naively parsing the string after the `:` as a por... | {
"accepted": true,
"body": "<p>Wget interprets <code><pass>@serveraddress</code> as port. To specify a username and password, use the <code>--user</code> and <code>--password</code> switches:</p>\n\n<pre><code>wget --user user --password pass http://example.com/\n</code></pre>\n\n<p>From <a href=\"https://www.gnu.org/software/wget/manual/wget.html\"><code>man wget</code></a>:</p>\n\n<blockquote>\n <p><code>--user=user</code></p>\n \n <p><code>--password=password</code></p>\n \n <p>Specify the username <em>user</em> and password <em>password</em> for both FTP and HTTP file retrieval. These parameters can be overridden using the\n <code>--ftp-user</code> and <code>--ftp-password</code> options for FTP connections and the <code>--http-user</code> and <code>--http-password</code> options for HTTP connections.</p>\n</blockquote>\n",
"commentCount": "5",
"comments": [
{
"creationDate": "2014-04-08T01:23:12.970",
"id": "582474",
"postId": "29096",
"score": "99",
"text": "I prefer the `--ask-password` option described by Nabil Kadimi's answer. It has you enter the password invisibly on another line and avoids storing it in your shell history.",
"userDisplayName": null,
"userId": "168631"
},
{
"creationDate": "2014-04-08T08:58:00.650",
"id": "582685",
"postId": "29096",
"score": "10",
"text": "@Kevin You can avoid storing it in the shell history by starting the line with at least one space (as shown by [Nabil](http://askubuntu.com/a/399927/6969)). If the password/resource is sensitive, then you should worry more about the unencrypted HTTP/FTP/whatever connection than storing it on your disk.",
"userDisplayName": null,
"userId": "6969"
},
{
"creationDate": "2017-07-17T12:21:20.290",
"id": "1484675",
"postId": "29096",
"score": "2",
"text": "I agree to the unencrypted password issue being more important in some cases than the shell history, but the answer is also useful for secure protocols. Also, sometimes you DO have to worry more about spies that have access to your computer than online spies (that are not interested by the content you're accessing or for which you don't care). The --ask-password answer below is clearly better for interactive usage, while the --password answer here is easier for automation. The comment by Ixgr about .wgetrc and chmod is also interesting in some cases.",
"userDisplayName": null,
"userId": "698570"
},
{
"creationDate": "2019-02-19T09:52:55.903",
"id": "1849884",
"postId": "29096",
"score": "0",
"text": "As I understand the manual, pass is not interpreted as port.\n\"You can also encode your username and password within a URL: `http://user:password@host/path`\"\n\" - [manual](https://www.gnu.org/software/wget/manual/wget.html#URL-Format)",
"userDisplayName": null,
"userId": "36618"
},
{
"creationDate": "2020-09-09T14:32:36.137",
"id": "2158537",
"postId": "29096",
"score": "2",
"text": "Beyond shell history command line arguments are viewable by _ps_.",
"userDisplayName": null,
"userId": "516649"
}
],
"communityOwnedDate": null,
"contentLicense": "CC BY-SA 3.0",
"creationDate": "2011-03-05T08:51:53.727",
"id": "29096",
"lastActivityDate": "2016-06-02T07:29:07.853",
"lastEditDate": "2016-06-02T07:29:07.853",
"lastEditorDisplayName": null,
"lastEditorUserId": "75166",
"ownerDisplayName": null,
"ownerUserId": "6969",
"parentId": "29079",
"postTypeId": "2",
"score": "348"
} | [
{
"accepted": true,
"body": "<p>Wget interprets <code><pass>@serveraddress</code> as port. To specify a username and password, use the <code>--user</code> and <code>--password</code> switches:</p>\n\n<pre><code>wget --user user --password pass http://example.com/\n</code></pre>\n\n<p>From <a href=\"ht... | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.