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
4395
1
5628
2010-09-19T21:56:46.927
7
341
<p>Having just written my perfect screenshot tool, I've been trying to work out how it should set itself up for use by people who are not me. Screenshots are traditionally taken by pressing the PrtSc key. So, I could do the following things:</p> <p><strong>As soon as the app is installed, make pressing PrtSc invoke the app</strong></p> <p>Pros: </p> <ul> <li>works immediately, out of the box, as expected. A user installs the app, hits PrtSc, they get the app they've just installed. Hooray.</li> </ul> <p>Cons: </p> <ul> <li>unconditionally overrides any existing setup you have for PrtSc, which might be annoying</li> <li>if you uninstall the app, it won't reset PrtSc to what it was before, which is also annoying</li> <li>problematic for multiple users, because app installation runs under sudo, so how does it know which user's PrtSc setup to override? It's certainly possible to add a gconf key as part of installation, but that may be problematic if two different screenshot apps both try?</li> </ul> <p><strong>On first-run of the app, seize the PrtSc key</strong></p> <p>Pros:</p> <ul> <li>avoids the above problem of wrongly seizing other users' PrtSc keys</li> </ul> <p>Cons:</p> <ul> <li>you have to run the app once manually first, which is annoying (and how do you know how to do that?)</li> <li>will still not restore the old setting if the app is uninstalled</li> </ul> <p><strong>Have a configuration dialog in the app where you configure it to seize PrtSc</strong></p> <p>Pros:</p> <ul> <li>Only seizes PrtSc for people that really want it to</li> </ul> <p>Cons:</p> <ul> <li>you have to run the app once manually first, which is annoying (and how do you know how to do that?)</li> <li>you have to go into a <em>configuration dialog</em> to make the app actually do what it's intended to do; take screenshots when you press PrtSc. Ubuntu is past that <em>configure-everything</em> stage now, surely? How irritating. Not doing this!</li> </ul> <p><strong>Something else I haven't thought of</strong></p> <p>A better cleverer approach that just hasn't dawned on me yet.</p> <p>Suggestions welcomed!</p>
2387
null
null
2010-10-10T14:02:05.467
Should a new screenshot tool automatically set itself to work on pressing the PrtSc key?
[ "configuration", "usability" ]
4
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T04:41:09.250", "id": "4482", "postId": "4395", "score": "0", "text": "Good question, lousy answer: you are treading in very murky waters, go with your first choice and document how to get back to the default, **if** you can identify in which of 5 places the default ...
{ "accepted": true, "body": "<p>I think scenario A and C are the way to go.</p>\n\n<p>You could plug into the <a href=\"http://linux.die.net/man/8/update-alternatives\" rel=\"nofollow noreferrer\">Alternatives system</a> and add the relevant entry to the System → Preferences → Default Applications screen, like this:</p>\n\n<p><img src=\"https://i.stack.imgur.com/VUTPl.png\" alt=\"alt text\"></p>\n\n<p>I believe that setting yourself as default on install is fine, however. Displaying a notice on first run asking each user if they want to use the previous default instead would be nice.</p>\n\n<p>(Is it even possible to add a new entry in that dialog?)</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-10-10T13:52:01.540", "id": "5628", "lastActivityDate": "2010-10-10T14:02:05.467", "lastEditDate": "2010-10-10T14:02:05.467", "lastEditorDisplayName": null, "lastEditorUserId": "1938", "ownerDisplayName": null, "ownerUserId": "1938", "parentId": "4395", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>I will go for a configuration dialog in the app, plus a command line script.</p>\n\n<p>Both should read the previous keyboard shortcut value, store it and restore it when the user asks (or delete the value if no one was present).</p>\n\n<p>The dialog should let final users ad...
null
0
null
null
null
4396
1
4404
2010-09-19T22:36:36.403
28
52962
<p>I have a QEMU virtual machine that uses a qcow2 disk image.</p> <p>How can I mount its filesystem without powering on the virtual machine?</p>
1859
null
null
2019-01-04T03:34:40.147
How do I mount a qcow2 disk image?
[ "mount", "virtualization", "qemu" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>A quick google search turns up the <a href=\"http://manpages.ubuntu.com/manpages/vivid/en/man8/qemu-nbd.8.html\" rel=\"noreferrer\"><code>qemu-nbd</code></a> program, mentioned <a href=\"http://alexeytorkhov.blogspot.com/2009/09/mounting-raw-and-qcow2-vm-disk-images.html\" rel=\"noreferrer\">here</a>. It is part of the <code>qemu-kvm</code> package, so you'll have to install KVM if you aren't using that already. Not sure about any direct GNOME/KDE solutions, if that is what you were looking for. Here is an example for using it:</p>\n\n<pre><code>sudo modprobe nbd\nsudo qemu-nbd -c /dev/nbd0 --read-only /path/to/image.qcow2\nudisksctl mount -b /dev/nbd0p1\n</code></pre>\n", "commentCount": "5", "comments": [ { "creationDate": "2010-09-24T16:03:10.697", "id": "4816", "postId": "4404", "score": "3", "text": "Looks like `qemu-nbd` is the best way to go, as long as I remember to `modprobe nbd` first. `qemu-nbd` fails *silently* if this module has not been loaded!", "userDisplayName": null, "userId": "1859" }, { "creationDate": "2010-09-24T16:54:52.187", "id": "4817", "postId": "4404", "score": "0", "text": "That's unfortunate. You should be able to add `nbd` to `/etc/modules`, anyway.", "userDisplayName": null, "userId": "2038" }, { "creationDate": "2016-11-23T01:49:55.170", "id": "1310903", "postId": "4404", "score": "1", "text": "I wrote a little tool to wrap this up: https://github.com/JonathonReinhart/qcow2-explore", "userDisplayName": null, "userId": "364077" }, { "creationDate": "2020-01-10T14:39:17.913", "id": "2015756", "postId": "4404", "score": "0", "text": "`qemu-nbd` is part of the [`qemu-utils`](https://packages.ubuntu.com/bionic/qemu-utils) package, so no need to install KVM", "userDisplayName": null, "userId": "592747" }, { "creationDate": "2021-02-11T19:35:51.207", "id": "2239816", "postId": "4404", "score": "0", "text": "I must appreciate this very nice, yet simple and powerful answer. It helped me to resolve my issue in a couple of minutes. Thank you Tim Yates.", "userDisplayName": null, "userId": "1173661" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2010-09-20T01:08:31.260", "id": "4404", "lastActivityDate": "2019-01-04T03:34:40.147", "lastEditDate": "2019-01-04T03:34:40.147", "lastEditorDisplayName": null, "lastEditorUserId": "2217", "ownerDisplayName": null, "ownerUserId": "2038", "parentId": "4396", "postTypeId": "2", "score": "27" }
[ { "accepted": true, "body": "<p>A quick google search turns up the <a href=\"http://manpages.ubuntu.com/manpages/vivid/en/man8/qemu-nbd.8.html\" rel=\"noreferrer\"><code>qemu-nbd</code></a> program, mentioned <a href=\"http://alexeytorkhov.blogspot.com/2009/09/mounting-raw-and-qcow2-vm-disk-images.html\" re...
null
null
null
null
null
4398
1
4598
2010-09-19T22:49:02.600
13
45625
<p>I have a VMDK disk image that exists as multiple files:</p> <pre><code>2.0G guest-s001.vmdk 1.8G guest-s003.vmdk 128K guest-s005.vmdk 2.0G guest-s002.vmdk 1.7G guest-s004.vmdk 4.0K guest.vmdk </code></pre> <p>When running <code>qemu-img</code> to convert it to the qcow2 format, which input filename(s) should I specify? Just <code>guest.vmdk</code>, all of them, or something like <code>guest-*.vmdk</code>?</p>
1859
1859
2010-09-20T01:05:31.483
2023-05-24T17:56:57.283
How do I convert a multiple-part VMDK disk image to qcow2?
[ "vmware", "qemu" ]
9
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>In the past, I've had to convert them first to raw images, concatenate them together, and then convert the resulting raw image to qcow2:</p>\n\n<pre><code>qemu-img convert guest-s001.vmdk guest-s0001.raw\nqemu-img convert guest-s002.vmdk guest-s0002.raw\nqemu-img convert guest-s003.vmdk guest-s0003.raw\nqemu-img convert guest-s004.vmdk guest-s0004.raw\nqemu-img convert guest-s005.vmdk guest-s0005.raw\ncat guest-s0001.raw guest-s0002.raw guest-s0003.raw guest-s0004.raw guest-s0005.raw &gt; guest.raw\nqemu-img convert guest.raw guest.qcow2\n</code></pre>\n\n<p>Don't panic if more than just the last file is smaller than 2146762752 bytes. Some VMware products create vmdk spans with different sizes. The size should match 512 times the number of sectors listed in the extent description in the main vmdk file (readable with any text editor or \"cat\").</p>\n\n<p>It may be possible to do this all at once too, but I haven't tried this:</p>\n\n<pre><code>qemu-img convert guest-s001.vmdk guest-s002.vmdk guest-s003.vmdk guest-s004.vmdk guest-s005.vmdk guest.qcow2\n</code></pre>\n\n<p>Or, if they're not actually contiguous disk images, then I'm not sure what to suggest. :)</p>\n\n<p>Good luck!</p>\n\n<hr>\n\n<p>A quick terminal script to convert all of the images at once would be: </p>\n\n<pre><code>for i in *.vmdk; do qemu-img convert -f vmdk $i -O raw $i.raw; done\ncat *.raw &gt; tmpImage.raw\nqemu-img convert tmpImage.raw finalImage.qcow2\nrm *.raw\n</code></pre>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-16T13:17:59.793", "id": "23549", "postId": "4598", "score": "1", "text": "qemu-img convert guest-s001.vmdk guest-s002.vmdk guest-s003.vmdk guest-s004.vmdk guest-s005.vmdk guest.qcow2\r\n\r\n\r\nthis method is possible, quick, comfortable !!!!\r\nThank you :)", "userDisplayName": "Ubuntu Master", "userId": null }, { "creationDate": "2018-11-26T18:10:00.123", "id": "1805528", "postId": "4598", "score": "0", "text": "Love it. consider prepending \"IFS=\\n ;\" to your for loop just in case the vmdk files have spaces in the names. \n`IFS=\\n ; for i in *.vmdk; do qemu-img \nconvert -f vmdk $i -O raw $i.raw; done\n&&\ncat *.raw > tmpImage.raw\n&&\nqemu-img convert tmpImage.raw finalImage.qcow2\n&&\nrm *.raw`", "userDisplayName": null, "userId": "415066" }, { "creationDate": "2021-01-24T13:19:05.980", "id": "2230158", "postId": "4598", "score": "0", "text": "Plain `qemu-img convert guest.vmdk` works, no need to convert/concatenate the individual files. Check the answer below", "userDisplayName": null, "userId": "91770" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-22T23:37:34.553", "id": "4598", "lastActivityDate": "2016-03-19T08:03:54.863", "lastEditDate": "2016-03-19T08:03:54.863", "lastEditorDisplayName": null, "lastEditorUserId": "158442", "ownerDisplayName": null, "ownerUserId": "721", "parentId": "4398", "postTypeId": "2", "score": "16" }
[ { "accepted": true, "body": "<p>In the past, I've had to convert them first to raw images, concatenate them together, and then convert the resulting raw image to qcow2:</p>\n\n<pre><code>qemu-img convert guest-s001.vmdk guest-s0001.raw\nqemu-img convert guest-s002.vmdk guest-s0002.raw\nqemu-img convert gues...
null
null
null
null
null
4400
1
null
2010-09-19T22:51:55.637
15
48255
<p>Is it possible to switch into a Windows environment from Ubuntu without rebooting the computer?</p>
2388
449
2011-01-18T10:23:06.420
2022-12-07T21:32:07.690
How to Switch Between Operating Systems Without Reboot?
[ "virtualization" ]
8
1
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T15:57:07.413", "id": "4504", "postId": "4400", "score": "7", "text": "@dv3500ea Good edit.", "userDisplayName": null, "userId": "449" } ]
null
[ { "accepted": null, "body": "<p>No, not with a dual boot setup. The only way to come close to this is to install Windows in a virtual machine using software such as <a href=\"http://www.virtualbox.org/\" rel=\"nofollow\">Virtualbox</a>. Virtualbox can be installed from the Ubuntu Software Centre (just searc...
null
null
null
null
null
4401
1
null
2010-09-19T23:04:41.523
19
7650
<p>I'm using the <a href="https://help.ubuntu.com/community/AppleKeyboard" rel="noreferrer">Apple slim aluminum keyboard</a>, which doesn't have the <kbd>SysRq</kbd> key:</p> <p><img src="https://i.stack.imgur.com/rxLWE.jpg" alt="Apple slim aluminum keyboard"></p> <p>What key(s) should I press for the <a href="http://en.wikipedia.org/wiki/Magic_SysRq_key" rel="noreferrer">magic SysRq key</a> when I need to type <a href="http://en.wikipedia.org/wiki/Magic_SysRq_key#.22Raising_Elephants.22_mnemonic_device" rel="noreferrer">REISUB</a>?</p>
1859
1859
2010-09-20T05:50:08.430
2022-08-02T22:36:50.863
How do I use REISUB with an Apple slim aluminum keyboard?
[ "keyboard", "reboot" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T13:44:03.567", "id": "1476632", "postId": "4401", "score": "0", "text": "try [this](http://ubuntuforums.org/showthread.php?t=1141316), and see [this](https://bugs.launchpad.net/mactel-support/+bug/262408).. seems that you have few options :(", "userDisplayName":...
null
[ { "accepted": null, "body": "<p>I don't have an aluminum keyboard on hand to test this, but:</p>\n<p><strong>On GNOME Shell</strong>: GNOME Tweaks &gt; Keyboard and Mouse &gt; Additional Layout Options…</p>\n<p><a href=\"https://i.stack.imgur.com/m1twV.png\" rel=\"nofollow noreferrer\"><img src=\"https://i....
null
null
null
null
null
4402
1
5109
2010-09-19T23:14:13.317
2
1209
<p>Hey all, recently I installed the Minecraft .jar and played it. It's a bit of fun, but the coolest thing about it IMO has been the anaglyph 3D option. Yay, a ViewMaster game! Anyway, I'm looking for other anaglyph 3D games and apps. I understand that there's an anaglyph plugin for Compiz as well, although it apparently is an inactive project since 2008.</p> <p>An anaglyph interface for Blender would be severely awesome, right?</p>
2315
866
2010-12-31T08:39:04.037
2011-03-05T15:37:57.203
Searching for anaglyph 3D games and apps
[ "software-recommendation" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-19T23:26:52.493", "id": "4473", "postId": "4402", "score": "0", "text": "Actually, let's open it up a bit- I'm looking for *stereoscopic* games in general, so anaglyph, blue/red, or other filter-type things all are fair game. Feel free to post about shutter glasses too...
{ "accepted": true, "body": "<p>This forum post should help you</p>\n\n<p><a href=\"http://www.mtbs3d.com/phpBB/viewtopic.php?f=3&amp;t=2939&amp;start=0&amp;hilit=linux\" rel=\"nofollow\">http://www.mtbs3d.com/phpBB/viewtopic.php?f=3&amp;t=2939&amp;start=0&amp;hilit=linux</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-10-03T07:56:41.703", "id": "5191", "postId": "5109", "score": "0", "text": "Thanks for the post! Still waiting to hear about anaglyph stuff though...", "userDisplayName": null, "userId": "2315" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-10-03T07:40:24.887", "id": "5109", "lastActivityDate": "2010-10-03T07:40:24.887", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "305", "parentId": "4402", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>This forum post should help you</p>\n\n<p><a href=\"http://www.mtbs3d.com/phpBB/viewtopic.php?f=3&amp;t=2939&amp;start=0&amp;hilit=linux\" rel=\"nofollow\">http://www.mtbs3d.com/phpBB/viewtopic.php?f=3&amp;t=2939&amp;start=0&amp;hilit=linux</a></p>\n", "commentCount": "1"...
null
null
null
null
null
4405
1
4417
2010-09-20T01:21:45.123
6
2544
<p>I'm using System > Preferences > Keyboard > Layout > Options > Ctrl key position > Swap <kbd>Ctrl</kbd> and <kbd>CapsLock</kbd>, which works great for X.</p> <p>How can I get the same for virtual consoles (<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F1</kbd>, etc.)?</p>
null
17739
2011-10-27T18:44:25.837
2011-10-27T18:44:25.837
Swap capslock and control in virtual consoles
[ "10.04", "keyboard", "capslock", "virtual-console" ]
1
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<ol>\n<li>Set your preferred keyboard options: System > Preferences > Keyboard > Layouts > Options</li>\n<li>Apply the layout and options system-wide: System > Preferences > Keyboard > Layouts > Apply System-Wide</li>\n<li>Reboot for the changes to take effect in the virtual consoles.</li>\n</ol>\n\n<p>To double-check that the settings have been applied, look for <code>XKBOPTIONS=\"ctrl:swapcaps\"</code> in <code>/etc/default/console-setup</code>. (Alternatively, if you know what you're doing you can go ahead and just edit this file directly.)</p>\n", "commentCount": "7", "comments": [ { "creationDate": "2010-09-20T15:16:12.393", "id": "4501", "postId": "4417", "score": "0", "text": "This does work, but I am looking for a way to affect only the virtual consoles instead of also all the accounts on the system when using X. (I only have a handful here, so I just reset them after this.)", "userDisplayName": "Roger Pate", "userId": null }, { "creationDate": "2010-09-20T15:19:13.353", "id": "4502", "postId": "4417", "score": "0", "text": "I see (since /etc/ is an hg repo using etckeeper) this modifies /etc/default/console-setup and /etc/console-setup/cached.kmap.gz. If I was to modify the former myself, what command generates the latter cached.kmap.gz?", "userDisplayName": "Roger Pate", "userId": null }, { "creationDate": "2010-09-20T19:53:19.287", "id": "4527", "postId": "4417", "score": "0", "text": "Actually, I put that in a [separate question](http://ubuntu.stackexchange.com/questions/4454/how-does-etc-defaut-console-setup-work).", "userDisplayName": "Roger Pate", "userId": null }, { "creationDate": "2017-04-11T19:55:23.253", "id": "1417569", "postId": "4417", "score": "0", "text": "why is this wrong answer still up? The OP asked about virtual consoles, not about terminals in X.", "userDisplayName": null, "userId": "410598" }, { "creationDate": "2017-04-12T23:36:41.780", "id": "1418563", "postId": "4417", "score": "0", "text": "@JayEye Can you be more precise about what's wrong with it? As far as I know it does (or did seven years ago) impart the desired change in both X terminal emulators and virtual consoles.", "userDisplayName": null, "userId": "1859" }, { "creationDate": "2017-04-14T06:01:27.313", "id": "1419673", "postId": "4417", "score": "0", "text": "XKBOPTIONS, like the name says, is about the X keyboard. It has no place in /etc/default/console-setup, and indeed it does not appear in the man page for console-setup.", "userDisplayName": null, "userId": "410598" }, { "creationDate": "2017-04-14T17:30:12.667", "id": "1420132", "postId": "4417", "score": "0", "text": "@JayEye In 10.04 `/etc/default/console-setup` contains `XKBOPTIONS` by default and includes an explanation that it \"can have the same values as [...] in /etc/X11/xorg.conf\". https://paste.ubuntu.com/24381625/", "userDisplayName": null, "userId": "1859" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-20T06:23:41.220", "id": "4417", "lastActivityDate": "2010-09-20T14:19:36.220", "lastEditDate": "2010-09-20T14:19:36.220", "lastEditorDisplayName": null, "lastEditorUserId": "1859", "ownerDisplayName": null, "ownerUserId": "1859", "parentId": "4405", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<ol>\n<li>Set your preferred keyboard options: System > Preferences > Keyboard > Layouts > Options</li>\n<li>Apply the layout and options system-wide: System > Preferences > Keyboard > Layouts > Apply System-Wide</li>\n<li>Reboot for the changes to take effect in the virtual con...
null
null
null
Roger Pate
Roger Pate
4406
1
4541
2010-09-20T01:24:25.793
5
3157
<p>After upgrading to 10.04, Ubuntu takes a long time (1-2 minutes) to login after typing the credentials. The majority of this time the dialog box says "checking credentials". How do I even go about debugging what is going on here? This is a very snappy system, but apparently something is hanging or not responding during the login.</p> <p>Here's my :0-greeter.log. Any ideas?</p> <pre><code>Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/1046b54d5b8b97fbb2128498129581685800000016580008.ms: Failed to open file '/var/lib/gdm/.config/metacity/sessions/1046b54d5b8b97fbb2128498129581685800000016580008.ms': No such file or directory ** (process:1742): DEBUG: Greeter session pid=1742 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-pWDXxn/database (gnome-power-manager:1745): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `proxy-status' is invalid for instance `0x21f5160' ** (gnome-power-manager:1745): WARNING **: Either HAL or DBUS are not working! ** (gnome-power-manager:1745): WARNING **: proxy failed ** (gnome-power-manager:1745): WARNING **: failed to get Computer root object ** (gnome-power-manager:1745): WARNING **: proxy NULL!! gdm-simple-greeter[1742]: Gtk-WARNING: /build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:5636: widget not within a GtkWindow Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xe00046 (Login Wind) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xe00046 (Login Wind) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. (gnome-settings-daemon:1666): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private-&gt;update_and_descendants_freeze_count &gt; 0' failed Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xe00046 (Login Wind) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. Window manager warning: CurrentTime used to choose focus window; focus window may not be correct. Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen! (gnome-power-manager:1745): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed </code></pre>
739
235
2010-09-21T14:04:19.857
2010-09-22T01:16:06.707
Takes forever to login?
[ "10.04", "login-screen", "gdm" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>There were some great tips here, and I wish I could do more than just upvote. However, the real problem which I discovered thanks to msw, was this bug <a href=\"https://bugs.launchpad.net/ubuntu/+source/samba/+bug/584428\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/samba/+bug/584428</a></p>\n\n<p>To solve it, I commented out this line in /etc/pam.d/common-auth</p>\n\n<pre><code>auth optional pam_smbpass.so migrate\n</code></pre>\n\n<p>I don't understand why this causes problems; I never used samba for login authentication on this machine.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-22T02:12:54.340", "id": "4660", "postId": "4541", "score": "0", "text": "+1: self answers are good for StackOverflow (and glad you found the trouble)", "userDisplayName": null, "userId": "1078" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T01:16:06.707", "id": "4541", "lastActivityDate": "2010-09-22T01:16:06.707", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "739", "parentId": "4406", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>As a start, try perusing <code>/var/log/gdm/:0-greeter.log</code>. See if you can spot the delay by following the timestamps in <code>/var/log/auth.log</code>.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-21T05:55:09.877", ...
null
null
null
null
null
4408
1
4412
2010-09-20T02:01:27.663
754
1019747
<p>All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when...</p> <ul> <li>just one program stops responding?</li> <li>nothing at all responds to mouse clicks or key presses?</li> <li>the mouse stops moving entirely?</li> <li>I have an <a href="https://ark.intel.com/products/codename/55844/Bay-Trail#@nofilter" rel="noreferrer">Intel Bay Trail CPU?</a></li> </ul> <p>In what order should I try various solutions before deciding to pull the power plug?</p> <p>What should I do when starting up Ubuntu fails? Is there a diagnostic procedure I can follow?</p>
1859
527764
2021-09-25T03:15:28.980
2024-03-25T09:26:15.507
What should I do when Ubuntu freezes?
[ "freeze", "performance", "bug-reporting" ]
47
4
CC BY-SA 3.0
[ { "creationDate": "2017-09-09T20:06:41.910", "id": "1521417", "postId": "4408", "score": "5", "text": "Related (on [unix.se]): [How to fix non-responsive Ubuntu system?](https://unix.stackexchange.com/questions/39846/how-to-fix-non-responsive-ubuntu-system)", "userDisplayName": null, "us...
{ "accepted": true, "body": "<h2>When a single program stops working:</h2>\n\n<p>When a program window stops responding, you can usually stop it by clicking the X-shaped close button at the top left of the window. That will generally result in a dialog box saying that the program is not responding (but you already knew that) and presenting you with the option to kill the program or to continue to wait for it to respond. </p>\n\n<p>Sometimes this does not work as expected. If you can't close a window by normal means, you can hit <kbd>Alt</kbd>+<kbd>F2</kbd>, type <code>xkill</code>, and press <kbd>Enter</kbd>. Your mouse cursor will then turn into an <strong>X</strong>. Hover over the offending window and left-click to kill it. Right clicking will cancel and return your mouse to normal.</p>\n\n<p>If your program is running from a terminal, on the other hand, you can usually halt it with <kbd>Ctrl</kbd>+<kbd>C</kbd>. If not, <a href=\"https://askubuntu.com/q/180336/\">find the name and process ID of its command</a>, and tell the program to end as soon as possible with <code>kill [process ID here]</code>. It sends the default signal <code>SIGTERM</code> (<code>15</code>). If all else fails, as a last resort send <code>SIGKILL</code> (<code>9</code>): <code>kill -9 [process ID here]</code>. Note that you should only use <code>SIGKILL</code> as a last resort, because the process will be terminated immediately by the kernel with no opportunity for cleanup. It does not even get the signal - it just stops to exist. </p>\n\n<p>(Killing a process by <code>kill -9</code> allways works if you have the permission to kill. In some special cases the process is still listed by <code>ps</code> or <code>top</code> (as \"zombie\") - in this case, the program was killed, but the process table entry is kept, becuse it's needed later.)</p>\n\n<h2>When the mouse stops working:</h2>\n\n<p>If the keyboard still works, press <kbd>Alt</kbd>+<kbd>F2</kbd> and run <code>gnome-terminal</code> (or, if these fail to launch, press <kbd>Alt</kbd>+<kbd>Ctrl</kbd>+<kbd>F1</kbd> and login with your <em>username</em> and <em>password</em>). From there you can troubleshoot things. I'm not going to get into mouse troubleshooting here, as I haven't researched it. If you just want to try restarting the GUI, run <code>sudo service lightdm restart</code>. This should bring down the GUI, which will then attempt to respawn, bringing you back to the login screen.</p>\n\n<h2>When you have an Intel Bay Trail CPU</h2>\n\n<p>See <a href=\"https://askubuntu.com/a/803649/225694\">https://askubuntu.com/a/803649/225694</a>.</p>\n\n<h2>When everything, keys and mouse and all, stop working:</h2>\n\n<p>First try the Magic SysReq method outlined in <a href=\"https://askubuntu.com/a/36717/6969\">Phoenix' answer</a>. If that doesn't work, press the <strong>Reset</strong> button on the computer case. If even that doesn't work, you'll just have to <em>power-cycle</em> the machine.<br>\n<strong><em>May you never reach this point.</em></strong></p>\n", "commentCount": "13", "comments": [ { "creationDate": "2011-06-04T13:45:56.563", "id": "51641", "postId": "4412", "score": "10", "text": "I've recently discovered that, rather than the \"ps $options | grep $process_name\" referenced above, one can just enter \"pgrep $process_name\" to achieve approximately the same result (for certain values of $options).", "userDisplayName": null, "userId": "2315" }, { "creationDate": "2012-09-03T18:36:34.287", "id": "228851", "postId": "4412", "score": "0", "text": "@Chan-Ho Suh Not being able to start up isn't really \"freezing\". We cover failure to boot in http://askubuntu.com/questions/162075/my-computer-boots-to-a-black-screen-what-options-do-i-have-to-fix-it. Or do you mean freezing on login?", "userDisplayName": null, "userId": "24694" }, { "creationDate": "2012-09-28T04:18:23.460", "id": "240744", "postId": "4412", "score": "7", "text": "One should never recommend `kill -9` right off the bat. Once should instead attempt to kill the process with less drastic signals first, and only use -9 if all else fails.", "userDisplayName": null, "userId": "13398" }, { "creationDate": "2012-10-17T11:48:44.453", "id": "251536", "postId": "4412", "score": "0", "text": "Why REISUB is useful when the system freezed? I can't find which option in REISUB can get control back to my own except reboot. Thank you~", "userDisplayName": null, "userId": "23864" }, { "creationDate": "2013-07-09T23:04:44.867", "id": "403500", "postId": "4412", "score": "2", "text": "`sudo service lightdm restart`: Not awesome - will kill all gui processes in Ubuntu 13.04 at least - for me that included running Virtual Machines etc :(", "userDisplayName": null, "userId": "19802" }, { "creationDate": "2014-11-02T06:06:39.867", "id": "746083", "postId": "4412", "score": "0", "text": "In case of temporary hangs when the storge media is being used constantly especially if it is slow (flash card / stick) you can try reducing the memory allocated to dirty bytes to about 4 MB. In /etc/sysctl.conf write vm_dirty_bytes = 4194304 and vm.dirty_background_bytes = 1048576 also reduce waiting time to 3 seconds vm.dirty_expire_centisecs = 300 and vm.dirty_writeback_centisecs = 300 (increasing the buffer makes the freezes longer and less frequent !)", "userDisplayName": null, "userId": "4782" }, { "creationDate": "2015-05-20T01:10:34.053", "id": "887967", "postId": "4412", "score": "0", "text": "@sam the `S` and `U` in `REISUB` take care that the harddisk write operations get finished before reboot, to avoid inconsistent, half-written data. The harddisk writes could take very long in the case that the system is \"almost hanging\" in some lowlevel way.", "userDisplayName": null, "userId": "260447" }, { "creationDate": "2015-05-20T02:54:38.470", "id": "887982", "postId": "4412", "score": "0", "text": "@ScottSeverance Very true - but the Answer says to first try `kill` without giving signal. That will use the default signal `SGTERM`, which is the right one to try before `SIGKILL`, I think.", "userDisplayName": null, "userId": "260447" }, { "creationDate": "2015-05-20T03:15:07.863", "id": "887986", "postId": "4412", "score": "0", "text": "For a command not running in a terminal, no need to try `SIGHUP`, it's saying the connection dropped (\"hangup\"), like when you see `CARRIER LOST` on a dialin modem connection. (Some daemons reread configuration `SIGHUP`.) The default signal, `SIGTEM` is telling the program \"terminate as soon as possible\" - so it can do important cleanup before. `SIGKILL` does not tell the programm anything - it tells the kernel \"delete that program\" - so it just stops to exist. It will just never get a next CPU cycle. So it can not do any, because it never finds out that it will stop to exist. (I'll edit.)", "userDisplayName": null, "userId": "260447" }, { "creationDate": "2017-07-14T10:23:11.930", "id": "1483048", "postId": "4412", "score": "6", "text": "\"May you never reach this point.\" In most Linuxes, this is the only point reached. I have never seen a Linux freeze that can be fixed.", "userDisplayName": null, "userId": "684010" }, { "creationDate": "2019-05-28T21:25:37.833", "id": "1904471", "postId": "4412", "score": "2", "text": "I must say this Alt+F2, type xkill was a crazy thing i didn't knew, totally saved the day", "userDisplayName": null, "userId": "746916" }, { "creationDate": "2019-08-21T17:42:33.533", "id": "1947221", "postId": "4412", "score": "1", "text": "Go out of your house and turn the power board switch off, works every time ;)", "userDisplayName": null, "userId": "750185" }, { "creationDate": "2020-07-24T03:24:09.317", "id": "2133047", "postId": "4412", "score": "0", "text": "and: \"When only the keyboard stop working, the task bar and the current window stop responding?", "userDisplayName": null, "userId": "734218" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-20T04:25:11.940", "id": "4412", "lastActivityDate": "2017-11-07T19:41:03.080", "lastEditDate": "2017-11-07T19:41:03.080", "lastEditorDisplayName": null, "lastEditorUserId": "195768", "ownerDisplayName": null, "ownerUserId": "2315", "parentId": "4408", "postTypeId": "2", "score": "487" }
[ { "accepted": null, "body": "<p>To diagnose the freezes you should be able to use the net console (or serial serial console for that matter). Follow the set up instructions outlined <a href=\"https://wiki.ubuntu.com/Kernel/Netconsole\">here</a>.</p>\n", "commentCount": "2", "comments": [ { ...
null
null
null
null
null
4410
1
4440
2010-09-20T04:11:44.750
7
2467
<p>The only way I've seen how to empty the trash is to use the Empty Trash button that is displayed after choosing Go | Trash in Nautilus. If there are too many items in the trash it can take a long time for the list of files to load, especially when Nautilus defaults to generating thumbnails.</p> <p>Is there a way to empty the trash that doesn't require opening it first?</p>
1859
null
null
2019-11-21T00:23:01.590
How can I empty the trash without first opening it?
[ "nautilus", "performance", "cleanup" ]
5
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>If you enable a trash icon on the desktop, You can right click on it and select 'Empty Deleted Items'. Also, within the file manager, you don't have to navigate into the Deleted Items folder; you can right click on the Deleted Items place on the left hand side and select 'Empty Deleted Items'.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-20T22:02:13.377", "id": "4534", "postId": "4440", "score": "0", "text": "Just what I'm looking for. I hadn't seen it as I usually keep the side pane set to Tree.", "userDisplayName": null, "userId": "1859" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-20T16:23:39.897", "id": "4440", "lastActivityDate": "2010-09-20T16:23:39.897", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "667", "parentId": "4410", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>If you have the \"Trash Applet\" on the lower right of the screen by default, you can right-click and get a menu with \"Empty Trash\". In the shell you can just</p>\n\n<pre><code>$ empty-trash\n</code></pre>\n", "commentCount": "2", "comments": [ { "crea...
null
null
null
null
null
4415
1
4416
2010-09-20T05:00:32.323
6
131
<p>Recently I downloaded and installed the Ubuntu 10.10 beta CD. There was a problem with both my wired and wireless network adaptors during the installation which I'm hoping is resolved in a later beta release.</p> <p>How can I determine when a later beta release is available?</p>
1836
169736
2014-02-03T02:59:57.703
2014-02-03T02:59:57.703
How do I know when a new beta CD is released?
[ "release-management" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>See the <a href=\"https://wiki.ubuntu.com/MaverickReleaseSchedule\" rel=\"nofollow\">Maverick Release Schedule</a> (via <a href=\"https://wiki.ubuntu.com/Releases\" rel=\"nofollow\">Releases</a> --> <a href=\"https://wiki.ubuntu.com/MaverickMeerkat\" rel=\"nofollow\">MaverickMeerkat</a> --> <a href=\"https://wiki.ubuntu.com/MaverickReleaseSchedule\" rel=\"nofollow\">MaverickReleaseSchedule</a>).</p>\n\n<p>The next CD released will be the Release Canditate, on September 30th.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-20T05:16:29.073", "id": "4416", "lastActivityDate": "2010-09-20T05:16:29.073", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1859", "parentId": "4415", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>See the <a href=\"https://wiki.ubuntu.com/MaverickReleaseSchedule\" rel=\"nofollow\">Maverick Release Schedule</a> (via <a href=\"https://wiki.ubuntu.com/Releases\" rel=\"nofollow\">Releases</a> --> <a href=\"https://wiki.ubuntu.com/MaverickMeerkat\" rel=\"nofollow\">Maverick...
null
null
null
null
null
4419
1
4618
2010-09-20T07:35:05.037
3
3682
<p>when I closed the empathy messenger client, a little icon used to show up as a notification. When I got incoming chats, the icon used to start flashing. I reorganized content on my panel and now that functionality is gone! I tried adding "Indicator-Applet" to the panel but all this does is show up an envelope which lights up when there is some activity on empathy. I want to use the Empathy voice bubble icon instead. Any tips appreciated.</p> <p>I am using Ubuntu Lucid Lynx 10.0.4.</p>
2321
null
null
2010-09-23T10:50:21.867
Empathy icon not displayed in gnome panel
[ "10.04", "notification", "empathy", "gnome-panel" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T11:59:07.310", "id": "4493", "postId": "4419", "score": "0", "text": "remove that envelope if you want with sudo apt-get remove indicator-messages...", "userDisplayName": null, "userId": "1543" }, { "creationDate": "2010-09-23T11:31:06.653", "id"...
{ "accepted": true, "body": "<p>Solved. These are the steps I followed:</p>\n\n<ol>\n<li>Quit Empathy if it is running.</li>\n<li>Launch Empathy. Then, Edit -> Preferences -> Notifications. Uncheck the \"Show incoming messages in the messaging menu\" box.\nThis will put up the Empathy bubble notification icon in the panel.</li>\n</ol>\n\n<p>The process will work irrespective of whether you have the Indicator-Applet added to your panel or not.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-23T10:50:21.867", "id": "4618", "lastActivityDate": "2010-09-23T10:50:21.867", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2321", "parentId": "4419", "postTypeId": "2", "score": "6" }
[ { "accepted": null, "body": "<p>I wouldn't remove the indicator-applet, as it also is your sound menu and power indicator.</p>\n\n<p>Check this <a href=\"https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/533109\" rel=\"nofollow\">bug</a> out on Launchpad. Is it the same as you're reporting? If it is,...
null
null
null
null
null
4420
1
4421
2010-09-20T07:50:40.260
14
13639
<p>I was wondering if there was a standard location for storing user level application data. What I mean by that is stuff like Firefox bookmarks, Skype message history/password, etc. I'm asking because I am not sure if I should go with home directory encryption vs full disk encryption.</p>
2331
235
2011-10-10T16:13:17.467
2011-10-10T16:13:17.467
Where do applications typically store data?
[ "encryption", "settings", "application-development", "user-data" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>From the examples you have provided, I take it that you mean application data specific to a certain user's configuration, usage or the data owned by the user (e.g., mail messages, templates, themes). In this case, these data are stored in the user's home directory as &quot;dot-files&quot; or inside an application-specific &quot;dot-directory&quot;.</p>\n<p>Quoting from the <a href=\"http://www.pathname.com/fhs/pub/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES\" rel=\"noreferrer\">Unix file-system hierarchy standard</a>:</p>\n<blockquote>\n<p>/home : User home directories (optional)</p>\n<h3>Purpose</h3>\n<p>/home is a fairly standard concept, but it is clearly a site-specific filesystem. The setup will differ from host to host. Therefore, no program should rely on this location.</p>\n<h3>Requirements</h3>\n<p>User specific configuration files for applications are stored in the user's home directory in a file that starts with the '.' character (a &quot;dot file&quot;). If an application needs to create more than one dot file then they should be placed in a subdirectory with a name starting with a '.' character, (a &quot;dot directory&quot;). In this case the configuration files should not start with the '.' character.</p>\n</blockquote>\n<p>The <a href=\"http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/home.html\" rel=\"noreferrer\">linux file-system hierarchy</a> standard also states almost the same thing.</p>\n<p>For example, the user's configuration for the vim editor is stored in .vimrc inside the home directory, the firefox profile (containing among other things the users bookmarks and history information) is stored <a href=\"http://kb.mozillazine.org/Profile_folder_-_Firefox#Linux\" rel=\"noreferrer\">in a separate directory </a> within the user's home-directory (~/.mozilla/firefox/<code>&lt;randomstring&gt;</code>.default)</p>\n<p>Typically all applications will store information about user initiated sessions, passwords etc within the user's home directory in such &quot;dot-files/ directories&quot;.</p>\n<p>So (extrapolating a bit), if you want just enough encryption that user-specific data is protected, then home directory encryption alone would suffice.</p>\n<p>Having said that, it is possible, like with all things linux, to customize and override the default location and choose to store these application specific user-data elsewhere. However, in Ubuntu, that needs to be explicitly done by the user.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-20T08:24:21.280", "id": "4421", "lastActivityDate": "2010-09-20T08:30:03.367", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "270", "parentId": "4420", "postTypeId": "2", "score": "14" }
[ { "accepted": true, "body": "<p>From the examples you have provided, I take it that you mean application data specific to a certain user's configuration, usage or the data owned by the user (e.g., mail messages, templates, themes). In this case, these data are stored in the user's home directory as &quot;do...
null
null
null
null
null
4422
1
4603
2010-09-20T08:46:06.407
3
698
<p>I run conky in its own window of type "panel". My conkyrc (configuration #1) is pasted below - this was created with the help of the <a href="http://code.google.com/p/conkywizard/" rel="nofollow noreferrer">ConkyWizard</a> application and then tweaked to add a few additional information I needed.</p> <p>I use <code>own_window_type panel</code> as an explicit setting to avoid maximized windows from overlapping conky. However with the configuration #1 this is not happenning. However, when I use configuration #2 (pasted below configuration #1) then conky starts up in a panel and prevents maximized windows from overlapping it.</p> <h2>Configuration #1</h2> <pre><code># Generated with Conky Wizard # Copyright (C) 2010 José David Abad García # GPL Version 3 # # WARNING! All changes made in this file will be lost if the program runs again! # Default Fonts use_xft yes xftfont Droid Sans:size=9 override_utf8_locale yes # Performance Settings update_interval 1.5 total_run_times 0 double_buffer yes no_buffers yes net_avg_samples 2 text_buffer_size 1024 # Size and position minimum_size 210 779 gap_x 1 gap_y 21 alignment br # Window Settings own_window yes own_window_class Conky # Change this to override to make this a background window own_window_type panel own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Window border draw_borders no draw_shades no # Default Color default_color E0DFDE # Color Title. color0 DD3A21 TEXT ${image ~/.ConkyWizardTheme/pix/background.png -p 0,0 -s 256x779} ${GOTO 36}Kernel:${GOTO 120}${kernel} ${GOTO 36}CPU 1:${GOTO 120}${cpubar cpu1 10,75} ${cpu cpu1} % ${GOTO 36}CPU 2:${GOTO 120}${cpubar cpu2 10,75} ${cpu cpu2} % ${GOTO 36}Load:${GOTO 120}${loadavg} ${GOTO 36}CPU Graph:${GOTO 120}${cpugraph -t 10,75 B7B2AD B7B2AD} ${GOTO 36}RAM:${GOTO 120}${membar 10,75} ${memperc} % ${GOTO 36}SWAP:${GOTO 120}${swapbar 10,75} ${GOTO 36}Uptime:${GOTO 120}${uptime} ${GOTO 36}${font Droid Sans:bold:size=12}${color0}Disks${font}${color} ${GOTO 36}System (/):${GOTO 120}${fs_free /} free ${GOTO 36}${GOTO 60}${fs_bar 10,100 /} ${GOTO 36}Home (/data):${GOTO 120}${fs_free /data} free ${GOTO 36}${GOTO 60}${fs_bar 10,100 /data} ${GOTO 36}${font Droid Sans:bold:size=12}${color0}Network${font}${color} ${GOTO 36}Upspeed:${GOTO 120}${upspeedgraph wlan0 10,75 B7B2AD B7B2AD} ${GOTO 36}Downspeed:${GOTO 120}${downspeedgraph wlan0 10,75 B7B2AD B7B2AD} ${GOTO 36}Uploaded:${GOTO 120}${totalup wlan0} ${GOTO 36}Downloaded:${GOTO 120}${totaldown wlan0} ${GOTO 36}Local IP:${GOTO 120}${addr wlan0} ${GOTO 36}Public IP:${GOTO 120}${execi 10000 ~/.ConkyWizardTheme/scripts/ip.sh} ${GOTO 36}${font Droid Sans:bold:size=12}${color0}Temperatures${font}${color} ${GOTO 36}CPU 0:${GOTO 120}${execi 4 sensors | grep -A 0 'Core 0' | cut -c15-18} ºC ${GOTO 36}CPU 1:${GOTO 120}${execi 4 sensors | grep -A 0 'Core 1' | cut -c15-18} ºC ${GOTO 36}Hard disk:${GOTO 120}${execi 4 sensors | grep -A 0 'temp1' | cut -c15-18} ºC ${GOTO 36}${font Droid Sans:bold:size=12}${color0}Time and date${font}${color} ${font Droid Sans:bold:size=9}${GOTO 36}${time %H:%M:%S} ${time %d/%m/%Y} ${time [%y%V.%w]}$font ${GOTO 36}${time %A}, ${time %d} ${time %B} ${time %Y} ${GOTO 36}${font Droid Sans:bold:size=12}${color0}Top Processes${font}${color} ${GOTO 36}Top CPU Users PID CPU% ${GOTO 36}${top name 1} ${top pid 1} ${top cpu 1} ${GOTO 36}${top name 2} ${top pid 2} ${top cpu 2} ${GOTO 36}${top name 3} ${top pid 3} ${top cpu 3} ${GOTO 36}${top name 4} ${top pid 4} ${top cpu 4} ${GOTO 36}${font Droid Sans:bold:size=12}${color0}AT Queue (${execi 30 atq | wc -l} Jobs)${font}${color} ${GOTO 36}${execi 30 for w in `atq | cut -f1` ; do echo $w `at -c $w | tail -2 | fold -w35 | tail -2`; done | sort | head -5} </code></pre> <h2>Configuration #2</h2> <pre><code>alignment mr background no double_buffer yes border_width 1 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no # Amplifies text if yes draw_shades no # Use Xft ? use_xft yes xftfont Droid Sans Mono:size=8 xftalpha 0.8 text_buffer_size 2048 gap_x 0 gap_y 0 minimum_size 5 5 net_avg_samples 2 no_buffers yes out_to_console no out_to_stderr no extra_newline no own_window yes own_window_class Conky # Change this to override to make this a background window own_window_type panel own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager stippled_borders 0 update_interval 1.5 uppercase no # set to yes if you want all text to be in uppercase use_spacer right show_graph_scale no show_graph_range no TEXT ${font size=10}${time %b %d %k:%M:%S %y%V.%w} $font $sysname $kernel ${color orange}SYSTEM ${hr 2}$color ${color grey}Uptime:$color $uptime_short ${freq}MHz Load: ${loadavg} Temp: ${acpitemp} $cpubar ${cpugraph 000000 ffffff} ${color grey}RAM Usage:$color $mem/$memmax$alignr - $memperc% ${color #D47D4E}${membar 4}$color ${color grey}Swap Usage:$color $swap/$swapmax$alignr - $swapperc% ${color red}${swapbar 4}$color ${color grey}CPU Usage:$color $cpu% ${cpubar 4} ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes ${color orange}FILE SYSTEMS ${hr 2}$color ${color grey} Root: $color${fs_free_perc /}% ${fs_bar 6 /} ${color grey} sda7: $color${fs_free_perc /data}% ${fs_bar 6 /data} ${color orange}NETWORK ${hr 2}$color ${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0} ESSID: $alignr ${wireless_essid wlan0} Connection quality: $alignr ${wireless_link_qual_perc wlan0}% ${wireless_link_bar wlan0} ${downspeedgraph wlan0} DLS:${downspeed wlan0}/s $alignr total: ${totaldown wlan0} ${upspeedgraph wlan0} ULS:${upspeed wlan0}/s $alignr total: ${totalup wlan0} ${color orange}TOP OF THE TOPS ${hr 2}$color ${color orange}Top CPU Users PID CPU% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${color orange}Top Mem Users PID MEM% ${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem mem 1} ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem mem 2} ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem mem 3} ${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem mem 4} </code></pre> <h2>Screenshot with Configuration #2 (desired behaviour)</h2> <p><img src="https://i.stack.imgur.com/2xE6z.png" alt="Desktop screenshot showing maximized window and conky"></p>
270
270
2010-09-21T13:50:14.710
2010-09-23T07:20:45.563
How can I prevent maximized windows from overlapping conky window
[ "panel", "conky" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I found the offending configuration that was causing this. Once I found it, it seemed obvious, but until then I was losing hair big time :-).</p>\n\n<p>I had to change</p>\n\n<pre><code>alignment br\n</code></pre>\n\n<p>to</p>\n\n<pre><code>alignment mr\n</code></pre>\n\n<p>In order to prevent maximised windows from overlapping, I figure conky has to be aligned with one of the 4 <strong>sides</strong> and not any of the <strong>corners</strong> (as in top_right, bottom_right etc.). Now I have the desired behaviour as shown in the screenshot. :-)\n<img src=\"https://i.stack.imgur.com/fUQrQ.png\" alt=\"Screenshot with conky fixed!\"></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-23T07:20:45.563", "id": "4603", "lastActivityDate": "2010-09-23T07:20:45.563", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "270", "parentId": "4422", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>I found the offending configuration that was causing this. Once I found it, it seemed obvious, but until then I was losing hair big time :-).</p>\n\n<p>I had to change</p>\n\n<pre><code>alignment br\n</code></pre>\n\n<p>to</p>\n\n<pre><code>alignment mr\n</code></pre>\n\n<p>I...
null
null
null
null
null
4428
1
4430
2010-09-20T11:59:15.137
642
550289
<p>How can I record my screen on Ubuntu? </p> <p>The app I'm looking for has ideally all of these features:</p> <ol> <li>Can record in a format that can be played back easily on any platform and/or accepted by YouTube or another popular video site</li> <li>Can record just a window (instead of the whole screen), possibly selecting it with a mouse click</li> <li>Can start recording after a configurable delay (e.g., I launch the app and have time to do arrangements to my desktop/window before actual recording starts)</li> </ol>
325
527764
2017-08-10T15:07:42.007
2023-12-23T18:48:10.767
How can I record my screen?
[ "software-recommendation", "screencast", "desktop-recording" ]
28
3
CC BY-SA 3.0
[ { "creationDate": "2017-10-09T02:25:08.917", "id": "1540779", "postId": "4428", "score": "1", "text": "Take a look to [this ranking](https://www.slant.co/topics/1405/~screen-recorders-for-linux).", "userDisplayName": null, "userId": "349837" }, { "creationDate": "2020-05-22T18:32...
{ "accepted": true, "body": "<h1><a href=\"http://recordmydesktop.sourceforge.net/about.php\" rel=\"noreferrer\">gtk-recordmydesktop</a> <a href=\"http://apt.ubuntu.com/p/gtk-recordmydesktop\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/vyWhw.png\" alt=\"install gtk-recordmydesktop\" /></a></h1>\n<blockquote>\n<p>Adds an easy to use graphical icon on the GNOME toolbar to make a pleasure use and configure the audio and video capture and screencast application recordMyDesktop.</p>\n</blockquote>\n<p><a href=\"https://i.stack.imgur.com/IkpvS.png\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/IkpvS.png\" alt=\"enter image description here\" /></a></p>\n<p>As mentioned at <a href=\"https://askubuntu.com/questions/1236345/20-04-cant-install-gtk-recordmydesktop\">20.04: Can&#39;t install gtk-recordmydesktop</a> and on the <a href=\"https://packages.ubuntu.com/search?keywords=gtk-recordmydesktop&amp;searchon=names\" rel=\"noreferrer\">package search</a>, the package is not available on the main repository anymore, and <code>sudo apt install gtk-recordmydesktop</code> fails. I'm not sure why the <a href=\"http://apt.ubuntu.com/p/gtk-recordmydesktop\" rel=\"noreferrer\">http://apt.ubuntu.com/p/gtk-recordmydesktop</a> link seems to work, maybe it installs an older version. But this indicates that the software is not being actively supported.</p>\n<h1>recordmydesktop</h1>\n<p>This is the non-GUI backend of <code>recordmydesktop</code>, and it is <a href=\"https://packages.ubuntu.com/search?keywords=recordmydesktop&amp;searchon=names\" rel=\"noreferrer\">still available in 20.04</a>:</p>\n<pre><code>sudo apt install recordmydesktop\nrecordmydesktop --on-the-fly-encoding\n</code></pre>\n<p>This will record until you stop the program on the terminal e.g. with Ctrl + C.</p>\n<p><code>--on-the-fly-encoding</code> encodes the output immediately; without it you need to wait for a possibly long time at the end for the encoding to be done. I haven't seen any significant downsides to that option yet, likely it will just take a bit more of CPU resources, but it is generally worth it.</p>\n<p>It should be able to do everything that gtk-recordmydesktop does, but it is a bit harder to learn as you have to deal with the command lines.</p>\n<p>You can set a stop recording shortcut e.g. with:</p>\n<pre><code>recordmydesktop --stop-shortcut=Control+s\n</code></pre>\n<p>You can select to record a single window as shown at: <a href=\"https://askubuntu.com/questions/153451/how-can-i-get-the-value-of-window-id/423568#423568\">How can I get the value of Window ID?</a></p>\n<pre><code>recordmydesktop --windowid `xwininfo | grep 'id: 0x' | grep -Eo '0x[a-z0-9]+'`\n</code></pre>\n<p>This will allow you to first select the window with a mouse click, and it starts recording after you click.</p>\n<p>How to record sound output with it: <a href=\"https://unix.stackexchange.com/questions/3490/how-can-i-record-the-sound-output-with-gtk-recordmydesktop\">https://unix.stackexchange.com/questions/3490/how-can-i-record-the-sound-output-with-gtk-recordmydesktop</a></p>\n<h1><a href=\"http://xvidcap.sourceforge.net/\" rel=\"noreferrer\">xvidcap</a> (no longer maintained, package is no longer available)</h1>\n<blockquote>\n<p>A screen capture enabling you to capture videos off your X-Window desktop for illustration or documentation purposes. It is intended to be a standards-based alternative to tools like Lotus ScreenCam.</p>\n<p>Video can be saved in MPEG or AVI files format.</p>\n</blockquote>\n", "commentCount": "20", "comments": [ { "creationDate": "2010-09-20T13:03:24.210", "id": "4496", "postId": "4430", "score": "4", "text": "Thanks for these two suggestions! I've tried them both, but could get neither to do what I need: `gtk-recordmydesktop` insists on recording the whole virtual screen (3200x1200), which is way too large... `xvidcap` lets me select a rectangular area of the screen to be recorded, but then wants to place its control buttons on top of it (and moves the area if you move the controls), which doesn't work for recording a window almost as tall as the screen (I'm using a tiling window manager).", "userDisplayName": null, "userId": "325" }, { "creationDate": "2010-09-22T10:09:11.943", "id": "4667", "postId": "4430", "score": "2", "text": "Success with the command-line version of `xvidcap`: xvidcap --audio no --file testvid.avi --cap_geometry `xwininfo | fgrep geometry | cut -c12-`. This won't work with windows that don't report pixel-based geometry (e.g., `xterm`), so one should give the recording window location explicitly as widthxheight+x+y, as in `xvidcap ... --cap_geometry 1336x1170+0+0`", "userDisplayName": null, "userId": "325" }, { "creationDate": "2012-05-14T07:40:35.060", "id": "162841", "postId": "4430", "score": "12", "text": "We've removed xvidcap from the repository now because it's no longer maintained.", "userDisplayName": null, "userId": "612" }, { "creationDate": "2012-09-21T04:47:28.300", "id": "237102", "postId": "4430", "score": "5", "text": "@RiccardoMurri: `gtk-recordmydesktop` does allow you to record only a selected screen area. Just drag a rectangle in the preview area.", "userDisplayName": null, "userId": "11015" }, { "creationDate": "2013-01-10T14:02:03.000", "id": "298392", "postId": "4430", "score": "0", "text": "Actually select what window to record by using the windowid option. You can check the window id of a window using the xwininfo utility", "userDisplayName": null, "userId": "36261" }, { "creationDate": "2015-04-19T00:04:11.693", "id": "858715", "postId": "4430", "score": "6", "text": "gtk-recordmydesktop gets Linux-screenrecording crappiness to a new level. It actually recorded different parts at different FPS :D Audio syncing (which of course fails) is REALLY hard after this.", "userDisplayName": null, "userId": "230426" }, { "creationDate": "2015-07-03T14:21:48.693", "id": "922573", "postId": "4430", "score": "1", "text": "Beware: this is buggy if you are using Gnome3. Pressing record makes the control window disappear, thus you can't stop recording without kill -9.", "userDisplayName": null, "userId": "426149" }, { "creationDate": "2016-03-09T11:04:29.100", "id": "1106915", "postId": "4430", "score": "0", "text": "gtk-recordmydesktop, its video quality is very bad and it get long time for render", "userDisplayName": null, "userId": "342160" }, { "creationDate": "2016-05-04T12:44:06.343", "id": "1146309", "postId": "4430", "score": "0", "text": "I cannot get your first suggestion work in Ubuntu 16.04. It does not store the file in /tmp. Please, add a possible example here.", "userDisplayName": null, "userId": "25388" }, { "creationDate": "2016-06-08T16:49:20.907", "id": "1176094", "postId": "4430", "score": "5", "text": "The output video produced by `gtk-recordmydesktop` is pretty distorted.", "userDisplayName": null, "userId": "173003" }, { "creationDate": "2016-06-12T10:49:36.840", "id": "1179272", "postId": "4430", "score": "1", "text": "Note, that recordmydesktop have a timing [bug](https://bugs.launchpad.net/ubuntu/+source/recordmydesktop/+bug/570133) when using \"Encode On the Fly\" option. And it is not likely to be fixed since development stopped in 2009.", "userDisplayName": null, "userId": "306771" }, { "creationDate": "2016-09-14T14:38:38.710", "id": "1253619", "postId": "4430", "score": "0", "text": "I should mention that if using the commandline version, to avoid a really low framerate you should increase the bitrate from the default of 450000 to 2000000. Like this: `recordmydesktop --v_bitrate 2000000 -o output.ogv`. Source: https://www.linuxquestions.org/questions/showthread.php?p=3749812#post3749812", "userDisplayName": null, "userId": "421071" }, { "creationDate": "2017-02-07T13:01:43.783", "id": "1371775", "postId": "4430", "score": "0", "text": "`recordmydesktop` is a very tiny program (between 80 kB and 180 kB) and `gtk-recordmydesktop` is just its front-end written in Python (ironically, much larger than `recordmydesktop` itself; around 0.5 MB). It creates OGV videos The resulting video seems OK to me when I increase FPS in the advanced settings.", "userDisplayName": null, "userId": "647868" }, { "creationDate": "2018-05-30T14:42:10.583", "id": "1697590", "postId": "4430", "score": "0", "text": "Tried to install on Debian 9 and encountered: `File \"/usr/bin/pycompile\", line 35, in <module>\n from debpython.version import SUPPORTED, debsorted, vrepr, \\\n File \"/usr/share/python/debpython/version.py\", line 24, in <module>\n from ConfigParser import SafeConfigParser\nImportError: No module named 'ConfigParser'\ndpkg: error processing package gtk-recordmydesktop (--configure):\n subprocess installed post-installation script returned error exit status 1\nErrors were encountered while processing:\n gtk-recordmydesktop\n...` Looks like Python 3 is not supported :S", "userDisplayName": null, "userId": "117548" }, { "creationDate": "2018-10-01T15:53:46.323", "id": "1774521", "postId": "4430", "score": "1", "text": "the audio is quite distorted", "userDisplayName": null, "userId": "610279" }, { "creationDate": "2019-08-13T23:57:20.077", "id": "1943424", "postId": "4430", "score": "0", "text": "As of 2019-08-12 on 18.04 LTS: audio track is out of sync (lags behind).", "userDisplayName": null, "userId": "64689" }, { "creationDate": "2020-05-18T09:28:48.200", "id": "2090716", "postId": "4430", "score": "1", "text": "it seams `gtk-recordmydesktop` have some issues on ubuntu 20.04, the UI window just disappears as soon a I start recording.", "userDisplayName": null, "userId": "93607" }, { "creationDate": "2022-02-04T15:07:47.177", "id": "2404563", "postId": "4430", "score": "1", "text": "'gtk-recordmydesktop' gives black screen to the recording on 2.0.04", "userDisplayName": null, "userId": "464508" }, { "creationDate": "2022-03-15T17:39:35.597", "id": "2420697", "postId": "4430", "score": "0", "text": "The first grep of `xwininfo | grep 'id: 0x' | grep -Eo '0x[a-z0-9]+'` works for me, but not the second - I get nothing back. (So I just took it by hand from xwininfo.)", "userDisplayName": null, "userId": "110495" }, { "creationDate": "2023-12-09T13:31:07.637", "id": "2620201", "postId": "4430", "score": "1", "text": "For me, the `--on-the-fly-encoding` flag makes the audio track out of sync. running `recordmydesktop` without this flag fixed it. @DmitrySomov", "userDisplayName": null, "userId": "1751523" } ], "communityOwnedDate": "2011-05-07T12:25:59.243", "contentLicense": "CC BY-SA 4.0", "creationDate": "2010-09-20T12:09:03.830", "id": "4430", "lastActivityDate": "2020-10-11T19:49:32.587", "lastEditDate": "2020-10-11T19:49:32.587", "lastEditorDisplayName": null, "lastEditorUserId": "52975", "ownerDisplayName": null, "ownerUserId": "1543", "parentId": "4428", "postTypeId": "2", "score": "305" }
[ { "accepted": true, "body": "<h1><a href=\"http://recordmydesktop.sourceforge.net/about.php\" rel=\"noreferrer\">gtk-recordmydesktop</a> <a href=\"http://apt.ubuntu.com/p/gtk-recordmydesktop\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/vyWhw.png\" alt=\"install gtk-recordmydesktop\" /></a></h1>...
2011-05-07T12:25:59.243
null
null
null
null
4434
1
22756
2010-09-20T15:29:44.663
35
39246
<p>I've got several Ubuntu machines on my network at home, but the DNS is provided by a windows server (2K). When I ssh to them from another , if I ssh to them as "machine" I can't connect, but if I connect as "machine.local" I can connect.</p> <p>I think similarly, I can't connect from a windows client (like putty).</p> <p>What's going on here? - it's clearly an Ubuntu thing.</p>
2400
235
2012-06-14T02:46:26.403
2012-06-14T10:51:10.047
What does ".local" do?
[ "networking", "dns", "hostname" ]
2
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T23:34:36.783", "id": "4543", "postId": "4434", "score": "1", "text": "Actually, it looks like a DNS thing, not like an Ubuntu thing at all (especially since you “can't connect” from the Windows machine — and what is the error message anyway?). What is your DNS confi...
{ "accepted": true, "body": "<p>By default, Ubuntu includes avahi. This is an implementation of zeroconf which allows computer hostnames to be resolved with the virtual \".local\" name. Whenever your computer tries to connect to \"hostname.local\", avahi will perform local network broadcasts to see if there any computers with that hostname. Other computers running avahi (or something compatible) should answer. </p>\n\n<p>If you look in /etc/nsswitch.conf, you will find the following line:</p>\n\n<pre><code>hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4\n</code></pre>\n\n<p>The mdns4_minimal is the configuration setting that makes this redirection work.</p>\n\n<p>Your question actually suggests that avahi is running successfully as you say that you can connect to your Ubuntu computers using \"hostname.local\". However, you do not make it clear (\"When I ssh to them from another, ...\") if you are trying to connect from another Ubuntu computer, or from another Windows computer. Without installing other software such as Bonjour, Windows computers cannot resolve zeroconf-style \"hostname.local\" names.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2013-09-09T23:12:32.293", "id": "439613", "postId": "22756", "score": "0", "text": "[Avahi Link](https://en.wikipedia.org/wiki/Avahi_%28software%29) for the interested. In short, its complicated.", "userDisplayName": null, "userId": "30399" }, { "creationDate": "2023-06-15T14:11:23.473", "id": "2580745", "postId": "22756", "score": "0", "text": "This answer is rather old now, but Windows 10 will definitely resolve \"hostname.local\" style names without anything extra (at least... no third-party extras... who knows what garbage is running internally)", "userDisplayName": null, "userId": "1199345" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-22T14:13:25.453", "id": "22756", "lastActivityDate": "2011-04-09T16:53:20.603", "lastEditDate": "2011-04-09T16:53:20.603", "lastEditorDisplayName": null, "lastEditorUserId": "6969", "ownerDisplayName": "user8979", "ownerUserId": null, "parentId": "4434", "postTypeId": "2", "score": "43" }
[ { "accepted": null, "body": "<p>To fix your issue, you just need Avahi. This announces your Ubuntu machine names to the Windows lot.</p>\n\n<pre><code>sudo apt-get install avahi-daemon\n</code></pre>\n\n<p><code>machinename.local</code> works thanks to another implementation of zeroconf (of which Avahi is a...
null
null
null
null
null
4443
1
4488
2010-09-20T16:42:09.030
9
16082
<p>I have ffmpeg install from apt (version <code>4:0.5.1-1ubuntu1</code>). I have a video that is up-side-down, so I want to flip it vertically. The <a href="http://www.ffmpeg.org/ffmpeg-doc.html#SEC61">ffmpeg documentation says to use the <code>-vf</code> option</a> (which I see was recently renamed from <code>-vfilters</code>). However that just doesn't work for me. I get an error like: <code>ffmpeg: unrecognized option '-vf'</code>.</p> <p>I know there are all kinds of legal reasons why ffmpeg is not the full options, but surely flipping a video should be OK? There are many guides for ubuntu and ffmpeg which advise to recompile it yourself. e.g. <a href="http://ubuntuforums.org/showthread.php?t=786095">the number 2 hit for "ubuntu ffmpeg" is a guide on ubuntu forums on recompiling ffmpeg yourself</a>.</p> <p>I don't want to recompile it myself. I am a fan of package managers and "doing things the right way". There should be a way to get this functionality in the packaged version, otherwise there is a bug in the packaged version.</p> <p>How can I get the -vf/-vfilter option in ffmpeg? (If I can't get it, why not?)</p>
139
null
null
2013-03-24T16:15:54.497
How do I use ffmpeg's "-vf" / "-vfilters" option without recompiling ffmpeg myself?
[ "video", "multimedia", "ffmpeg" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You are right, the ffmpeg packages in Ubuntu 10.04 and 10.10 do not support video filters. If you use Ubuntu 10.10, you can add unofficial packages from the <a href=\"http://www.debian-multimedia.org/\">Debian Multimedia Project</a> and install their ffmpeg version (you should not do this if you use Ubuntu 10.04, there are too many conflicts with older packages. Also do not combine those packages with ubuntu-restriced-extras). Then the following works</p>\n\n<pre><code>ffmpeg -i in.avi -vf vflip out.avi\n</code></pre>\n\n<p>An easier option ̣- if all you want to do is flip videos - is to use the <strong>mencoder</strong> package instead of ffmpeg. After installing the package, the following works (copying the audio, encoding the video with libavcodecs):</p>\n\n<pre><code>mencoder -vf flip -o out.avi -oac copy -ovc lavc in.avi\n</code></pre>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-21T22:30:24.357", "id": "4648", "postId": "4488", "score": "0", "text": "Do you know why the ffmpeg in ubuntu don't do this? Is the version of ffmpeg too old? Or was this delibrately switched off?", "userDisplayName": null, "userId": "139" }, { "creationDate": "2010-09-22T08:35:24.900", "id": "4665", "postId": "4488", "score": "1", "text": "The ffmpeg version (at least in Maverick) is quite recent, it has something to do with configure options. It is not Ubuntu specific, the limitation is inherited from Debian I think: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594108", "userDisplayName": null, "userId": "275" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T09:53:48.603", "id": "4488", "lastActivityDate": "2010-09-21T09:53:48.603", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "275", "parentId": "4443", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>You are right, the ffmpeg packages in Ubuntu 10.04 and 10.10 do not support video filters. If you use Ubuntu 10.10, you can add unofficial packages from the <a href=\"http://www.debian-multimedia.org/\">Debian Multimedia Project</a> and install their ffmpeg version (you shoul...
null
null
null
null
null
4444
1
null
2010-09-20T17:06:55.857
6
19759
<p>I'm having some trouble getting pgadmin3 to run on a remote server. I'm logging in to the server using SSH with the -X option. When I first installed pgadmin3, I was able to launch it using the command "pgadmin3 &amp;", and PG Admin would launch correctly using my local X server. Something has happened though, and now PG Admin will no longer launch. It bounces back with the message "Error: Unable to initialize gtk, is DISPLAY set properly?"</p> <p>I'm using the same SSH command to log in to the server, and the same command to launch PG Admin, yet it is no longer working. I haven't made any changes to my SSH configuration, nor have I installed any new software, so I'm at a loss as to how this broke and how to go about fixing it. What could have happened to break this, and where do I start with fixing it?</p>
884
235
2010-11-17T00:07:54.153
2012-08-10T20:53:30.657
pgadmin3: Unable to initialize gtk, is DISPLAY set properly?
[ "server", "ssh", "postgresql" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T23:30:30.570", "id": "4542", "postId": "4444", "score": "0", "text": "So is `DISPLAY` set? (Check with `echo $DISPLAY`.) Can you run other X programs (e.g. `xterm`)? Can you run other GTK programs?", "userDisplayName": null, "userId": "1059" } ]
null
[ { "accepted": null, "body": "<p>The clue is in the error message: What is the DISPLAY environment variable set to?</p>\n\n<p>It is probably incorrect or has changed.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate":...
null
null
2013-03-14T17:17:57.957
null
null
4447
1
null
2010-09-20T17:42:22.477
1
1224
<p>My ThinkPad X60 doesn't have a floppy drive. What is this "floppy0" icon for?</p> <p><img src="https://i.stack.imgur.com/iXaWk.png" alt="alt text"></p> <pre><code>ak@myo5a:~$ ls -l /media/ total 8 lrwxrwxrwx 1 root root 7 2010-04-29 13:05 floppy -&gt; floppy0 drwxr-xr-x 2 root root 4096 2010-04-29 13:05 floppy0 drwxr-xr-x 2 root root 4096 2010-05-12 10:33 iso ak@myo5a:~$ ls /dev/scd* ls: cannot access /dev/scd*: No such file or directory ak@myo5a:~$ egrep -Rs "floppy|scd" /var/log ak@myo5a:~$ </code></pre> <p>I am <strong>not</strong> looking for a way to just make this icon go away. I want to understand why it is here.</p>
1859
1859
2011-05-04T03:05:57.840
2011-05-04T03:05:57.840
What is the "floppy0" icon in Computer?
[ "10.04", "thinkpad", "devices" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-04-09T18:29:20.063", "id": "38233", "postId": "4447", "score": "0", "text": "Please post the contents of your /etc/fstab file.", "userDisplayName": null, "userId": "8500" }, { "creationDate": "2011-06-02T15:04:54.360", "id": "51259", "postId": "444...
null
[ { "accepted": null, "body": "<p>You could try deleting 'floppy0' in <code>/media</code>.</p>\n\n<p>Or perhaps blacklisting the floppy driver by editing </p>\n\n<p><code>/etc/modprobe.d/blacklist.conf</code></p>\n\n<p>and adding</p>\n\n<p><code>blacklist floppy</code>.</p>\n", "commentCount": "2", "c...
null
null
2011-06-02T15:50:53.447
null
null
4448
1
4449
2010-09-20T17:44:53.157
5
500
<p>I read about the 64 bit kernel vulnerability in the linux kernel today (9/20) <a href="http://isc.sans.edu/diary.html?storyid=9574" rel="nofollow">Link to article</a><br /><br> I have an ubuntu server 10.04 and 8.04 in my organization. My question is could I just use the apt-get utility or the aptitude safe-upgrade to patch these kernels - but is the 64 bit kernel patch included in those updates I would download? </p>
2231
721
2010-10-27T06:40:32.390
2010-10-27T06:40:32.390
Patch for new 64bit kernel vulnerability?
[ "server", "upgrade", "kernel", "security" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You should have gotten them through the updates... according to this they went out the 17th:</p>\n\n<p><a href=\"http://www.ubuntu.com/usn/usn-988-1\" rel=\"nofollow\">http://www.ubuntu.com/usn/usn-988-1</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-20T17:51:00.640", "id": "4449", "lastActivityDate": "2010-09-20T17:51:00.640", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2402", "parentId": "4448", "postTypeId": "2", "score": "10" }
[ { "accepted": true, "body": "<p>You should have gotten them through the updates... according to this they went out the 17th:</p>\n\n<p><a href=\"http://www.ubuntu.com/usn/usn-988-1\" rel=\"nofollow\">http://www.ubuntu.com/usn/usn-988-1</a></p>\n", "commentCount": "0", "comments": [], "communityO...
null
null
null
null
null
4452
1
4453
2010-09-20T18:57:47.907
1
1666
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/3205/higher-screen-resolution-in-virtualbox">Higher screen resolution in VirtualBox?</a> </p> </blockquote> <p>I believe I've successfully got Ubuntu 10.04 installed as the guest OS with Vista as host on my laptop. But I have been unable to get it to use the entire monitor. In Ubuntu and using the System-> Monitor Preferences, I have one monitor "Unknown" with a resolution of 800x600 and haven't found out how to change it to use the full 1920x1200 of my laptop.</p> <p>I'm using Oracle's VM VirtualBox.</p> <p>I am new to ubuntu (and *nix in general), so I could be missing something easy.</p>
1752
-1
2017-04-12T07:23:19.023
2010-09-20T21:14:35.070
Ubuntu as guest OS (with Vista host) stuck at 800x600 resolution
[ "10.04", "virtualbox", "guest-os" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2010-09-20T19:22:48.247", "id": "4525", "postId": "4452", "score": "1", "text": "What virtual machine software are you using, e.g. QEMU, or VMware?", "userDisplayName": null, "userId": "1859" } ]
{ "accepted": true, "body": "<p>You need to <a href=\"http://www.virtualbox.org/manual/ch04.html\" rel=\"nofollow\">install Guest Additions</a> if you are using VirtualBox or a similar feature if it's some other virtualization software.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-20T19:29:02.503", "id": "4453", "lastActivityDate": "2010-09-20T19:29:02.503", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "877", "parentId": "4452", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>You need to <a href=\"http://www.virtualbox.org/manual/ch04.html\" rel=\"nofollow\">install Guest Additions</a> if you are using VirtualBox or a similar feature if it's some other virtualization software.</p>\n", "commentCount": "0", "comments": [], "communityOwne...
null
null
2010-09-20T22:17:54.380
null
null
4454
1
4570
2010-09-20T19:51:43.833
9
22362
<p>Following up on <a href="https://askubuntu.com/questions/4405/swap-capslock-and-control-in-virtual-consoles">modifying virtual consoles' keymaps</a>, how can I edit /etc/default/console-setup?</p> <p>Will the file be parsed on each boot (then cached in /etc/console-setup/cached.kmap.gz), or do I need to run a certain command after every manual change?</p> <p>The description for package <a href="http://packages.ubuntu.com/lucid/console-setup" rel="nofollow noreferrer">console-setup</a> does give its basic purpose, but am I missing documentation on how to use it?</p>
null
-1
2017-04-12T07:23:19.023
2012-02-19T20:51:45.927
How does /etc/default/console-setup work?
[ "10.04", "virtual-console" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>setupcon is the program which is responsible for updating /etc/console-setup/cached.kmap.gz.\nsetupcon is run on startup inside the initramfs image, so you'll need to update that before the changes apply</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-22T21:40:25.457", "id": "4694", "postId": "4570", "score": "0", "text": "So, if I understand correctly, /etc/default/console-setup is checked each boot (or read from the cached file), but what I see in my FS isn't what is seen by setupcon when the initramfs image is still being used?", "userDisplayName": "Roger Pate", "userId": null }, { "creationDate": "2010-09-23T00:09:19.730", "id": "4698", "postId": "4570", "score": "0", "text": "Actually, I think it's the opposite, console-setup requires an initramfs update but the cached keymap is always read. You need to test to verify :-)", "userDisplayName": null, "userId": "1411" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T16:30:33.750", "id": "4570", "lastActivityDate": "2010-09-22T16:30:33.750", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1411", "parentId": "4454", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>The program setupcon uses the /etc/default/console-setup file. Setupcon has a man page that refers to a README file. The README file is /usr/share/doc/console-setup/README.gz. That file indicates that you need to invoke setupcon as part of the boot sequence to have the consol...
null
null
null
null
Roger Pate
4467
1
4472
2010-09-21T01:12:09.513
19
31156
<p>Poll on best VNC / remote desktop software for assisting others on Windows/Mac machines from Ubuntu? </p> <p>I've heard good things about TeamViewer and Fog Creek Copilot, but I'm wondering if the included GNOME Vinaigre VNC client is good enough for this.</p> <p>To specify, I'm looking for best option based on:</p> <ol> <li><p><em><strong>SIMPLEST</em></strong> ease-of-use for client to download/use on their end.</p></li> <li><p>See #1.</p></li> <li><p>Works cross-platform</p></li> <li><p>I am able to control client's mouse and/or keyboard from remote machine.</p></li> </ol>
2383
349837
2019-12-25T01:48:44.573
2023-09-16T03:38:24.733
Best VNC / remote desktop software for assistance
[ "software-recommendation", "remote-desktop", "vnc", "remote-assistance" ]
7
4
CC BY-SA 4.0
[ { "creationDate": "2010-09-21T02:38:17.237", "id": "4547", "postId": "4467", "score": "0", "text": "Technically, VNC is only one kind of desktop sharing software. Both TeamViewer and Copilot use proprietary, non-VNC connection methods.", "userDisplayName": null, "userId": "1859" }, {...
{ "accepted": true, "body": "<p>If you're planning on providing assistance to someone who is not very computer savvy, <strong>TeamViewer</strong> is going to make your life far easier. Yes, it is a closed-source commercial product – but the magical sensation you feel when establishing a connection using only an ID number makes it all well worth it.</p>\n\n<p>For a while you might think you can pull off carefully setting up a VNC server and the required firewall/NAT rules to be ready for future support sessions, but it won't do you any good the day that your friend in need of assistance has changed their network setup or broken their server configuration by following some Hoary Hedgehog how-to.</p>\n\n<p>It's pretty hard to get this part wrong:</p>\n\n<p><img src=\"https://i.stack.imgur.com/Dr9s6.jpg\" alt=\"TeamViewer\"></p>\n\n<p>With most of my clients, I don't even have them try to install TeamViewer. Session initiation looks like this:</p>\n\n<ol>\n<li>At <a href=\"http://www.teamviewer.com/download/\" rel=\"noreferrer\">teamviewer.com/download</a>, click the button beneath \"TeamViewer <strong>QuickSupport</strong>\".</li>\n<li>Click Run.</li>\n<li>Read me the ID and password.</li>\n</ol>\n", "commentCount": "4", "comments": [ { "creationDate": "2010-09-21T16:36:25.663", "id": "4604", "postId": "4472", "score": "1", "text": "I fully agree. This is one of the very seldom cases, where I also suggest a closed source product over all the free and open source alternatives, just because it is much easier for the inexperienced user at the other end.", "userDisplayName": null, "userId": "277" }, { "creationDate": "2010-09-21T22:40:07.840", "id": "4652", "postId": "4472", "score": "0", "text": "Sounds like this is the winner.", "userDisplayName": null, "userId": "2383" }, { "creationDate": "2010-09-21T22:40:35.483", "id": "4653", "postId": "4472", "score": "0", "text": "Appreciated the practical choice answer", "userDisplayName": null, "userId": "2383" }, { "creationDate": "2011-10-19T18:33:23.203", "id": "78919", "postId": "4472", "score": "0", "text": "This is impressive - because it's _very_ easy to use, nearly nothing to configure, and it just works! I just tested a connection from iPhone to Ubuntu - totally straightforward.", "userDisplayName": null, "userId": "5786" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T02:51:44.527", "id": "4472", "lastActivityDate": "2010-09-21T03:10:22.710", "lastEditDate": "2010-09-21T03:10:22.710", "lastEditorDisplayName": null, "lastEditorUserId": "1859", "ownerDisplayName": null, "ownerUserId": "1859", "parentId": "4467", "postTypeId": "2", "score": "16" }
[ { "accepted": null, "body": "<p>I am fairly sure the default one included in Ubuntu will work with another one on Windows/Mac. Check for some of them on this page:\n<a href=\"http://en.wikipedia.org/wiki/Vnc\" rel=\"nofollow\">http://en.wikipedia.org/wiki/Vnc</a></p>\n\n<p>Remember on Ubuntu to set up a mac...
null
null
null
null
null
4473
1
4480
2010-09-21T03:16:54.170
29
61347
<p>I am running Ubuntu 10.04, fully updated, from an external USB hard drive. Everything works really well, except the keyboard. The numeric keypad is not working. The keys don't do anything, with or without <kbd>NumLock</kbd> on.</p> <p>The Keyboard Preferences are set for Generic 105-Key (Intl) PC. The keyboard itself, on this computer, is PS2.</p> <p>Any ideas where to look for trying to fix this?</p>
1775
1066942
2022-01-11T10:53:42.850
2022-01-11T10:53:42.850
Numeric keypad not working
[ "hardware", "keyboard", "keyboard-layout" ]
4
2
CC BY-SA 4.0
[ { "creationDate": "2010-09-21T06:01:31.657", "id": "4554", "postId": "4473", "score": "0", "text": "What behavior do you see in the console (Ctrl-Alt-F1)? If they work there, what does `showkey` report when run in the console? If that behaves properly, what does `xev` report under X?", "user...
{ "accepted": true, "body": "<p>Sometimes, in machines that I connect through VNC mouse keys get mysteriously enabled. Maybe this is your problem.</p>\n\n<p>Click on the System Menu -> Preferences -> Keyboard. In the <em>Mouse Keys</em> tab check that <em>Pointer can be controlled using the keypad</em> is disabled.</p>\n\n<p><img src=\"https://i.stack.imgur.com/axPJj.png\" alt=\"alt text\"></p>\n", "commentCount": "3", "comments": [ { "creationDate": "2010-09-21T10:02:38.587", "id": "4565", "postId": "4480", "score": "0", "text": "Ooops....!!!\n\nThat was it!\nWhen I found that the keys were working fine in the terminal, it was obvious that the hardware was being detected just fine.\nThen started testing with `xev` and noticed that the mouse cursor was moving very small steps.\n\nSo... thanks for reading! :)", "userDisplayName": null, "userId": "1775" }, { "creationDate": "2014-01-20T14:09:00.597", "id": "524872", "postId": "4480", "score": "1", "text": "Toggle Shortcut: Shift + NumLock", "userDisplayName": null, "userId": "161443" }, { "creationDate": "2015-10-22T19:29:51.027", "id": "1004662", "postId": "4480", "score": "0", "text": "how do i make this change if i'm using icewm?", "userDisplayName": null, "userId": "65659" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T06:50:09.073", "id": "4480", "lastActivityDate": "2010-09-21T06:50:09.073", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "211", "parentId": "4473", "postTypeId": "2", "score": "40" }
[ { "accepted": true, "body": "<p>Sometimes, in machines that I connect through VNC mouse keys get mysteriously enabled. Maybe this is your problem.</p>\n\n<p>Click on the System Menu -> Preferences -> Keyboard. In the <em>Mouse Keys</em> tab check that <em>Pointer can be controlled using the keypad</em> is d...
null
null
null
null
null
4474
1
12195
2010-09-21T03:29:16.650
82
384356
<p>I have one computer running Ubuntu 10.04, and is running <a href="https://help.ubuntu.com/community/VNC/Servers#vino">Vino</a>, the default VNC server.</p> <p>I have a second Windows box which is running a VNC client, but does not have any X11 capabilities. I am ssh'd into the Ubuntu host from the Windows host, but I forgot to enable VNC access on the Ubuntu host.</p> <p>On the Ubuntu host, is there a way for me to enable VNC connections from the Ubuntu commandline?</p> <p>Update:</p> <p>As @koanhead says below, there is no man page for <code>vino</code> (e.g. <code>man -k vino</code> and <code>info vino</code> return nothing), and <code>vino --help</code> doesn't show any help).</p>
266
169736
2013-12-11T20:52:18.517
2023-01-23T17:45:38.950
Enable remote VNC from the commandline?
[ "vnc", "vino" ]
11
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Just running </p>\n\n<pre><code>/usr/lib/vino/vino-server\n</code></pre>\n\n<p>should do the job.</p>\n\n<p>Once you have access to your server, I would recommend that you add it to Autostarted Apps so it is always started.</p>\n\n<p>You'll probably like change some settings with :</p>\n\n<pre><code>vino-preferences\n</code></pre>\n\n<p>be very careful when you run vino-preference on a remote machine, if you uncheck \"Allow other users to control your desktop\", you won't be able to check it back.</p>\n\n<p>or to edit :</p>\n\n<pre><code>~/.gconf/desktop/gnome/remote_access/%gconf.xml\n</code></pre>\n\n<p>Here a sample file :</p>\n\n<pre><code>&lt;?xml version=\"1.0\"?&gt;\n&lt;gconf&gt;\n &lt;entry name=\"vnc_password\" mtime=\"1289267042\" type=\"string\"&gt;\n &lt;stringvalue&gt;cXdlcnR5&lt;/stringvalue&gt;\n &lt;/entry&gt;\n &lt;entry name=\"view_only\" mtime=\"1289262982\" type=\"bool\" value=\"false\"/&gt;\n &lt;entry name=\"prompt_enabled\" mtime=\"1254965869\" type=\"bool\" value=\"false\"/&gt;\n &lt;entry name=\"authentication_methods\" mtime=\"1289267034\" type=\"list\" ltype=\"string\"&gt;\n &lt;li type=\"string\"&gt;\n &lt;stringvalue&gt;vnc&lt;/stringvalue&gt;\n &lt;/li&gt;\n &lt;/entry&gt;\n &lt;entry name=\"enabled\" mtime=\"1289263574\" type=\"bool\" value=\"true\"/&gt;\n&lt;/gconf&gt;\n</code></pre>\n\n<p>Be careful, the password is base64 encoded. For this file, the password is qwerty. I see on some forum that people have change it successfully, but I had issue with it.</p>\n\n<p>Here an online base64 encoder :</p>\n\n<p><a href=\"http://www.motobit.com/util/base64-decoder-encoder.asp\">http://www.motobit.com/util/base64-decoder-encoder.asp</a></p>\n", "commentCount": "6", "comments": [ { "creationDate": "2012-10-22T23:01:44.870", "id": "254760", "postId": "12195", "score": "7", "text": "I got the following error when executing `/usr/lib/vino/vino-server`: `No protocol specified\n\n** (vino-server:2040): WARNING **: Could not open X display`", "userDisplayName": null, "userId": "6620" }, { "creationDate": "2012-12-04T01:30:08.710", "id": "277953", "postId": "12195", "score": "0", "text": "@hvtuananh Do you have a display you can share? Do you have the evd variable DISPLAY set accordingly? My answer assume that you already have a display starting by default, but you don't have string and use the command line to make it available.", "userDisplayName": null, "userId": "3999" }, { "creationDate": "2014-01-27T11:26:45.680", "id": "529788", "postId": "12195", "score": "1", "text": "This does not work in (at least) 13.10. See answer by ouzmoutous below instead.", "userDisplayName": null, "userId": "87488" }, { "creationDate": "2017-04-05T21:32:53.690", "id": "1412439", "postId": "12195", "score": "0", "text": "If someone has problems, notice the bug: https://bugs.launchpad.net/ubuntu/+source/vino/+bug/1607663 .", "userDisplayName": null, "userId": "16395" }, { "creationDate": "2018-12-10T03:31:16.293", "id": "1812071", "postId": "12195", "score": "11", "text": "`vino-preferences: command not found`", "userDisplayName": null, "userId": "5032" }, { "creationDate": "2020-04-17T14:48:34.293", "id": "2066320", "postId": "12195", "score": "1", "text": "from https://wiki.archlinux.org/index.php/Vino \nAs of version 3.9.2, Vino no longer includes a standalone preferences dialog (see bug 700070), thus making configuration difficult without the GNOME Control Center.", "userDisplayName": null, "userId": "761897" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-11-08T22:49:12.630", "id": "12195", "lastActivityDate": "2010-11-09T03:39:31.403", "lastEditDate": "2010-11-09T03:39:31.403", "lastEditorDisplayName": null, "lastEditorUserId": "3999", "ownerDisplayName": null, "ownerUserId": "3999", "parentId": "4474", "postTypeId": "2", "score": "28" }
[ { "accepted": null, "body": "<p>Why, for the love of all that is good in this hard world, is there no man entry for vino or vino-server or for any of the commands listed in <code> dpkg -L vino</code>'s output?\nFor that matter, why should <i>any package at all</i> be installed on an Ubuntu system, ever, whi...
null
null
null
null
null
4476
1
4754
2010-09-21T05:42:46.687
1
591
<p>I am setting up an Ubuntu server with nginx, php and mysql.</p> <p>I have found two options for fast-cgi php. Firstly I can use the spawn-fcgi package and make some startup scripts, similar as done <a href="http://www.howtoforge.com/nginx_php5_fast_cgi_xcache_ubuntu7.04" rel="nofollow">here</a></p> <p>The second option is to use the dotdeb packages and use php5-fpm (<a href="http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian" rel="nofollow">installation instructions</a>)</p> <p>Which one shall I choose? Are there any difference in processor usage?</p>
1418
1418
2010-10-16T09:24:03.147
2010-10-16T09:24:03.147
Should I use spawn-fcgi or dotdebs php5-fpm?
[ "10.04", "php" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>A solution that I liked better than the two mentioned ones: the php-fpm package from <a href=\"https://launchpad.net/~brianmercer/+archive/php\" rel=\"nofollow\">Brian Mercer's ppa</a>. Dotdeb's packages did not work, and the fpm package does not need any configuration scripts at all!!!</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-09-13T15:41:21.017", "id": "233528", "postId": "4754", "score": "0", "text": "*Sorry, you don't have permission to access this page or the information in this page is not shared with you.* Any chance to find it somewhere?", "userDisplayName": null, "userId": "68262" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-25T18:18:27.903", "id": "4754", "lastActivityDate": "2010-09-25T18:18:27.903", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1418", "parentId": "4476", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>A solution that I liked better than the two mentioned ones: the php-fpm package from <a href=\"https://launchpad.net/~brianmercer/+archive/php\" rel=\"nofollow\">Brian Mercer's ppa</a>. Dotdeb's packages did not work, and the fpm package does not need any configuration script...
null
null
null
null
null
4477
1
4478
2010-09-21T06:02:38.927
96
287016
<p>After doing a <code>man apt-get</code> and cursory Google search it's not clear how I find new programs to install (from the internet) using <code>apt-get</code> (which is amazingly powerful and simple coming from another Linux distro).</p> <p>I'm using Ubuntu Server 8.04 LTS (an inherited system used for some random work), so no GUI.</p> <p>Anyone have quick advice here?</p>
2196
23878
2013-02-23T14:14:19.953
2023-09-07T20:47:24.230
How do I find packages to install via apt-get
[ "package-management", "apt", "search" ]
9
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>I always use <a href=\"http://packages.ubuntu.com\">packages.ubuntu.com</a></p>\n\n<p>Also you can use <code>apt-cache search</code> for command-line searching. Or you can use the GUI package manager (Ubuntu Software Center / Synaptic) for searching software.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2018-07-05T07:50:33.163", "id": "1719490", "postId": "4478", "score": "0", "text": "How do I \"import\" a package from packages.ubuntu.com?", "userDisplayName": null, "userId": "247772" }, { "creationDate": "2021-10-29T01:16:37.783", "id": "2360433", "postId": "4478", "score": "3", "text": "Also there is just `apt search ...`", "userDisplayName": null, "userId": "349837" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T06:08:08.163", "id": "4478", "lastActivityDate": "2010-09-21T13:51:59.033", "lastEditDate": "2010-09-21T13:51:59.033", "lastEditorDisplayName": null, "lastEditorUserId": "1418", "ownerDisplayName": null, "ownerUserId": "1418", "parentId": "4477", "postTypeId": "2", "score": "98" }
[ { "accepted": true, "body": "<p>I always use <a href=\"http://packages.ubuntu.com\">packages.ubuntu.com</a></p>\n\n<p>Also you can use <code>apt-cache search</code> for command-line searching. Or you can use the GUI package manager (Ubuntu Software Center / Synaptic) for searching software.</p>\n", "com...
null
null
null
null
null
4485
1
null
2010-09-21T08:23:52.963
9
546
<p>I've got a bunch of desktops set up for specific purposes. I'd really like to be able to tell an app what desktop it should launch in. </p> <p>I can't find any options for that, is there any way to do it?</p>
2409
25863
2012-11-21T21:38:20.527
2012-11-21T21:38:20.527
How can I set a launcher to start an application in a specific desktop
[ "kubuntu", "shortcuts" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>In Kubuntu, you can change your Activity and have a different one for each desktop. If you use folder view then you can have a different folder for each desktop and in that folder you could make a link that would only be visible for that folder view. It can be really confus...
null
null
null
null
null
4486
1
null
2010-09-21T08:35:19.050
2
3034
<p>I can't seem to select the two different inputs (4 channels) and two outputs (4 Channels) on this soundcard. Ubuntu/Mixxx only seems to recognize one input (2 channels) and every time I select the one available Mixxx says it can't connect. Any help would be greatly appreciated I feel this is a problem with either pulse audio or alsa not mapping all the channels</p>
null
null
null
2012-01-08T22:32:48.423
Mixxx will not recognize all inputs and outputs on NI Audio 4DJ soundcard
[ "sound", "pulseaudio" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>You will need to suspend pulse audio while you use Mixxx. </p>\n\n<p>The Mixxx .desktop (Mixxx shortcut) file should call it but it appears it does not. You might want to file a bug.</p>\n\n<p>To do it manually you can simply execute the following in gnome's terminal:</p>\n\n...
null
null
2013-03-14T17:18:02.433
null
user2410
4487
1
null
2010-09-21T09:23:06.967
7
11486
<p>My Lucid (10.04) installation recently started warning me that the updated packages were unauthenticated. For instance, if I open Update Manager and click the "Install Updates" button, it warns me that <em>You are about to install software that <strong>can't be authenticated</strong>! Doing this could allow a malicious individual to damage or take control of your system.</em></p> <p>I don't remember seeing this before. I guess it looks like I don't have the right keys to verify signatures.</p> <hr> <p><strong>Update</strong> with more information:</p> <p>I get the warning for <em>all</em> packages, including apt and linux-image.</p> <p>This is what's in my <code>/etc/apt/sources.list</code> (sans comments)</p> <pre><code>deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted deb http://us.archive.ubuntu.com/ubuntu/ lucid universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse deb http://us.archive.ubuntu.com/ubuntu/ lucid-security main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-security main restricted deb http://us.archive.ubuntu.com/ubuntu/ lucid-security universe deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-security universe deb http://us.archive.ubuntu.com/ubuntu/ lucid-security multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-security multiverse </code></pre> <hr> <p><strong>update 2:</strong></p> <p>Whatever it was that was wrong, it is no longer wrong, so I won't be able to verify any suggested solutions.</p>
2412
156684
2013-09-07T14:31:15.243
2013-09-07T14:31:15.243
Unauthenticated software sources
[ "apt", "update-manager", "authentication" ]
2
5
CC BY-SA 3.0
[ { "creationDate": "2010-09-21T13:26:43.537", "id": "4585", "postId": "4487", "score": "0", "text": "What is listed in System > Administration > Software Sources > Other Software?", "userDisplayName": null, "userId": "1859" }, { "creationDate": "2010-09-21T16:09:51.510", "id":...
null
[ { "accepted": null, "body": "<p>Chances are you've added a PPA repository and haven't added the corresponding keys. The simplest way to do this is to disable all the PPAs and go through each and throw them at <code>add-apt-repository</code>. This will add it back to your sources but also </p>\n\n<p>So if yo...
null
null
null
null
null
4489
1
4493
2010-09-21T09:55:53.653
37
9723
<p>Ubuntu seems expensive to develop and maintain. Bandwidth, development, marketing, and maintenance all cost money, and since Ubuntu is free to download and use, I don't see who pays for it all.</p> <p>I ask because I'm a happy Ubuntu user since 2006 and wonder how sustainable the project is.</p>
2413
24694
2011-12-11T19:32:55.817
2021-07-28T14:48:33.943
Who pays for Ubuntu?
[ "canonical" ]
4
4
CC BY-SA 3.0
[ { "creationDate": "2010-09-21T14:08:46.913", "id": "4588", "postId": "4489", "score": "4", "text": "More information can be found in this question: [Ubuntu Finances and Future of Project](http://ubuntu.stackexchange.com/questions/3837/ubuntu-finances-and-future-of-project)", "userDisplayName...
{ "accepted": true, "body": "<p>In short: <a href=\"http://www.canonical.com/\">Canonical</a> funds it.</p>\n\n<p>Where <em>they</em> get the money from is perhaps a better question. Well they sell services and support and they also have a fairly wealthy founder in the shape of <a href=\"http://en.wikipedia.org/wiki/Mark_Shuttleworth\">Mark Shuttleworth</a>.</p>\n\n<p><strong>Edit:</strong> As others have said, the latest report we have on finances is from 2008 when the company wasn't near breaking even but as I've just detailed in a comment, for things you believe in, breaking even isn't everything... Especially when you can afford for it to make a loss.</p>\n\n<p>Of course the aim is for the project to become self-sufficient but at the moment the only return on investment comes through the channels I've already talked about. OEM services, B2B support, consumer level paid support. You have to respect that once Ubuntu hits critical mass gets real demand, the demand for professional services and complimentary products also increases.</p>\n\n<p>If you want detailed financial information, I suggest you call Canonical. They'll either give you the numbers or tell you to stop being so nosey... But they're the only people that can tell you for certain.</p>\n\n<p><strong>Edit 2 (Re: \"can't have it both ways\"):</strong> - Utter nonsense! Of course you be benevolent and keep a vested interest in something. His belief and benevolence toward Ubuntu is there to help it fix Bug #1 which helps his commercial interests in Canonical.</p>\n\n<p>There's no contract in kindness that stops you making money from it immediately or down the line.</p>\n", "commentCount": "7", "comments": [ { "creationDate": "2010-09-21T10:37:15.113", "id": "4569", "postId": "4493", "score": "0", "text": "Fair enough, but people don't usually spray there money around to the tune of millions of USD per year. If this is an investments, where are the returns expected to come from ? (see my comments to the other answers)", "userDisplayName": null, "userId": "2413" }, { "creationDate": "2010-09-21T12:54:00.870", "id": "4584", "postId": "4493", "score": "5", "text": "I think when you believe in something like open source as strongly as Mark does and you have as much money as Mark does (he got half a billion dollars from the sale of Thawte in 1999), pouring money into an organisation that stands a very good chance of making your dream come true makes a lot of sense.", "userDisplayName": null, "userId": "449" }, { "creationDate": "2010-09-21T17:14:48.607", "id": "4611", "postId": "4493", "score": "0", "text": "Oli:> maybe it's an education thing. I don't really think something important should rely on the whims of a benevolent leader (i.e. say he decides he prefers his girlfriends after all).", "userDisplayName": null, "userId": "2413" }, { "creationDate": "2010-09-21T17:32:04.110", "id": "4615", "postId": "4493", "score": "0", "text": "Oli:> As for your second edit. From an ethical point of view (and that of a user in my opinion) the question is whether in the cases (no matter how rare or unforeseeable) when the two objective conflicts, which one will prevail ? Depending on the answer to the above an action is either interested or benevolent. Obviously it can't be both.", "userDisplayName": null, "userId": "2413" }, { "creationDate": "2010-09-21T17:59:56.457", "id": "4618", "postId": "4493", "score": "3", "text": "You forget to mention consumer-level services. I'm paying 99$/year for a Dropbox Pro account and I'll love to give my money to Canonical as soon as Ubuntu One... well.. kinda works.", "userDisplayName": null, "userId": "211" }, { "creationDate": "2010-09-21T18:22:10.173", "id": "4622", "postId": "4493", "score": "0", "text": "Javier Rivera:> But can a credible business rely on voluntary payment as a mean of subsistence (the often commented failure of Radiohead's last album suggests to me this is a precarious business plan).", "userDisplayName": null, "userId": "2413" }, { "creationDate": "2010-09-21T18:35:44.283", "id": "4625", "postId": "4493", "score": "0", "text": "@kwak I think it *is* an educational thing. You need to read up on open source philosophies to learn why thousands of people and companies contribute and donate time, money and resources to FOSS. Radiohead's model is a red herring.", "userDisplayName": null, "userId": "449" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T10:08:58.343", "id": "4493", "lastActivityDate": "2010-09-21T13:11:39.497", "lastEditDate": "2010-09-21T13:11:39.497", "lastEditorDisplayName": null, "lastEditorUserId": "449", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "4489", "postTypeId": "2", "score": "21" }
[ { "accepted": null, "body": "<p>They hope to make money in the long run like Redhat. Now they're working on distributing it and making it known.</p>\n", "commentCount": "8", "comments": [ { "creationDate": "2010-09-21T10:45:43.493", "id": "4572", "postId": "4491", ...
2010-09-21T16:48:35.113
null
null
null
null
4497
1
null
2010-09-21T11:14:24.217
21
2069
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/75998/is-it-possible-to-have-a-different-background-for-each-workspace">Is it possible to have a different background for each workspace?</a> </p> </blockquote> <p>Is it possible to get a different wallpaper for each workspace using Compiz? I've found a tutorial telling me to find the Wallpaper option in CompizConfig, but it wasn't there.</p>
2331
-1
2017-04-13T12:24:32.903
2012-08-12T19:59:39.807
Workspace specific wallpapers with Compiz?
[ "compiz", "desktop-background" ]
0
0
CC BY-SA 2.5
[]
null
[]
null
0
2012-09-02T17:21:34.933
null
null
4498
1
4505
2010-09-21T11:41:50.190
22
14736
<p>Beagle was my favorite. But it is not maintained anymore, afaik. And it does not work reasonably; it stops working spontaneously and does not return any result. How can I correct this problem and if it is not possible what alternatives are available? Thank you.</p>
927
44179
2014-11-20T19:31:28.680
2017-07-15T02:11:56.763
What is a good desktop search tool?
[ "software-recommendation" ]
4
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>One tool I can recommend is <a href=\"http://www.gnome.org/projects/tracker/\" rel=\"nofollow noreferrer\"><code>tracker</code></a>. If you install the software, it is started automatically when you log in. It updates its index as a background process. If you want to search some item, there are different possibilities:</p>\n\n<ol>\n<li><strong>Nautilus</strong>: Press <kbd>Ctrl</kbd>+<kbd>f</kbd>. A windows opens where you can enter your search term.</li>\n<li><strong>GNOME applet</strong>: The deskbar applet allows you to enter a search term and shows a listing of found things.</li>\n<li><strong><a href=\"https://apps.ubuntu.com/cat/applications/catfish/\" rel=\"nofollow noreferrer\">Catfish</a></strong>: is a application which can talk with different search programs.</li>\n<li>Console: enter <code>tracker search foobar</code> and tracker will start its search. Type <code>tracker</code> for a full list of available commands.</li>\n</ol>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-21T14:56:20.540", "id": "4505", "lastActivityDate": "2017-07-15T02:11:56.763", "lastEditDate": "2017-07-15T02:11:56.763", "lastEditorDisplayName": null, "lastEditorUserId": "349837", "ownerDisplayName": null, "ownerUserId": "236", "parentId": "4498", "postTypeId": "2", "score": "13" }
[ { "accepted": true, "body": "<p>One tool I can recommend is <a href=\"http://www.gnome.org/projects/tracker/\" rel=\"nofollow noreferrer\"><code>tracker</code></a>. If you install the software, it is started automatically when you log in. It updates its index as a background process. If you want to search s...
null
null
2014-11-20T19:53:38.070
null
null
4499
1
null
2010-09-21T13:02:56.407
45
48779
<p>I'm hitting a problem whereby X prevents processes from creating windows, uttering something like the following into <code>~/.xsession-errors</code>:</p> <pre><code>cannot open display: :0.0 Maximum number of clients reached </code></pre> <p>Searching around there are lots of examples of people facing this problem, and sometimes people identify which program they are running is using up all the client slots. See e.g. <a href="https://launchpad.net/ubuntu/+source/firefox/+bug/70872">LP 70872</a> (Firefox), <a href="https://bugs.launchpad.net/ubuntu/+bug/263211">LP 263211</a> (gnome-screensaver).</p> <p>For what it's worth, I run gnome-terminal, thunderbird, chromium-browser, empathy, tomboy and virtualbox nearly all the time, on top of the normal stuff you get with the GNOME desktop, and occasionally some other bits and pieces.</p> <p>However my question is not "which of my programs is causing this problem" but rather, how can one go about diagnosing this problem?</p> <p>In the above (and other) bugs, forum reports, etc., a number of tools are suggested:</p> <ul> <li><code>xlsclients</code> - lists the client applications for the given display, but I don't think that corresponds to 'X clients'</li> <li><code>xrestop</code> - a top-style X resources tool, one row per X client. Lots of '' clients, not shown in <code>xlsclients</code> output</li> <li><code>xwininfo -root -children</code> lists X window objects</li> </ul> <p>From what I can gather, the problem might not be too many clients at all, but rather resources kept around in the X server for clients who have long-since detached. But it would also appear that you cannot (easily?) relate X resources back to their client. Can one effectively diagnose this issue once it has started to occur, or is a tedious divide-and-conquer approach for the apps I run the only approach open to me?</p> <p>Update Jan 2011: I think I have resolved this issue. For the benefit of anyone stumbling across this, nautilus and/or compiz or something in that chain of software was segfaulting due to a wallpaper I had. I had chosen an XML file as my wallpaper, which defined a rotating gallery of images. It was hand-made, but based on /usr/share/backgrounds/contest/background-1.xml or similar. Disabling the wallpaper and I have not had a crash since.</p> <p>I'm not marking this as answered yet, since the actual specific problem was not my question, but how to diagnose it was. Unfortunately this was mostly trial-and-error which sucks.</p>
2327
25863
2012-06-18T18:19:39.110
2020-01-28T15:53:41.873
How can I diagnose/debug "maximum number of clients reached" X errors?
[ "xorg", "debug" ]
7
3
CC BY-SA 2.5
[ { "creationDate": "2010-10-10T09:25:16.730", "id": "5617", "postId": "4499", "score": "1", "text": "Have you checked the `xrestop` output? What do the first 3 lines tell you? How much memory/video memory do you have in the machine?", "userDisplayName": null, "userId": "2742" }, { ...
null
[ { "accepted": null, "body": "<p>Chromium/Chrome has some known issues which result in this error message. Do you use the Lastpass extension?</p>\n\n<p>ref: <a href=\"http://www.ngohaibac.com/how-to-solve-maximum-number-of-clients-reached-gtk-warning-cannot-open-display-in-ubuntu-9-10-64-bit/\" rel=\"nofollo...
null
null
null
null
null
4502
1
null
2010-09-21T13:19:44.423
21
1132
<p>How can I find out why a particular package was installed?</p> <ul> <li>Is it part of the default installation?</li> <li>Was it specified manually, or was it chosen automatically to meet dependencies?</li> <li>Which packages are dependent on it?</li> <li>When was it installed?</li> </ul>
1859
null
null
2010-09-21T16:04:00.600
How can I find out why a package was installed?
[ "package-management", "dependencies" ]
0
0
CC BY-SA 2.5
[]
null
[]
null
0
2016-01-10T20:51:48.747
null
null
4507
1
61882
2010-09-21T15:26:23.397
234
182832
<p>Is there a way to disable the middle mouse button paste behavior that is here by default on gnome?</p> <p>I have a sensitive mouse wheel and whenever I scroll texts, sometimes it pastes stuff randomly into the text. I lose quite a lot of credibility when I send a file to someone else that has random text snippets pasted all over it.</p> <p>I have seen a <a href="https://wiki.ubuntu.com/X/Config/Input#Example%3a%20Disabling%20middle-mouse%20button%20paste%20on%20a%20scrollwheel%20mouse">solution</a> that goes by mapping the mouse's middle button to a non-existant mouse button, but that implies getting rid of the middle mouse button altogether (i.e. no tab-closing, opening links into a new tab automatically, etc.). I'd like to keep my middle mouse button active, just disable the pasting behavior.</p> <p>This also happens when I scroll text with my touchpad (accidentally hit two-fingers without moving, bam.) </p> <p>So the problem will not be fixed just by changing for a new mouse (in fact I believe it happens more often with my touchpad than with my mouse).</p>
119
196255
2013-12-11T11:31:53.130
2024-03-26T01:30:27.433
How do I disable middle mouse button click paste?
[ "xorg", "clipboard" ]
28
9
CC BY-SA 3.0
[ { "creationDate": "2011-06-20T14:09:45.253", "id": "55061", "postId": "4507", "score": "35", "text": "Really annoying default behaviour. How did you disable it?", "userDisplayName": null, "userId": "17226" }, { "creationDate": "2011-06-20T16:04:58.677", "id": "55083", "po...
{ "accepted": true, "body": "<p>For a solution to the problem, please view <a href=\"https://web.archive.org/web/20211025212803/https://app.assembla.com/spaces/slipstream/wiki/Disabling_GTK%27s_middle_mouse_button_functionality\" rel=\"nofollow noreferrer\">this guide I wrote</a>:</p>\n<blockquote>\n<p>A while ago, I wrote a patch to disable the 'middle mouse button paste' functionality in GTK. I thought that there would be others who want to disable it as well, and hence I thought I should write a small guide to explain how this feat can be accomplished.</p>\n<p>Now, some may ask, why would anyone want to disable it? There are a few reasons:</p>\n<ul>\n<li>The middle mouse button doesn't actually paste the so-called XA_CLIPBOARD clipboard, but the XA_PRIMARY clipboard. This is probably counterintuitive to many (users coming from Windows, perhaps), and therefore some may view it as more user-friendly to disable the &quot;inconsistent&quot; or unexpected behavior.</li>\n<li>Some may accidentally paste text using the middle mouse button, and want to avoid that.</li>\n</ul>\n<p>A bit of background regarding the XA_CLIPBOARD and XA_PRIMARY clipboard:\nThe XA_PRIMARY clipboard is used mostly for storing selections. Whenever you select some text in for example the GNOME Text Editor (gedit), this text is copied to the XA_PRIMARY clipboard. This text is <em>not</em> pasted when you use the 'Edit -&gt; Paste' menu item, only when you click the middle mouse button. The XA_CLIPBOARD clipboard is mostly used when one uses the general 'Copy/Paste' functionality (through keyboard shortcuts, such as CTRL+C and CTRL+V, or through the menu items 'Edit -&gt; Copy' and 'Edit -&gt; Paste').</p>\n<p>Perhaps a patch of this sort (or more drastic changes to the X clipboard and/or how libraries/applications use it) could some day become standard in Linux. I realize opinions on this differ greatly. However, for people who seek to minimize the chances of accidentally pasting some random text, the patch can be pretty useful. For example, with the patch, you can't accidentally paste (at least, with the middle mouse button) text into a document you are editing, or into a web page, or into an instant message, etc.</p>\n<p>The guide is for Debian or Debian-based Linux distributions such as Ubuntu and Mint.</p>\n<p>What follows are terminal commands with a brief description of what they do (the lines starting with # are comments, which contain these descriptions). You should start a terminal and enter the commands one by one, after carefully reading the descriptions.</p>\n<pre><code># This is a small guide that explains how to patch GTK so that the middle mouse\n# button doesn't paste text anymore.\n\n# NOTE:\n# The below instructions are for GTK2. However, they should be easy to adapt\n# for GTK3 (at the time of writing, the patch works fine for GTK3 too).\n\n# First, update the system by first synchronizing the package index files, and\n# then upgrading the packages.\nsudo apt-get update\nsudo apt-get upgrade\n\n# Get the build dependencies and essential packages needed in order to compile\n# code and create packages.\nsudo apt-get build-dep libgtk2.0-0\nsudo apt-get install build-essential\n\n# Create a temporary directory, in which we will store the GTK sources and\n# later on the packages.\nmkdir /tmp/gtk\ncd /tmp/gtk\n\n# Download the actual patch that will disable the 'middle mouse button paste'\n# functionality (it should be stored in the directory '/tmp/gtk', and will be,\n# if you indeed executed the command 'cd /tmp/gtk').\nwget http://subversion.assembla.com/svn/slipstream/patches/gtk_disable_middle_mouse_button_paste.patch\n\n# Retrieve the GTK sources.\napt-get source libgtk2.0-0\n\n# You should adapt this line so that it changes to the correct directory (the\n# name of the directory that I used here will probably not match the name of\n# the directory that was created during 'apt-get source libgtk2.0-0', as it\n# contains a version number that often changes). You can find out what the\n# correct directory is by entering 'ls -d */' (without the quotes) and looking\n# at the names of the directories that it shows.\ncd gtk+2.0-2.20.1\n\n# Apply the patch that we downloaded earlier.\npatch -p1 &lt; /tmp/gtk/gtk_disable_middle_mouse_button_paste.patch\n\n# The output of the previous command should be:\n# patching file gtk/gtkselection.c\n# If it wasn't, then something went wrong. Maybe you mistyped something, maybe\n# the current directory isn't the correct directory, maybe the GTK sources\n# were changed and the patch doesn't work anymore, etc.\n\n# Build the package (you may have to be patient, this may or may not take a\n# while).\ndpkg-buildpackage -uc -us --source-option=--auto-commit\n\n# You should adapt this line so that it installs the correct package. The\n# package that we want to install is the package containing the GTK library,\n# thus _not_ the 'bin', 'udeb', 'common', 'dev', or 'doc' package. To find out\n# what the exact package is that you should install, try to find the package (a\n# file with a name ending in '.deb') which is closest to the example filename I\n# used here (the packages are stored in '/tmp/gtk', and you can list the\n# packages using the command 'ls /tmp/gtk/*.deb' (without the quotes)).\nsudo dpkg -i ../libgtk2.0-0_2.20.1-2_i386.deb\n\n# And lastly, to make sure that only the patched library is in use, you should\n# either log out and back in, or restart your computer.\n# And then, the 'middle mouse button paste' functionality should be disabled.\n# To test whether it is, try selecting some text in the GNOME Text Editor, or\n# in a GNOME Terminal, and then press the middle mouse button while the cursor\n# hovers over some place where you can normally type text. If indeed no text\n# appears, then it appears that the patch worked.\n# If however, the patch did not work, try to re-read this document, to see if\n# you made any mistake. And if you did, you may want to either start all over\n# again (should be fail-safe), or continue with the guide from the point where\n# you made a mistake.\n</code></pre>\n</blockquote>\n<p>Or, more directly, <a href=\"https://web.archive.org/web/20211025212948/https://subversion.assembla.com/svn/slipstream/patches/gtk_disable_middle_mouse_button_paste.patch\" rel=\"nofollow noreferrer\">here's the patch</a> to disable the 'middle mouse button paste' functionality in GTK:</p>\n<pre><code>diff -ur gtk+2.0-2.20.1/gtk/gtkselection.c gtk+2.0-2.20.1-patched/gtk/gtkselection.c\n--- gtk+2.0-2.20.1/gtk/gtkselection.c 2010-05-01 22:14:29.000000000 -0500\n+++ gtk+2.0-2.20.1-patched/gtk/gtkselection.c 2011-09-17 10:45:37.000000000 -0500\n@@ -1065,6 +1065,24 @@\n display = gtk_widget_get_display (widget);\n owner_window = gdk_selection_owner_get_for_display (display, selection);\n\n+ if (selection == gdk_atom_intern(&quot;PRIMARY&quot;, TRUE)) {\n+ GtkSelectionData selection_data;\n+\n+ selection_data.selection = selection;\n+ selection_data.target = target;\n+ selection_data.type = gdk_atom_intern(&quot;STRING&quot;, TRUE);\n+ selection_data.format = 8;\n+ selection_data.data = (unsigned char *)&quot;&quot;;\n+ selection_data.length = 0;\n+ selection_data.display = display;\n+\n+ gtk_selection_retrieval_report(info, selection_data.type,\n+ selection_data.format, selection_data.data,\n+ selection_data.length, time_);\n+\n+ return TRUE;\n+ }\n+ \n if (owner_window != NULL)\n {\n GtkWidget *owner_widget;\n</code></pre>\n", "commentCount": "17", "comments": [ { "creationDate": "2011-11-28T20:50:10.160", "id": "94697", "postId": "61882", "score": "0", "text": "I haven't had the time to try it (partly because I no longer have a laptop), but this seems like the solution to my problem :)", "userDisplayName": null, "userId": "119" }, { "creationDate": "2012-08-21T14:54:58.397", "id": "221624", "postId": "61882", "score": "2", "text": "I'm using Ubuntu 12.04 64 bit with gtk 2.0-0_2.24.10, and it failed on the dpkg-buildpackage line. It wouldn't build with uncommitted local changes, so I had to run dpkg-source --commit.", "userDisplayName": null, "userId": "66569" }, { "creationDate": "2012-08-26T23:40:14.933", "id": "224990", "postId": "61882", "score": "2", "text": "@Sam: Thanks for the heads up. Apparently, the `--source-option=--auto-commit` option can be passed to `dpkg-buildpackage` (which is somewhat more convenient as one doesn't have to edit the change log). I've updated the guide to reflect this.", "userDisplayName": null, "userId": "25146" }, { "creationDate": "2013-07-04T17:38:49.913", "id": "400640", "postId": "61882", "score": "2", "text": "I tried this solution, but every time I got to the `sudo apt-get build-dep libgtk2.0-0` part I get an error with `Picking 'gtk+2.0' as source package instead of 'libgtk2.0-0'\nE: Unable to find a source package for gtk+2.0` Help?", "userDisplayName": null, "userId": "30304" }, { "creationDate": "2013-07-12T12:51:14.403", "id": "404918", "postId": "61882", "score": "2", "text": "@FCTW: I suspect the cause of the problem is that GTK3 has replaced GTK2 in modern distributions. Hence, you'll have to find the package name of the installed GTK3 library, by running a command like `dpkg -l | grep libgtk`. It's probably something like libgtk-3-0. I have verified my patch to work on early versions of GTK3; hopefully it still works.", "userDisplayName": null, "userId": "25146" }, { "creationDate": "2016-03-01T15:26:57.817", "id": "1101850", "postId": "61882", "score": "0", "text": "The `Unable to find a source package for gtk+2.0` problem can be resolved by adding `deb-src` lines in addition to `deb` lines in software sources.", "userDisplayName": null, "userId": "128252" }, { "creationDate": "2016-03-01T15:28:15.443", "id": "1101851", "postId": "61882", "score": "0", "text": "I tried this solution, every command was successful, but after a reboot I still have the middle click paste! :( libgtk version 2.24.23-0ubuntu1.4 Any suggestions?", "userDisplayName": null, "userId": "128252" }, { "creationDate": "2016-03-08T19:46:06.027", "id": "1106453", "postId": "61882", "score": "0", "text": "@lolmaus: Your problem may well be due to GTK+ 3 being used by programs, so the programs processing your middle click are not using the code that you're patching. That is, unfortunately, installing and patching GTK+ 2 doesn't help, which is what you seem to have done.", "userDisplayName": null, "userId": "25146" }, { "creationDate": "2016-03-09T10:16:36.263", "id": "1106874", "postId": "61882", "score": "0", "text": "Is there a patch for GTK+ 3?", "userDisplayName": null, "userId": "128252" }, { "creationDate": "2017-04-02T00:20:06.717", "id": "1409755", "postId": "61882", "score": "1", "text": "For Gnome use TWEAK > Keyboard and Mouse > Middle Mouse Paste ( OFF ) -- ubuntu x64 on gnome3", "userDisplayName": null, "userId": "229716" }, { "creationDate": "2017-04-02T06:08:11.120", "id": "1409822", "postId": "61882", "score": "0", "text": "@JREAM it works, but unfortunatelly it back pasting again after restart. and cannot be disabled again", "userDisplayName": null, "userId": "279608" }, { "creationDate": "2018-08-22T15:27:44.247", "id": "1750403", "postId": "61882", "score": "3", "text": "This seems to be the only answer actually answering the question. And unfortunately it seems outdated. Any fix that currently works? (Universally I mean. The tweak tool can turn it off in some programs like Gedit, but not in the majority of programs.)", "userDisplayName": null, "userId": "800252" }, { "creationDate": "2019-09-17T12:09:17.650", "id": "1960796", "postId": "61882", "score": "0", "text": "@Kvothe: I would always prefer a solution that is provided by the system and try to avoid patching the system. In the past it probably was not possible to deactivate this function without patching, but now it is (like described in Sunny127's post). The fact, that the patch doesn't work for newer versions of ubuntu should be reason enough. But Jelle's solution deserves respect. It is well described and elaborated and was probably the best solution at it's time.", "userDisplayName": null, "userId": "962590" }, { "creationDate": "2019-09-17T16:32:57.173", "id": "1960929", "postId": "61882", "score": "0", "text": "@jottbe The point of my comment was that no other answer actually answered the question including Sunny127's post. Note that his solution only turns of the middle button paste in a few programs. System wide it is left untouched (as you notice as soon as you use something else than Gedit or a few lucky other applications). By the way I found the following solution on unix stackexchange, https://unix.stackexchange.com/a/277488/288916, that did work. (I also wrote up an answer here with a bit more explanation of what I had to do to make that solution work.)", "userDisplayName": null, "userId": "800252" }, { "creationDate": "2019-09-17T17:34:04.247", "id": "1960967", "postId": "61882", "score": "0", "text": "@Kvothe: thank you for the clarification. Didn't know that. I hope it works at least for `spyder` (python development environment), than I already would be happy.", "userDisplayName": null, "userId": "962590" }, { "creationDate": "2019-12-19T10:42:54.943", "id": "2006294", "postId": "61882", "score": "0", "text": "No answer has been included in the actual question", "userDisplayName": null, "userId": "558158" }, { "creationDate": "2020-01-03T16:14:17.430", "id": "2012679", "postId": "61882", "score": "0", "text": "For those who stumble upon this answer and it doesn't solve their problem check this other answer a few scrolls apart from this one: https://askubuntu.com/a/1144039/230104 . IMO that should've been the accepted answer not this one here.", "userDisplayName": null, "userId": "230104" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-09-17T21:27:07.573", "id": "61882", "lastActivityDate": "2021-10-25T21:26:48.810", "lastEditDate": "2021-10-25T21:26:48.810", "lastEditorDisplayName": null, "lastEditorUserId": "25146", "ownerDisplayName": null, "ownerUserId": "25146", "parentId": "4507", "postTypeId": "2", "score": "18" }
[ { "accepted": null, "body": "<p>did you check out gpm ? More info at <a href=\"http://manpages.ubuntu.com/manpages/lucid/man8/gpm.8.html\" rel=\"nofollow\">http://manpages.ubuntu.com/manpages/lucid/man8/gpm.8.html</a>. Available via <code>sudo aptitude install gpm</code> on lucid. I don't see the disable-pa...
null
null
null
null
null
4508
1
4514
2010-09-21T15:28:52.140
18
15746
<p>I have an USB drive which I know is virus infected (an anti-virus on my friend's machine detected it). Unfortunately neither of us know the virus name and I don't want to take the risk of plugging it to my Windows box again.</p> <p>Of course, in all probability the virus affects only Windows. (But I'm not sure) I want to know if I can safely plug the USB into my Ubuntu Lucid laptop and copy the stuff I need from the drive. If there are some precautions I need to follow what would they be?</p>
2321
3037
2011-01-03T13:33:26.080
2022-05-01T02:42:48.853
How do I safely use a virus infected USB drive in Ubuntu?
[ "10.04", "security", "usb-drive" ]
4
1
CC BY-SA 2.5
[ { "creationDate": "2022-04-29T21:09:34.160", "id": "2441293", "postId": "4508", "score": "0", "text": "See also: [Information Security: Safe to connect a USB to Linux?](https://security.stackexchange.com/q/123872/118319)", "userDisplayName": null, "userId": "327339" } ]
{ "accepted": true, "body": "<p>Linux systems usually do not execute code from a USB stick when just connecting it. Thus copying stuff from it should be safe.</p>\n\n<p>Keep in mind that the copied files may contain malicious code. For example, some evil java-script inside a html file or an evil office-script inside you word/open-office-writer documents. That means, you should be careful with these files - don't open these files with programs that are known to execute embedded scripting code.</p>\n\n<p>Well, and don't directly execute binary executables that are copied from that stick.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2010-09-21T17:01:35.043", "id": "4608", "postId": "4514", "score": "0", "text": "Javascript in HTML files can *not* harm your system because they can't access anything outside of a browser. The worst that can happen is that there is an intentional infinite loop that eats CPU (then you just close the browser).", "userDisplayName": null, "userId": "667" }, { "creationDate": "2010-09-21T17:06:12.603", "id": "4609", "postId": "4514", "score": "2", "text": "@dv3500ea that's not entirely true. The JavaScript could execute an exploit in an number of softwares other than the browsers (Flash, Java, etc) that ends up infecting a computer. However - the likelihood of it being an infection for Linux computers is very slim. Linux has the mantra \"Security through obscurity\". With such a relatively small market share most viruses are produced for Windows machines not Linux.", "userDisplayName": null, "userId": "41" }, { "creationDate": "2010-09-21T17:17:32.667", "id": "4612", "postId": "4514", "score": "0", "text": "@dv3500ea: for an example how java-script can harm you - check out http://en.wikipedia.org/wiki/Cross-site_scripting and get scared ;) Sure, your system is not necessarily harmed, but perhaps some homebanking data is transfered ...", "userDisplayName": null, "userId": "1627" }, { "creationDate": "2010-09-21T17:26:37.050", "id": "4614", "postId": "4514", "score": "8", "text": "@Marco Ceppi: Linux does not have any security-by-obscurity mantra. Linux systems implement a lot of stuff that goes quite in the opposite direction: user separation, make it hard to surf as root, convenient system wide security upgrading including application programs, a major ban on proprietary software, etc. And keep in mind that the market share of linux is quite different between the (web-)server and desktop market.", "userDisplayName": null, "userId": "1627" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T16:51:00.303", "id": "4514", "lastActivityDate": "2010-09-21T16:51:00.303", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1627", "parentId": "4508", "postTypeId": "2", "score": "15" }
[ { "accepted": null, "body": "<p>There is very little to worry about. Just copy the files you need to your laptop then format the drive. Don't copy files if you don't know what they are because these are likely to be the virus. Make sure you don't execute anything on the drive just to be safe. </p>\n", "...
null
null
null
null
null
4526
1
4557
2010-09-21T20:20:50.913
4
425
<p>Somehow, I managed to break my ATI drivers by trying to install a new driver from AMD's website. I tried uninstalling (amdcccle,fglrx and pretty much everything that seemed related to ATI in Synaptic) / reinstalling many times but I keep getting crashes and my Hardware Drivers utility doesn't even detect the presence of my ATI card anymore.</p> <p>Is there any way to repair my ATI drivers or will I have to reinstall Ubuntu? I've already spent many hours on this and I'm starting to believe reinstalling will be the easiest.</p>
2331
41
2010-09-21T21:58:07.527
2010-09-22T11:01:23.057
I managed to break my ATI drivers, what should I do?
[ "xorg", "graphics", "ati" ]
2
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-21T20:25:44.530", "id": "4635", "postId": "4526", "score": "0", "text": "What you need is a way to disable the kernel module that loads the faulty driver... but I'm not smart enough to tell you how to do that :)", "userDisplayName": null, "userId": "5" }, {...
{ "accepted": true, "body": "<p>Don't panic!</p>\n\n<p>You didn't break the drivers a recent security fix did:</p>\n\n<p><a href=\"https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/642518\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/642518</a></p>\n\n<p>It turns out a security fix in the kernel broke the driver. Ubuntu developers are working to fix their version of the fglrx driver however in that bug an ATI developer says you'll have to wait for the next fglrx driver in October (10.10 I guess).</p>\n\n<p>Hopefully we will have the fix to the ubuntu version in the next day or two.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T11:01:23.057", "id": "4557", "lastActivityDate": "2010-09-22T11:01:23.057", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1924", "parentId": "4526", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>1: If you installed via the shell script (i.e. didn't generated .deb's) you should do</p>\n\n<p><code>sh /usr/share/fglrx/fglrx-uninstall.sh</code></p>\n\n<p>After this, you should be able to generate .debs/install via script</p>\n\n<p>2: If you previously had the ati drivers...
null
null
null
null
null
4527
1
4533
2010-09-21T20:25:57.210
5
4346
<p>I want something that runs on my computer that somehow interrogates X and tells me <em>exactly</em> the font, not a guess.</p>
289
289
2010-09-21T20:31:34.223
2010-09-21T21:34:17.663
How do I find out the name of the font used to display some specific text on the screen?
[ "fonts" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I don't think there is a general solution. Once the text has been rendered, there's no reason why any component of the system would have kept the information of what font it was rendered from around. So you'll have to somehow watch when the program renders the text. In any case, how to get at the information depends on the rendering engine.</p>\n\n<p>Most programs render through the fontconfig library. If you start a fontconfig-using program with the <code>FC_DEBUG</code> environment variable set to a suitable value, it will show some information about fonts being loaded, though not what font is being used for rendering which text. Still, try running <code>FC_DEBUG=2053 myprogram</code>. See <code>/usr/share/doc/fontconfig/fontconfig-user.txt.gz</code> for the meaning of <code>$FC_DEBUG</code>.</p>\n\n<p>Traditional unix programs render text using bitmap fonts managed by the X server. Then you could see what font was used to render what text by spying on the X protocol conversation and watching for <code>OpenFont</code>, <code>ImageText</code> and a few other messages. I don't have ready-for-use tools to suggest.</p>\n\n<p>If you're only interested in a particular application, there may be a better way that's specific to that application.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T21:34:17.663", "id": "4533", "lastActivityDate": "2010-09-21T21:34:17.663", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1059", "parentId": "4527", "postTypeId": "2", "score": "6" }
[ { "accepted": null, "body": "<p>A great resource for identifying fonts is here:</p>\n\n<p><a href=\"http://new.myfonts.com/WhatTheFont/\" rel=\"nofollow\">http://new.myfonts.com/WhatTheFont/</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-21T20:30:44.620", ...
null
null
null
null
null
4529
1
null
2010-09-21T20:40:36.827
4
1035
<p>I'm using <strong>Ubuntu 10.04</strong> and have an issue with <strong>Movie Player Totem</strong>. Recently I got a great movie. For those who know <em>"Wall Street" 1987</em>. So I was watching it and for no reason totem shut himself down.</p> <p>Did any of you have such issue?<br> Is there any solution for that?</p> <hr> <p><strong>UPD:</strong></p> <p>When I execute totem from command line as root it gives me such message:</p> <pre><code>(totem:2986): Totem-WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name </code></pre> <p>But will I start it as root or just as user doesn't matter it shuts down without any error message in terminal.</p>
2028
235
2011-09-10T19:18:31.913
2011-09-10T19:18:31.913
Movie player Totem shuts down without any error message
[ "10.04", "video-player" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2010-09-21T20:48:18.143", "id": "4639", "postId": "4529", "score": "1", "text": "Try executing Totem Player from the command line. Open the terminal then type `totem`. It'll launch and messages will be piped to the command prompt. Try watching your movie again and when it clos...
null
[ { "accepted": null, "body": "<p>As mentioned in this group post ( <a href=\"http://groups.google.com/group/linux.gentoo.user/browse_thread/thread/74fe3091604481c9\" rel=\"nofollow\">http://groups.google.com/group/linux.gentoo.user/browse_thread/thread/74fe3091604481c9</a>)</p>\n\n<p>this error happens when ...
null
null
null
null
null
4530
1
4531
2010-09-21T21:02:16.623
7
486
<p>I do know there are questions and good answers, what to do if Ubuntu just hangs (like this one: <a href="https://askubuntu.com/questions/4408/what-should-i-do-when-ubuntu-freezes">What should I do when Ubuntu freezes?</a>). My problem is that such a hang occurs so seldom for me, that I don't remember most of the answers at that time and I have no second machine to ask the Internet while my main system hangs.</p> <p>I always remember how to open the console using some Ctrl-Alt-Fx combination. So is there a possibility to <strong>have some lines of "intro text" in that console</strong>, which tell me directly after switching to the console how to kill hanging processes and how to properly reboot? Think of it as a "reminder to self".</p> <p>DOS had the ability to change the prompt in a console to arbitrary output. Maybe something similar can be done here to get me remember at least the basics?</p>
277
-1
2017-04-12T07:23:19.023
2010-09-21T21:17:17.480
Add some default text to Ctrl-Alt-F1 console to remind myself how to reboot properly
[ "reboot", "console", "prompt" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-23T20:27:54.190", "id": "4762", "postId": "4530", "score": "0", "text": "Sticky note? XD", "userDisplayName": null, "userId": "2383" }, { "creationDate": "2010-09-23T20:28:11.897", "id": "4763", "postId": "4530", "score": "0", "text": "j...
{ "accepted": true, "body": "<p>In the text console, you'll see a line with a text like <code>Ubuntu 10.04 darkstar tty1</code> just before the login prompt. This message comes from the file <code>/etc/issue</code>, which you can customize to your wishes. The escape sequences are described in the <code>getty(1)</code> manual page.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-23T15:46:03.133", "id": "4743", "postId": "4531", "score": "0", "text": "Tested. Works fine. I'm still waiting for the next distribution update to see if my changes are replaced. If so, I might switch to the other solution.", "userDisplayName": null, "userId": "277" }, { "creationDate": "2010-12-11T12:09:18.323", "id": "18119", "postId": "4531", "score": "0", "text": "3 months later: I have successfully used the above system on two occasions now. Both times it helped avoid rebooting. Quite good, because I usually have several projects and documents opened at the same time and don't want to risk issues with them.", "userDisplayName": null, "userId": "277" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-21T21:16:26.987", "id": "4531", "lastActivityDate": "2010-09-21T21:16:26.987", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1059", "parentId": "4530", "postTypeId": "2", "score": "9" }
[ { "accepted": true, "body": "<p>In the text console, you'll see a line with a text like <code>Ubuntu 10.04 darkstar tty1</code> just before the login prompt. This message comes from the file <code>/etc/issue</code>, which you can customize to your wishes. The escape sequences are described in the <code>gett...
null
null
null
null
null
4535
1
4542
2010-09-21T22:52:08.103
1
1214
<p>Is there a way to disable compiz effects for just one window type or application?</p> <p>I use the alt + mouse click shortcut to move windows and I like it, but when I use inkscape I cannot use any options of the application that use alt because compiz immediately grabs the alt and puts me in window movement mode. I think this is a bad design, applications should be able to override this behavior if they need to....</p> <p>Anyways is there a way to do it?</p> <p>Thanks.</p>
119
null
null
2010-09-22T13:14:39.157
Turn off compiz effects for one specific window?
[ "compiz" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It's not possible. Gamers have been <a href=\"http://www.ubuntu-inside.me/2009/05/howto-automatically-disable-compiz-when.html\" rel=\"nofollow\">dealing with</a> this topic for some time.</p>\n\n<p>Furthermore, moving windows by using Alt+click isn't a feature of only Compiz. Metacity, the default window manager in GNOME (and hence the fallback when Compiz is disabled), does just the same thing.</p>\n\n<p>Looking back to your original reason for wanting to do this, one workaround would be to use the \"Windows\" key instead of Alt:</p>\n\n<ul>\n<li>Change the setting at System -> Preferences -> Windows -> Movement Key</li>\n</ul>\n\n<p>You can also choose to disable the feature entirely:</p>\n\n<ul>\n<li>If you're using Compiz, open <a href=\"http://apt.ubuntu.com/p/compizconfig-settings-manager\" rel=\"nofollow\">CompizConfig Setting Manager</a> and disable the \"Initiate Window Move\" binding for the \"Move Window plugin\".</li>\n<li>If you're using Metacity, run <code>gconf-editor</code> and set <code>/apps/metacity/general/mouse_button_modifier</code> to be blank.</li>\n</ul>\n\n<p>It seems to me, though, that the most appropriate solution would be to change Inkscape's behavior:</p>\n\n<ul>\n<li>The <a href=\"http://wiki.inkscape.org/wiki/index.php/FAQ#How_to_make_Alt.2Bclick_and_Alt.2Bdrag_work_on_Linux.3F\" rel=\"nofollow\">Inkscape FAQ</a> describes the modifications you will have to make to one of Inkscape's configuration files.</li>\n</ul>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T01:25:37.063", "id": "4542", "lastActivityDate": "2010-09-22T13:14:39.157", "lastEditDate": "2010-09-22T13:14:39.157", "lastEditorDisplayName": null, "lastEditorUserId": "1859", "ownerDisplayName": null, "ownerUserId": "1859", "parentId": "4535", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>I don't know if there is a way to disable the behaviour for a specific window, but you could change the key biding to Super + Click instead.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-21T23:38:03.483", "id": "4655", ...
null
null
null
null
null
4538
1
null
2010-09-22T00:20:05.307
2
423
<p>I've tried Evolution 2.30.3 from Jacob's ppa on Lucid and the version of 2.30.3 in Maverick beta, they differ and both have significant shortcomings. You can't right click on an email and create a meeting, event or task, for example. Some settings don't work in the Maverick version -- (un)compress weekends in month view, for example. No alarms for events just adds to its woes.</p> <p>If evo is not working reliably in Maverick, I'll stick with 2.28.3 in Lucid.</p>
null
235
2010-09-22T00:25:56.240
2010-09-22T00:30:06.440
What version of Evolution will be in Maverick?
[ "10.10", "evolution" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>According to its Launchpad page the current version in Maverick is 2.30.3.</p>\n\n<p><a href=\"https://launchpad.net/ubuntu/+source/evolution\" rel=\"nofollow\">https://launchpad.net/ubuntu/+source/evolution</a></p>\n\n<p>(Tip: You can use any package name in Ubuntu and repla...
null
null
2013-03-14T17:18:06.910
null
rustycanb
4546
1
null
2010-09-22T04:22:23.180
15
62744
<p>With the purchase of an Intel SSD and 85WHr Li-ion battery and the linking of wifi and bluetooth to my laptop's wireless switch, extensive Intel PowerTop usage, switching from compiz to metacity, stopping of the desktop-couch daemon, removal of Ubuntu One and several other services from my startup, disabling of everything possible in my BIOS, and physical removal of my optical drive, I've gotten my battery life up fairly high, but I think there's still more to be done. Specifically, when I'm in class taking notes, I want to temporarily but <em>completely</em> power down:</p> <ul> <li>Ethernet</li> <li>Firewire</li> <li>USB ports</li> <li>SD card reader</li> <li>Optical drive</li> <li>Webcam</li> <li>Sound card</li> <li>PCMCIA slot</li> </ul> <p>..without turning them off in my BIOS like they are now, if possible, because then I have to restart my computer to use any of them. As it stands, I still haven't managed to power down:</p> <p>Firewire USB connection to webcam sound card</p> <p>How do I tell Linux to disable and power down these devices? Is it true that any PCI slot can be physically powered down?</p> <p>My current idle power consumption is 7.9 watts plus the screen. (10.0W at min. brightness)</p> <p>Also, how do I set the screen timeout to ten seconds? gconf editor isn't honoring it when I set it to that. Will switching from nVidia to Nouveau save any significant amount of power?</p>
2142
169736
2014-06-06T03:11:00.780
2016-05-21T20:42:55.490
How do I turn off PCI devices?
[ "kernel" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2013-05-29T02:48:55.357", "id": "379037", "postId": "4546", "score": "0", "text": "All the settings are here http://askubuntu.com/questions/285434/is-there-a-power-saving-application-similar-to-jupiter/285681#285681", "userDisplayName": null, "userId": "85053" } ]
null
[ { "accepted": null, "body": "<p>I could be wrong (if you think I am, just leave a comment) but I always thought that things that were plugged in (or soldered on, as is the case in most laptops) are always \"on\" and available unless disabled in the BIOS.</p>\n\n<p>However most of these devices will only be ...
null
null
null
null
null
4550
1
null
2010-09-22T08:56:50.823
2
2316
<p>I'm trying to use a Java-based application that requires sound in Ubuntu 10.04 using sun-java from partner repos . However, the sound is way too fast. It seems like a chipmunk got into my speakers. :)</p> <p>Is this happening to anyone else? Any ideas on how to fix it?</p>
2437
41
2010-10-15T15:57:36.830
2010-10-15T15:57:36.830
Java and ALSA problems
[ "sound", "pulseaudio", "java" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>I have similar problems using pulse audio and Java applications, except for me I get no sound for my entire system once JVM starts... but if I have an application running before JVM starts, it's sound still works.</p>\n\n<p>I run my java programs with aoss javaws /program/to/...
null
null
2013-03-14T17:18:11.357
null
null
4552
1
4573
2010-09-22T09:14:08.337
2
598
<p>Installed Ubuntu on my friends laptop. Notifications are showing in the old style, the stock gnome support. notify-osd is installed. </p> <p>Any help?</p>
214
866
2010-11-16T20:04:25.177
2010-11-16T20:04:25.177
How to show the new style notifications?
[ "notification", "notify-osd" ]
1
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-22T10:11:45.910", "id": "4668", "postId": "4552", "score": "0", "text": "What do you mean \"old style\"? Do you have a screenshot?", "userDisplayName": "user415", "userId": null }, { "creationDate": "2010-09-22T13:24:24.957", "id": "4669", "post...
{ "accepted": true, "body": "<p>Solved. </p>\n\n<p>I removed the <code>notification-daemon</code> package and the notify-osd started to show up.</p>\n\n<p>version was 10.10</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T17:09:23.587", "id": "4573", "lastActivityDate": "2010-09-22T18:18:08.037", "lastEditDate": "2010-09-22T18:18:08.037", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "214", "parentId": "4552", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>Solved. </p>\n\n<p>I removed the <code>notification-daemon</code> package and the notify-osd started to show up.</p>\n\n<p>version was 10.10</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creatio...
null
null
null
null
null
4555
1
null
2010-09-22T10:20:54.380
10
2852
<p>I've recently enabled Ubuntu's encrypted /home/ directory features and I was asked to remember a passphrase in case I would need to recover the data manually. </p> <p>What is the best way to store this passphrase without compromising security?</p>
2331
24694
2012-08-05T00:55:15.140
2017-02-12T21:29:01.080
What's the best way to store a passphrase?
[ "software-recommendation", "security", "encryption" ]
9
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Write it down, on a bit of paper. Put that paper somewhere safe, like where you put your passports and important papers.</p>\n\n<p>Encryption keys should be copied onto a USB stick and put into the same place.</p>\n\n<p>I use Password Gorilla and PasswordSafe for everyday pa...
null
null
null
null
null
4559
1
null
2010-09-22T11:39:06.900
2
3223
<p>How can I run a VPN connection on a non-standard port? I have set up a VPN on my router running DD-WRT which I connected to my main router. I have forwarded the port to port 90 and can not connect to the VPN with the Network Manager. If I change the port back to 1723 (the default port) I can connect just fine. Does anybody know how to fix this?</p> <p>Here are the relevant IP addresses:</p> <p>1.1.1.1=DD-WRT Router</p> <p>192.168.1.154=IP on <em>Internet Router</em></p> <p>64.7.134.78=IP</p> <p>I want it to work like this:</p> <pre><code>1.1.1.1:1723 &gt; 192.168.1.154:1723 &gt; 64.7.134.78:90 </code></pre> <p>But it will only work like this:</p> <pre><code>1.1.1.1:1723 &gt; 192.168.1.154:1723 &gt; 64.7.134.78:1723 </code></pre>
null
34576
2011-12-12T05:51:59.370
2011-12-12T05:51:59.370
PPTP VPN on Non-Standard Port
[ "network-manager", "vpn", "dd-wrt" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>It sounds as though you have forwarded the port to port 90 on the DD-WRT, is that correct?\nHave you checked your iptables configuraton on the DD-WRT to ensure that your packets to that port will be received? </p>\n\n<p>I don't currently know how to get Network Manager to PPT...
null
null
2013-03-14T17:18:18.407
null
user415
4561
1
null
2010-09-22T13:31:42.813
4
271
<p>i was installing an application using ubuntu software center and screen went blank i waited a while but nothing appearing no desktop so pretty much expected result is that i rebooted manually please correct this or tell me what should i do,iam not running any screensavers nor does the virtual console work</p>
2438
211
2010-09-22T17:09:14.677
2010-09-22T17:09:14.677
What should I do when I see blank screen?
[ "troubleshooting", "software-center" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-22T14:11:27.603", "id": "4670", "postId": "4561", "score": "0", "text": "STOP! HAMMERTIME?!", "userDisplayName": null, "userId": "333" }, { "creationDate": "2010-09-22T17:10:04.003", "id": "4678", "postId": "4561", "score": "0", "text": ...
null
[ { "accepted": null, "body": "<p><strong>REISUB time!!!</strong></p>\n\n<p>Just press ALT+Pet Sys and type slowly <a href=\"http://en.wikipedia.org/wiki/Magic_SysRq_key\" rel=\"nofollow\">REISUB</a>, one key at time. If it happens often you should probably investigate why is it happening. Ubuntu (and linux) ...
null
null
null
null
null
4564
1
4566
2010-09-22T14:33:21.923
16
40665
<p>My microphone doesn't work in Ubuntu. I have a Dell Studio XPS 16 laptop. </p> <p>What are the steps to install microphone support?</p>
2331
null
null
2021-01-09T22:36:38.720
How do I install my microphone?
[ "drivers", "microphone" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>@Oli was right it was just a mixer issue. For some reason, my internal microphone was set on \"mute\" by default.</p>\n\n<p>I fixed it by going in \"gnome-volume-control\", \"Input\" tab and unchecking \"mute\".</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T14:46:42.483", "id": "4566", "lastActivityDate": "2010-09-22T14:46:42.483", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2331", "parentId": "4564", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>It's installed, it's just a mixer issue. To fix:</p>\n\n<ol>\n<li>Run <code>alsamixer</code></li>\n<li>Set \"Digital Input\" option to \"Digital Mic\"</li>\n</ol>\n\n<p>More: <a href=\"http://www.linlap.com/wiki/dell+studio+xps+16\">http://www.linlap.com/wiki/dell+studio+xps+...
null
null
null
null
null
4571
1
4607
2010-09-22T16:34:06.867
22
8585
<p>I've recently started to systematically hibernate my laptop instead of shutting it down. </p> <p>The main reason I chose to do this is that I use one of my workspace as a highly customized dashboard. It's a bunch of windows spatially arranged in a specific way. Of course, I could do a bunch of startup scripts to get the same effect, but it would take long to do and be difficult to manage.</p> <p>Another reason is that one of my workspaces is a virtualized Windows OS which takes some time to load.</p> <p>Are there any drawbacks to systematically hibernating instead of powering down? All I can think of is potential memory leaks, but it doesn't seem to be a problem so far.</p>
2331
2331
2010-09-22T16:42:59.603
2020-02-28T15:44:23.617
Pros and cons of hibernating
[ "hibernate" ]
9
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-22T17:49:38.843", "id": "4682", "postId": "4571", "score": "0", "text": "Do you hibernate your laptop to disk or do you suspend it to ram?", "userDisplayName": null, "userId": "1627" }, { "creationDate": "2010-09-22T18:04:01.223", "id": "4684", ...
{ "accepted": true, "body": "<p>There are two different suspent modes:</p>\n\n<ul>\n<li>suspend-to-ram - usually just called suspend</li>\n<li>suspend-to-disk - usually just called hibernate</li>\n</ul>\n\n<p>Suspend-to-disk is usually relatively slow such that on some machines it is just faster to do a real boot.</p>\n\n<p>Suspend-to-ram leaves the RAM powered. Depending on your hardware this may consume very little energy. On most hardware the suspend/wake-up is very fast (1 - 2 seconds) and it does not consume a lot of your battery. For example on my Thinkpad it is no problem to leave it > 10 h in suspend-to-ram.</p>\n\n<p>The only disadvantage of suspend-to-disk I can think of, is that is more difficult to setup with encrypted swap partitions.</p>\n\n<p>Sure, for kernel-upgrades you have to reboot a long running system - but you have to do that in any case. And technologies like <a href=\"http://www.ksplice.com/\" rel=\"noreferrer\">ksplice</a> are changing that for a lot of security related patches.</p>\n\n<p>Regarding memory leaks - if you have a memory leak, it is most likely in some bad behaving application and then you can just restart that one application.</p>\n\n<p>I supend-to-ram all the time because it is so convenient to directly restart working where you left - I just reboot for security related kernel upgrades or distribution upgrades. Thus, an 'uptime' of over 100 days on my laptop is nothing special.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": "2010-09-23T21:12:24.907", "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-23T08:42:02.977", "id": "4607", "lastActivityDate": "2010-09-23T08:42:02.977", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1627", "parentId": "4571", "postTypeId": "2", "score": "11" }
[ { "accepted": null, "body": "<p>I don't think there are any drawbacks to hibernating.</p>\n\n<p>Check out this <a href=\"http://computer.howstuffworks.com/question328.htm\" rel=\"nofollow\">HowStuffWorks</a> article for some more information.</p>\n", "commentCount": "1", "comments": [ { ...
2010-09-23T21:12:24.907
null
null
null
null
4572
1
4578
2010-09-22T17:01:08.233
41
42533
<p>I use NFS to share media to computers around my house. Unfortunately one of the machines is on a slow wireless link, is there a way to cache network shares on the local disk for performance?</p>
235
235
2011-11-01T18:19:56.063
2018-03-17T18:19:00.833
How can I cache NFS shares on a local disk?
[ "nfs" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Stefan <a href=\"https://askubuntu.com/questions/4572/how-can-i-cache-nfs-shares-on-a-local-disk/4574#4574\">led me down</a> the right track. This will work on any system 12.04 and newer. </p>\n\n<p>Your filesystem will also need extended attribute support. If you're using EXT4 you're fine, if you're using EXT3 you'll need to ensure your filesystem is mounted with the <code>user_xattr</code> attribute.</p>\n\n<p>Here's how I set it up on the client machine, you don't need to do anything on the server side.</p>\n\n<ol>\n<li><p>First, install the user space daemon:\n<code>sudo apt-get install cachefilesd</code></p></li>\n<li><p>Then turn it on by editing <code>/etc/default/cachefilesd</code> and changing the run line to <code>RUN=yes</code></p></li>\n<li><p>Ensure your NFS mount in <code>/etc/fstab</code> has an <code>fsc</code> option. Don't forget to remount it after you've made the changes. Here's my excerpt (modify to your needs):</p>\n\n<p><code>192.168.1.115:/home/jorge /home/jorge/Backup nfs fsc</code></p></li>\n<li><p>Start the service: <code>sudo /etc/init.d/cachefilesd start</code></p></li>\n</ol>\n\n<p>Configuration of the cache is done in <code>/etc/cachefilesd.conf</code>, see the references for what the setting options are. </p>\n\n<p>References:</p>\n\n<ul>\n<li><a href=\"http://www.linux-mag.com/id/7378\" rel=\"noreferrer\">Linux Magazine</a> </li>\n<li><code>/usr/share/doc/cachefilesd/howto.txt.gz</code></li>\n<li><code>/usr/share/doc/cachefilesd/README.gz</code></li>\n<li><a href=\"https://askubuntu.com/questions/124102/how-do-i-enable-extended-attributes-on-ext4\">How do I enable extended attributes on ext4?</a></li>\n</ul>\n", "commentCount": "4", "comments": [ { "creationDate": "2012-04-03T09:41:27.123", "id": "140574", "postId": "4578", "score": "0", "text": "Does it happen to know how to apply the same on `/etc/auto.master` ?", "userDisplayName": null, "userId": "1004" }, { "creationDate": "2015-03-18T07:28:15.120", "id": "833431", "postId": "4578", "score": "0", "text": "Be aware that there is a bug which can cause the `cachefilesd` daemon to run at 100% CPU: https://www.redhat.com/archives/linux-cachefs/2014-February/msg00001.html https://bugzilla.redhat.com/show_bug.cgi?id=485314", "userDisplayName": null, "userId": "17057" }, { "creationDate": "2017-08-28T14:16:38.017", "id": "1513836", "postId": "4578", "score": "2", "text": "At least as of Ubuntu 14.04, rw,hard are default, and intr is deprecated. So the only option you're using that has effect these days is fsc", "userDisplayName": null, "userId": "107799" }, { "creationDate": "2017-09-02T20:36:24.907", "id": "1517254", "postId": "4578", "score": "0", "text": "@AndrewWagner Please submit an edit to the article!", "userDisplayName": null, "userId": "235" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-22T17:39:37.607", "id": "4578", "lastActivityDate": "2018-03-17T18:19:00.833", "lastEditDate": "2018-03-17T18:19:00.833", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "235", "parentId": "4572", "postTypeId": "2", "score": "49" }
[ { "accepted": null, "body": "<p>I'm not sure if there is any way to do this currently with Ubuntu 10.04 LTS.</p>\n\n<p>However, the newer versions of the Linux kernel include a feature called <a href=\"http://www.linux-mag.com/id/7378\">FS-Cache &amp; CacheFS</a>, which sounds exactly like what you (and I) ...
null
null
null
null
null
4575
1
4580
2010-09-22T17:12:30.990
6
6502
<p>My terminal is all black and white. :P No colours. Terminal output is highlighted by different colours to represent data. Like if we do ls, folder and files have separate colour but my terminal shows only one colour.</p> <p>I'm on Ubuntu 10.10 using gnome-terminal</p>
214
235
2012-08-31T19:09:57.847
2012-08-31T19:09:57.847
How do I use and configure Terminal Colours?
[ "gnome-terminal" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Terminal colors (and other commands) are controlled by configurations in your <code>~/.bashrc</code> file. If you do a little googling for .bashrc configurations you can find some excellent custom configurations that you can use. The one I use is a combination of several different ones I found on the net as well as some custom changes I made to it. Here's a screenshot of it (in cygwin, since I'm currently at work). </p>\n\n<p><img src=\"https://i.stack.imgur.com/Zl8cg.png\" alt=\"alt text\"></p>\n\n<p>And here's the contents of my ~/.bashrc file. If you look under aliases, the alias for <code>ls</code> appends the color flags to the command automatically, so if you <em>just</em> want colors for <code>ls</code>, then that's the line to use.</p>\n\n<pre><code>#-------------------------------------------------------------\n# Source global definitions (if any)\n#-------------------------------------------------------------\n\n\nif [ -f /etc/bashrc ]; then\n . /etc/bashrc # --&gt; Read /etc/bashrc, if present.\nfi\n\n\n#-------------------------------------------------------------\n# Some settings\n#-------------------------------------------------------------\n\nulimit -S -c 0 # Don't want any coredumps.\nset -o notify\nset -o noclobber\nset -o ignoreeof\nset -o nounset\n#set -o xtrace # Useful for debuging.\n\n# Enable options:\nshopt -s cdspell\nshopt -s cdable_vars\nshopt -s checkhash\nshopt -s checkwinsize\nshopt -s sourcepath\nshopt -s no_empty_cmd_completion\nshopt -s cmdhist\nshopt -s histappend histreedit histverify\nshopt -s extglob # Necessary for programmable completion.\n\n\n\nexport TIMEFORMAT=$'\\nreal %3R\\tuser %3U\\tsys %3S\\tpcpu %P\\n'\nexport HISTTIMEFORMAT=\"%H:%M &gt; \"\nexport HISTIGNORE=\"&amp;:bg:fg:ll:h\"\nexport HOSTFILE=$HOME/.hosts # Put list of remote hosts in ~/.hosts ...\n\n\n\n#-------------------------------------------------------------\n# Greeting, motd etc...\n#-------------------------------------------------------------\n\n# Define some colors first:\nred='\\e[0;31m'\nRED='\\e[1;31m'\nblue='\\e[0;34m'\nBLUE='\\e[1;34m'\ncyan='\\e[0;36m'\nCYAN='\\e[1;36m'\nNC='\\e[0m' # No Color\n# --&gt; Nice. Has the same effect as using \"ansi.sys\" in DOS.\n\n\n# Looks best on a terminal with black background.....\ndate\n\nfunction _exit() # Function to run upon exit of shell.\n{\n echo -e \"${RED}Hasta la vista, baby${NC}\"\n}\ntrap _exit EXIT\n\n\n#-------------------------------------------------------------\n# Shell Prompt\n#-------------------------------------------------------------\n\n\nif [[ \"${DISPLAY%%:0*}\" != \"\" ]]; then \n HILIT=${red} # remote machine: prompt will be partly red\nelse\n HILIT=${cyan} # local machine: prompt will be partly cyan\nfi\n\nexport PS1='\\n\\[\\033[0;31m\\]\\u\\[\\033[0;37m\\]@\\[\\033[0;32m\\]\\h\\[\\033[0;37m\\]:\\[\\033[0;36m\\]\\W\\[\\033[0;32m\\]\\$ \\[\\033[0;37m\\]' \n\n\n\n\n#===============================================================\n#\n# ALIASES AND FUNCTIONS\n#\n# Arguably, some functions defined here are quite big.\n# If you want to make this file smaller, these functions can\n# be converted into scripts and removed from here.\n#\n# Many functions were taken (almost) straight from the bash-2.04\n# examples.\n#\n#===============================================================\n\n#-------------------\n# Personnal Aliases\n#-------------------\n\nalias rm='rm -i'\nalias cp='cp -i'\nalias mv='mv -i'\n# -&gt; Prevents accidentally clobbering files.\nalias mkdir='mkdir -p'\n\nalias h='history'\nalias j='jobs -l'\nalias which='type -a'\nalias ..='cd ..'\nalias path='echo -e ${PATH//:/\\\\n}'\nalias libpath='echo -e ${LD_LIBRARY_PATH//:/\\\\n}'\nalias print='/usr/bin/lp -o nobanner -d $LPDEST'\n # Assumes LPDEST is defined (default printer)\nalias pjet='enscript -h -G -fCourier9 -d $LPDEST'\n # Pretty-print using enscript\n\nalias du='du -kh' # Makes a more readable output.\nalias df='df -kTh'\n\nalias vi='vim' #who wants to use vi over vim?\n\nalias tarball='tar czvf' #I can never remember the arguments\nalias untarball='tar xzvf'\n\n#-------------------------------------------------------------\n# The 'ls' family (this assumes you use a recent GNU ls)\n#-------------------------------------------------------------\nalias ll=\"ls -l --group-directories-first\"\nalias ls='ls -hF --color' # add colors for filetype recognition\nalias la='ls -Al' # show hidden files\nalias lx='ls -lXB' # sort by extension\nalias lk='ls -lSr' # sort by size, biggest last\nalias lc='ls -ltcr' # sort by and show change time, most recent last\nalias lu='ls -ltur' # sort by and show access time, most recent last\nalias lt='ls -ltr' # sort by date, most recent last\nalias lm='ls -al |more' # pipe through 'more'\nalias lr='ls -lR' # recursive ls\nalias tree='tree -Csu' # nice alternative to 'recursive ls'\n\n# If your version of 'ls' doesn't support --group-directories-first try this:\n# function ll(){ ls -l \"$@\"| egrep \"^d\" ; ls -lXB \"$@\" 2&gt;&amp;-| \\\n# egrep -v \"^d|total \"; }\n\n\n#-------------------------------------------------------------\n# tailoring 'less'\n#-------------------------------------------------------------\n\nalias more='less'\nexport PAGER=less\nexport LESSCHARSET='latin1'\nexport LESSOPEN='|/usr/bin/lesspipe.sh %s 2&gt;&amp;-'\n # Use this if lesspipe.sh exists\nexport LESS='-i -N -w -z-4 -g -e -M -X -F -R -P%t?f%f \\\n:stdin .?pb%pb\\%:?lbLine %lb:?bbByte %bb:-...'\n\n\n#-------------------------------------------------------------\n# spelling typos - highly personnal and keyboard-dependent :-)\n#-------------------------------------------------------------\n\nalias xs='cd'\nalias vf='cd'\nalias moer='more'\nalias moew='more'\nalias kk='ll'\n\n\n#-------------------------------------------------------------\n# A few fun ones\n#-------------------------------------------------------------\n\n\nfunction xtitle() # Adds some text in the terminal frame.\n{\n case \"$TERM\" in\n *term | rxvt)\n echo -n -e \"\\033]0;$*\\007\" ;;\n *) \n ;;\n esac\n}\n\n# aliases that use xtitle\nalias top='xtitle Processes on $HOST &amp;&amp; top'\nalias make='xtitle Making $(basename $PWD) ; make'\nalias ncftp=\"xtitle ncFTP ; ncftp\"\n\n# .. and functions\nfunction man()\n{\n for i ; do\n xtitle The $(basename $1|tr -d .[:digit:]) manual\n command man -F -a \"$i\"\n done\n}\n\n\n#-------------------------------------------------------------\n# Make the following commands run in background automatically:\n#-------------------------------------------------------------\n\nfunction te() # Wrapper around xemacs/gnuserv ...\n{\n if [ \"$(gnuclient -batch -eval t 2&gt;&amp;-)\" == \"t\" ]; then\n gnuclient -q \"$@\";\n else\n ( xemacs \"$@\" &amp;);\n fi\n}\n\nfunction soffice() { command soffice \"$@\" &amp; }\nfunction firefox() { command firefox \"$@\" &amp; }\nfunction xpdf() { command xpdf \"$@\" &amp; }\n\n\n#-------------------------------------------------------------\n# File &amp; string-related functions:\n#-------------------------------------------------------------\n\n\n# Find a file with a pattern in name:\nfunction ff() { find . -type f -iname '*'$*'*' -ls ; }\n\n# Find a file with pattern $1 in name and Execute $2 on it:\nfunction fe()\n{ find . -type f -iname '*'${1:-}'*' -exec ${2:-file} {} \\; ; }\n\n# Find a pattern in a set of files and highlight them:\n# (needs a recent version of egrep)\nfunction fstr()\n{\n OPTIND=1\n local case=\"\"\n local usage=\"fstr: find string in files.\nUsage: fstr [-i] \\\"pattern\\\" [\\\"filename pattern\\\"] \"\n while getopts :it opt\n do\n case \"$opt\" in\n i) case=\"-i \" ;;\n *) echo \"$usage\"; return;;\n esac\n done\n shift $(( $OPTIND - 1 ))\n if [ \"$#\" -lt 1 ]; then\n echo \"$usage\"\n return;\n fi\n find . -type f -name \"${2:-*}\" -print0 | \\\n xargs -0 egrep --color=always -sn ${case} \"$1\" 2&gt;&amp;- | more \n\n}\n\nfunction cuttail() # cut last n lines in file, 10 by default\n{\n nlines=${2:-10}\n sed -n -e :a -e \"1,${nlines}!{P;N;D;};N;ba\" $1\n}\n\nfunction lowercase() # move filenames to lowercase\n{\n for file ; do\n filename=${file##*/}\n case \"$filename\" in\n */*) dirname==${file%/*} ;;\n *) dirname=.;;\n esac\n nf=$(echo $filename | tr A-Z a-z)\n newname=\"${dirname}/${nf}\"\n if [ \"$nf\" != \"$filename\" ]; then\n mv \"$file\" \"$newname\"\n echo \"lowercase: $file --&gt; $newname\"\n else\n echo \"lowercase: $file not changed.\"\n fi\n done\n}\n\n\nfunction swap() # Swap 2 filenames around, if they exist\n{ #(from Uzi's bashrc).\n local TMPFILE=tmp.$$ \n\n [ $# -ne 2 ] &amp;&amp; echo \"swap: 2 arguments needed\" &amp;&amp; return 1\n [ ! -e $1 ] &amp;&amp; echo \"swap: $1 does not exist\" &amp;&amp; return 1\n [ ! -e $2 ] &amp;&amp; echo \"swap: $2 does not exist\" &amp;&amp; return 1\n\n mv \"$1\" $TMPFILE \n mv \"$2\" \"$1\"\n mv $TMPFILE \"$2\"\n}\n\nfunction extract() # Handy Extract Program.\n{\n if [ -f $1 ] ; then\n case $1 in\n *.tar.bz2) tar xvjf $1 ;;\n *.tar.gz) tar xvzf $1 ;;\n *.bz2) bunzip2 $1 ;;\n *.rar) unrar x $1 ;;\n *.gz) gunzip $1 ;;\n *.tar) tar xvf $1 ;;\n *.tbz2) tar xvjf $1 ;;\n *.tgz) tar xvzf $1 ;;\n *.zip) unzip $1 ;;\n *.Z) uncompress $1 ;;\n *.7z) 7z x $1 ;;\n *) echo \"'$1' cannot be extracted via &gt;extract&lt;\" ;;\n esac\n else\n echo \"'$1' is not a valid file\"\n fi\n}\n\n#-------------------------------------------------------------\n# Process/system related functions:\n#-------------------------------------------------------------\n\n\nfunction my_ps() { ps $@ -u $USER -o pid,%cpu,%mem,bsdtime,command ; }\nfunction pp() { my_ps f | awk '!/awk/ &amp;&amp; $0~var' var=${1:-\".*\"} ; }\n\n\nfunction killps() # Kill by process name.\n{\n local pid pname sig=\"-TERM\" # Default signal.\n if [ \"$#\" -lt 1 ] || [ \"$#\" -gt 2 ]; then\n echo \"Usage: killps [-SIGNAL] pattern\"\n return;\n fi\n if [ $# = 2 ]; then sig=$1 ; fi\n for pid in $(my_ps| awk '!/awk/ &amp;&amp; $0~pat { print $1 }' pat=${!#} ) ; do\n pname=$(my_ps | awk '$1~var { print $5 }' var=$pid )\n if ask \"Kill process $pid &lt;$pname&gt; with signal $sig?\"\n then kill $sig $pid\n fi\n done\n}\n\nfunction my_ip() # Get IP adresses.\n{\n MY_IP=$(/sbin/ifconfig ppp0 | awk '/inet/ { print $2 } ' | \\\nsed -e s/addr://)\n MY_ISP=$(/sbin/ifconfig ppp0 | awk '/P-t-P/ { print $3 } ' | \\\nsed -e s/P-t-P://)\n}\n\nfunction ii() # Get current host related info.\n{\n echo -e \"\\nYou are logged on ${RED}$HOST\"\n echo -e \"\\nAdditionnal information:$NC \" ; uname -a\n echo -e \"\\n${RED}Users logged on:$NC \" ; w -h\n echo -e \"\\n${RED}Current date :$NC \" ; date\n echo -e \"\\n${RED}Machine stats :$NC \" ; uptime\n echo -e \"\\n${RED}Memory stats :$NC \" ; free\n my_ip 2&gt;&amp;- ;\n echo -e \"\\n${RED}Local IP Address :$NC\" ; echo ${MY_IP:-\"Not connected\"}\n echo -e \"\\n${RED}ISP Address :$NC\" ; echo ${MY_ISP:-\"Not connected\"}\n echo -e \"\\n${RED}Open connections :$NC \"; netstat -pan --inet;\n echo\n}\n\n#-------------------------------------------------------------\n# Misc utilities:\n#-------------------------------------------------------------\n\nfunction repeat() # Repeat n times command.\n{\n local i max\n max=$1; shift;\n for ((i=1; i &lt;= max ; i++)); do # --&gt; C-like syntax\n eval \"$@\";\n done\n}\n\n\nfunction ask() # See 'killps' for example of use.\n{\n echo -n \"$@\" '[y/n] ' ; read ans\n case \"$ans\" in\n y*|Y*) return 0 ;;\n *) return 1 ;;\n esac\n}\n\nfunction corename() # Get name of app that created a corefile.\n{ \n for file ; do\n echo -n $file : ; gdb --core=$file --batch | head -1\n done \n}\n\n\n\n\n#=========================================================================\n# PROGRAMMABLE COMPLETION - ONLY SINCE BASH-2.04\n# Most are taken from the bash 2.05 documentation and from Ian McDonald's\n# 'Bash completion' package (http://www.caliban.org/bash/#completion).\n# You will in fact need bash more recent than 3.0 for some features.\n#=========================================================================\n\nif [ \"${BASH_VERSION%.*}\" \\&lt; \"3.0\" ]; then\n echo \"You will need to upgrade to version 3.0 \\\nfor full programmable completion features.\"\n return\nfi\n\nshopt -s extglob # Necessary,\n#set +o nounset # otherwise some completions will fail.\n\ncomplete -A hostname rsh rcp telnet rlogin r ftp ping disk\ncomplete -A export printenv\ncomplete -A variable export local readonly unset\ncomplete -A enabled builtin\ncomplete -A alias alias unalias\ncomplete -A function function\ncomplete -A user su mail finger\n\ncomplete -A helptopic help # Currently, same as builtins.\ncomplete -A shopt shopt\ncomplete -A stopped -P '%' bg\ncomplete -A job -P '%' fg jobs disown\n\ncomplete -A directory mkdir rmdir\ncomplete -A directory -o default cd\n\n# Compression\ncomplete -f -o default -X '*.+(zip|ZIP)' zip\ncomplete -f -o default -X '!*.+(zip|ZIP)' unzip\ncomplete -f -o default -X '*.+(z|Z)' compress\ncomplete -f -o default -X '!*.+(z|Z)' uncompress\ncomplete -f -o default -X '*.+(gz|GZ)' gzip\ncomplete -f -o default -X '!*.+(gz|GZ)' gunzip\ncomplete -f -o default -X '*.+(bz2|BZ2)' bzip2\ncomplete -f -o default -X '!*.+(bz2|BZ2)' bunzip2\ncomplete -f -o default -X '!*.+(zip|ZIP|z|Z|gz|GZ|bz2|BZ2)' extract\n\n\n# Documents - Postscript,pdf,dvi.....\ncomplete -f -o default -X '!*.+(ps|PS)' gs ghostview ps2pdf ps2ascii\ncomplete -f -o default -X '!*.+(dvi|DVI)' dvips dvipdf xdvi dviselect dvitype\ncomplete -f -o default -X '!*.+(pdf|PDF)' acroread pdf2ps\ncomplete -f -o default -X \\\n'!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv\ncomplete -f -o default -X '!*.texi*' makeinfo texi2dvi texi2html texi2pdf\ncomplete -f -o default -X '!*.tex' tex latex slitex\ncomplete -f -o default -X '!*.lyx' lyx\ncomplete -f -o default -X '!*.+(htm*|HTM*)' lynx html2ps\ncomplete -f -o default -X \\\n'!*.+(doc|DOC|xls|XLS|ppt|PPT|sx?|SX?|csv|CSV|od?|OD?|ott|OTT)' soffice\n\n# Multimedia\ncomplete -f -o default -X \\\n'!*.+(gif|GIF|jp*g|JP*G|bmp|BMP|xpm|XPM|png|PNG)' xv gimp ee gqview\ncomplete -f -o default -X '!*.+(mp3|MP3)' mpg123 mpg321\ncomplete -f -o default -X '!*.+(ogg|OGG)' ogg123\ncomplete -f -o default -X \\\n'!*.@(mp[23]|MP[23]|ogg|OGG|wav|WAV|pls|m3u|xm|mod|s[3t]m|it|mtm|ult|flac)' xmms\ncomplete -f -o default -X \\\n'!*.@(mp?(e)g|MP?(E)G|wma|avi|AVI|asf|vob|VOB|bin|dat|vcd|\\\nps|pes|fli|viv|rm|ram|yuv|mov|MOV|qt|QT|wmv|mp3|MP3|ogg|OGG|\\\nogm|OGM|mp4|MP4|wav|WAV|asx|ASX)' xine\n\n\n\ncomplete -f -o default -X '!*.pl' perl perl5\n\n\n# This is a 'universal' completion function - it works when commands have\n# a so-called 'long options' mode , ie: 'ls --all' instead of 'ls -a'\n# Needs the '-o' option of grep\n# (try the commented-out version if not available).\n\n# First, remove '=' from completion word separators\n# (this will allow completions like 'ls --color=auto' to work correctly).\n\nCOMP_WORDBREAKS=${COMP_WORDBREAKS/=/}\n\n\n_get_longopts() \n{ \n #$1 --help | sed -e '/--/!d' -e 's/.*--\\([^[:space:].,]*\\).*/--\\1/'| \\\n#grep ^\"$2\" |sort -u ;\n $1 --help | grep -o -e \"--[^[:space:].,]*\" | grep -e \"$2\" |sort -u \n}\n\n_longopts()\n{\n local cur\n cur=${COMP_WORDS[COMP_CWORD]}\n\n case \"${cur:-*}\" in\n -*) ;;\n *) return ;;\n esac\n\n case \"$1\" in\n \\~*) eval cmd=\"$1\" ;;\n *) cmd=\"$1\" ;;\n esac\n COMPREPLY=( $(_get_longopts ${1} ${cur} ) )\n}\ncomplete -o default -F _longopts configure bash\ncomplete -o default -F _longopts wget id info a2ps ls recode\n\n_tar()\n{\n local cur ext regex tar untar\n\n COMPREPLY=()\n cur=${COMP_WORDS[COMP_CWORD]}\n\n # If we want an option, return the possible long options.\n case \"$cur\" in\n -*) COMPREPLY=( $(_get_longopts $1 $cur ) ); return 0;;\n esac\n\n if [ $COMP_CWORD -eq 1 ]; then\n COMPREPLY=( $( compgen -W 'c t x u r d A' -- $cur ) )\n return 0\n fi\n\n case \"${COMP_WORDS[1]}\" in\n ?(-)c*f)\n COMPREPLY=( $( compgen -f $cur ) )\n return 0\n ;;\n +([^Izjy])f)\n ext='tar'\n regex=$ext\n ;;\n *z*f)\n ext='tar.gz'\n regex='t\\(ar\\.\\)\\(gz\\|Z\\)'\n ;;\n *[Ijy]*f)\n ext='t?(ar.)bz?(2)'\n regex='t\\(ar\\.\\)bz2\\?'\n ;;\n *)\n COMPREPLY=( $( compgen -f $cur ) )\n return 0\n ;;\n\n esac\n\n if [[ \"$COMP_LINE\" == tar*.$ext' '* ]]; then\n # Complete on files in tar file.\n #\n # Get name of tar file from command line.\n tar=$( echo \"$COMP_LINE\" | \\\n sed -e 's|^.* \\([^ ]*'$regex'\\) .*$|\\1|' )\n # Devise how to untar and list it.\n untar=t${COMP_WORDS[1]//[^Izjyf]/}\n\n COMPREPLY=( $( compgen -W \"$( echo $( tar $untar $tar \\\n 2&gt;/dev/null ) )\" -- \"$cur\" ) )\n return 0\n\n else\n # File completion on relevant files.\n COMPREPLY=( $( compgen -G $cur\\*.$ext ) )\n\n fi\n\n return 0\n\n}\n\ncomplete -F _tar -o default tar\n\n_make()\n{\n local mdef makef makef_dir=\".\" makef_inc gcmd cur prev i;\n COMPREPLY=();\n cur=${COMP_WORDS[COMP_CWORD]};\n prev=${COMP_WORDS[COMP_CWORD-1]};\n case \"$prev\" in\n -*f)\n COMPREPLY=($(compgen -f $cur ));\n return 0\n ;;\n esac;\n case \"$cur\" in\n -*)\n COMPREPLY=($(_get_longopts $1 $cur ));\n return 0\n ;;\n esac;\n\n # make reads `GNUmakefile', then `makefile', then `Makefile'\n if [ -f ${makef_dir}/GNUmakefile ]; then\n makef=${makef_dir}/GNUmakefile\n elif [ -f ${makef_dir}/makefile ]; then\n makef=${makef_dir}/makefile\n elif [ -f ${makef_dir}/Makefile ]; then\n makef=${makef_dir}/Makefile\n else\n makef=${makef_dir}/*.mk # Local convention.\n fi\n\n\n # Before we scan for targets, see if a Makefile name was\n # specified with -f ...\n for (( i=0; i &lt; ${#COMP_WORDS[@]}; i++ )); do\n if [[ ${COMP_WORDS[i]} == -f ]]; then\n # eval for tilde expansion\n eval makef=${COMP_WORDS[i+1]}\n break\n fi\n done\n [ ! -f $makef ] &amp;&amp; return 0\n\n # deal with included Makefiles\n makef_inc=$( grep -E '^-?include' $makef | \\\n sed -e \"s,^.* ,\"$makef_dir\"/,\" )\n for file in $makef_inc; do\n [ -f $file ] &amp;&amp; makef=\"$makef $file\"\n done\n\n\n # If we have a partial word to complete, restrict completions to\n # matches of that word.\n if [ -n \"$cur\" ]; then gcmd='grep \"^$cur\"' ; else gcmd=cat ; fi\n\n COMPREPLY=( $( awk -F':' '/^[a-zA-Z0-9][^$#\\/\\t=]*:([^=]|$)/ \\\n {split($1,A,/ /);for(i in A)print A[i]}' \\\n $makef 2&gt;/dev/null | eval $gcmd ))\n\n}\n\ncomplete -F _make -X '+($*|*.[cho])' make gmake pmake\n\n\n\n\n_killall()\n{\n local cur prev\n COMPREPLY=()\n cur=${COMP_WORDS[COMP_CWORD]}\n\n # get a list of processes (the first sed evaluation\n # takes care of swapped out processes, the second\n # takes care of getting the basename of the process)\n COMPREPLY=( $( /usr/bin/ps -u $USER -o comm | \\\n sed -e '1,1d' -e 's#[]\\[]##g' -e 's#^.*/##'| \\\n awk '{if ($0 ~ /^'$cur'/) print $0}' ))\n\n return 0\n}\n\ncomplete -F _killall killall killps\n\n\n\n# A meta-command completion function for commands like sudo(8), which need to\n# first complete on a command, then complete according to that command's own\n# completion definition - currently not quite foolproof,\n# but still quite useful (By Ian McDonald, modified by me).\n\n\n_meta_comp()\n{\n local cur func cline cspec\n\n COMPREPLY=()\n cur=${COMP_WORDS[COMP_CWORD]}\n cmdline=${COMP_WORDS[@]}\n if [ $COMP_CWORD = 1 ]; then \n COMPREPLY=( $( compgen -c $cur ) )\n else\n cmd=${COMP_WORDS[1]} # Find command.\n cspec=$( complete -p ${cmd} ) # Find spec of that command.\n\n # COMP_CWORD and COMP_WORDS() are not read-only,\n # so we can set them before handing off to regular\n # completion routine:\n # Get current command line minus initial command,\n cline=\"${COMP_LINE#$1 }\"\n # split current command line tokens into array,\n COMP_WORDS=( $cline )\n # set current token number to 1 less than now.\n COMP_CWORD=$(( $COMP_CWORD - 1 ))\n # If current arg is empty, add it to COMP_WORDS array\n # (otherwise that information will be lost).\n if [ -z $cur ]; then COMP_WORDS[COMP_CWORD]=\"\" ; fi\n\n if [ \"${cspec%%-F *}\" != \"${cspec}\" ]; then\n # if -F then get function:\n func=${cspec#*-F }\n func=${func%% *}\n eval $func $cline # Evaluate it.\n else\n func=$( echo $cspec | sed -e 's/^complete//' -e 's/[^ ]*$//' )\n COMPREPLY=( $( eval compgen $func $cur ) )\n fi\n\n fi\n\n}\n\n\ncomplete -o default -F _meta_comp nohup \\\neval exec trace truss strace sotruss gdb\ncomplete -o default -F _meta_comp command type which man nice time\n\n# Local Variables:\n# mode:shell-script\n# sh-shell:bash\n# End:\n</code></pre>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-22T21:32:02.443", "id": "4693", "postId": "4580", "score": "0", "text": "You can collapse `LESS` and remove all the spaces and hyphens (but the first).", "userDisplayName": null, "userId": "877" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T18:22:08.207", "id": "4580", "lastActivityDate": "2010-09-22T18:22:08.207", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1090", "parentId": "4575", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>Terminal colors (and other commands) are controlled by configurations in your <code>~/.bashrc</code> file. If you do a little googling for .bashrc configurations you can find some excellent custom configurations that you can use. The one I use is a combination of several di...
null
null
null
null
null
4577
1
4593
2010-09-22T17:32:32.293
6
1871
<p>I am setting up an ubuntu server to be used for experimentation, testing and learning. Basically with LAMP and then setting up WordPress and most likely Drupal. I also plan to experiment with setting up a home intranet. This system will not be serving over the Internet.</p> <p>My desktop has a fairly standard /, swap, /home partitioning scheme. Would this be an adequate scheme for the server as well? Or would it be beneficial to do something fancy like creating separate partitions for /usr, /var, /tmp, and /home? </p> <p>I'll probably wind up doing things like corrupting MySQL and having to start over while on my learning curve. Also, I have 2 drives and plan on setting up with software RAID0 if that matters. </p> <p>Thanks.</p>
769
null
null
2010-09-22T20:59:45.693
A partitioning scheme for ubuntu server
[ "server", "partitioning" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>For a production system it can be a good idea to put directories that can fill up quickly on their own partitions, like /tmp/ or parts of /var. </p>\n\n<p>Sometimes you want to use different file systems or file systems with different parameters for some directories, like big mail or news spools which hold very much small files.</p>\n\n<p>If /usr is on its own partition it can be mounted read-only so it doesn't get corrupted at system crashes.</p>\n\n<p>For a learning system this things aren't needed - but maybe it's something you want to play with.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T20:59:45.693", "id": "4593", "lastActivityDate": "2010-09-22T20:59:45.693", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2369", "parentId": "4577", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>I think from your standpoint there would be no real benefit to creating more partitions outside of your standard partitioning scheme. Your not going to be overloading the system or mapping core directories to nfs shares or seperate drives, so I don't see any benefit to it.</...
null
null
null
null
null
4581
1
4596
2010-09-22T18:27:17.097
3
1310
<p>Last night I was trying to make it so my iPod Touch would interface with my Kubuntu machine, and somehow I ended up doing something very, very wrong. Now, whenever the computer starts up, before GRUB even loads, I get a few strange error messages:</p> <pre><code>[drm] Nouveau - Couldn't find matching output script table. GPU Lockup </code></pre> <p>(Those aren't the exact errors, I had to shorthand transcribe the gist). Not only do those errors (and others that are mostly identical) occur, but part of the way through the boot process my screen turns to this (and is afterward useless until the power is hard-reset :/):</p> <p><img src="https://i.stack.imgur.com/ajHev.jpg" alt="What the donkey. :("></p> <p>Does anybody have any idea as to what I did? I've been trying all day to get anything working using a Xubuntu LiveCD, but to no avail. I even erased all of my data trying to perform a clean install from the disc.</p>
999
999
2010-09-22T19:04:48.720
2010-09-22T22:19:55.090
Computer Hangs Even Before GRUB is Reached
[ "boot", "grub2" ]
1
5
CC BY-SA 2.5
[ { "creationDate": "2010-09-22T18:43:46.690", "id": "4685", "postId": "4581", "score": "1", "text": "Your link to a Gmail attachment doesn't work for other people. If it's a screenshot, try editing you question again and upload the screenshot by using the Image button.", "userDisplayName": nu...
{ "accepted": true, "body": "<p>Since the computer hangs before Grub is reached, you don't have an Ubuntu problem, you have a hardware or firmware problem. Specifically, the problem is in a component related to your graphics chip, perhaps the chip itself, or its heatsink, or a circuit leading to it, or the memory containing its firmware, or the firmware code itself, or …</p>\n\n<p>If the hosed display wasn't enough of a cue, the error message you quote points to the same component: Nouveau is a driver for NVidia graphics chips, and “GPU lockup” means your graphics processing unit crashed. This error message is coming from Linux, but not from Ubuntu: it's from <a href=\"http://en.wikipedia.org/wiki/Express_Gate\" rel=\"nofollow\">ExpressGate</a>, which is an appliance Linux distribution available on high-end Asus motherboards.</p>\n\n<p>Try powering off the laptop completely; unplug it and pull out the battery, then wait a couple of minutes and try booting. Another thing that has a tiny but nonzero chance of working is to do a BIOS upgrade (even if it's to a version you already have).</p>\n\n<p>If the fault is in the hardware rather than in the software, there's not much you can do unless you're comfortable tinkering inside laptops (and perhaps not even then). If the computer is still under warranty, have it repaired or exchanged. If you'd like to save your data and erase the disk, take it out and plug it into another computer using a SATA to USB adapter.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T22:19:55.090", "id": "4596", "lastActivityDate": "2010-09-22T22:19:55.090", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1059", "parentId": "4581", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Since the computer hangs before Grub is reached, you don't have an Ubuntu problem, you have a hardware or firmware problem. Specifically, the problem is in a component related to your graphics chip, perhaps the chip itself, or its heatsink, or a circuit leading to it, or the ...
null
0
2013-03-14T17:18:23.650
null
null
4584
1
4670
2010-09-22T19:27:18.923
5
3658
<p>I made an image of my NTFS partition before I formatted, but now it won't mount. I'm pretty sure I've mounted this image before.</p> <pre><code>root@z:/var/backup# mkdir Storage-disk root@z:/var/backup# mount Storage-disk.img Storage-disk ntfs_attr_pread_i: ntfs_pread failed: Input/output error Failed to read vcn 0x2: Input/output error Failed to mount '/var/backup/Storage-disk.img': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details. </code></pre> <p>I've tried running ntfsfix on the image, but no dice.</p> <pre><code>root@z:/var/backup# ntfsfix Storage-disk.img Mounting volume... pread: Input/output error Failed to calculate number of free MFTs: Input/output error. FAILED Attempting to correct errors... Processing $MFT and $MFTMirr... Reading $MFT... OK Reading $MFTMirr... OK Comparing $MFTMirr to $MFT... OK Processing of $MFT and $MFTMirr completed successfully. Setting required flags on partition... OK Going to empty the journal ($LogFile)... OK pread: Input/output error Failed to calculate number of free MFTs: Input/output error. Remount failed: Input/output error. </code></pre> <p>Needless to say, I really want this backup to work :-( Please help!</p> <p><strong>Update:</strong> <code>ntfsmount</code> says this:</p> <pre><code>root@z:/var/backup# ntfsmount Storage-disk.img Storage-disk pread: Input/output error Failed to calculate number of free MFTs: Input/output error. Failed to mount '/var/backup/Storage-disk.img': Input/output error. NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was made to NTFS by this software. Mount failed. </code></pre> <p>How do I run <code>chkdsk /f</code> on an image? Do I have to create a partition and write the image on it? How do I do that?</p>
1439
527764
2020-08-10T18:12:58.353
2020-08-10T18:12:58.353
NTFS backup image won't mount
[ "mount", "backup", "disk-image" ]
2
4
CC BY-SA 4.0
[ { "creationDate": "2010-09-22T21:50:56.463", "id": "4695", "postId": "4584", "score": "0", "text": "If you run `cat Storage-disk.img >/dev/null`, do you get any input/output error? If so, I'm afraid your disk is dying, and you should copy all your data off it (`dd_rescue` will help) before doing...
{ "accepted": true, "body": "<p>Have you tried running a scandisk in windows? That's how I've always fixed faulty partitions.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2010-10-03T22:38:29.630", "id": "5233", "postId": "4670", "score": "0", "text": "Thanks, but how do I make a partition of it so Windows can scan it?", "userDisplayName": null, "userId": "1439" }, { "creationDate": "2010-10-21T20:19:55.330", "id": "8688", "postId": "4670", "score": "0", "text": "@Znarkus: You could try to move it to a partition from which you can access it in Windows and using something like DaemonTools to mount the image.", "userDisplayName": null, "userId": "1029" }, { "creationDate": "2010-11-21T14:38:56.753", "id": "14907", "postId": "4670", "score": "0", "text": "NICE! Installed a nifty application (evaluation) called Mount Image Pro. It could mount the partitions images without any problem :-)", "userDisplayName": null, "userId": "1439" }, { "creationDate": "2010-11-21T15:14:29.000", "id": "14916", "postId": "4670", "score": "0", "text": "Hm. But I can't seem to access some of the files. How do I mount a dd image with Daemon tools, or do you have any other suggestion?", "userDisplayName": null, "userId": "1439" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T04:09:59.263", "id": "4670", "lastActivityDate": "2010-09-24T04:09:59.263", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2477", "parentId": "4584", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Have you tried running a scandisk in windows? That's how I've always fixed faulty partitions.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2010-10-03T22:38:29.630", "id": "5233", "postId": "4670", "score": "0", ...
null
null
null
null
null
4586
1
23947
2010-09-22T20:04:30.110
31
23901
<p>I am interested in trying out the Blender 2.54 beta, but don't have the time or patience to download and install all of the dependencies for it and compile it myself.</p> <p>Is there a PPA somewhere that I can use to obtain a pre-compiled package for it?</p>
5
25863
2012-03-07T13:06:08.070
2015-01-03T16:21:16.680
Is there a PPA for the latest Blender version?
[ "ppa", "blender" ]
3
2
CC BY-SA 3.0
[ { "creationDate": "2012-03-07T13:32:37.077", "id": "130631", "postId": "4586", "score": "0", "text": "Linked question: http://askubuntu.com/questions/110821/how-to-install-blender-from-the-official-website", "userDisplayName": null, "userId": "14356" }, { "creationDate": "2015-07...
{ "accepted": true, "body": "<p>You can also use <a href=\"https://launchpad.net/%7Eirie/+archive/blender\" rel=\"noreferrer\">https://launchpad.net/~irie/+archive/blender</a> which is another alternative to the 2.5.x and the 2.4.x</p>\n<p><code>sudo add-apt-repository ppa:irie/blender &amp;&amp; sudo apt-get update</code></p>\n<p>For Blender 2.68.x - <code>sudo apt-get install blender</code></p>\n<p>For Blender 2.4.x - <code>sudo apt-get install blender2.4</code></p>\n<hr />\n<h2>Please note:</h2>\n<p>IRIE's PPA has not been updated for 6 months now, I have setup a new one here:</p>\n<p><a href=\"https://launchpad.net/%7Ethomas-schiex/+archive/ubuntu/blender\" rel=\"noreferrer\">https://launchpad.net/~thomas-schiex/+archive/ubuntu/blender</a></p>\n<p>You can install Blender 2.73rc1 and update as follows:</p>\n<pre><code>sudo add-apt-repository ppa:thomas-schiex/blender\nsudo apt-get update\nsudo apt-get install blender\n</code></pre>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-30T20:03:35.193", "id": "26064", "postId": "23947", "score": "0", "text": "That's a much better solution... that way I can have both installed.", "userDisplayName": null, "userId": "5" }, { "creationDate": "2012-01-03T20:13:15.940", "id": "105821", "postId": "23947", "score": "0", "text": "NOTE: this works only for 10.10 and later.", "userDisplayName": null, "userId": "6161" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-29T22:50:43.193", "id": "23947", "lastActivityDate": "2015-01-03T16:21:16.680", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "7035", "parentId": "4586", "postTypeId": "2", "score": "22" }
[ { "accepted": null, "body": "<p>I've managed to find a PPA for version 2.53 beta:</p>\n\n<pre><code>sudo add-apt-repository ppa:cheleb/blender-svn &amp;&amp; sudo apt-get update\nsudo apt-get install blender\n</code></pre>\n\n<p><a href=\"http://www.webupd8.org/2010/07/blender-253-beta-3d-graphics.html\" re...
null
null
null
null
null
4590
1
4594
2010-09-22T20:43:01.280
6
717
<p>I have the hard disk icon for each of my partitions on my Gnome desktop.</p> <p>I want a clean look, how do I hide them?</p>
1924
25863
2012-11-21T21:42:27.250
2014-06-12T06:30:49.783
How do I hide the drive icons of my other partitions from the desktop?
[ "10.04", "icons" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ol>\n<li><p>Type \"gconf-editor\" into a terminal window to run the Configuration Editor.</p></li>\n<li><p>In the left hand tree, browse to apps / nautilus / desktop</p></li>\n<li><p>In the right hand side, untick the \"volumnes_visible\" option.</p></li>\n</ol>\n\n<p>Close the configuration editor. You may have to restart for the changes to take effect.</p>\n\n<p>You can find more information on <a href=\"http://www.howtogeek.com/howto/ubuntu/hide-removable-drive-icons-from-your-ubuntu-desktop/\">How-To Geek</a>.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-22T21:19:14.513", "id": "4594", "lastActivityDate": "2010-09-22T21:19:14.513", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "141", "parentId": "4590", "postTypeId": "2", "score": "8" }
[ { "accepted": true, "body": "<ol>\n<li><p>Type \"gconf-editor\" into a terminal window to run the Configuration Editor.</p></li>\n<li><p>In the left hand tree, browse to apps / nautilus / desktop</p></li>\n<li><p>In the right hand side, untick the \"volumnes_visible\" option.</p></li>\n</ol>\n\n<p>Close the...
null
null
null
null
null
4606
1
6268
2010-09-23T08:14:02.707
1
3261
<p>I want to use the newest version of nginx, so I wanted to add the nginx/stable ppa</p> <pre><code>sudo add-apt-repository ppa:nginx/stable sudo apt-get update </code></pre> <p>However, the upgrade command says that there are no upgrades available and nginx is still the old version. Did I do something wrong?</p> <p>I use Ubuntu server 10.04 Lucid</p> <p>add-apt-repository output:</p> <pre><code>$ sudo apt-add-repository ppa:nginx/stable Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 8B3981E7A6852F782CC4951600A6F0A3C300EE8C gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com gpg: key C300EE8C: "Launchpad Stable" not changed gpg: Total number processed: 1 gpg: unchanged: 1 </code></pre> <p>apt-cache policy ouput:</p> <pre><code>$ sudo apt-cache policy nginx nginx: Installed: 0.7.65-1ubuntu2 Candidate: 0.7.65-1ubuntu2 Version table: *** 0.7.65-1ubuntu2 0 500 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe Packages 100 /var/lib/dpkg/status </code></pre>
1418
235
2010-10-12T03:07:33.827
2011-02-10T05:29:36.870
nginx PPA does not work?
[ "10.04", "package-management", "ppa", "add-apt-repository" ]
3
3
CC BY-SA 2.5
[ { "creationDate": "2010-09-23T08:16:11.737", "id": "4710", "postId": "4606", "score": "0", "text": "can you please add the output from the `add-apt-repository` command ? Also after running `apt-get update` can you please run `sudo apt-cache policy nginx` and post the result ?", "userDisplayN...
{ "accepted": true, "body": "<p>The packages in the <code>ppa:nginx/stable</code> appear to have been updated on September 29/30 2010. </p>\n\n<p>Currently, version 0.8.52-0ppa1 is available for both lucid and maverick. As can be seen from the Build Status column <a href=\"https://edge.launchpad.net/~nginx/+archive/stable/+packages\" rel=\"nofollow\">here</a>. Both of these packages have successfully built. </p>\n\n<p>The reported issue with the Packages file is also <a href=\"http://ppa.launchpad.net/nginx/stable/ubuntu/dists/lucid/main/binary-i386/Packages\" rel=\"nofollow\">no longer valid</a>. If you run <code>sudo apt-get update</code> and then attempt to either upgrade or install the nginx package (with <code>ppa:nginx/stable</code> added by <code>add-apt-repository</code>), you should end up with version 0.8.52-0ppa1.</p>\n\n<p>As was mentioned earlier, the issue was with the PPA, not add-apt-repository. This can be confirmed by verifying that the <code>/etc/apt/sources.list.d/nginx-stable-lucid.list</code> file exists.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-10-12T02:59:52.593", "id": "6268", "lastActivityDate": "2010-10-12T03:06:23.093", "lastEditDate": "2010-10-12T03:06:23.093", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "469", "parentId": "4606", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>The problem is with the nginx/stable ppa.</p>\n\n<p>The <a href=\"https://launchpad.net/~nginx/+archive/stable\" rel=\"nofollow\">ppa status page</a> indicates it failed to build. That could explain why the ppa is not having binary packages, and therefore apt-get can't find s...
null
null
null
null
null
4609
1
4656
2010-09-23T08:56:09.333
3
352
<p>I just noticed that ubuntu one is available for Windows if you subscribe.</p> <p><a href="https://one.ubuntu.com/plans/" rel="nofollow">https://one.ubuntu.com/plans/</a></p> <p>Why is it limited? </p> <p>It would be great advertising, and help the migration.</p>
1924
169736
2014-04-04T14:01:27.780
2014-04-04T14:01:27.780
Why do you have to pay to get the Ubuntu One for windows?
[ "ubuntu-one" ]
1
5
CC BY-SA 2.5
[ { "creationDate": "2010-09-23T09:14:49.087", "id": "4715", "postId": "4609", "score": "3", "text": "Canonical would probably like to make revenue from machines that use their data services but someone else's operating system as is certainly their right. Whether it makes economic sense is a good ...
{ "accepted": true, "body": "<p>The Windows client referred to on the plans page is for syncing contacts. We charge for this because the client is part of mobile sync and mobile sync costs some money to provide due to licensing fees Canonical pays for some of the server technology.</p>\n\n<p>We are currently working on a Windows client for Ubuntu One that will allow you to sync files. It's not quite ready for public testing, but once it is, we'll announce it on our blog: <a href=\"http://voices.canonical.com/ubuntuone\" rel=\"noreferrer\">http://voices.canonical.com/ubuntuone</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-24T03:03:55.767", "id": "4781", "postId": "4656", "score": "1", "text": "Thanks for poking your head in here. This boosted my already extremely high appreciation of Canonical (which is a little hard to take to the bank, but still... ;)", "userDisplayName": null, "userId": "1078" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-23T22:35:45.277", "id": "4656", "lastActivityDate": "2010-09-23T22:35:45.277", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "710", "parentId": "4609", "postTypeId": "2", "score": "11" }
[ { "accepted": true, "body": "<p>The Windows client referred to on the plans page is for syncing contacts. We charge for this because the client is part of mobile sync and mobile sync costs some money to provide due to licensing fees Canonical pays for some of the server technology.</p>\n\n<p>We are currentl...
null
null
null
null
null
4612
1
null
2010-09-23T09:30:21.123
5
14823
<p>I've installed the latest ubuntu release (10.4) on my HP mini 110, the installation went smoothly but I don't have any wireless connection. (it says wireless disabled)</p> <p>I installed ubuntu side by side with an already existing windows XP, on windows wireless works fine.</p> <p>I tried both ubuntu desktop edition and netbook remix, but same problem on these two modes.</p> <p>It happens both when I run ubuntu from the USB and when it's installed on the hard-drive.</p> <p>I found many articles about the broadcom network card issues this netbook has, but they all suggest to run: </p> <pre><code>sudo apt-get update sudo apt-get --reinstall install bcmwl-kernel-source sudo reboot </code></pre> <p>(e.g. <a href="https://wiki.ubuntu.com/HardwareSupport/Machines/Netbooks#HP%20Mini%20110%20/%20Compaq%20Mini%20100c/110c%29" rel="noreferrer">this official guide</a>)</p> <p>however this doesn't seem to solve my problem.</p>
2454
null
null
2011-01-22T00:12:29.900
Wireless not working after installation
[ "installation", "wireless", "ubuntu-netbook" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2010-11-01T13:01:11.577", "id": "11024", "postId": "4612", "score": "0", "text": "Hi, I believe I am running into the same issue with my HP Mini. However, was your mini able to recognize a wired connection? Mine is failing to enable lan|wlan firmware altogether. Also, could yo...
null
[ { "accepted": null, "body": "<p>I had this problem just two days ago.</p>\n\n<p><a href=\"http://www.broadcom.com/docs/linux_sta/README.txt\" rel=\"nofollow\">http://www.broadcom.com/docs/linux_sta/README.txt</a></p>\n\n<p>First check you have the affected card:</p>\n\n<pre><code>sudo lspci -n | grep 14e4\n...
null
null
null
null
null
4614
1
null
2010-09-23T09:37:18.477
4
194
<p>A couple of days ago, when I came back to my computer after a couple of hours, the following window was on my desktop:</p> <p><img src="https://i.stack.imgur.com/GTL24.png" alt="05:19:06 PM {Cancel} {OK}"></p> <p>The title bar said "gnome-screensaver-dialog". That's it. I just clicked OK, and went on. This has happened to me once before, but a long time ago.</p> <p>Please note, I just have the plain blank screen as the screen saver.</p>
175
null
null
2010-09-23T17:27:30.427
Strange window popping on Gnome
[ "gnome", "screensaver", "malware" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>When you go away from the computer it lock. On the unlock password screen there is a button so that someone can leave a message. Is this a case of somehow a blank message got left?</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2010-09-2...
null
null
null
null
null
4615
1
4619
2010-09-23T09:46:03.863
5
1086
<p>I have my Xbox 360 playing content from my ubuntu 10.04 PC using minidlna application.</p> <p>What software could I install on my laptop to play the same content from my PC?</p> <p>Totem does not appear to have a browse option.</p>
1924
169736
2014-01-27T14:56:28.207
2014-01-27T14:56:28.207
How can I play content from a media server?
[ "xbox-360" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-08-20T23:10:48.223", "id": "66029", "postId": "4615", "score": "0", "text": "See also [How can I Push/Stream media to my Ubuntu box from a DNLA device](http://askubuntu.com/questions/45949/how-can-i-push-stream-media-to-my-ubuntu-box-from-a-dnla-device) for something simi...
{ "accepted": true, "body": "<p>You need to install the package totem-plugins-extra. You can find it in the Software Centre or just use:</p>\n\n<pre><code>sudo apt-get install totem-plugins-extra\n</code></pre>\n\n<p>from the command line.</p>\n\n<p>Now open Totem, go to Edit -> Plugin, check that the coherence plugin is installed.</p>\n\n<p>In the dropbox of the sidebar select <strong>Coherence DLNA/UPnP Client</strong>. You should be able to browse your server from there.</p>\n\n<p>You can find more info in the totem <a href=\"http://library.gnome.org/users/totem/stable/totem-plugins.html.en\" rel=\"nofollow\">plug-ins webpage.</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-23T11:00:49.320", "id": "4619", "lastActivityDate": "2010-09-23T11:00:49.320", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "211", "parentId": "4615", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>You need to install the package totem-plugins-extra. You can find it in the Software Centre or just use:</p>\n\n<pre><code>sudo apt-get install totem-plugins-extra\n</code></pre>\n\n<p>from the command line.</p>\n\n<p>Now open Totem, go to Edit -> Plugin, check that the coher...
null
null
null
null
null
4620
1
4629
2010-09-23T11:58:49.140
8
2870
<p>How do I share a folder with a friend with Ubuntu One?</p>
2458
235
2010-09-23T14:26:58.800
2013-10-11T16:21:47.870
How do I share a folder with a friend with Ubuntu One?
[ "ubuntu-one", "sharing", "files" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>According to the <a href=\"https://one.ubuntu.com/features/\" rel=\"noreferrer\">features</a> page:</p>\n<blockquote>\n<p><strong>Share folders with contacts</strong></p>\n<p>Share folders with your trusted colleagues.</p>\n<p>Folder sharing is integrated into the Ubuntu desktop. Right-click on any synchronizing folder and pick contacts from your Evolution address book to share with. You can even grant the recipient read-only access for simple file viewing or write-access for complete control. Share recipients must have an Ubuntu One account to receive shared folders.</p>\n</blockquote>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-23T15:14:35.027", "id": "4629", "lastActivityDate": "2013-10-11T16:21:47.870", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "211", "parentId": "4620", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>According to the <a href=\"https://one.ubuntu.com/features/\" rel=\"noreferrer\">features</a> page:</p>\n<blockquote>\n<p><strong>Share folders with contacts</strong></p>\n<p>Share folders with your trusted colleagues.</p>\n<p>Folder sharing is integrated into the Ubuntu desk...
null
null
null
null
null
4621
1
4742
2010-09-23T12:13:59.210
6
438
<p>I have an upstairs and downstairs computer; I'd love to know how to create a shared folder between the two (through a wireless network)</p> <p>I'd also love to know if there is any way to get my upstairs computer to send a file to my downstairs computer (which has the printer) and get it to print, through a wireless network.</p>
2442
41
2010-09-23T19:11:15.240
2010-09-25T11:59:03.377
How do I create a shared folder/remotely control a printer between two Ubuntu machines?
[ "wireless", "printing", "sharing" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Thank you both :)</p>\n\n<p>I have now successfully got the printer and a shared folder on the network. :D</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-25T11:59:03.377", "id": "4742", "lastActivityDate": "2010-09-25T11:59:03.377", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2442", "parentId": "4621", "postTypeId": "2", "score": "0" }
[ { "accepted": null, "body": "<p>I assume that both computers are running Linux. Then you can configure cups on your downstairs computer to publish the connected printer. The cups daemon on you upstairs computer then automatically sees the published printer and you can select it from the usual printer dialog...
null
null
null
null
null
4625
1
4627
2010-09-23T12:54:12.823
19
22235
<p>Is there a GUI utility to mount remote filesystems over SSH (SSHFS)?</p>
2331
null
null
2023-02-25T09:48:57.193
Is there a GUI utility to mount remote filesystems over SSH?
[ "ssh", "gui", "sshfs" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It's not clear to me if you are strictly bound to using sshfs, but by default the GVFS in GNOME supports SSH connections. In the file manager go to File -> Connect to server:</p>\n\n<p><img src=\"https://i.stack.imgur.com/rvg2l.png\" alt=\"alt text\"></p>\n\n<p>This will mount the remote SSH server in a folder you can access from the file manager. If you need to access the mount in the command line it's in .gvfs.</p>\n\n<p>You can also mount it in Nautilus. Just hit CTRL+L and in the address bar type: <code>ssh://server-ip/somepath/</code></p>\n\n<ul>\n<li><a href=\"https://askubuntu.com/questions/34768/where-is-connect-to-server-for-ssh-connections-in-unity\">Where is &quot;Connect to Server&quot; for ssh connections in Unity?</a></li>\n</ul>\n", "commentCount": "3", "comments": [ { "creationDate": "2010-09-23T15:12:47.380", "id": "4742", "postId": "4627", "score": "3", "text": "You can also mount it in Nautilus. Just hit CTRL+L and in the address bar type: ssh://server-ip/somepath/", "userDisplayName": null, "userId": "211" }, { "creationDate": "2015-05-18T03:11:04.230", "id": "886304", "postId": "4627", "score": "1", "text": "@JavierRivera I've read about that's only a wrapping on the file explorer.\nIt's not the same than real filesystem integration. SSHFS is just what really works for that. But im not sure about GVFS. I will check it, thanks.", "userDisplayName": null, "userId": "186095" }, { "creationDate": "2015-07-13T23:31:30.880", "id": "929988", "postId": "4627", "score": "0", "text": "This apparently connects as SFTP with no option for SSH in Ubuntu 15.04?", "userDisplayName": null, "userId": "429352" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-23T14:12:59.900", "id": "4627", "lastActivityDate": "2012-08-21T15:37:27.913", "lastEditDate": "2017-04-13T12:23:23.863", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "235", "parentId": "4625", "postTypeId": "2", "score": "26" }
[ { "accepted": true, "body": "<p>It's not clear to me if you are strictly bound to using sshfs, but by default the GVFS in GNOME supports SSH connections. In the file manager go to File -> Connect to server:</p>\n\n<p><img src=\"https://i.stack.imgur.com/rvg2l.png\" alt=\"alt text\"></p>\n\n<p>This will moun...
null
null
null
null
null
4628
1
null
2010-09-23T14:29:34.977
3
1281
<p>After one or two times I use Gnome Do, it stops working. Yet it does not give out an error message. I currently have it configured to pop up when with then <kbd>Super</kbd> + <kbd>Space</kbd> key combination. I have to constantly go to the menu and activate it again.</p>
175
41
2010-09-23T14:34:33.850
2010-10-11T03:27:06.410
"Gnome Do" stops working
[ "gnome", "gnome-do" ]
3
7
CC BY-SA 2.5
[ { "creationDate": "2010-09-23T14:33:09.750", "id": "4738", "postId": "4628", "score": "5", "text": "Are you running gnome-do from the terminal? There might be some clue as to what's happening if you exit gnome-do, then start it again in the terminal. At your name prompt, just type gnome-do and ...
null
[ { "accepted": null, "body": "<p>If you don't like the idea of running Gnome-do from the terminal, one way to figure out what is happening is to start it as <code>gnome-do &gt; ~/.dolog.txt</code> and read that file when do crashes.\nWhat this does it divert the output of gnome-do (read the debugging informa...
null
null
2013-03-14T17:18:28.080
null
null
4635
1
4807
2010-09-23T17:24:10.670
7
4853
<p>I am having difficulties loading multiple photos directly from SD card onto facebook. It works fine when I select one photo at a time. When I select more than one it does not upload the photos into my facebook photo album. I tried loading multiple photos from F-Spot onto facebook but have a similar experience. In both instances it only loads one photo at a time which is extremely time consuming.</p>
794
866
2010-12-22T08:35:28.107
2010-12-22T08:35:28.107
Uploading multiple photos onto facebook
[ "photo-management", "facebook" ]
5
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p><a href=\"http://yorba.org/shotwell/\" rel=\"nofollow\">Shotwell</a> on Maverick does it auto-magically. Just select your photos, click on <em>Publish</em>, select Facebook and done.</p>\n\n<p>I have found a <a href=\"https://launchpad.net/~yorba/+archive/ppa\" rel=\"nofollow\">PPA</a> that will let you install Shotwell 0.72 (Maverick's version) in Lucid.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-27T07:48:23.873", "id": "4807", "lastActivityDate": "2010-09-27T14:44:41.807", "lastEditDate": "2010-09-27T14:44:41.807", "lastEditorDisplayName": null, "lastEditorUserId": "211", "ownerDisplayName": null, "ownerUserId": "211", "parentId": "4635", "postTypeId": "2", "score": "7" }
[ { "accepted": null, "body": "<p>It's not completely clear /how/ you're uploading the files. Facebook has a Java-based uploader which allows you to not only specify multiple files, but will also locally scale them down before upload for a quick process.</p>\n\n<ol>\n<li>Make sure Java is installed (sudo apt...
null
null
null
null
null
4645
1
4687
2010-09-23T19:00:23.530
12
21137
<p>So, I've been having trouble finding a definitive answer on how to do this. I've compiled and installed a window manager that is not available in the ubuntu package repositories, and now I'm attempting to add it to the gdm options menu. What's the "Ubuntu" way to do this? I'm sure there must be a 'most correct' approach. Anyone have any clues, or links to websites? I've seen a few answers in the ubuntu forums, but no-one really had a clear, "This is the right way to do it" that I found. </p>
2468
235
2010-09-24T20:50:56.950
2010-09-24T20:50:56.950
How do you add a new window manager to the gdm menu?
[ "xorg", "gdm", "session" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>By gdm options menu, do you mean the list at the bottom of the login screen ?</p>\n\n<p>If yes, then, as far as I know, the \"correct approach\" for adding a window manager to the list of session options presented to user at login time is to add a .desktop file to /usr/share/xsessions. Take an existing .desktop file there as starting point (say, gnome.desktop) and modify fields like Exec, TryExec, Icon to suit your new WM. </p>\n\n<p>Since this is so obvious (by that I mean covered in the tutorials of many WM's I have tried to add), I think I haven't understood your question well. Can you confirm if you have tried this ?</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-27T18:31:16.947", "id": "4893", "postId": "4687", "score": "0", "text": "This is exactly what I was looking for. I don't know how I might have missed it. Thanks!", "userDisplayName": null, "userId": "2468" }, { "creationDate": "2020-10-15T17:35:18.763", "id": "2178714", "postId": "4687", "score": "2", "text": "important note: besides `/usr/share/xsessions` there is now also `/usr/share/wayland-sessions`", "userDisplayName": null, "userId": "188440" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T09:23:11.123", "id": "4687", "lastActivityDate": "2010-09-24T11:02:57.113", "lastEditDate": "2010-09-24T11:02:57.113", "lastEditorDisplayName": null, "lastEditorUserId": "270", "ownerDisplayName": null, "ownerUserId": "270", "parentId": "4645", "postTypeId": "2", "score": "16" }
[ { "accepted": true, "body": "<p>By gdm options menu, do you mean the list at the bottom of the login screen ?</p>\n\n<p>If yes, then, as far as I know, the \"correct approach\" for adding a window manager to the list of session options presented to user at login time is to add a .desktop file to /usr/share/...
null
null
null
null
null
4652
1
null
2010-09-23T21:37:17.213
4
3895
<p>I'm using ubuntu 10.10 64 bit. It started to revert the refresh rate of my monitor to 60hz, each and every time I log on. I change it back in nvidia panel, save it to X config file, but it just doesn't last. Oh, I set every time to 85hz. As noted below, this is the part in my x config file</p> <pre><code>Section "Screen" Removed Option "metamodes" "1024x768_85.00 " Removed Option "metamodes" "1024x768_85 +0+0" &gt; Removed Option "metamodes" "1024x768 +0+0; 1024x768_85 +0+0" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "1024x768_85 +0+0; 1024x768 +0+0" SubSection "Display" Depth 24 EndSubSection" </code></pre>
2206
235
2010-09-24T21:08:04.713
2010-09-24T21:08:04.713
refresh rate of monitor resets to 60hz after each reboot
[ "10.10", "xorg", "nvidia" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-24T13:40:48.653", "id": "4812", "postId": "4652", "score": "0", "text": "@Castro: thanks for the edit, I'm a complete noob in these respect =)", "userDisplayName": null, "userId": "2206" }, { "creationDate": "2010-10-06T14:15:28.563", "id": "5361", ...
null
[ { "accepted": null, "body": "<p>Take a look at your <code>/etx/X11/xorg.conf</code> file. Specifically at the mode string in the Screen Section. </p>\n\n<pre><code>Section \"Screen\"\n Identifier \"Default Screen\"\n Device \"NVIDIA Corporation NV34 [GeForce FX 5200]\"\n Monitor \"...
null
null
2013-03-14T17:18:33.040
null
null
4653
1
4821
2010-09-23T21:43:36.937
33
60360
<p>I have a USB drive (SanDisk SDCZ40-016G) that mounts in a way I've never seen before. When inserted, two items appear in Places -> Computer:</p> <p><img src="https://i.stack.imgur.com/EfYHB.png" alt="Computer"></p> <p>"SanDisk Ultra Backup: 16GB" contains my data, and "CD Drive: U3 System" contains a Windows executable. The part with the Windows executable doesn't look useful to me so I'd like to remove it. I used GParted to delete the only partition listed on the device and then I created and formatted a new partition:</p> <p><img src="https://i.stack.imgur.com/3kGLG.png" alt="GParted"></p> <p>Strangely, the "CD Drive" containing the Windows executable was perfectly intact after this operation.</p> <p>What's going on?</p>
1859
null
null
2015-07-25T23:29:05.083
How do I get rid of "U3 System" on my USB drive?
[ "partitioning", "usb-drive" ]
6
1
CC BY-SA 2.5
[ { "creationDate": "2011-07-11T16:49:08.480", "id": "58897", "postId": "4653", "score": "1", "text": "I just hate that", "userDisplayName": null, "userId": "5938" } ]
{ "accepted": true, "body": "<p>The solution came from <a href=\"http://u3-tool.sourceforge.net/\">u3_tool</a> (<a href=\"http://apt.ubuntu.com/p/u3-tool\">universe</a>), which can:</p>\n\n<ul>\n<li>uninstall the U3 software</li>\n<li>reclaim the CD-ROM disk space</li>\n<li>run on Ubuntu</li>\n</ul>\n\n<p>I ran <code>sudo u3-tool -p 0 /dev/sdb</code> and then repartitioned the drive. Now it mounts like a \"normal\" USB drive.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2014-01-04T18:21:44.137", "id": "513191", "postId": "4821", "score": "4", "text": "OMG, it's possible to replace the virtual CD image??? I was thinking it was hardcoded in a ROM! What they were smoking at SanDisk?? In this way someone could place a virus and it would be ran on Windows with the autorun.inf!!! Crazy", "userDisplayName": null, "userId": "136358" }, { "creationDate": "2016-07-25T23:31:25.893", "id": "1212097", "postId": "4821", "score": "0", "text": "It looks like the SanDisk driver is actually two drivers inside one USB box. In other words when probed it reports two devices inside the USB thing. So linux finds them both and sets them both up. Note that the 2nd one is read only.\n\nThe u3_tool is able to talk to the SanDisk device driver setup and tell it to disable the second device (by setting it's size to zero). Thanks very much for this solution!", "userDisplayName": null, "userId": "568145" }, { "creationDate": "2017-05-16T22:31:40.633", "id": "1443568", "postId": "4821", "score": "0", "text": "It also works on Windows. Neat.", "userDisplayName": null, "userId": "688906" }, { "creationDate": "2017-06-11T08:13:49.303", "id": "1460636", "postId": "4821", "score": "1", "text": "Works perfectly!\nI think they smoked something very bad in SanDisk", "userDisplayName": null, "userId": "288689" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-27T16:17:40.393", "id": "4821", "lastActivityDate": "2010-09-27T16:17:40.393", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1859", "parentId": "4653", "postTypeId": "2", "score": "34" }
[ { "accepted": null, "body": "<p>U3 is proprietary software that SanDisk loads on it's USB drive. It runs in a partition you can't reformat, or really detect, and it'll likely always be there.</p>\n\n<p>If you have a Windows machine you can run the Un-installer using the guide in <a href=\"http://kb.sandisk....
null
null
null
null
null
4658
1
4659
2010-09-23T22:42:28.607
10
32397
<p>When I installed Arch Linux, it detected my video card and monitors correctly "out-of-the box". Now I've installed Ubuntu 10.10 "Maverick Meerkat" and it has not. </p> <p>How do I configure Ubuntu to use correct Intel driers with a "Intel 82852/855GM" graphics card? </p> <p>(I use a Toshiba L10 Intel Centrino laptop.)</p>
2390
866
2010-10-29T12:17:50.667
2011-10-07T00:43:39.350
How to install Intel 82852/855GM driver?
[ "10.10", "xorg", "intel-graphics" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2010-09-24T01:44:21.233", "id": "4776", "postId": "4658", "score": "1", "text": "When you go to System -> Administration -> Additional Drivers do you have additional drivers listed as either installed - or awaiting install?", "userDisplayName": null, "userId": "41" }...
{ "accepted": true, "body": "<p>I have also struggled with Toshiba laptops and the 855GM chipset. I've been able to overcome this with <a href=\"https://launchpad.net/~glasen/+archive/intel-driver\" rel=\"nofollow noreferrer\">the following PPA</a>. This will provide an updated version of <code>xserver-xorg-video-intel</code> that may provide better results than what you currently have. </p>\n\n<pre><code>sudo add-apt-repository ppa:glasen/intel-driver\nsudo apt-get update\nsudo apt-get upgrade\n</code></pre>\n\n<p>If you don't receive updates to the <code>xserver-xorg-video-intel</code> then run </p>\n\n<pre><code>sudo apt-get install xserver-xorg-video-intel\n</code></pre>\n\n<p>More information regarding <a href=\"https://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them\">PPAs and How to use them</a></p>\n", "commentCount": "5", "comments": [ { "creationDate": "2010-09-24T00:56:23.523", "id": "4773", "postId": "4659", "score": "0", "text": "As far as I understand, after doing as you've written, my system still doesn't use Intel driver.", "userDisplayName": null, "userId": "2390" }, { "creationDate": "2010-09-24T01:41:47.370", "id": "4775", "postId": "4659", "score": "0", "text": "@Ivan can you show us a copy of your xorg.conf (`/etc/X11/xorg.conf`) in your original post?", "userDisplayName": null, "userId": "41" }, { "creationDate": "2010-09-24T03:57:34.527", "id": "4783", "postId": "4659", "score": "0", "text": "I think have no xorg.conf. As far as I understand, Ubuntu 10.10 does not use it in normal cases.", "userDisplayName": null, "userId": "2390" }, { "creationDate": "2011-01-20T12:09:41.920", "id": "24183", "postId": "4659", "score": "0", "text": "Marco, YOU are da' man. I have a 915 and ever since Kernel 2.6.37 went into RC, i haven't been able to boot without a monitor connected. Bunch of people have that problem. and now, (almost in tears j/k), i added the PPA as mentioned, added nomodeset to grub, and it works.", "userDisplayName": null, "userId": "8065" }, { "creationDate": "2011-01-20T12:10:19.750", "id": "24184", "postId": "4659", "score": "0", "text": "Thank you Marco - it worked on my LG with Centrino Processor - I lost my graphic display on upgrade and had to do as you stated from the command line.\n\nOne thing I had found with previous version was that I could not run any visual effects so if people are having trouble with grahic display developing blank areas they should right click on desktop - change desktop background, select visual effects and specify NONE.", "userDisplayName": null, "userId": "8256" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-23T23:46:20.033", "id": "4659", "lastActivityDate": "2011-01-19T02:43:26.923", "lastEditDate": "2017-04-13T12:24:32.903", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "41", "parentId": "4658", "postTypeId": "2", "score": "9" }
[ { "accepted": true, "body": "<p>I have also struggled with Toshiba laptops and the 855GM chipset. I've been able to overcome this with <a href=\"https://launchpad.net/~glasen/+archive/intel-driver\" rel=\"nofollow noreferrer\">the following PPA</a>. This will provide an updated version of <code>xserver-xorg...
null
null
null
null
null
4660
1
4705
2010-09-24T00:42:50.853
1
3035
<p>I've requested my ISP to dedicate me a second Internet IP address and have got it. Now I need to configure it (I've never had any experience with using multiple IP addresses on one network interface) on my Ubuntu 10.04 server so that it will be a public address of a VirtualBox (VBoxHeadless) machine (running Ubuntu 10.04 Server as well). Would you be so kind to tell me how can I do so, or at least what docs to read and what specific subjects to google for?</p>
2390
null
null
2015-12-10T17:07:12.123
How to configure a second IP address and bind it to a VBoxHeadless virtual machine?
[ "networking", "virtualbox", "virtualization", "routing" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The easiest way would be to set the virtual machine to use ‘bridged’ networking on the host's normal <code>eth0</code> interface. Then set up the guest OS to use the second IP address as a static IP, whilst the host OS continues to the the first static IP.</p>\n\n<p>With this approach, you don't have to set up multiple interfaces on the host OS or NAT rules to map the guest to a particular external IP. The guest and the host use different interfaces on the same shared network adapter.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T17:36:45.313", "id": "4705", "lastActivityDate": "2010-09-24T17:36:45.313", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1889", "parentId": "4660", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>The easiest way would be to set the virtual machine to use ‘bridged’ networking on the host's normal <code>eth0</code> interface. Then set up the guest OS to use the second IP address as a static IP, whilst the host OS continues to the the first static IP.</p>\n\n<p>With this...
null
null
null
null
null
4661
1
4664
2010-09-24T00:51:44.863
6
2779
<p>Today I was setting up an ubuntu server and while partitioning for RAID0 I wound up setting /home as a logical partition. Basically the partitioner defaulted to that option and I hit return and the system was off on the installation.</p> <p>Anyway, does it matter that /home is a logical partition instead of a primary partition?</p>
769
null
null
2014-03-04T06:13:22.377
logical partition or primary partition
[ "partitioning" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>No it does not matter. Logical partitions allow you to have many partitions instead of a limit of 4 with MBR. Example:</p>\n\n<blockquote>\n <p>[part1 windows C][part2 windows\n D][part3 Data][part4 Ubuntu LOGICAL -\n Part 5,6,7 (/, Swap, and /home)]</p>\n</blockquote>\n\n<p>There will be no difference. It is just designed to be flexible.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2010-09-24T04:20:46.597", "id": "4785", "postId": "4664", "score": "0", "text": "Sure, have fun with Ubuntu. :)", "userDisplayName": null, "userId": "2138" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T01:21:38.573", "id": "4664", "lastActivityDate": "2010-09-24T01:21:38.573", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2138", "parentId": "4661", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>No it does not matter. Logical partitions allow you to have many partitions instead of a limit of 4 with MBR. Example:</p>\n\n<blockquote>\n <p>[part1 windows C][part2 windows\n D][part3 Data][part4 Ubuntu LOGICAL -\n Part 5,6,7 (/, Swap, and /home)]</p>\n</blockquote>\n\n...
null
null
null
null
null
4662
1
4663
2010-09-24T00:59:24.473
125
709308
<p>As Ubuntu 10.10 seems to neither detect my graphics card (Intel 82852/855GM) automatically nor use the corresponding Intel driver even after manually installing it, I am looking into manually configuring X (shouldn't I?). Where can I find the configuration files I need to edit?</p>
2390
235
2011-08-06T17:09:20.757
2020-02-05T02:23:28.870
Where is the X.org config file? How do I configure X there?
[ "xorg", "intel-graphics" ]
8
2
CC BY-SA 3.0
[ { "creationDate": "2010-09-24T02:14:25.007", "id": "4779", "postId": "4662", "score": "6", "text": "Even if you come up with a solution, don't forget to file a bug on Launchpad so that this hardware configuration can be made to work out of the box in future Ubuntu releases.", "userDisplayNam...
{ "accepted": true, "body": "<p>The xorg.conf does not exist by default any more. You CAN create one though.</p>\n\n<p>Boot into recovery mode and select Root Shell. Then run:</p>\n\n<pre><code>X -configure\n</code></pre>\n\n<p>Then:</p>\n\n<pre><code>cp /root/xorg.conf.new /etc/X11/xorg.conf\n</code></pre>\n\n<p>Reboot and you can edit the new Xorg.conf.</p>\n", "commentCount": "16", "comments": [ { "creationDate": "2010-09-24T01:55:17.693", "id": "4777", "postId": "4663", "score": "1", "text": "But if it does not exist, should I really create it? Where are X settings stored by default? Maybe It's better to use the way which is meant to be an actual standard?", "userDisplayName": null, "userId": "2390" }, { "creationDate": "2010-09-24T02:10:46.090", "id": "4778", "postId": "4663", "score": "7", "text": "This is the correct way. It is just that X now auto-detects the settings, and a xorg.conf is not mandatory. If you know what you want to edit, by all means create one.", "userDisplayName": null, "userId": "2138" }, { "creationDate": "2010-09-24T02:15:47.753", "id": "4780", "postId": "4663", "score": "1", "text": "If X is now meant to auto-detects the settings, can I just tune it up to auto-detect my hardware correctly? In Arch while I had Xorg.conf, I was not to edit it, as X autodetection tool has autodetected everything correctly (from which I conclude it is possible) and generated correct Xorg.conf.", "userDisplayName": null, "userId": "2390" }, { "creationDate": "2010-09-24T04:22:00.257", "id": "4786", "postId": "4663", "score": "1", "text": "I am unsure, as I have not messed with it much myself. Though I did once do the auto generation, and added a simple config to enable an intel graphic feature. and everything worked well even though I only put a few things in the conf.", "userDisplayName": null, "userId": "2138" }, { "creationDate": "2010-09-24T07:47:43.023", "id": "4790", "postId": "4663", "score": "0", "text": "Thank you. I've done just 2 things exactly as written: 1. installed the driver as written here: http://bit.ly/aBZuAx (which itself is not enough) 2. Created xorg.conf as you wrote (and had nothing to change there). And it works perfectly now. I just wonder why standard boot-time autodetection fails if \"X -configure\" autodetection works perfect.", "userDisplayName": null, "userId": "2390" }, { "creationDate": "2010-09-24T08:13:29.780", "id": "4793", "postId": "4663", "score": "0", "text": "Not sure, though if you believe that you have encountered a true bug, you can report it by pressing alt+f2 and typing:\nubuntu-bug xorg", "userDisplayName": null, "userId": "2138" }, { "creationDate": "2011-03-19T13:31:37.523", "id": "34821", "postId": "4663", "score": "12", "text": "There is absolutely **no** reason to reboot even once. Just open terminal, write `sudo X -configure; sudo cp ...` and `sudo /etc/init.d/gdm restart` (assuming Ubuntu, not KUbuntu).", "userDisplayName": null, "userId": "10581" }, { "creationDate": "2011-06-05T00:46:18.617", "id": "51789", "postId": "4663", "score": "6", "text": "@Olli; it doesn't work, you need the X server to be inactive for X -configure to run", "userDisplayName": null, "userId": "19330" }, { "creationDate": "2012-03-21T18:45:49.293", "id": "135869", "postId": "4663", "score": "18", "text": "Josh G: If you are already running X, just say `X :1 -configure`. You have to open the X server on its own display port; if you already have an X server running, the default port of :0 will fail, so you have to specify display :x (where x is the first available display; in most cases 1).", "userDisplayName": null, "userId": "51533" }, { "creationDate": "2013-02-04T14:37:58.900", "id": "313438", "postId": "4663", "score": "8", "text": "When running X :1 -configure I have the error : Number of created screens does not match number of detected devices.\n Configuration failed.\n ddxSigGiveUp: Closing log\nServer terminated with error (2). Closing log file.", "userDisplayName": null, "userId": "15352" }, { "creationDate": "2013-09-13T07:26:22.893", "id": "441700", "postId": "4663", "score": "4", "text": "@chmike, you may see that error running `X :1 -configure`, but the config file is generated nonetheless. Its location is mentioned in the output. Worked for me.", "userDisplayName": null, "userId": "107321" }, { "creationDate": "2013-10-19T13:00:51.143", "id": "463151", "postId": "4663", "score": "3", "text": "That gives me `Could not create lock file in /tmp/.tX0-lock` and no config files.", "userDisplayName": null, "userId": "52975" }, { "creationDate": "2015-08-20T20:39:15.450", "id": "957364", "postId": "4663", "score": "0", "text": "could also create a `.xprofile` to set display.", "userDisplayName": null, "userId": "122050" }, { "creationDate": "2017-11-07T13:07:03.103", "id": "1561433", "postId": "4663", "score": "0", "text": "One a headless VM with Lubuntu desktop, Ubuntu 16.04 LTS the output of `sudo X -configure` says: \"No devices to configure. Configuration failed.\"", "userDisplayName": null, "userId": "658055" }, { "creationDate": "2020-02-28T15:57:18.197", "id": "2039169", "postId": "4663", "score": "0", "text": "It doesn't seem like this is a very good solution, considering it completely overrules anything already in /usr/share/xorg.conf.d, though that directory isn't very easy to customize. Seems like every guide I find has 99% repeated information followed by very slightly more information than the last one. Frustrating there isn't a guide of all possible configuration options for xorg in one place.", "userDisplayName": null, "userId": "509967" }, { "creationDate": "2022-02-11T15:43:12.953", "id": "2407516", "postId": "4663", "score": "0", "text": "This doesn't work at all. It gives me the error \"Number of created screens does not match number of detected screens. Configuration failed.\" This is a laptop. There's only one screen...", "userDisplayName": null, "userId": "13217" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T01:17:57.693", "id": "4663", "lastActivityDate": "2011-01-19T00:29:21.647", "lastEditDate": "2011-01-19T00:29:21.647", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "2138", "parentId": "4662", "postTypeId": "2", "score": "95" }
[ { "accepted": true, "body": "<p>The xorg.conf does not exist by default any more. You CAN create one though.</p>\n\n<p>Boot into recovery mode and select Root Shell. Then run:</p>\n\n<pre><code>X -configure\n</code></pre>\n\n<p>Then:</p>\n\n<pre><code>cp /root/xorg.conf.new /etc/X11/xorg.conf\n</code></pre>...
null
null
null
null
null
4665
1
null
2010-09-24T02:06:31.350
5
447
<p>I recently upgraded my VMWare Fusion from 2.x to 3.1 and was running Ubuntu 10.04. I had not problems until the upgrade at which point the sound is not working at all. It was fine in VMWare 2.x. I installed the VMWare Tools but it did not fix it. I would appreciate if someone could throw light on the issue.</p> <p>Thanks</p>
null
null
null
2010-12-10T09:44:56.180
Missing sound on VMWare Fusion 3.1
[ "sound", "vmware" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2010-11-27T02:50:24.957", "id": "15814", "postId": "4665", "score": "0", "text": "There are many, many layers in the audio stack where things could have gone awry. I recommend that you use `ubuntu-bug alsa-base` from within your VMWare Fusion 3.1 instance.", "userDisplayN...
null
[ { "accepted": null, "body": "<p>VMWARE Fusion is for MacOSX.</p>\n\n<p>I run VMWARE Workstation 7.1.1 and sounds works fine on Ubuntu emulated instances. ;)</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-11...
null
null
null
null
Kris
4667
1
4668
2010-09-24T03:39:43.073
69
145344
<p>What are correct places for:</p> <ol> <li>Global environment variables meant to affect all users?</li> <li>User-specific environment variables?</li> </ol>
2390
18612
2012-01-05T22:26:26.480
2020-05-29T09:38:07.450
Where to declare environment variables?
[ "command-line", "environment-variables" ]
4
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>I think <a href=\"https://help.ubuntu.com/community/EnvironmentVariables\" rel=\"nofollow noreferrer\">the community wiki page on environment variables</a> will help you sort out</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2012-01-19T15:49:59.913", "id": "110688", "postId": "4668", "score": "2", "text": "The problem is that the linked document is confused and/or plain wrong in the part of user-specif variables. I still am trying to find a shell-agnostic way to do it. $HOME/.profile is probably the best bet...", "userDisplayName": null, "userId": "16395" }, { "creationDate": "2014-10-30T08:06:17.947", "id": "744320", "postId": "4668", "score": "19", "text": "Please paste text or take a snapshot of the linked content - it may not be available in the future!", "userDisplayName": null, "userId": "22308" }, { "creationDate": "2016-07-17T19:45:56.627", "id": "1206109", "postId": "4668", "score": "6", "text": "Whilst this may theoretically answer the question, [it would be preferable](http://meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.", "userDisplayName": null, "userId": "10616" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2010-09-24T03:49:10.617", "id": "4668", "lastActivityDate": "2019-01-10T18:30:58.963", "lastEditDate": "2019-01-10T18:30:58.963", "lastEditorDisplayName": null, "lastEditorUserId": "301745", "ownerDisplayName": null, "ownerUserId": "1543", "parentId": "4667", "postTypeId": "2", "score": "18" }
[ { "accepted": true, "body": "<p>I think <a href=\"https://help.ubuntu.com/community/EnvironmentVariables\" rel=\"nofollow noreferrer\">the community wiki page on environment variables</a> will help you sort out</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2012-01-19T15...
null
null
null
null
null
4672
1
null
2010-09-24T04:45:00.807
2
3012
<p>I was messing with by profile and ended up deleting <code>/usr/share/vim</code> folder and everything in it. How can I get this folder back?</p> <blockquote> <p>sudo aptitude reinstall vim</p> </blockquote> <p>did not help</p> <p>basically I would want vim and gvim to be back to 'factory settings' ...for this i'll need original <code>.vimrc</code> as well</p>
null
235
2010-10-10T22:11:38.690
2010-10-10T22:11:38.690
How to get default /usr/share/vim folder back?
[ "package-management", "vim" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Delete/backup all the files for vim under /home/<em>youruser</em>. If you use it as root, under /root as well. I recommend a .tar backup. Then run:</p>\n\n<blockquote>\n <p>sudo apt-get purge vim</p>\n</blockquote>\n\n<p>Finally run:</p>\n\n<blockquote>\n <p>sudo apt-get in...
null
null
2013-03-14T17:18:37.470
null
samwich
4675
1
4698
2010-09-24T08:00:09.963
13
13451
<p>Is there a GUI for selecting which folders are shared via NFS?</p>
1924
34298
2014-11-29T15:13:07.353
2017-07-03T19:26:54.603
How can I setup an NFS share using a GUI?
[ "nfs", "sharing" ]
2
3
CC BY-SA 2.5
[ { "creationDate": "2014-11-29T15:26:50.270", "id": "761206", "postId": "4675", "score": "1", "text": "related: http://askubuntu.com/questions/554630/gui-to-mount-nfs-folder", "userDisplayName": null, "userId": "34298" }, { "creationDate": "2015-01-28T04:36:04.047", "id": "799...
{ "accepted": true, "body": "<p>There is a GUI for samba shares, but AFAIK there is none for nfs at this time. However, there is a request at <a href=\"https://web.archive.org/web/20100624234331/http://brainstorm.ubuntu.com/idea/2982\" rel=\"nofollow\">brainstorm</a> about this issue. Maybe you can go there and support this issue.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2014-11-29T15:08:29.853", "id": "761183", "postId": "4698", "score": "2", "text": "Is this still the case that there is no GUI? (Brainstorm is dead, so I replaced the link with the archived version on archive.org)", "userDisplayName": null, "userId": "34298" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-24T15:38:30.707", "id": "4698", "lastActivityDate": "2014-11-29T15:10:08.533", "lastEditDate": "2014-11-29T15:10:08.533", "lastEditorDisplayName": null, "lastEditorUserId": "34298", "ownerDisplayName": null, "ownerUserId": "4", "parentId": "4675", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>There is a GUI for samba shares, but AFAIK there is none for nfs at this time. However, there is a request at <a href=\"https://web.archive.org/web/20100624234331/http://brainstorm.ubuntu.com/idea/2982\" rel=\"nofollow\">brainstorm</a> about this issue. Maybe you can go there...
null
null
null
null
null
4677
1
4684
2010-09-24T08:45:19.943
7
4365
<p>When I try and upgrade I get packages that are kept back, when I use dist-upgrade they will be upgraded however I get this warning:</p> <pre><code>Current status: 5 updates [-1]. will@will-desktop:~$ sudo aptitude dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initialising package states... Done The following packages are BROKEN: libdrm-nouveau1 The following NEW packages will be installed: libkms1{a} The following packages will be upgraded: libdrm-dev libdrm-intel1 libdrm-radeon1 libdrm2 5 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/245kB of archives. After unpacking 2,077kB will be freed. The following packages have unmet dependencies: libdrm-nouveau1: Breaks: xserver-xorg-video-nouveau (&lt; 1:0.0.16) but 1:0.0.15+git20100219+9b4118d-0ubuntu5 is installed. The following actions will resolve these dependencies: Remove the following packages: xserver-xorg-video-all xserver-xorg-video-nouveau Score is 188 </code></pre> <p>I don't know whether to upgrade or not, looks like it might break my video</p>
633
235
2010-09-24T14:17:59.547
2011-02-26T19:49:19.770
Update problems: packages held back
[ "upgrade", "aptitude", "updates" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I would not update. Especially if you currently have packages in a working condition. Never run a partial update or install packages kept-back. They are like so for a reason. Are you running Maverick BETA? If so that would explain it. You should wait for the packages to sort themselves out, and they will.</p>\n\n<p>(I am actually taking a break writing a blog article that explains things like this right now, odd).</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2010-09-24T15:23:09.670", "id": "4814", "postId": "4684", "score": "0", "text": "dist_upgrade should only be used in stable archives (i.e. a released version). In any kind of development release apt-get upgrade should be used instead because it prevents packages to be installed if there might be dependency problems.", "userDisplayName": null, "userId": "4" }, { "creationDate": "2010-09-24T21:37:18.997", "id": "4835", "postId": "4684", "score": "0", "text": "OK cheers. I'd be grateful if you link the blog post after writing, i would love to read it.", "userDisplayName": null, "userId": "633" }, { "creationDate": "2010-09-24T21:56:18.220", "id": "4837", "postId": "4684", "score": "0", "text": "Did not have time to be as comprehensive as I wanted, however it is a quick read, hopefully helpful.\nhttp://vbrummond.blogspot.com/2010/09/tips-for-ubuntu-administrators.html", "userDisplayName": null, "userId": "2138" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T09:10:58.397", "id": "4684", "lastActivityDate": "2010-09-24T09:10:58.397", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2138", "parentId": "4677", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>I would not update. Especially if you currently have packages in a working condition. Never run a partial update or install packages kept-back. They are like so for a reason. Are you running Maverick BETA? If so that would explain it. You should wait for the packages to sort ...
null
null
null
null
null
4678
1
null
2010-09-24T08:51:44.803
4
697
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/4743/how-do-i-replace-the-memenu-username-with-my-actual-name">How do I replace the MeMenu username with my actual name?</a> </p> </blockquote> <p>My user name takes approximately as long as would 6 icons. I don't need to see my username, I am the only user of my computer. How can I remove it?</p> <p>I use Ubuntu 10.10.</p> <p><strong>UPDATE:</strong> The <strong>answer</strong> found:</p> <pre> <code> gconftool -s /system/indicator/me/display --type int 0 </code> </pre> <p><strong>UPDATE:</strong> Unfortunately the solution doesn't work any more. Now it totally removes the instant messaging menu (including the icon) instead of just removing a name.</p>
2390
-1
2017-04-12T07:23:19.023
2011-02-20T12:05:21.493
How to remove username from "Me" menu (right near to power button on the top panel)?
[ "10.10", "menu", "ayatana" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2010-10-29T20:53:58.077", "id": "10465", "postId": "4678", "score": "0", "text": "This is a duplicate, so the answer belongs in the question this question is a duplicate of.", "userDisplayName": null, "userId": "292" } ]
null
[ { "accepted": null, "body": "<p>I know no way to remove the name from the applet. Though you can remove the applet entirely, and the shutdown/logout will now be in the System menu.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-24T09:16:52.197", "id": "47...
null
null
2010-09-25T15:44:35.910
null
null
4679
1
19537
2010-09-24T08:57:27.807
10
9916
<p>I'd like to remove a keyboard icon, so replacing "[###] USA" as keyboard layout indicator to just "En", an English or American flag, or "USA" at least. How can I achieve this?</p> <p>UPDATE: When I've clicked to remove e-mail icon from the bar, keyboard language indication has disappeared also, and now I only see that useless keyboard icon, and don't see what language is selected now :-(</p> <p>I use Ubuntu 10.10.</p>
2390
2390
2010-09-24T09:20:01.003
2012-08-26T15:36:55.120
How to remove keyboard icon from keyboard layout indicator (to leave just the language abbr. alone)?
[ "gnome", "10.10", "keyboard", "panel", "input-language" ]
5
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>In addition to <a href=\"https://askubuntu.com/questions/4679/how-to-remove-keyboard-icon-from-keyboard-layout-indicator-to-leave-just-the-lan/8793#8793\">monotasker's solution</a>, here's exact steps how to easily get flags instead of <em>keyboard icon + abbreviation</em>:</p>\n\n<ol>\n<li>in <code>gconf-editor</code>, check <code>/desktop/gnome/peripherals/keyboard/indicator/showFlags</code></li>\n<li>install set of flags using <code>sudo apt-get install famfamfam-flag-png</code></li>\n<li>make a softlink: <code>ln -s /usr/share/flags/countries/16x11 ~/.icons/flags</code></li>\n</ol>\n\n<p>In the next login, you should see flags in indicator applet.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-24T14:02:11.730", "id": "68239", "postId": "19537", "score": "0", "text": "I am experiencing the same problem, but the given answer is not exactly the answer of the question. Yes, the solution works for the INDICATOR applet, but what we would like to have is a solution for the NOTIFICATION area. For some reason now the keyboard indicator there can't find the icons, other than the default crappy keyboard picture.\nIn addition I use the connected application 'Typing Monitor', which also doesn't show icon in the NOTIFICATION bar. I am not sure if they are going to fix it officially https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/623435/comments/14", "userDisplayName": "user11408", "userId": null } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-12-31T13:55:43.587", "id": "19537", "lastActivityDate": "2010-12-31T14:52:46.333", "lastEditDate": "2017-04-13T12:24:48.743", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "8152", "parentId": "4679", "postTypeId": "2", "score": "8" }
[ { "accepted": null, "body": "<p>I think icon will be removed from indicator in release. So just wait 2 weeks. See <a href=\"https://bugs.launchpad.net/ayatana-ubuntu/+bug/620331\" rel=\"nofollow\">https://bugs.launchpad.net/ayatana-ubuntu/+bug/620331</a> for further information. And note \"Fix commited\" st...
null
null
null
null
null
4680
1
null
2010-09-24T09:00:31.640
2
1111
<p>Is there a dock, that works as a gnome panel applet, so I can put it into a panel alongside with other applets and indicators in one line?</p> <p>I use Ubuntu 10.10</p>
2390
3037
2011-05-19T07:49:02.820
2011-05-19T07:49:02.820
Is there a dock, that works as a gnome panel applet?
[ "10.10", "gnome-panel", "dock" ]
3
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Not sure what you really want, however:</p>\n\n<p>From this post, it seems that AWN can use the indicators and replace the Gnome-Panel.\n<a href=\"http://www.webupd8.org/2010/06/indicator-applet-now-available-in-avant.html\" rel=\"nofollow\">http://www.webupd8.org/2010/06/ind...
null
null
2013-03-14T17:18:43.557
null
null
4681
1
null
2010-09-24T09:02:56.427
2
1614
<p>How do I enable a mac-style global application menu in classic desktop edition of Ubuntu 10.10?</p>
2390
235
2010-09-25T01:45:55.977
2010-09-25T12:10:43.213
How do I enable a mac-style global application menu in classic desktop edition?
[ "10.10", "panel", "ayatana", "appmenu" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Install the package <code>indicator-applet-appmenu</code>. Then right click on the panel, select 'Add to Panel...', select 'Indicator Applet Appmenu' and click 'Add'.</p>\n\n<p><img src=\"https://i.stack.imgur.com/QEXDx.png\" alt=\"Add to Panel\"></p>\n", "commentCount": ...
null
null
2013-03-14T17:18:49.063
null
null
4683
1
4686
2010-09-24T09:06:32.147
13
29883
<p>Does gnome support desktop widgets? Any analogue to KDE plasmoids, Vista/Win7 sidebar/desktop widgets, Mac OS X dashboard widgets, etc.</p>
2390
431
2010-09-25T21:29:56.530
2017-07-08T03:49:28.463
Does gnome support desktop widgets?
[ "gnome", "widgets" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You can actually install and run plasma from Gnome if you so desire. It should work, despite having a lot of KDE dependencies, just add it to the startup programs. I am testing this right now, if you would like this option, I will report back to you.</p>\n\n<p>There are also a few programs in the software center that allow you to use desktop applets. Search for <strong>gdesklets</strong> and <strong>screenlets</strong>. Here are articles:</p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/Screenlets\" rel=\"nofollow\">http://en.wikipedia.org/wiki/Screenlets</a></p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/Gdesklets\" rel=\"nofollow\">http://en.wikipedia.org/wiki/Gdesklets</a></p>\n\n<p>Linux is quite modular. :)</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-24T09:35:01.603", "id": "4799", "postId": "4686", "score": "0", "text": "Thanks. I think it'd be nice if you share the most significant moments of your experience with Plasma right here.", "userDisplayName": null, "userId": "2390" }, { "creationDate": "2010-09-24T09:59:57.627", "id": "4801", "postId": "4686", "score": "0", "text": "Works pretty great actually! If you do not mind all the KDE installed, it fits well. Just run: sudo apt-get install plasma-desktop. When it is finished, press alt+f2 and type: plasma-desktop. When prompted between GDM and KDM choose GDM.\n\nGo to System -> Preferences -> System Settings for the KDE control panel. Under appearance you can change the KDE style to GTK. Screenshot: http://ubuntuone.com/p/HLc/", "userDisplayName": null, "userId": "2138" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-24T09:22:00.717", "id": "4686", "lastActivityDate": "2011-11-24T01:33:36.860", "lastEditDate": "2011-11-24T01:33:36.860", "lastEditorDisplayName": null, "lastEditorUserId": "8500", "ownerDisplayName": null, "ownerUserId": "2138", "parentId": "4683", "postTypeId": "2", "score": "8" }
[ { "accepted": true, "body": "<p>You can actually install and run plasma from Gnome if you so desire. It should work, despite having a lot of KDE dependencies, just add it to the startup programs. I am testing this right now, if you would like this option, I will report back to you.</p>\n\n<p>There are also ...
null
null
null
null
null
4690
1
null
2010-09-24T10:55:45.200
1
1488
<p>I've setup a simple Ubuntu 10.04 file server and want to have a handful of users attach from windows machine to a Shared drive and to private Home directories on a per machine basis.</p> <p>I've got this all setup and have mapped the drives within windows (Shared = Z:, Home = H:) on one of the machines and everything works fine. However when I restart the user machine they are still able to access the shared drive, but when trying to open their Home drive I get the error, </p> <p><code>An error occured while reconnecting H: to \\Server01\homes Microsoft Window Network: The network name cannot be found. This connection has not been restore</code></p> <p>If I then disconnect from the Home and Shared drive and reconnect then everything work fine, until I have to reboot the machine again!</p> <p>Any ideas why this is happening and how I can get round it?</p> <hr> <p>OK so I've made a little progress. If instead of mapping to the \Server01\homes directory I map to the \Server01\username directory, then I don't get the error message like before. However it does say:</p> <p><code>Incorrect password or unknown username for: \\Server01\username</code></p> <p>If I enter the exact same password as before then I connect fine, but I'd rather not have to force my users to enter a password each time the machine is started.</p>
2270
235
2010-10-02T18:14:52.970
2010-10-02T18:14:52.970
Restoring samba mappings after reboot?
[ "networking", "samba" ]
1
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-28T14:54:42.763", "id": "4947", "postId": "4690", "score": "1", "text": "Is the user/pass you use for logging in to windows the same as you use with samba?", "userDisplayName": null, "userId": "455" }, { "creationDate": "2010-09-30T13:23:30.133", "i...
null
[ { "accepted": null, "body": "<p>To me this looks more a Windows issue than an Ubuntu one: I suspect the Windows client is trying to connect with the wrong password (or no password at all) to the <code>\\server01\\homes</code> share. </p>\n\n<p>IIRC, right after login, Windows will try connecting to authent...
null
null
2013-03-14T17:18:53.603
null
null
4691
1
null
2010-09-24T12:15:48.620
6
1987
<p>i'm going to create a Catalog for one of our proposals... as i've recently migrated to Ubuntu, i don't know tools to do such a job. In windows i might do this with <strong>MS PowerPoint</strong> or <strong>Adobe InDesign</strong>. here i just know <strong>OpenOffice Presentation</strong>.</p> <p>I wanna create a <strong>simple</strong> and <strong>official</strong> catalog. and i want to have a wast range of available <strong>free templates</strong> to choose among. </p> <p>what's the best tool to create a <strong>fast</strong>, <strong>well-looking</strong> PDF catalog?</p>
1792
6005
2012-02-29T13:09:34.193
2012-02-29T13:09:34.193
what's the best tool to create a Product Catalog in Ubuntu?
[ "presentation" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<h1>Scribus</h1>\n\n<p><a href=\"http://www.scribus.net/\">Scribus</a> is an Open Source program that brings award-winning professional page layout to Linux/UNIX, Mac OS X, OS/2 Warp 4/eComStation and Windows desktops with a combination of \"press-ready\" output and new approach...
null
null
null
null
null
4694
1
null
2010-09-24T12:54:43.067
53
183380
<p>I have all images of Debian, Ubuntu and Ubuntustudio as <code>.iso</code>. How can I use them as repository to install my desired packages with <code>sudo apt-get install package-name</code>?</p> <p>I easily mount the <code>.iso</code> file with <strong>Archive Mounter</strong>, but when adding CD-ROM in <strong>Software Sources</strong> it says <em>Please Insert CD-ROM</em>. </p> <p>How should I do this without burning them to disk?</p>
1792
41
2010-10-15T16:22:19.853
2024-01-29T04:54:17.100
How to use a .iso image as a CD-ROM Repository?
[ "apt", "cd", "repository", "localrepository", "add-apt-repository" ]
11
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>This question has already been answered as part of an answer to a different question:\n<a href=\"https://askubuntu.com/questions/3576/how-to-make-usb-drive-as-local-repository\">How to make USB drive as local repository</a></p>\n<blockquote>\n<p>The easiest way to add the ima...
null
null
null
null
null
4697
1
4716
2010-09-24T15:27:01.903
3
6414
<p>I do my coding work on an Ubuntu machine at work, but I keep a laptop running windows with outlook for the corporate email. I don't really want to fight with Evolution and get it to work with the corporate setup, but I'd like something that could let me know on the Ubuntu machine if I got a new email in outlook/exchange. Does such a thing exist?</p>
1754
null
null
2016-07-16T07:11:11.707
Exchange email notifier?
[ "email", "ms-exchange" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Short of a one-shot tool doing exactly what you want, I can recommend a 2-part approach:</p>\n\n<ol>\n<li><a href=\"http://davmail.sourceforge.net/\" rel=\"nofollow\">davmail</a> can help you connect to exchange server from Ubuntu (via Outlook web access or EWS)\n<ul>\n<li>Install using the .deb available on the <a href=\"http://davmail.sourceforge.net/download.html\" rel=\"nofollow\">sourceforge site</a>.</li>\n<li>Follow the steps in <a href=\"http://davmail.sourceforge.net/linuxsetup.html\" rel=\"nofollow\">Linux Setup</a> and <a href=\"http://davmail.sourceforge.net/gettingstarted.html\" rel=\"nofollow\">Getting Started</a> pages to have davmail present an \"IMAP interface to your exchange email\". You would only need to configure IMAP port (un-check other things, unless you'd like to further experiment accessing email &amp; calendar information via a linux client like Thunderbird)</li>\n</ul></li>\n<li><a href=\"http://conky.sourceforge.net/\" rel=\"nofollow\">Conky</a> can display unread messages on an imap inbox at any convenient location on your desktop. Alternatively, you can try <a href=\"http://www.omgubuntu.co.uk/2010/09/email-notification-in-ubuntu-popper/\" rel=\"nofollow\">Popper</a></li>\n</ol>\n\n<p>BTW, once you are past the (easy) configuration of davmail, you could access your outlook email from either Thunderbird or Evolution as if it were on a local IMAP server. <a href=\"http://davmail.sourceforge.net/thunderbirdmailsetup.html\" rel=\"nofollow\">Thunderbird setup instructions</a> are available at the davmail site.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2010-09-27T13:54:11.783", "id": "4885", "postId": "4716", "score": "0", "text": "Had to install davmail from the download package, it's not in apt-get on my ubuntu setup. It runs but never asks for credentials, so I don't think it's working.", "userDisplayName": null, "userId": "1754" }, { "creationDate": "2010-09-28T08:49:53.660", "id": "4935", "postId": "4716", "score": "0", "text": "It won't ask for credentials unless some client (like thunderbird, conky, popper) tries to read the email through IMAP. In this case it expects client to supply these creds - you can configure these at client side anyway. I have updated my answer to mention that davmail is not available via apt-get - thanks.", "userDisplayName": null, "userId": "270" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T20:28:35.763", "id": "4716", "lastActivityDate": "2010-09-28T08:47:38.127", "lastEditDate": "2010-09-28T08:47:38.127", "lastEditorDisplayName": null, "lastEditorUserId": "270", "ownerDisplayName": null, "ownerUserId": "270", "parentId": "4697", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>Short of a one-shot tool doing exactly what you want, I can recommend a 2-part approach:</p>\n\n<ol>\n<li><a href=\"http://davmail.sourceforge.net/\" rel=\"nofollow\">davmail</a> can help you connect to exchange server from Ubuntu (via Outlook web access or EWS)\n<ul>\n<li>In...
null
null
null
null
null
4699
1
4701
2010-09-24T15:45:13.423
14
2700
<p>There is a specific wireless network I connect to that requires me to use vpnc to access the internet. If I make a script to do this, is there a way to set it up so every time I connect to this network, the script is run? To be clear, I don't want this script run with most wireless connections, just one specific one.</p>
1809
null
null
2010-11-20T09:20:23.633
Is there a way to run a script every time I connect to a specifc wireless network?
[ "wireless" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You can use <a href=\"http://upstart.ubuntu.com/\">upstart</a> for this. Upstart is able to catch the event of connecting to a wireless network (or a network in general) and use that as the prerequisite for running your script.</p>\n\n<p>Upstart is already used by lots of scripts in Ubuntu and will eventually replace all the System V init scripts at bootup time.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T16:03:08.050", "id": "4701", "lastActivityDate": "2010-09-24T16:25:11.310", "lastEditDate": "2010-09-24T16:25:11.310", "lastEditorDisplayName": null, "lastEditorUserId": "4", "ownerDisplayName": null, "ownerUserId": "4", "parentId": "4699", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>You can use <a href=\"http://upstart.ubuntu.com/\">upstart</a> for this. Upstart is able to catch the event of connecting to a wireless network (or a network in general) and use that as the prerequisite for running your script.</p>\n\n<p>Upstart is already used by lots of scr...
null
0
null
null
null
4702
1
4715
2010-09-24T16:48:52.390
5
855
<p>Whenever I log out from a Gnome session (by clicking on the "power" button in the top panel and choosing "Log out...", I have to answer the "Are you sure..." question. How can I configure my system to avoid this question?</p> <p>Since I already have performed two actions (clicking on the panel button, and selected the "Log out" item), it is quite probable that I actually <em>want</em> to log out. :)</p>
2019
null
null
2011-10-28T13:41:18.477
How to log out without having to confirm?
[ "gnome", "configuration" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-24T18:18:20.490", "id": "4822", "postId": "4702", "score": "0", "text": "Just to play devil's advocate, being a list of actions \"log out, switch user, restart, etc\" it's not very hard to miss and accidentally select the wrong item, especially with a trackpad.", "...
{ "accepted": true, "body": "<p>You can try the following command</p>\n\n<pre><code>gconftool-2 -s /apps/indicator-session/suppress_logout_restart_shutdown –t bool true\n</code></pre>\n\n<p>or open Configuration Editor and set it using the gui with below steps:</p>\n\n<ol>\n<li>Press Alt+F2 and enter \"gconf-editor\"</li>\n<li>Navigate to apps -> indicator-session</li>\n<li>Check the box next to the name \"suppress_logout_restart_shutdown\" on the right hand side pane.</li>\n<li>Exit Configuration editor.</li>\n</ol>\n\n<p>More details can be found <a href=\"http://reformedmusings.wordpress.com/2009/11/11/losing-the-shutdown-confirmation-in-ubuntu-9-10-karmic/\" rel=\"nofollow\">here</a>.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2010-10-16T13:12:04.187", "id": "7545", "postId": "4715", "score": "0", "text": "For me the command there returns `Must specify a type when setting a value` (10.10)", "userDisplayName": null, "userId": "866" }, { "creationDate": "2010-10-17T01:19:37.410", "id": "7654", "postId": "4715", "score": "0", "text": "There was an error in the gconftool-2 invocation (using -type instead of --type or -t). Strangely, we happen to encounter it only now... it could be because this key was already present in 10.04 and removed in 10.10. Can you try `gconftool-2 -g /apps/indicator-session/suppress_logout_restart_shutdown` and post the output on your system ? (For now I have edited the answer in anticipation of this)", "userDisplayName": null, "userId": "270" }, { "creationDate": "2010-10-17T07:04:12.360", "id": "7705", "postId": "4715", "score": "0", "text": "It outputs `true` - but I had already changed the key using gconf-editor yesterday...", "userDisplayName": null, "userId": "866" }, { "creationDate": "2010-10-17T11:58:14.417", "id": "7751", "postId": "4715", "score": "0", "text": "OK, until someone can verify on a vanilla 10.10 install, I will assume the error was in the wrong usage of the long option syntax, which I have fixed now.", "userDisplayName": null, "userId": "270" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T20:18:04.307", "id": "4715", "lastActivityDate": "2010-10-17T01:13:50.863", "lastEditDate": "2010-10-17T01:13:50.863", "lastEditorDisplayName": null, "lastEditorUserId": "270", "ownerDisplayName": null, "ownerUserId": "270", "parentId": "4702", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>There may be an easier way, but I always do the following. </p>\n\n<p>Either in a terminal or by hitting ALT-F2 and entering run, start...<br>\ngconf-editor<br>\nselect apps<br>\nselect gnome-session<br>\nselect options<br>\nuncheck logout_prompt </p>\n\n<p>Then for each of...
null
null
null
null
null
4709
1
4725
2010-09-24T19:15:27.160
7
316
<p>As far as I can remember, on some of even pretty old cellphones it was possible to say a name to be dialled. From this I conclude that it is possible and not very complex to implement. So, do such a system exist, which listens to voice commands, converts them to console commands according to a predefined map and executes?</p>
2390
3037
2012-01-25T10:36:08.773
2012-01-25T10:36:08.773
Is there a vocal interface system for Ubuntu (able to map voice commands to console commands and parameters)?
[ "sound", "command-line" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p><a href=\"http://sourceforge.net/projects/speech2text/\" rel=\"nofollow\">http://sourceforge.net/projects/speech2text/</a></p>\n\n<p>As i know it features and language to develop own modules.\nYou should give it a try.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2010-09-24T22:06:24.447", "id": "4839", "postId": "4725", "score": "0", "text": "For more information: http://simon-listens.org/index.php?id=122&L=1", "userDisplayName": null, "userId": "2315" }, { "creationDate": "2010-09-24T22:06:59.047", "id": "4840", "postId": "4725", "score": "0", "text": "Does it work on the console, or only in a graphical environment?", "userDisplayName": null, "userId": "2315" }, { "creationDate": "2010-09-25T12:26:54.340", "id": "4850", "postId": "4725", "score": "0", "text": "i think simon is gui only.", "userDisplayName": null, "userId": "1990" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T22:01:45.790", "id": "4725", "lastActivityDate": "2010-09-24T22:01:45.790", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1990", "parentId": "4709", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p><a href=\"http://sourceforge.net/projects/speech2text/\" rel=\"nofollow\">http://sourceforge.net/projects/speech2text/</a></p>\n\n<p>As i know it features and language to develop own modules.\nYou should give it a try.</p>\n", "commentCount": "3", "comments": [ ...
null
null
null
null
null
4710
1
4713
2010-09-24T19:16:44.710
15
1641
<p>I was working on developing my command line skills last night and ran into an issue where when I used sudo, I got an error message that said 'permission denied'. However when I used 'sudo su' and became root the command worked. </p> <p>Why didn't sudo work in the first instance?</p> <p>It was:</p> <pre><code>$ sudo cat &gt; /var/www/info. php &lt;?php phpinfo( ) ; ? &gt; ^D </code></pre> <p>From the Linux Bible 2010 edition in the section on setting up a LAMP server.</p>
769
769
2010-09-24T19:35:23.453
2010-09-26T12:27:30.397
Using sudo su for commands?
[ "command-line" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-24T19:26:47.043", "id": "4824", "postId": "4710", "score": "0", "text": "If you don't give an example it's kind of hard to resolve the problem.", "userDisplayName": null, "userId": "455" }, { "creationDate": "2010-09-25T23:34:22.963", "id": "4860", ...
{ "accepted": true, "body": "<p>The &lt;, > and >> are used for input / output redirection for commands - which is a feature provided by the shell (e.g., bash). So if you type a command like <code>sudo cat &gt; /var/www/info.php</code> then the shell that receives this as input tries to open the file <code>/var/www/info.php</code> and provides that file as the standard output to the <code>sudo</code> command. The <code>sudo</code> command is not even aware whether its output is going to a console or redirected to a file, because this is taken care of by the shell that invokes it.</p>\n\n<p>If the shell you typed your command into is your login shell or another shell running in a terminal with your user id, then it has same privileges as your user id - not those of root.</p>\n\n<p>So in your case, whereas the cat command is executed as root, the copying of its output to <code>/var/www/info.php</code> is attempted by the shell running as a normal user, which, as expected, fails.</p>\n\n<p>A workaround for such situations is to use the <code>tee</code> command :</p>\n\n<pre><code>sudo tee /var/www/info.php\n</code></pre>\n\n<p>That will have the intended effect of putting all the text entered at the console upto ^D into the file specified as parameter.</p>\n\n<p>One perhaps undersirable side-effect is that <code>tee</code> will also echo the output to the stdout, so after you type each line and press enter <code>tee</code> will output a copy of it back. To avoid this you can use the following variant.</p>\n\n<pre><code>sudo tee /var/www/info.php &gt; /dev/null\n</code></pre>\n\n<p>Details about <code>tee</code> can be had via <code>info tee</code> at a terminal.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T20:04:32.877", "id": "4713", "lastActivityDate": "2010-09-24T20:04:32.877", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "270", "parentId": "4710", "postTypeId": "2", "score": "18" }
[ { "accepted": null, "body": "<p>sudo does not work for commands that need permissions to write a file, such as:</p>\n\n<p><code>sudo echo \"vm.swappines = 100\" &gt;&gt; /etc/sysctl.conf</code></p>\n\n<p>It explains in the sudo man-page.</p>\n", "commentCount": "2", "comments": [ { "cr...
null
null
null
null
null
4717
1
4724
2010-09-24T20:37:20.917
5
267
<p>On my laptop (hw info below) I currently run Ubuntu 6.10 (Edgy Eft). The computer has been my work computer since 2006.</p> <p>I am considering doing a reinstall to get something more recent.</p> <p>What can I expect, perfomance-wise?</p> <pre><code>$ lshw WARNING: you should run this program as super-user. lapdance description: Computer width: 32 bits *-core description: Motherboard physical id: 0 *-memory description: System memory physical id: 0 size: 2027MB *-cpu product: Intel(R) Pentium(R) M processor 1.60GHz vendor: Intel Corp. physical id: 1 bus info: cpu@0 version: 6.13.6 size: 1400MHz capacity: 1400MHz width: 32 bits capabilities: fpu fpu_exception wp vme de pse tsc msr mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2 cpufreq </code></pre>
155
null
null
2010-10-03T18:50:02.960
I am using Edgy Eft (6.10). If I switch to 10.04, how will it affect performance?
[ "hardware", "performance" ]
6
2
CC BY-SA 2.5
[ { "creationDate": "2010-09-25T21:36:03.160", "id": "4858", "postId": "4717", "score": "2", "text": "If you notice a decrease in performance you can go to this question http://ubuntu.stackexchange.com/questions/2194/how-can-i-improve-overall-system-performance it has some nice tweaks to make. And...
{ "accepted": true, "body": "<p>It's very hard to predict. Ubuntu makes some effort to streamline common tasks, giving an advantage to newer releases. But most applications gain features a lot faster than they are optimized, which gives an advantage to older releases. A newer release is likely to come with a default configuration tuned for a faster machine (especially in terms of display effects), but you can change the configuration.</p>\n\n<p>Looking at your specs, you have a relatively slow CPU, but a more than adequate amount of RAM, so it's worth a try.</p>\n\n<p>Another factor which is strongly in favor of 10.04+ is the ext4 filesystem, which is a lot faster than ext3. It can make a significant difference to anything involving file input/output.</p>\n\n<p>One specific task which can benefit from a newer release is web browsing: 10.04 ships with Chromium (it's not the default browser, but it is part of the distribution), and Chromium is usually visibly faster than Firefox. (I don't know if Chromium works on edgy — it's <a href=\"https://edge.launchpad.net/~chromium-daily/+archive/ppa\" rel=\"nofollow\">available for hardy</a>, but considering that Chromium uses a lot of libraries, including some from Gnome, edgy is pushing it.)</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2010-10-03T18:52:30.823", "id": "5216", "postId": "4724", "score": "0", "text": "@fluteflute: 10.04 does ship with Chromium, even if it's not part of the default install. And many programs work for older OS releases (e.g. Chromium works on hardy) (in fact few programs require an OS release that is younger than them!).", "userDisplayName": null, "userId": "1059" }, { "creationDate": "2010-10-03T19:35:44.323", "id": "5217", "postId": "4724", "score": "0", "text": "Personally I think \"ships with\" implies it comes out of the box, on a default install - but thanks for clarifying it in your post :)", "userDisplayName": null, "userId": "866" }, { "creationDate": "2010-11-17T20:22:44.943", "id": "14240", "postId": "4724", "score": "0", "text": "You won't get ext4 with an upgrade; you'll need a reinstall.", "userDisplayName": null, "userId": "186" }, { "creationDate": "2010-11-17T22:00:46.920", "id": "14260", "postId": "4724", "score": "0", "text": "@Broam: The Ubuntu upgrade doesn't convert your filesystem to ext4, but you can do it without reinstalling (a few features need to be enabled when the filesystem is created, but you will get most benefits if you convert). See [Converting an existing Ext3 filesystem to Ext4](https://help.ubuntu.com/community/ConvertFilesystemToExt4).", "userDisplayName": null, "userId": "1059" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T21:49:04.460", "id": "4724", "lastActivityDate": "2010-10-03T18:50:02.960", "lastEditDate": "2010-10-03T18:50:02.960", "lastEditorDisplayName": null, "lastEditorUserId": "1059", "ownerDisplayName": null, "ownerUserId": "1059", "parentId": "4717", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>In my opinion, switching from 6.10 to 10.04 per se may not affect performance. However, the increased UI polish and graphical goodness brought into GNOME desktop could demand more from the hardware. </p>\n\n<p>I would suggest trying xubuntu or lubuntu first preferable via a l...
null
null
null
null
null
4719
1
4720
2010-09-24T20:46:24.280
2
1040
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/1743/is-aptitude-really-better-than-apt-get">Is aptitude really better than apt-get?</a> </p> </blockquote> <p>To install a package I can "apt-get install" or "aptitude install", to search - "apt-cache search" or "aptitude search". I find these things pretty similar. So what are benefits of aptitude?</p>
2390
-1
2017-04-13T12:23:44.677
2010-09-24T21:00:31.917
What are benefits of aptitude compared to apt-get?
[ "apt", "aptitude" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2010-09-24T21:52:51.813", "id": "4836", "postId": "4719", "score": "5", "text": "Duplicate: [Is aptitude really better than apt-get?](http://ubuntu.stackexchange.com/questions/1743/is-aptitude-really-better-than-apt-get)", "userDisplayName": null, "userId": "1059" } ...
{ "accepted": true, "body": "<p>It has a more advanced dependency handling feature and a graphical front-end. On the whole it does not matter and lately I have been using apt-get instead. I believe it also tries to roll the apt-* features into one program.</p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/Aptitude_%28software%29\" rel=\"nofollow\">http://en.wikipedia.org/wiki/Aptitude_%28software%29</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-24T21:00:31.917", "id": "4720", "lastActivityDate": "2010-09-24T21:00:31.917", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2138", "parentId": "4719", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>It has a more advanced dependency handling feature and a graphical front-end. On the whole it does not matter and lately I have been using apt-get instead. I believe it also tries to roll the apt-* features into one program.</p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/Ap...
null
null
2010-10-16T14:21:16.180
null
null
4727
1
null
2010-09-24T23:41:36.217
2
3496
<p>The only thing really missing from this install is this issue with the sound. I've searched all over the forums and i found one thing where you get the model and codecs and write them to a file, however, I can't seem to find what my "model" is because none of the postings have anything about Lenovo laptops. Here is the command they all asked for: Code:</p> <pre><code>cat /proc/asound/card0/codec#* | grep Codec Codec: Realtek ALC269 Codec: Intel G45 DEVIBX </code></pre> <p>With that info, how do I get the model, and how do I get my speakers to stop playing when headphones are plugged in. Also, if i manually change the output device to headphones itll play just headphones in the sys prefs... so it CAN work, but it doesn't.</p> <p>I have a Lenovo ThinkPad L512 as well.</p> <p>Thanks so much to whoever can answer this...</p> <p>The Ubuntu forums are nearly useless... ive never gotten a correct answer back on that site.</p> <p>Also, i've filed a bug report and i know it's the ALSA plugin, i don't know how to fix it though.</p>
2490
235
2010-09-25T01:45:28.287
2013-01-23T21:24:03.810
Sound plays on headphones and speakers at the same time with Lenovo ThinkPad
[ "10.04", "hardware", "sound", "laptop" ]
2
5
CC BY-SA 2.5
[ { "creationDate": "2010-09-25T00:03:38.410", "id": "4846", "postId": "4727", "score": "0", "text": "What are your alsamixers like? Run \"alsamixer -c0\" (no quotes) in a terminal.", "userDisplayName": null, "userId": "2138" }, { "creationDate": "2010-09-26T19:59:21.120", "id"...
null
[ { "accepted": null, "body": "<p>This is a workaround:</p>\n\n<p>Go to \"sound preferences\" and select the \"Output\" tab. There select \"Analog Output\" in the connector option.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2010-09-26T19:56:34.913", "id": "4869...
null
null
2013-03-14T17:19:02.837
null
null
4729
1
4730
2010-09-25T01:09:20.007
3
208
<p>As the title suggests, I want to use the About Me section under System>Preferences without using evolution. (I don't have evolution installed on my computer as I handle email/calendering etc via google apps)</p> <p>As it stands I get an error message unless evolution is installed which means I can't establish a profile properly on the Indicator Applet Session as it seems to pull from 'About Me'</p>
2491
235
2010-09-25T01:30:08.227
2010-09-25T01:42:00.650
How to use the "About Me" without evolution
[ "gnome", "evolution" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Unfortunately in order to use About Me (part of the gnome-control-center) the application needs to take advantage of <code>evolution-data-server</code>, which is the service that let's the rest of the desktop connect to mail/contacts/task, etc.</p>\n\n<p>Ideally someone would write a program that would sync e-d-s to your Google App account (or whatever) in order to take advantage of this feature -- unfortunately nothing like this exists as far as I know.</p>\n\n<p>References:</p>\n\n<ul>\n<li><a href=\"https://bugzilla.mozilla.org/show_bug.cgi?id=408158\" rel=\"nofollow\">Bug report</a> for support in Mozilla Thunderbird</li>\n<li><a href=\"https://bugzilla.novell.com/show_bug.cgi?id=431034\" rel=\"nofollow\">Bug report</a> for support in OpenOffice.org</li>\n<li><a href=\"http://www.go-evolution.org/EDS_Architecture\" rel=\"nofollow\">e-d-s Documentation</a></li>\n</ul>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-25T01:29:55.703", "id": "4730", "lastActivityDate": "2010-09-25T01:42:00.650", "lastEditDate": "2010-09-25T01:42:00.650", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "235", "parentId": "4729", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Unfortunately in order to use About Me (part of the gnome-control-center) the application needs to take advantage of <code>evolution-data-server</code>, which is the service that let's the rest of the desktop connect to mail/contacts/task, etc.</p>\n\n<p>Ideally someone would...
null
null
null
null
null
4731
1
4739
2010-09-25T04:20:42.580
11
1340
<p>Is there a way I can use Thunderbird to access and modify my desktop calendar (Or anything other than evolution for that matter)?</p>
2458
null
null
2012-04-19T00:37:33.873
Thunderbird and desktop calendar
[ "evolution", "thunderbird", "google-calendar", "calendar" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Not really. The closest thing I can think of is an add-on to Thunderbird that mirrors the Lightning calendar to Evolution; you can get it from here: <a href=\"https://addons.mozilla.org/en-US/thunderbird/addon/9656/\" rel=\"nofollow\">https://addons.mozilla.org/en-US/thunderbird/addon/9656/</a>\nHowever, it's a one way sync (TB->Evolution).</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2010-09-25T08:04:25.023", "id": "4739", "lastActivityDate": "2012-04-19T00:37:33.873", "lastEditDate": "2012-04-19T00:37:33.873", "lastEditorDisplayName": null, "lastEditorUserId": "18612", "ownerDisplayName": null, "ownerUserId": "2233", "parentId": "4731", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>Not really. The closest thing I can think of is an add-on to Thunderbird that mirrors the Lightning calendar to Evolution; you can get it from here: <a href=\"https://addons.mozilla.org/en-US/thunderbird/addon/9656/\" rel=\"nofollow\">https://addons.mozilla.org/en-US/thunderb...
null
null
null
null
null
4732
1
4745
2010-09-25T04:40:47.900
6
10666
<p>I imported my Google calendar into Evolution and now I can't find a way to delete the calendar. How can I delete it?</p>
2458
13280
2019-04-18T12:14:25.800
2021-09-07T15:11:21.470
Delete a calendar from Evolution
[ "evolution" ]
4
1
CC BY-SA 4.0
[ { "creationDate": "2012-10-28T18:32:45.823", "id": "258221", "postId": "4732", "score": "0", "text": "I have a simmilar problem but this answers here doesnt help me\r\nhttp://askubuntu.com/questions/206219/how-to-delete-a-google-calendar-from-evolution", "userDisplayName": null, "userId"...
{ "accepted": true, "body": "<p>If you have imported it the right way (New Calendar => Type Google), you can remove it right-clicking on the calendar name and then deleting it.<br>\nIf you have imported a CVS/ICS calendar file (Google calendar => Export), this approach doesn't work.</p>\n\n<p><img src=\"https://i.stack.imgur.com/5eQV0.png\" alt=\"alt text\"></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2015-06-09T20:22:27.267", "id": "904787", "postId": "4745", "score": "5", "text": "Some calendars can't be just be removed using the UI (as added by online accounts), the only way I've found is to manually remove the matching sources from `~/.config/evolution/sources/`. You can easily grep the ones you want remove by checking the `DisplayName` on them (they're in plain text).", "userDisplayName": null, "userId": "7788" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2010-09-25T12:36:15.950", "id": "4745", "lastActivityDate": "2019-04-18T11:58:13.240", "lastEditDate": "2019-04-18T11:58:13.240", "lastEditorDisplayName": null, "lastEditorUserId": "13280", "ownerDisplayName": null, "ownerUserId": "1990", "parentId": "4732", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>If you have imported it the right way (New Calendar => Type Google), you can remove it right-clicking on the calendar name and then deleting it.<br>\nIf you have imported a CVS/ICS calendar file (Google calendar => Export), this approach doesn't work.</p>\n\n<p><img src=\"ht...
null
null
null
null
null
4733
1
null
2010-09-25T05:59:07.273
1
357
<p>My Acer Aspire Laptop is unbootable.</p> <p>I'm trying to reinstall Ubuntu 10.04.1. Boot options accessible OK via F2.</p> <p>In fact, it still leads me into the olg grub2 menu, but I can't use any of the options because of corrupted installations on the various partitions (hence my wish to reinstall). Any type of LiveCD hangs in the middle of the installation.</p> <p>With ubuntu-10.04.1-desktop-i385.iso (MD5Sum checked), the installation seems to hang at "Running /script/casper-premount" (when run in non-quite mode), (and nothing seems to happen from there).</p> <p>I tried various other installations (via UNetBootin eg RescueCD on USB stick etc)... The laptop seems to access both USB and CDROM ok...</p> <p>My laptop has become totally unusable? What can I do? Is the 'c' option at the old GRUB2 menu of any use?</p> <p>Any help would be much appreciated - I'm rather desperate to get my laptop working again!</p>
2492
null
null
2010-09-25T06:35:52.053
Ubuntu livecd hangs - unable to access my laptop
[ "laptop", "live-cd" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Using SystemRescueCD (on a CD, rather than USB), reformatting the partition and using Ubuntu LiveCD again worked OK.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2010-09-25T06:3...
null
null
2013-03-14T17:19:08.470
null
null