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
25351
1
25377
2011-02-08T23:14:54.793
5
535
<p>Is it possible to install Desktop edition in Server edition, then access remotely? I can think of lots of applications for this, but don't know if it's possible, or what the drawbacks could be.</p>
10252
null
null
2011-02-09T12:36:43.373
Is it possible to install Desktop edition in Server edition, then access remotely?
[ "server", "remote-desktop" ]
4
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-08T23:46:33.270", "id": "27760", "postId": "25351", "score": "0", "text": "I don't understand your question. What do you mean by installing \"Desktop edition in Server edition\"?", "userDisplayName": null, "userId": "8515" } ]
{ "accepted": true, "body": "<p>you should install ubuntu-desktop and openssl-server</p>\n\n<pre>\napt-get install ubuntu-desktop openssh-server\n</pre>\n\n<p>then use <code>ssh -X</code> to access your server remotely.</p>\n\n<p>or you can follow <a href=\"http://www.cyberciti.biz/faq/ubuntu-linux-openssh-server-installation-and-configuration/\" rel=\"nofollow\">this</a> to config your ssl</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-09T17:56:45.623", "id": "27892", "postId": "25377", "score": "0", "text": "Would I then be able to use the desktop remotely? Would I be limited in anyway to using an application like virtual box? Thank you for your answer.", "userDisplayName": null, "userId": "10252" }, { "creationDate": "2011-02-09T18:39:23.190", "id": "27907", "postId": "25377", "score": "0", "text": "yes, if your server is connected with WAN (means that your server has a IP address). \nYou can use this commend: ssh -X <serverip>\nor use gui remote desktop tools to access the server.", "userDisplayName": null, "userId": "10487" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T01:59:38.377", "id": "25377", "lastActivityDate": "2011-02-09T01:59:38.377", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "10487", "parentId": "25351", "postTypeId": "2", "score": "6" }
[ { "accepted": null, "body": "<p>If you mean install the set of applications ( mostly gui ) that are installed by default in Desktop Edition, but not Server Edition, then just install the ubuntu-desktop package.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "content...
null
null
null
null
null
25352
1
182913
2011-02-08T23:15:55.100
3
1241
<p>The current ubuntu repo contains an extra set of packages for version 2.27.57 of the <code>unison</code> file sychronization utility:</p> <pre><code>$ aptitude search unison p unison - A file-synchronization tool for Unix and W p unison-gtk - A file-synchronization tool for Unix and W p unison2.27.57 - A file-synchronization tool for Unix and W p unison2.27.57-gtk - A file-synchronization tool for Unix and W $ aptitude show '~nunison[^-]*$' | grep 'Package\|Version' Package: unison Version: 2.32.52-1ubuntu2 Package: unison2.27.57 Version: 2.27.57-2 </code></pre> <p>What is the reason for this? Are there backwards incompatibilities in more recent versions of unison?</p>
3865
null
null
2012-09-01T11:41:36.413
Why does ubuntu have a separate package for unison version 2.27.57?
[ "package-management", "unison" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Unison insists on having exactly the same version at both ends of the connection. Each version depends on a particular version of the system C libraries. So if ONE of the machines on which you work happens to have an old version of these libraries, you have to use the corresponding old version of Unison on ALL of the machines that you use.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-09-03T13:28:01.513", "id": "228712", "postId": "182913", "score": "0", "text": "Thanks. I guess Jorge was working on the assumption that I already knew this.", "userDisplayName": null, "userId": "3865" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2012-09-01T11:41:36.413", "id": "182913", "lastActivityDate": "2012-09-01T11:41:36.413", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "86890", "parentId": "25352", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>We inherit the unison package from Debian. From looking <a href=\"http://packages.debian.org/changelogs/pool/main/u/unison2.27.57/unison2.27.57_2.27.57-2/changelog\" rel=\"nofollow noreferrer\">at the changelog</a>:</p>\n<blockquote>\n<ul>\n<li>Fork a unison2.27.57 package to...
null
0
null
null
null
25356
1
48234
2011-02-08T23:47:11.580
5
10231
<p>I love the command line options of imagemagick. Mogrify is great to resize images and change quality, which is what I use most often. However, I have noted that the filesize if often larger than what it should be. Especially with small images. For instance, I have a regular 640px (width) photo, which I change to quality 80 and a width of 80px:</p> <pre><code>mogrify -quality 80 -resize 80 file.jpg </code></pre> <p>Works well and my image gets resized and the quality is changed to 80. However, the filesize is around 40Kb. For such a tiny image, that is huge! When I use mtPaint, and open the file and save it (not changing anything, just CTRL+O, CTRL+S), the filesize decreases with more than 95% to less than 2Kb! I have seen this is often the case. </p> <p>What goes wrong?</p>
null
null
null
2022-01-14T00:23:40.033
Decrease filesize when resizing with mogrify
[ "mogrify" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2011-02-08T23:54:47.640", "id": "27762", "postId": "25356", "score": "0", "text": "See what `identify file.jpg` (another imagemagick command) says before and after using mogrify. May provide some clues.", "userDisplayName": null, "userId": "9016" }, { "creation...
{ "accepted": true, "body": "<p>I found the answer... it was in the \"metadata\"! Apparently this easily weighs about 18 Kb per image, so in the original you might not note this, but in the tiny resize it means 18 Kb + 2 Kb = 20 Kb total filesize. They significantly increased by doing: </p>\n\n<p><code>mogrify -strip file.jpg</code></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-06-11T16:05:46.603", "id": "48234", "lastActivityDate": "2011-06-11T16:05:46.603", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": "user6019", "ownerUserId": null, "parentId": "25356", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>I found the answer... it was in the \"metadata\"! Apparently this easily weighs about 18 Kb per image, so in the original you might not note this, but in the tiny resize it means 18 Kb + 2 Kb = 20 Kb total filesize. They significantly increased by doing: </p>\n\n<p><code>mogr...
null
null
null
null
user6019
25359
1
null
2011-02-09T00:20:06.363
1
1855
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/21325/1920-x-1080-splash">1920 x 1080 Splash</a> </p> </blockquote> <p>The Plymouth boot splash screen is off center, although the shut-down one works as i set it (not original).</p> <p>why are my boot Plymouth and shut-down Plymouths different</p>
null
-1
2017-04-13T12:24:29.360
2011-04-10T05:40:03.073
Plymouth splash screen different boot than shutdown
[ "plymouth" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>You have to Press Alt + f2 and paste</p>\n\n<pre><code>gksu update-initramfs -c -k all\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T05:15:04.993", "id"...
null
null
2011-06-05T20:23:46.697
user10482
user10482
25361
1
25371
2011-02-09T00:35:47.490
24
6741
<p>I've checked the man/info page, but there is no reference to some aspects of the output fomat of <code>apt-cache depends</code> </p> <p>The man/info page tried to be helpful (in an obtuse manner); quote: "For the specific meaning of the remainder of the output it is best to consult the apt source code" </p> <p>Now in fairness to the info page, that quote was in regards to the 'showpkg' option which it had reasonably explained, but my option had no such explanation... I understand that Linux info comes from many sources (not just man/info pages), and I don't particularly want to rummage through the source (altough somtimes I do), so here is an example of what I'd like to know the meaning of. </p> <pre><code># I can assume what these mean, but... # What does | mean? (probably means 'or'???) # What does &lt;pkg&gt; and the following indentations mean? # At the end, the interaction(?) of Suggest and Recommends puzzles me. $ apt-cache depends solr-common solr-common Depends: debconf |Depends: openjdk-6-jre-headless |Depends: &lt;java5-runtime-headless&gt; default-jre-headless gcj-4.4-jre-headless gcj-jre-headless gij-4.3 openjdk-6-jre-headless Depends: &lt;java6-runtime-headless&gt; default-jre-headless openjdk-6-jre-headless Depends: libcommons-codec-java Depends: libcommons-csv-java Depends: libcommons-fileupload-java Depends: libcommons-httpclient-java Depends: libcommons-io-java Depends: libjaxp1.3-java Depends: libjetty-java Depends: liblucene2-java Depends: libservlet2.5-java Depends: libslf4j-java Depends: libxml-commons-external-java Suggests: libmysql-java |Recommends: solr-tomcat Recommends: solr-jetty </code></pre>
2670
null
null
2011-02-09T01:47:21.613
In 'apt-cache depends' output, what is the meaning of Suggests, Recommends, |, <>?
[ "apt", "documentation", "info", "apt-cache", "manpage" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The authoritative reference is the Debian policy manual: <a href=\"http://www.debian.org/doc/debian-policy/\">http://www.debian.org/doc/debian-policy/</a></p>\n\n<p>Quoting the manual:</p>\n\n<p>The Recommends field should list packages that would be found together with this one in all but unusual installations.</p>\n\n<p>Suggests: This is used to declare that one package may be more useful with one or more others. Using this field tells the packaging system and the user that the listed packages are related to this one and can perhaps enhance its usefulness, but that installing this one without them is perfectly reasonable.</p>\n\n<p>These days packages that are recommended are installed as well by default ( when you install the package doing the recommending ).</p>\n\n<p>As you guessed the | indicates \"or\". The control line normally shows foo | bar, but apt-cache depends appears to reformat it by showing each alternative on its own line and prefixing the first with the |. In other words, the pipe flags the preferred option and the next line is the alternative.</p>\n\n<p>The package listed in angle brackets indicates that it is a virtual package. The packages listed on the indented lines after it are the various packages that provide that service.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-09T02:41:12.200", "id": "27773", "postId": "25371", "score": "0", "text": "Thanks psusi. That has certainly put me on the right track.. The difference between Recommends and Suggests is still a bit vague to me, but I'm sure that now I'm aware of approximately what they mean, I'll gradually 'get' it by exposure to some examples where I already have a feel for what and why something is being Suggested or Recommended.", "userDisplayName": null, "userId": "2670" }, { "creationDate": "2011-02-09T04:59:52.740", "id": "27791", "postId": "25371", "score": "2", "text": "Recommends are now installed by default and suggests are not. That is the main difference in practice. Essentially, recommends allow you to \"depend\" on something but allow the user to still uninstall it without uninstalling your packages. Suggests merely show up in some UIs as something you might also want to install. The use case is something like `file-roller` (the archive manager) suggesting a more exotic compression lib that it could use if installed but most people don't want.", "userDisplayName": null, "userId": "570" }, { "creationDate": "2011-02-09T14:54:26.843", "id": "27864", "postId": "25371", "score": "3", "text": "@fred.bear a good example is a music program like audacity. If you want to rip cds, you need to install cdparanoia. If you want to encode/play mp3s, then you need to install lame. You can still run audacity without these, but most people who run it expect it to be able to rip cds to mp3, so those packages should be recommended. It can also encode to FLAC, but that makes a better candidate for suggests since most people don't use FLAC.", "userDisplayName": null, "userId": "8500" }, { "creationDate": "2011-02-10T05:24:31.230", "id": "27994", "postId": "25371", "score": "0", "text": "@andrewsomething and @psusi... a couple of nice extas... thanks", "userDisplayName": null, "userId": "2670" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T01:47:21.613", "id": "25371", "lastActivityDate": "2011-02-09T01:47:21.613", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "25361", "postTypeId": "2", "score": "18" }
[ { "accepted": true, "body": "<p>The authoritative reference is the Debian policy manual: <a href=\"http://www.debian.org/doc/debian-policy/\">http://www.debian.org/doc/debian-policy/</a></p>\n\n<p>Quoting the manual:</p>\n\n<p>The Recommends field should list packages that would be found together with this ...
null
null
null
null
null
25372
1
null
2011-02-09T01:48:37.760
5
1408
<p>Just loaded Ubuntu 10.10 and loaded all updates on a hard drive by itself (without Windows). Would like to change the time for the system to shut down automatically from 60 seconds to 5 seconds, thus just hitting the shutdown icon once and in 5 seconds the system would shut down or give me just enough time to hit the restart button if I wanted to restart. Any way to do it??</p>
10485
5674
2011-02-09T02:01:18.297
2012-02-06T15:10:42.577
Can I shorten automatic shut down time from 60s to 5?
[ "10.10", "configuration", "shutdown" ]
3
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>There is currently no way to do this without editing and compiling the source code. You can, however, shut down immediately through the CLI using the command <code>sudo shutdown -h now</code>.</p>\n", "commentCount": "2", "comments": [ { "creationDate": ...
null
null
null
null
null
25374
1
25381
2011-02-09T01:50:01.613
38
53209
<p>I ran the following commands</p> <pre><code>sudo apt-get install libapache2-mod-wsgi sudo a2enmod mod-wsgi </code></pre> <p>I keep getting this extremely frustrating message </p> <pre><code>ERROR: Module mod-wsgi does not exist! </code></pre> <p>Please help.</p>
333
866
2011-02-09T20:56:17.603
2023-12-12T20:39:14.580
How do you install mod_wsgi?
[ "server", "apache2", "django" ]
6
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T05:20:51.770", "id": "27792", "postId": "25374", "score": "1", "text": "sudo a2enmod will give you list of modules installed. Just enable wsgi as said by ajmitch", "userDisplayName": null, "userId": "1543" } ]
{ "accepted": true, "body": "<p>Using <code>sudo a2enmod wsgi</code> should enable the module for you once you reload apache, as most modules don't need the mod_ prefix when enabling them.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-08-21T17:22:12.457", "id": "221696", "postId": "25381", "score": "0", "text": "i tried `sudo a2enmod wsgi` but even I m still getting the same error. I typed `sudo a2enmod` and these are the choices I got http://dpaste.de/NEIcf/ It does not contain `wsgi`. Is it ok to ask this question here or do I need to post a new question?", "userDisplayName": null, "userId": "60427" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T02:22:58.690", "id": "25381", "lastActivityDate": "2011-02-09T02:22:58.690", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "129", "parentId": "25374", "postTypeId": "2", "score": "26" }
[ { "accepted": true, "body": "<p>Using <code>sudo a2enmod wsgi</code> should enable the module for you once you reload apache, as most modules don't need the mod_ prefix when enabling them.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-08-21T17:22:12.457", "...
null
null
null
null
null
25380
1
25387
2011-02-09T02:16:01.547
1
143
<p>Are there any plans to have applications store data from each user in home/user/.config instead of just home/user/ and their respective directories? </p>
5674
null
null
2011-02-09T04:46:46.707
Will applications be putting user data in ~/.config instead of just ~?
[ "configuration", "configuration-management" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T02:28:40.537", "id": "27771", "postId": "25380", "score": "3", "text": "See http://askubuntu.com/questions/22361/what-is-the-relationship-between-gconf-gnome2-cache-local-and-other-dot-f/22544#22544 for some clarifications.", "userDisplayName": null, "userId...
{ "accepted": true, "body": "<p>As mentioned in <a href=\"https://askubuntu.com/questions/22361/what-is-the-relationship-between-gconf-gnome2-cache-local-and-other-dot-f/22544#22544\">my answer to a releated question</a>, <code>~/.config</code> is part of the <a href=\"http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html\" rel=\"nofollow noreferrer\">FreeDesktop Base Directory Specification</a>.</p>\n\n<p>According to the spec, \"user data\" should not actually be put in <code>~/.config</code> at all.</p>\n\n<ul>\n<li><p><code>$XDG_CONFIG_HOME</code> is where user\nspecific configuration files should\nbe stored.</p></li>\n<li><p><code>$XDG_DATA_HOME</code> is where user\nspecific data files should be stored.</p></li>\n<li><p><code>$XDG_CONFIG_HOME</code> defaults to\n<code>~/.config</code></p></li>\n<li><p><code>$XDG_DATA_HOME</code> defaults to\n<code>~/.local/share</code></p></li>\n</ul>\n\n<p>As I say in a comment in that question: compliance is voluntary, but there has been discussion in the past about making XDG compliance a \"goal\" for all application in the default install.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T04:46:46.707", "id": "25387", "lastActivityDate": "2011-02-09T04:46:46.707", "lastEditDate": "2017-04-13T12:24:49.530", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "570", "parentId": "25380", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>As mentioned in <a href=\"https://askubuntu.com/questions/22361/what-is-the-relationship-between-gconf-gnome2-cache-local-and-other-dot-f/22544#22544\">my answer to a releated question</a>, <code>~/.config</code> is part of the <a href=\"http://standards.freedesktop.org/based...
null
null
null
null
null
25390
1
25400
2011-02-09T05:54:00.950
2
735
<p>Why can't I select both of these?</p> <p><img src="https://i.stack.imgur.com/uZybD.png" alt="Software Sources"></p>
1859
866
2011-02-09T19:43:59.947
2011-02-09T19:43:59.947
Can I choose to automatically download all updates and install the important ones?
[ "update-manager", "automation", "software-sources", "apt-cache" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I don't know exactly <em>why</em> the interface is limited and possibly counterintuitive like this. I'm ready to chalk it up to reducing complexity and adding sane defaults. \nFor a desktop user, that often makes sense. However, if you are using a server, you wouldn't be using this method, and so I'll add some info on alternatives that provide more flexibility, at the expense of complexity. They also provide you (given a little time to familiarize yourself with them) a clearer view of exactly what actions will take place. </p>\n\n<p>On the server side, the standard way to configure this is probably to use unattended-upgrades. This might be the best way to do this on the desktop as well. </p>\n\n<p>Here's a decent guide on this (and some other Ubuntu methods):\n<a href=\"https://help.ubuntu.com/community/AutomaticSecurityUpdates\" rel=\"nofollow\">https://help.ubuntu.com/community/AutomaticSecurityUpdates</a></p>\n\n<p>Note that this guide does not discourage using the Gnome Update Manager, which is GUI you are referring to. This is a user-editable wiki page, so I'm chalking this up to conflating server and desktop tools. (Though it is of course possible to install, e.g., Gnome on a server, too.)</p>\n\n<p>Another method mentioned is cron. Cron has the advantage of being pretty transparent in what it does, and giving you great control, as it is typically hand-configured. This unfortunately also has the consequence of maintainability being limited to whatever system you create yourself. </p>\n\n<p>An older but still available method is to use cron-apt. I've used this on Debian boxes, and it works on Ubuntu as well. I think the documentation is horrible, however. </p>\n\n<p>cron-apt can optionally email status and updates. Here's an example: </p>\n\n<pre><code>CRON-APT RUN [/etc/cron-apt/config]: Wed Feb 9 04:00:01 CST 2011\nCRON-APT SLEEP: 1315, Wed Feb 9 04:21:56 CST 2011\nCRON-APT ACTION: 3-download\nCRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true\nReading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages will be upgraded:\n libfreetype6\n1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 0B/385kB of archives.\nAfter this operation, 0B of additional disk space will be used.\nDownload complete and in download only mode\n</code></pre>\n\n<p>A short but helpful page on cron-apt can be found on the <a href=\"http://www.turnkeylinux.org/docs/automatic-security-updates\" rel=\"nofollow\">TurnKey Linux Automatic Security Updates</a> page. The descriptions work here because TurnKLey Linux is based on Ubuntu. Their cron-apt usage updates more aggressively, about which they have this to say: </p>\n\n<blockquote>\n <p>In practice we've found it is very\n rare for an Ubuntu security update to\n break something, so we believe it is\n beneficial to configure software\n appliances to auto-update security\n fixes by default. Advanced users can\n always disable this mechanism and\n apply security fixes manually if they\n want.</p>\n</blockquote>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T07:47:11.703", "id": "25400", "lastActivityDate": "2011-02-09T19:42:20.820", "lastEditDate": "2011-02-09T19:42:20.820", "lastEditorDisplayName": null, "lastEditorUserId": "8844", "ownerDisplayName": null, "ownerUserId": "8844", "parentId": "25390", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>I don't know exactly <em>why</em> the interface is limited and possibly counterintuitive like this. I'm ready to chalk it up to reducing complexity and adding sane defaults. \nFor a desktop user, that often makes sense. However, if you are using a server, you wouldn't be u...
null
null
null
null
null
25396
1
null
2011-02-09T06:56:14.957
7
3156
<p>I want to have a shared media drive be transparently usable to all users, whilst also sticking to FHS and Ubuntu standards. The former takes priority if necessary. I currently mount it at <code>/media/Stuff</code> but <code>/media</code> is supposed to be for external media, i believe. The main issue is setting right permissions so that access to read and write to the drive can be granted to multiple users working within the same directories.</p> <p><a href="https://help.ubuntu.com/community/InstallingANewHardDrive" rel="nofollow">InstallingANewHardDrive</a> seems both slightly confused and not what I want. It claims that this sets ownership for the top-level directory (despite the recursion flag):</p> <pre><code> sudo chown -R USERNAME:USERNAME /media/mynewdrive </code></pre> <p>And that this will let multiple users create files and sub-directories but only delete their own:</p> <pre><code> sudo chgrp plugdev /media/mynewdrive sudo chmod g+w /media/mynewdrive sudo chmod +t /media/mynewdrive </code></pre> <p>However, the group writeable bit does not seem to get inherited, which is troublesome for keeping things organised (prevents creation inside sub-folders originally made by another user). The sticky bit is probably also unwanted for the same reason, although currently it seems that one userA (perhaps the owner of the mount-point?) can delete the userB's files, but not vice-versa. This is fine, as long as userB can create files inside the directory of userA. So:</p> <ul> <li>What is the correct mount point?</li> <li>Is plugdev the correct group?</li> <li><em>Most importantly</em>, how to set up permissions to maintain an organised media drive?</li> </ul> <p>I do not want to be running cron jobs to set permissions regularly!</p>
6951
47151
2012-03-14T11:31:55.850
2012-04-22T15:05:37.577
Setting up a shared media drive
[ "mount", "hard-drive", "directory", "permissions" ]
2
1
CC BY-SA 3.0
[ { "creationDate": "2011-12-29T10:10:25.480", "id": "104292", "postId": "25396", "score": "0", "text": "What filesystem does the drive use? ext2/ext3/ext4/ntfs?", "userDisplayName": null, "userId": "1432" } ]
null
[ { "accepted": null, "body": "<p>For now, I would suggest setting up a drive without permissions. Use FAT32 or some other non-secure file system and share it over samba.</p>\n\n<p>In the future, I think we need to seriously look at how we enable these kinds of features in Ubuntu.</p>\n", "commentCount": ...
null
null
null
null
null
25397
1
25401
2011-02-09T07:29:05.870
1
8019
<p><strong>Overview:</strong><br> My Host OS is Ubuntu 10.10 and guest OS is WinXP on the VirtualBox version downloaded from Oracle including "VirtualBox 4.0 Oracle VM VirtualBox Extension Pack" so that USB passthrough works. This <strong>works in general</strong> (I was able to back up my iPhone to iTunes in the guest OS), <strong>but some devices aren't available</strong> even though they're ptrovided in the VirtualBox settings.</p> <p><strong>Specifics:</strong> </p> <ul> <li>In the VirtualBox settings for the guest OS, there's the part where you can select which of your USB devices should be visible to the guest OS. I've selected several devices including the iPhone. So far so good. </li> <li>Then an iOS upgrade came along; my iPhone is now in DFU mode (or recovery mode?) and represents itself not as "iPhone" but as "iPhone (DFU mode)". </li> <li>I have now also added <strong>this</strong> device to the list of USB devices that the guest OS should see -- <strong>but it doesn't see this device.</strong> <em>The DFU device is listed in the menu of USB devices available to the guest OS, but it's disabled (greyed out)! So I can't select it, so the guest OS doesn't see it.</em></li> </ul> <p><strong>Questions:</strong> </p> <ol> <li>Am I right in expecting that the guest OS ought to see the DFU device when I add it in the VirtualBox settings? </li> <li><strong>What steps do I need to take so that the guest OS will really see the DFU device?</strong> <em>Why is the DFU device greyed out, and how do I make it selectable?</em></li> </ol>
5786
5786
2011-02-09T09:44:50.403
2012-07-29T07:28:59.823
VirtualBox: Why are some USB devices disabled?
[ "10.10", "usb", "virtualbox", "windows-xp", "iphone" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-07-12T15:10:57.000", "id": "59046", "postId": "25397", "score": "0", "text": "I have the same problem here. I tried everything. Any solutions?", "userDisplayName": null, "userId": "21495" } ]
{ "accepted": true, "body": "<p>Disclaimer: I don't own an iphone, and have no way to test any part of this answer. So it is all theoretical knowledge, quite possible wrong.</p>\n\n<p>DFU is a standard way of updating device firmware. The device will appear as a DFU device to the host, the host will upload a firmware update to it, it will apply the update and appear as a <strong>new</strong> device to the host. So what it's likely happening is that VirtualBox is not seeing the new device, not the DFU one.</p>\n\n<p>This are the steps that I would take to resolve/debug the problem:</p>\n\n<ul>\n<li>Go to VirtuabBox configuration, in the USB section delete everything. This will allow VirtuaBox to catch all the USB devices. See the screenshot.</li>\n</ul>\n\n<p><img src=\"https://i.stack.imgur.com/bd6IT.png\" alt=\"enter image description here\"></p>\n\n<ul>\n<li>Start VirtualBox, connect the device. It should appear on the <code>Devices-&gt;USB Devices Menu</code> as a DFU device. Click on it. Now the guest OS will install it's drivers and upload the firmware to it. Wait patiently.</li>\n</ul>\n\n<p><img src=\"https://i.stack.imgur.com/EYjfG.png\" alt=\"enter image description here\"></p>\n\n<ul>\n<li>Go again to the <code>Devices-&gt;USB Devices</code> menu. It should be there as a different device. Click on it. Enjoy.</li>\n</ul>\n\n<p>Sorry for the screenshots language, if you don' understand then just ask. The devices are disabled on the second screenshot because VirtualBox is running under an user not member of the virtualbox group.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-02-09T09:41:46.163", "id": "27809", "postId": "25401", "score": "0", "text": "Screenshots always help, don't worry! And your steps is exactly the process I expected. But I already did this and the odd thing is that the submenu for USB devices *does* show the DFU device but it's *greyed out* --> so I can't select it --> so the guest OS can't see it --> so no drivers are installed for it --> so the phone stays in DFU mode.", "userDisplayName": null, "userId": "5786" }, { "creationDate": "2011-02-09T09:45:35.487", "id": "27811", "postId": "25401", "score": "0", "text": "I added this clarification in my question - see italic text.", "userDisplayName": null, "userId": "5786" }, { "creationDate": "2011-02-09T11:28:34.463", "id": "27831", "postId": "25401", "score": "0", "text": "The usual reason why usb devices are greyed is because you are not member of the vboxusers group. If all the usb devices are greyed this is the likely cause. If not, then try to run VirtualBox with sudo to rule out permission problems.", "userDisplayName": null, "userId": "211" }, { "creationDate": "2012-12-31T09:06:31.647", "id": "291290", "postId": "25401", "score": "0", "text": "My user was in the `vboxusers` group and I still see grayed out deviced - the thumb drive from which I booted Lubuntu, and a SATA SDD connected via a USB adapter. Extremely frustrating to not be able to access the SDD. Of course, the host Lubuntu can access it just fine.", "userDisplayName": null, "userId": "116961" }, { "creationDate": "2012-12-31T11:49:25.727", "id": "291317", "postId": "25401", "score": "0", "text": "Have you installed both the extension pack and host additions?. VB can't only access a USB file-system when it is not used by the host. You can't have your SSD mounted both in the host and guest system.", "userDisplayName": null, "userId": "211" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T08:02:46.030", "id": "25401", "lastActivityDate": "2011-02-09T08:02:46.030", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "211", "parentId": "25397", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>Disclaimer: I don't own an iphone, and have no way to test any part of this answer. So it is all theoretical knowledge, quite possible wrong.</p>\n\n<p>DFU is a standard way of updating device firmware. The device will appear as a DFU device to the host, the host will upload ...
null
null
null
null
null
25398
1
null
2011-02-09T07:37:13.653
2
677
<p>I wonder if there are a better tool than the panel at <em>System → Preferences → Power Management</em> to manage the power consumption for the HDD. Specifically HDD in a laptop.</p>
8498
1067
2011-02-19T13:26:31.563
2011-10-22T00:54:47.240
Are there tools to manage the power management for HDD?
[ "power-management", "hard-drive" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>You can experiment a bit with a few options for <code>hdparm</code> command. Specifically:</p>\n\n<ul>\n<li><code>-S &lt;number&gt;</code> sets the idle timeout before the drive turns its spindle\noff.</li>\n<li><code>-M &lt;number&gt;</code> sets the Acoustic Management Mode...
null
null
null
null
null
25399
1
null
2011-02-09T07:45:29.907
1
69
<p>The update manager (possibly combined with the janitor) does a reasonable job of bringing packages up to date with a new release, removing ones that are replaced by different projects etc. However, I'm left with the lingering feeling that quite a few settings are lingering from old releases.</p> <p>For example, some packages may be left around that I installed myself whereas now the functionality is provided by default. Another example is that my user doesn't get the new theme, and the panel bar is a mess. I can compare against an inactive user on the same system: everything seems tidier. There are also things like the explosion of System Preferences, user groups (inactive user, more recently created, is in groups that the older, active user isn't). In other areas (e.g. default font) I do seem to get given the new defaults.</p> <p>Another example is Spotlight-equivalent search. I remember Beagle and Tracker, I remember removing tracker when it used all system RAM and swap for 2 entire release cycles, but I don't know what I'm "supposed" to be using now. Is there even a default indexing-search installed and exposed? aptitude install ubuntu-desktop doesn't do anything, so the basics are in place package-wise.</p> <p>Is there any way to update my settings to the modern "Ubuntu way" without reinstalling from scratch? Can I do so selectively i.e. show the differences?</p> <p>Most of the time package management on Linux is an absolute joy compared to the alternatives, but if the desktop gets messed up after only a release or two, we're back to reinstalling just like Windows.</p>
6951
null
null
2011-02-09T14:09:41.437
Modernising settings, packages
[ "package-management", "default", "settings", "cleanup" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>You can reset any settings by removing the corresponding folder in your home directory. For instance if you want to reset gnome panel and options:</p>\n\n<pre><code>rm -fr ~/.gnome2 ~/.gconf\n</code></pre>\n\n<p>If you want to remove options for a program, they'll either have...
null
0
null
null
null
25404
1
25452
2011-02-09T08:31:49.120
2
6192
<p>I have created a graphic with multiple layers in Inkscape. One of the layers is some text. I have applied a drop shadow filter to the text. When I save the file as PNG, the drop shadow is not saved. I have also tried applying a gaussian blur to the text layer and to the text layer after converting it to an object. The blur is not applied.</p> <p>How can I save the file as PNG with the drop shadow intact?</p>
4203
null
null
2011-04-07T00:47:57.163
How to Save Filters with PNG in Inkscape
[ "inkscape", "png" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-04-07T00:47:57.163", "id": "37856", "postId": "25404", "score": "0", "text": "I'm having this same issue (or at least a similar one). I'm trying to export a selection with an inner shadow filter, and it quite strangely only exports part of the inner shadow (the corners, b...
{ "accepted": true, "body": "<p>You are probably not exporting the whole image. I think by default Inkscape exports only what you have currently selected. So when you export, make sure you have everything you want selected, or choose \"Page\" in the export type.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T13:27:24.563", "id": "25452", "lastActivityDate": "2011-02-09T13:27:24.563", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1654", "parentId": "25404", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>works here with Inkscape 0.47 r22583 (Apr 4 2010)\nregardless of whether I use \"page\" or \"selection\" when exporting to bitmap. Which version do you use ?</p>\n\n<p>(checked with <code>display</code> command of the Image Magick package, if that matters)</p>\n", "comme...
null
null
null
null
null
25406
1
25445
2011-02-09T08:55:07.507
2
1786
<p>I am trying out Ubuntu 11.04, and one of my favourite features is the global application menu. I'm not a big fan of Unity, so I'm running the Classic Desktop. While the global application menu is here too, in Unity it replaces the titlebar when maximized, giving more screen space. Is it possible to have this functionality with gnome-panel?</p> <p>Thanks in advance!</p>
9481
235
2011-02-09T14:36:24.723
2011-03-02T15:29:10.537
Make global application menu replace titlebar in gnome-panel
[ "unity", "gnome-panel", "appmenu" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>i think you want this</p>\n\n<pre><code>http://pkgs.org/ubuntu-10.10/webupd8-i386/gnome-window-applets_0.2.10-1~webupd8~maverick_i386.deb.html\n</code></pre>\n\n<p>if you experience applets moving unintentionally you should consider the complete lock down all panels option in </p>\n\n<pre><code>ubuntu tweak -&gt; GNOME Settings -&gt; complete lockdown of all panels\n</code></pre>\n\n<p>if you dont have ubuntu tweak you can get it at the software center...</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T12:39:57.350", "id": "25445", "lastActivityDate": "2011-02-09T12:39:57.350", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1763", "parentId": "25406", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>Yes go to add to panel you will find four different indicators there choose the ones you want and just remove from panel anything you don't.\nNote some widgets have to be unlocked first before you can remove them.</p>\n", "commentCount": "2", "comments": [ { ...
null
null
null
null
null
25407
1
25411
2011-02-09T08:58:44.977
3
2678
<p>I was trying to find <code>/boot/grub/menu.lst</code> OR <code>/boot/grub/device.map</code> as usual on Ubuntu Desktop or other versions to change the GRUB selection, but there is no file <code>munu.lst</code> or <code>device.map</code> in the grub directory. Where can I find GRUB's configuration file? to modify the grub selection </p>
9701
3037
2011-02-09T10:18:06.157
2011-06-22T17:48:51.547
How to remove GRUB selection?
[ "10.10", "server", "grub2" ]
4
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T10:00:15.687", "id": "27819", "postId": "25407", "score": "4", "text": "I can't follow what exactly you are trying to remove, but you are using GRUB2, not GRUB. Its configuration file is `/boot/grub/grub.cfg`, but unless you provide more details, it's difficult to g...
{ "accepted": true, "body": "<p>The file you need is <code>/etc/default/grub</code> and run <code>sudo update-grub</code> after you've made your changes.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-06-22T16:48:55.977", "id": "55582", "postId": "25411", "score": "0", "text": "Or just `/boot/grub/grub.cfg`, that's the file that gets generated when you run `update-grub`. Anyway, your way indeed is better as otherwise your `grub.cfg` would be reset every time `update-grub` is used.", "userDisplayName": null, "userId": "18953" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T09:21:00.183", "id": "25411", "lastActivityDate": "2011-06-22T16:50:16.247", "lastEditDate": "2011-06-22T16:50:16.247", "lastEditorDisplayName": null, "lastEditorUserId": "814", "ownerDisplayName": null, "ownerUserId": "5499", "parentId": "25407", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>The file you need is <code>/etc/default/grub</code> and run <code>sudo update-grub</code> after you've made your changes.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-06-22T16:48:55.977", "id": "55582", "postId": "25...
null
null
null
null
null
25408
1
25412
2011-02-09T09:09:37.977
2
3236
<p>I have downloaded the Ubuntu 10.10 ISO file and am trying to burn it to a blank disc so that I can install it, using Ubuntu 8.04. I have a dual boot system with Windows and Ubuntu. </p> <p>Here's my experience so far:</p> <ol> <li>Boot up my current install of Hardy Heron</li> <li>Go to install updates. Click on Check and informed that 8.10 is available. Firstly install any other updates.</li> <li>Click on Upgrage, get error 'Could not find release notes'</li> <li>Manually download entire 10.10 image from the internet</li> <li>Attempt to burn to disc using Brasero.</li> <li>Burn fails</li> <li>Can no longer mount any discs</li> <li>Restart</li> <li>Can no longer mount any blank discs, but can mount audio discs</li> <li>Restart, now I can mount blank disks</li> <li>Right click on .iso image and choose "Open with CD/DVD creator"</li> <li>Attempt to burn image to disk</li> <li>Wait 20 minutes while disc is apparently burning, for some reason when it is finished it is still blank</li> <li>Attempt to burn again with Brasero, burn completes. Asks me to reenter disk for checksum. Checksum check freezes after 10 minutes. I attempt to eject disk and it tells me 100% success.</li> <li>After restarting from newly burned CD it shows me a screen with Ubuntu and 5 dots, it stays like that for 10 minutes and then eventually I get an error cannot mount disk.</li> </ol>
10500
8844
2011-02-26T21:59:10.817
2013-04-30T05:34:40.543
How can I burn an ISO file to a blank disk?
[ "software-recommendation", "package-management", "support" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p><strong>Edit</strong> - Re brasero failed:</p>\n\n<p>I don't know why it is not working, but the version of Ubuntu you are currently using is very old and no longer supported so don't take this experience as representative of the present.</p>\n\n<p>You state that you have Windows installed, so you could try to burn the image using your Windows installation:</p>\n\n<ul>\n<li>Download and install <a href=\"http://infrarecorder.org/\" rel=\"nofollow noreferrer\">Infra Recorder</a>, a free and open-source image-burning program.</li>\n<li>Insert a blank CD in the drive and select Do nothing or Cancel if an autorun dialog box pops up.</li>\n<li>Open Infra Recorder and click the 'Write Image' button in the main screen.</li>\n<li>Alternatively you can select the 'Actions' menu, then 'Burn image'.</li>\n<li>Select the Ubuntu CD image file you want to use, then click 'Open'.</li>\n<li>In the dialog box, click 'OK'.</li>\n</ul>\n\n<p><img src=\"https://i.stack.imgur.com/UB4gr.jpg\" alt=\"Infra Recorder\"></p>\n\n<hr>\n\n<p>You should be able to just right click on the disk image and click 'Write to Disc...'. I don't know if that option was available in 8.04.</p>\n\n<p>If not, use Brasero. Make sure the <a href=\"http://packages.ubuntu.com/brasero\" rel=\"nofollow noreferrer\">brasero</a> package is installed (you can install it using Synaptic). </p>\n\n<p>Open Brasero from the Applications->Sound and Video menu and choose 'Burn image'.</p>\n\n<p><img src=\"https://i.stack.imgur.com/Lf4cZ.png\" alt=\"Brasero\"></p>\n\n<p>You should then be able to select the image file and chose a disc to burn it to:</p>\n\n<p><img src=\"https://i.stack.imgur.com/rEMAL.png\" alt=\"burn disc\"></p>\n\n<p>For more instructions check out <a href=\"http://www.ubuntu.com/desktop/get-ubuntu/download\" rel=\"nofollow noreferrer\">step 2 of this page</a> and click the 'Show me how' button, selecting which platform you want to use to burn the disc.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-09T10:07:15.527", "id": "27820", "postId": "25412", "score": "0", "text": "Thanks for your suggestion, I've got it burned now, but the burned disc still doesn't work :(", "userDisplayName": null, "userId": "10500" }, { "creationDate": "2011-02-09T10:15:25.417", "id": "27824", "postId": "25412", "score": "0", "text": "This is either an error with the burning of the disc or Ubuntu is having problems with your hardware. Try running the [CD Integrity check](https://help.ubuntu.com/community/Installation/CDIntegrityCheck?action=show&redirect=CDIntegrityCheck) from the live CD to see if all of the files are intact. If it is OK, you should probably ask a new question about how to install Ubuntu - make sure you include details about the hardware you are installing on.", "userDisplayName": null, "userId": "667" }, { "creationDate": "2011-02-10T00:01:44.417", "id": "27974", "postId": "25412", "score": "0", "text": "Thanks for your help. I reburned the disk and it worked (a little too well as you've seen in my other question http://askubuntu.com/questions/25436/have-i-lost-my-entire-windows-drive-and-all-the-files).", "userDisplayName": null, "userId": "10500" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T09:26:29.403", "id": "25412", "lastActivityDate": "2013-04-30T05:34:40.543", "lastEditDate": "2013-04-30T05:34:40.543", "lastEditorDisplayName": null, "lastEditorUserId": "114818", "ownerDisplayName": null, "ownerUserId": "667", "parentId": "25408", "postTypeId": "2", "score": "1" }
[ { "accepted": null, "body": "<p>The standard program for burning iso's in ubuntu is Brasero found in the sound menu. I am not sure if this is available on 8.04 but equally I don't think nautalus can burn iso's either.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "...
null
null
null
null
null
25409
1
25424
2011-02-09T09:13:35.310
52
15828
<p>In Windows, you have these shortcuts:</p> <ul> <li><kbd>Win</kbd><kbd>Arrow Up ↑</kbd>: Maximize current window</li> <li><kbd>Win</kbd><kbd>Arrow Down ↓</kbd>: Unmaximize</li> <li><kbd>Win</kbd><kbd>Arrow Right →</kbd>: Maximize, set width as half the screen width, stick window to the right</li> <li><kbd>Win</kbd><kbd>Arrow Left ←</kbd>: Maximize, set width as half the screen width, stick window to the left</li> </ul> <p>I’m particularly interested in the last two shortcuts.</p>
10501
337853
2016-12-06T07:48:45.620
2016-12-06T07:48:45.620
How to emulate Windows window snapping/grid shortcuts?
[ "windows", "shortcut-keys", "compiz" ]
3
2
CC BY-SA 3.0
[ { "creationDate": "2011-02-09T12:05:30.413", "id": "27838", "postId": "25409", "score": "4", "text": "Now I know how to do it in windows 7! :D yay!", "userDisplayName": null, "userId": "5938" }, { "creationDate": "2020-12-01T10:45:31.407", "id": "2203284", "postId": "2540...
{ "accepted": true, "body": "<p>I use the \"grid\" option of CompizConfig Settings Manager. \"Grid\" is developed as an extra plugin, so you have to install <a href=\"https://launchpad.net/ubuntu/+source/compiz-fusion-plugins-extra\" rel=\"noreferrer\">compiz-fusion-plugins-extra</a> <a href=\"http://apt.ubuntu.com/p/compiz-fusion-plugins-extra\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/0wAin.png\" alt=\"Install compiz-fusion-plugins-extra\"></a> package (I couldn't see this in \"software center\", so did it through synaptic).</p>\n\n<p>Once you have the plugins installed, in CCSM, go to \"Window Managment\", then select \"Grid\". I modify my \"put left\" to be <kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>left arrow</kbd> (and do likewise for \"put right\", \"put top\", and \"put bottom\"). I map <kbd>CTRL</kbd> + <kbd>SHIFT</kbd> + <kbd>enter</kbd> to be \"put center\".</p>\n\n<p>I am not sure about W7, but the GREAT thing about GRID is that if you hit it once, it will go to half the screen. A second time goes to 1/3 of the screen. A third time has it take up 2/3 of the screen. Then, a fourth has it back to half. So, you can set up documents side by side that need 1/3 or 2/3 of the screen as well as equally sharing 1/2 of the screen.</p>\n\n<p>A MUST plugin for me in Linux! And it works great!</p>\n\n<p>Unity will be coming with a \"snap feature\" included, but I like the keyboard to do this setup for me! CCSM GRID it is!</p>\n", "commentCount": "8", "comments": [ { "creationDate": "2011-02-09T10:17:44.493", "id": "27825", "postId": "25424", "score": "2", "text": "Nice! Not seen that before. I prefer the default numpad shortcuts though.", "userDisplayName": null, "userId": "3251" }, { "creationDate": "2011-02-09T10:58:12.540", "id": "27828", "postId": "25424", "score": "1", "text": "I am on a laptop so that is why the need to change out the default numpad shortcuts. Forgot to mention that in the original reply.", "userDisplayName": null, "userId": "9578" }, { "creationDate": "2011-02-09T12:03:19.667", "id": "27837", "postId": "25424", "score": "1", "text": "Grid works great and on the laptop you can use the common \"fn\" key to use keypad: try it ;)", "userDisplayName": null, "userId": "5938" }, { "creationDate": "2011-02-09T19:05:52.310", "id": "27917", "postId": "25424", "score": "0", "text": "True about the \"fn\" key, but I just happen to feel that I can't do this as easily \"without looking\", so I have found that I need to change to something that can be done quick and sight free. Hitting ctrl + shift is a one finger operation, and the arrows are easy to find \"by feel\". I know the same is true for many who have gotten used to using the FN keypad, but not me... nice it is such an easy tweak for everyone to have their preference.", "userDisplayName": null, "userId": "9578" }, { "creationDate": "2011-02-09T19:13:04.270", "id": "27920", "postId": "25424", "score": "0", "text": "Great! Actually the combination with the numkey and the amount of options available is amazing! Thanks :)", "userDisplayName": null, "userId": "10501" }, { "creationDate": "2011-02-14T15:23:37.890", "id": "28954", "postId": "25424", "score": "0", "text": "@iveand some screenshots of where to set this up in ccsm would make this answer nearly perfect!", "userDisplayName": null, "userId": "235" }, { "creationDate": "2012-03-22T23:56:05.600", "id": "136301", "postId": "25424", "score": "0", "text": "Just a warning: the Compiz Config Settings Manager has issues that can screw up your session. I ran into this, I think. Consider whether you have the technical knowledge to back out of installing the package (and rolling back your settings) before you commit to it.", "userDisplayName": null, "userId": "51696" }, { "creationDate": "2021-01-17T20:53:53.820", "id": "2226771", "postId": "25424", "score": "0", "text": "Does this work on Gnome?", "userDisplayName": null, "userId": "65529" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T10:07:59.993", "id": "25424", "lastActivityDate": "2012-01-27T11:06:07.957", "lastEditDate": "2012-01-27T11:06:07.957", "lastEditorDisplayName": null, "lastEditorUserId": "9693", "ownerDisplayName": null, "ownerUserId": "9578", "parentId": "25409", "postTypeId": "2", "score": "34" }
[ { "accepted": true, "body": "<p>I use the \"grid\" option of CompizConfig Settings Manager. \"Grid\" is developed as an extra plugin, so you have to install <a href=\"https://launchpad.net/ubuntu/+source/compiz-fusion-plugins-extra\" rel=\"noreferrer\">compiz-fusion-plugins-extra</a> <a href=\"http://apt.u...
null
null
null
null
null
25414
1
25439
2011-02-09T09:27:49.357
17
32335
<p>I have been testing various Firefox extension for screenshot grabbing, but none of them suited my needs.</p> <p>Then I have found Shutter (0.86.3), and it is really nice. I use exporting to imageshack and FTP a lot. </p> <p>The only thing I miss is grabbing the whole web page area (not just the part currently visible on the screen). Is there any Shutter extension for this or similar app with such a feature?</p>
2509
169736
2014-02-17T18:51:46.060
2018-12-17T19:18:47.173
How can I take a screenshot of a whole web page?
[ "screenshot" ]
5
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p><a href=\"https://addons.mozilla.org/en-US/firefox/addon/screengrab/\" rel=\"nofollow noreferrer\">Screengrab</a> does what you want.</p>\n\n<p><strong>Edit:</strong>\nSince screengrab is not maintained anymore, Awesome Screenshot is a good option:</p>\n\n<p><a href=\"https://addons.mozilla.org/en-US/firefox/addon/awesome-screenshot-capture-/\" rel=\"nofollow noreferrer\">https://addons.mozilla.org/en-US/firefox/addon/awesome-screenshot-capture-/</a></p>\n", "commentCount": "4", "comments": [ { "creationDate": "2014-02-17T19:06:34.827", "id": "545744", "postId": "25439", "score": "2", "text": "Actually Screengrab is EOL. \"FF changes too fast and I don't have the time to maintain it anymore. Bugs have developed that I am not in a position to investigate. Therefore, Screengrab is EOL.\" https://addons.mozilla.org/en-US/firefox/addon/screengrab/", "userDisplayName": null, "userId": "163331" }, { "creationDate": "2014-02-18T07:00:26.147", "id": "546026", "postId": "25439", "score": "0", "text": "@AvatarParto I updated the answer.", "userDisplayName": null, "userId": "10494" }, { "creationDate": "2014-02-18T08:08:19.840", "id": "546047", "postId": "25439", "score": "2", "text": "[ScreenGrab](https://addons.mozilla.org/en-US/firefox/addon/screengrab/) died and was then reborn as [ScreenGrab (fix version)](https://addons.mozilla.org/en-US/firefox/addon/screengrab-fix-version/)", "userDisplayName": null, "userId": "163331" }, { "creationDate": "2016-10-28T14:07:10.650", "id": "1291273", "postId": "25439", "score": "0", "text": "For me with chrome and awesome screenshot the function to capture a screenshot of an area does not work.\nFor you?", "userDisplayName": null, "userId": "222371" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T11:25:51.283", "id": "25439", "lastActivityDate": "2016-11-06T06:15:25.377", "lastEditDate": "2016-11-06T06:15:25.377", "lastEditorDisplayName": null, "lastEditorUserId": "10494", "ownerDisplayName": null, "ownerUserId": "10494", "parentId": "25414", "postTypeId": "2", "score": "8" }
[ { "accepted": null, "body": "<p>There is an <em>amazing</em> extension for Firefox called <a href=\"https://addons.mozilla.org/firefox/addon/pdfit/\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/fW8vJ.png\" alt=\"firefox addon icon\"> <strong>pdfit</strong></a>, which allows you to save ...
null
null
2016-06-15T16:49:23.843
null
null
25425
1
27389
2011-02-09T10:13:19.737
5
32277
<p>I have the latest Puppy Linux (5.20, I think) but it has a problem with grub install at the end of the setup process.</p> <p>How can I install grub (or grub2, the easiest one will be great) manually using my Ubuntu 10.04 CD? </p>
5938
61218
2012-09-28T06:04:45.290
2015-03-27T00:40:29.020
Manually install GRUB
[ "grub2" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ol>\n<li>Boot from CD.</li>\n<li>Run <code>fdisk -l</code> and see which is your linux partition, say <code>/dev/sda2</code>.</li>\n<li>Mount the partition to say <code>/mnt</code> using <code>mount /dev/sda2 /mnt</code></li>\n<li><p>Now run the following magic command from anywhere:</p>\n\n<pre><code>grub-install --root-partition=/mnt /dev/sda\n</code></pre>\n\n<p>You will get the message </p>\n\n<blockquote>\n <p>no error reported</p>\n</blockquote></li>\n<li>Reboot.</li>\n</ol>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-21T12:49:21.517", "id": "27389", "lastActivityDate": "2012-09-28T06:10:26.520", "lastEditDate": "2012-09-28T06:10:26.520", "lastEditorDisplayName": null, "lastEditorUserId": "25798", "ownerDisplayName": "user11206", "ownerUserId": null, "parentId": "25425", "postTypeId": "2", "score": "7" }
[ { "accepted": null, "body": "<p>Please see link:</p>\n\n<p><a href=\"http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_3.html\" rel=\"nofollow\">GRUB Manual - Install</a></p>\n\n<p>Keep me informed</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense...
null
null
null
null
null
25430
1
25433
2011-02-09T10:35:29.840
0
948
<p>Anybody could help me in troubleshooting audio problem on Ubuntu 9.04 desktop edition?. For some reason I've to keep this os not upgraded and I'm trying to fix the audio problem on this for months. It works well on upgraded version (9.10, 10.04) but not on jaunty.</p> <p>aplay -l:</p> <pre><code>**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 </code></pre> <p>lsmod | grep snd:</p> <pre><code>snd_hda_intel 436148 7 snd_pcm_oss 46336 0 snd_mixer_oss 22656 1 snd_pcm_oss snd_pcm 83076 4 snd_hda_intel,snd_pcm_oss snd_seq_dummy 10756 0 snd_seq_oss 37760 0 snd_seq_midi 14336 0 snd_rawmidi 29696 1 snd_seq_midi snd_seq_midi_event 15104 2 snd_seq_oss,snd_seq_midi snd_seq 56880 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 29704 2 snd_pcm,snd_seq snd_seq_device 14988 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 62756 21 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 15200 1 snd snd_page_alloc 16904 2 snd_hda_intel,snd_pcm </code></pre> <p>cat /proc/asound/cards:</p> <pre><code> 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xe1280000 irq 16 </code></pre> <p>cat /proc/asound/version:</p> <pre><code>Advanced Linux Sound Architecture Driver Version 1.0.18rc3. </code></pre> <p>vim /etc/modules:</p> <pre><code># /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. lp </code></pre> <p>Audio Settings:</p> <p><img src="https://i.stack.imgur.com/V5ip1.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/p0FZn.png" alt="enter image description here"></p>
3215
3037
2011-10-09T21:26:08.483
2011-10-09T21:26:08.483
Audio not working
[ "sound", "9.04" ]
2
2
CC BY-SA 3.0
[ { "creationDate": "2011-02-09T10:37:51.620", "id": "27826", "postId": "25430", "score": "0", "text": "What model of computer is this?", "userDisplayName": null, "userId": "667" }, { "creationDate": "2011-02-09T10:46:23.367", "id": "27827", "postId": "25430", "score": ...
{ "accepted": true, "body": "<p>I believe the soundlevel is not set correct.</p>\n\n<p>Please follow the steps:</p>\n\n<pre><code>a. Install alsamixergui: Systeem - Beheer - Synaptic packetmanager. \n Search for: alsamixergui\n\n Click on alsamixergui and click on the Apply button\n\nb. Start now the alsamixergui and take a look at the sound level\n</code></pre>\n\n<p>If you can't find the alsamixergui, you can start it from the terminal with the command</p>\n\n<pre><code>alsamixergui\n</code></pre>\n\n<p>keep me informed</p>\n", "commentCount": "6", "comments": [ { "creationDate": "2011-02-09T11:03:58.173", "id": "27829", "postId": "25433", "score": "0", "text": "I've just installed that package and just gave an overview at audio settings and it's fine and I couldn't listen the audio. It may require rebooting the system which I can't do right now as It's in use by the developers. I'll keep you updating...", "userDisplayName": null, "userId": "3215" }, { "creationDate": "2011-02-09T13:10:57.997", "id": "27849", "postId": "25433", "score": "0", "text": "I\"ve checked, it didn't work.", "userDisplayName": null, "userId": "3215" }, { "creationDate": "2011-02-09T13:21:24.330", "id": "27852", "postId": "25433", "score": "0", "text": "I\"ve updated my question!", "userDisplayName": null, "userId": "3215" }, { "creationDate": "2011-02-09T14:00:41.893", "id": "27857", "postId": "25433", "score": "0", "text": "add following options in your /etc/modprobe.conf.\n\n\"options snd-intel-hda index=0 model=3stack\"", "userDisplayName": null, "userId": "10212" }, { "creationDate": "2011-02-09T14:21:46.897", "id": "27862", "postId": "25433", "score": "0", "text": "It has no `/etc/modprobe.conf` file but I append that line in the file `/etc/modprobe.d/alsa-base.conf` as it as similar lines somewhere in the middle. Still it didn't work...", "userDisplayName": null, "userId": "3215" }, { "creationDate": "2011-02-13T16:43:24.417", "id": "28695", "postId": "25433", "score": "0", "text": "As you said `I believe the soundlevel is not set correct.` the problem is with the settings but the hardware settings. The front panel audio ports are not at all connected which I used. I realised this when I could hear audio when connected my earphones to the back panel. Your solution will be helpful if it still doesn't connect even having proper connection. Thanks you!", "userDisplayName": null, "userId": "3215" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T10:48:13.580", "id": "25433", "lastActivityDate": "2011-02-14T10:21:04.897", "lastEditDate": "2011-02-14T10:21:04.897", "lastEditorDisplayName": null, "lastEditorUserId": "10212", "ownerDisplayName": null, "ownerUserId": "10212", "parentId": "25430", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>I believe the soundlevel is not set correct.</p>\n\n<p>Please follow the steps:</p>\n\n<pre><code>a. Install alsamixergui: Systeem - Beheer - Synaptic packetmanager. \n Search for: alsamixergui\n\n Click on alsamixergui and click on the Apply button\n\nb. Start now the a...
null
null
null
null
null
25434
1
25435
2011-02-09T10:52:10.173
4
3757
<p>I want to run a virtualisation server on my notebook.</p> <p>When ever I log onto my notebook I want to be able to initialise a virtual machine and work with it.</p> <p>The virtual machine could be located off of the notebook on a removable hard disk drive or web ftp etc.</p> <p>I would like 3D support on my virtual instances as I still want to be able to play StarCraft 2 on a Windows 7 virtual machine.</p> <p>Is there software out there that allows for all of this?</p> <p>I know of software which supports 3D and I know of virtualisation server software but I want both in one.</p> <p>Does it exist or is it possible to do so but maybe not as elegantly as I have described?</p> <p>Thanks!</p>
10498
3037
2011-02-09T11:14:36.643
2011-02-09T11:29:24.980
Which virtualization software supports 3D acceleration?
[ "server", "virtualization", "3d" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You can choose for a VMware product - Player, Server, Workstation.</p>\n\n<p>Tutorial <a href=\"http://www.dedoimedo.com/computers/virtualization-3d-support-vmware.html\" rel=\"nofollow\">for 3D acceleration in virtual machines</a></p>\n\n<p>Keep me informed</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-09T11:46:25.710", "id": "27833", "postId": "25435", "score": "0", "text": "thanks for the info. I will try it out and let you know how it goes.", "userDisplayName": null, "userId": "10498" }, { "creationDate": "2011-04-12T20:10:26.300", "id": "38814", "postId": "25435", "score": "0", "text": "Hi Ilias, I followed the instructions using Windows 7 as the host and ran Windows XP SP 3 as the guest. I then ran Neverball and it all worked... quite impressed. I am going to try StarCraft 2 now, but I think the 3D requirements may not be met. Will keep you posted.", "userDisplayName": null, "userId": "10498" }, { "creationDate": "2011-04-13T20:45:47.187", "id": "39008", "postId": "25435", "score": "1", "text": "Tested StarCraft 2 on the win xp sp 3 VMWare VM... And it worked remarkablely well. FPS was between 25 and 35, with all settings set to low. Not the best for competitive play. Quite impressed.", "userDisplayName": null, "userId": "10498" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T10:54:22.277", "id": "25435", "lastActivityDate": "2011-02-09T10:54:22.277", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "10212", "parentId": "25434", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>You can choose for a VMware product - Player, Server, Workstation.</p>\n\n<p>Tutorial <a href=\"http://www.dedoimedo.com/computers/virtualization-3d-support-vmware.html\" rel=\"nofollow\">for 3D acceleration in virtual machines</a></p>\n\n<p>Keep me informed</p>\n", "comm...
null
null
null
null
null
25436
1
25886
2011-02-09T11:04:29.273
6
1037
<p>I previously had Heron 8.04 installed. Today I decided to upgrade.</p> <p>During the partition phase of the install of 10.10 it asked me what portion of the drive I should use. There were a few options:</p> <ul> <li>Drag the partition size to indicate what I wanted to use</li> <li>A button that said use entire partition</li> <li>A button that said use entire drive</li> </ul> <p>I selected use entire partition as the Windows partition did not appear on the screen I assumed this was just displaying the existing Ubuntu partition.</p> <p>After install I think I have wiped my entire Windows partition, I can't see it anywhere.</p> <p>I would appreciate some advice as to find if it really is gone forever (My stupidity I didn't back up my Windows partition which includes 3 years of baby photos).</p> <hr> <p>UPDATE: Thanks all for your great answers. I read on a forum last night about Active Partition Recovery. I didn't realise it was a commercial product, so the demo doesn't let you recover, but it did allow me to see that the whole partition still exists somewhere on the drive. It even let me see the individual files.</p> <p>As suggested I have stopped doing anything with the drive until I can give Testdisk a try. If this works I will confirm it in a separate answer for future reference.</p>
10500
8500
2013-06-03T14:01:52.483
2017-03-14T09:20:20.497
Have I lost my entire Windows drive and all the files?
[ "upgrade", "partitioning", "windows" ]
8
2
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T11:46:37.963", "id": "27834", "postId": "25436", "score": "4", "text": "There is a good chance to recover the photos even in the less likely case that the installer used your Windows partition. **Don't write to the drive in case you need to recover**", "userDisp...
{ "accepted": true, "body": "<p>I want to add this as a reference to others. Here is how I fixed it:</p>\n\n<ol>\n<li><p>Try to avoid doing anything else with the disk. I installed TestDisk on my drive as part of the recovery effort, but I only had a single drive. A safer option would be to install Ubuntu to a thumb drive and then install the TestDisk package there.</p></li>\n<li><p>Ran TestDisk and recovered the partitions and wrote back to disk. Note this still didn't fix my MBR with Gnome 2 installed.</p></li>\n<li><p>Booted from 10.10 CD and was able to mount the 2 previous partitions. Copied contents including my precious photos onto a 16GB thumb drive.</p></li>\n<li><p>Wiped drive and reinstalled Windows and Ubuntu (carefully reading instructions this time to correctly specify partition).</p></li>\n</ol>\n\n<p>Lessons learned:</p>\n\n<ol>\n<li>Always back up your data before doing anything!</li>\n<li>Always read the instructions before doing anything! If I wasn't hasty I wouldn't have screwed up the partitioning. The second time I did it I read carefully and I easily saw where I went wrong.</li>\n</ol>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-11T21:54:17.370", "id": "28374", "postId": "25886", "score": "2", "text": "A big thanks to everyone here who helped with suggestions and gave me a swift education in recovering files and drives. Especially to user @htorque who spent 20 minutes in chat discussing my issue.", "userDisplayName": null, "userId": "10500" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-11T21:53:01.070", "id": "25886", "lastActivityDate": "2011-02-12T01:07:33.397", "lastEditDate": "2011-02-12T01:07:33.397", "lastEditorDisplayName": null, "lastEditorUserId": "10500", "ownerDisplayName": null, "ownerUserId": "10500", "parentId": "25436", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>You can see all of your partitions by running System->Administration->Disk Utility. Once the window opens, click on your hard drive on the right hand side. Have a look at the partitions.</p>\n\n<p>If one of the partitions is an NTFS partition, it is likely that this is your W...
null
null
null
null
null
25441
1
25448
2011-02-09T11:33:38.607
6
336
<p>Is Futon on the Ubuntu One Server availible? Is it possible to see/modify the CouchDB Databases on the Ubuntu One server?</p>
4871
null
null
2011-02-09T18:58:10.143
Futon for Ubuntu One
[ "ubuntu-one", "couchdb" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It is possible to see and modify the Ubuntu One CouchDB, but not via Futon. All you need to do is do OAuth-authenticated (but not HMAC-signed OAuth) REST requests to the right URL, using your Ubuntu One-specific Ubuntu SSO token.</p>\n\n<p>One easy(ish) way of seeing the Ubuntu One CouchDB is using <a href=\"http://bazaar.launchpad.net/~chipaca/+junk/watgui/view/head:/watgui.py\" rel=\"nofollow noreferrer\">a little tool I wrote</a>, which I called <code>watgui</code> because I'm really bad at names. It only does <code>GET</code> requests for now.</p>\n\n<p>First, you use the tool to work out the “magic CouchDB URL”:\n<img src=\"https://i.stack.imgur.com/pW4mJ.png\" alt=\"watgui magic url thing\"></p>\n\n<p>Then, you <em>turn off HMAC signing</em>, and you can use the URL to get access to the databases. For example, here's me looking at my <code>notes</code> database:</p>\n\n<p><img src=\"https://i.stack.imgur.com/2dOzZ.png\" alt=\"watgui looking at my notes couchdb\"></p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-09T15:33:30.090", "id": "27875", "postId": "25448", "score": "1", "text": "As a data point, if you were interested in building something to help people work more easily with Ubuntu One CouchDBs, I'd love to talk to you :-)", "userDisplayName": null, "userId": "2387" }, { "creationDate": "2011-02-09T18:50:07.880", "id": "27911", "postId": "25448", "score": "0", "text": "@burli @sil oops, forgot the URL to watgui. Adding that...", "userDisplayName": null, "userId": "711" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T12:48:13.487", "id": "25448", "lastActivityDate": "2011-02-09T18:58:10.143", "lastEditDate": "2011-02-09T18:58:10.143", "lastEditorDisplayName": null, "lastEditorUserId": "711", "ownerDisplayName": null, "ownerUserId": "711", "parentId": "25441", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>It is possible to see and modify the Ubuntu One CouchDB, but not via Futon. All you need to do is do OAuth-authenticated (but not HMAC-signed OAuth) REST requests to the right URL, using your Ubuntu One-specific Ubuntu SSO token.</p>\n\n<p>One easy(ish) way of seeing the Ubun...
null
0
null
null
null
25442
1
25443
2011-02-09T12:08:21.150
15
12383
<p>I want to see which files are read or written to.</p> <p>Is there any program or a command for that? I can remember I used this method to hunt down viruses and malware hiding locations when I used windows a few years back.</p>
9644
10581
2011-02-13T20:56:21.657
2011-02-13T20:56:21.657
Find which files are read or written to
[ "command-line", "process", "files" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>That program is <strong><code>lsof</code></strong> <em>(&quot;List open files&quot;)</em>.</p>\n<ul>\n<li><p>If you just open a <em>Terminal</em> and type <code>lsof</code>, you get a huge list of all open files, instead, limit it to one command by doing:</p>\n<pre><code> lsof -c gnome-terminal\n</code></pre>\n</li>\n<li><p>You can also restrict your search to a specific directory by typing</p>\n<pre><code> lsof -c gnome-terminal -a +D /tmp\n</code></pre>\n</li>\n<li><p>Or list all open files in one specific directory, including what application has opened it:</p>\n<pre><code> lsof /dev/urandom\n</code></pre>\n</li>\n</ul>\n<p>Remember that some processes are started by the superuser <em>root</em>, you may need to put <code>sudo</code> in front of your command to get more information about such processes' open files.</p>\n<p>To narrow down your search, you can <code>grep</code> specific lines, i.e.:</p>\n<pre><code>lsof /dev/urandom | grep chrome\n</code></pre>\n<hr />\n<ul>\n<li><p>The <code>FD</code> (File Descriptor) column of the output gives you information about the purpose of the program opening the file (not necessarily what's happening to it at the moment):</p>\n<ul>\n<li><p><code>r</code> means the file is opened for reading</p>\n</li>\n<li><p><code>w</code> means the file is opened for writing</p>\n</li>\n<li><p><code>u</code> means the file is opened for both reading and writing</p>\n</li>\n</ul>\n</li>\n</ul>\n<hr />\n<p>For more details, consult the <a href=\"http://linux.die.net/man/8/lsof\" rel=\"noreferrer\">manual page</a> (<code>man lsof</code>). Also, if you need to look up any of the files and directories, the <a href=\"http://www.pathname.com/fhs/\" rel=\"noreferrer\">Linux Filesystem Hierarchy Standard</a> is very helpful.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T12:29:27.550", "id": "25443", "lastActivityDate": "2011-02-09T12:38:44.070", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "25442", "postTypeId": "2", "score": "17" }
[ { "accepted": true, "body": "<p>That program is <strong><code>lsof</code></strong> <em>(&quot;List open files&quot;)</em>.</p>\n<ul>\n<li><p>If you just open a <em>Terminal</em> and type <code>lsof</code>, you get a huge list of all open files, instead, limit it to one command by doing:</p>\n<pre><code> lso...
null
null
null
null
null
25446
1
null
2011-02-09T12:40:49.700
2
22469
<p>Please give me a step by step process on how to install CodeIgniter on Ubuntu. I'm still a newbie. Thank you!</p>
10376
1067
2011-02-09T12:50:07.330
2011-04-17T17:40:39.713
How to install CodeIgniter?
[ "10.10", "apache2" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Assuming you have <a href=\"https://askubuntu.com/questions/34/whats-the-easiest-way-to-set-up-a-lamp-stack\"><img src=\"https://i.stack.imgur.com/GxaGM.png\" alt=\"\"> Apache up and running</a>, just follow the <a href=\"http://codeigniter.com/user_guide/installation/index.h...
null
null
null
null
null
25462
1
null
2011-02-09T14:23:10.910
4
885
<p>I've a Dell, with a Broadcom BCM4312 802.11b/g wireless card. It works well when the laptop is plugged to the power suply, but when it's with battery it doesn't work well.</p> <p>Do you know why is this?</p>
null
866
2011-02-09T19:03:18.563
2012-02-09T07:11:25.220
Broadcom wireless card only works when the power is plugged in
[ "wireless", "hardware", "drivers", "dell", "broadcom" ]
2
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T15:12:05.017", "id": "27868", "postId": "25462", "score": "1", "text": "Does the wifi stop working or does it work badly? What is the output of `sudo rfkill`? does it show the wifi as switched off?", "userDisplayName": null, "userId": "132" }, { "cre...
null
[ { "accepted": null, "body": "<p><code>pm-powersave</code> helps your battery life by powering down stuff (including your wireless) when AC power goes away. See <a href=\"https://askubuntu.com/questions/65632/why-is-wireless-down-strange-after-switching-to-battery\">Why is wireless down/strange after switchi...
null
null
2012-02-28T15:37:52.210
null
user10517
25463
1
null
2011-02-09T14:53:01.837
2
159
<p>I have here two computers, both installed with Ubuntu 10.10. The Laptop uses the Netbook Edition. Both are connected, file sync and Tomboy Notes are working.</p> <p>My Desktop syncs databases with Ubuntu One, my Laptop does not. If I delete for example the contacts Database on my Desktop, the database is back a view seconds later. If I delete the same database on my laptop, nothing happens. (I'm using Futon)</p> <p>If I kill beam, delete the config and try to restart with the dbus-send I got an error</p> <blockquote> <p>Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.</p> </blockquote> <p>How can I fix that?</p>
4871
null
null
2011-02-09T14:53:01.837
DesktopCouch does not sync
[ "ubuntu-one", "sync", "desktopcouch" ]
0
4
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T15:31:24.457", "id": "27872", "postId": "25463", "score": "0", "text": "Please [file a bug](https://bugs.launchpad.net/desktopcouch/+filebug?field.title=DesktopCouch+does+not+sync+%5Bhttp%3A%2F%2Faskubuntu.com%2Fq%2F25463%2F711%5D), assign it to `thisfred` and comme...
null
[]
null
null
2012-02-21T22:09:02.033
null
null
25466
1
25467
2011-02-09T15:05:31.680
3
6611
<p>I had a problem with my Ubuntu install, and I need to uninstall it. However, I have one folder on there with an important assignment in it that I'd like to keep still. I can still get into Ubuntu with the command line, and it was installed beside Windows so I had access to my Windows partition as well. My question is - is it possible to access the Windows partition using the command line?</p>
10518
6969
2011-05-15T20:57:07.127
2011-05-15T20:57:07.127
How do I access my Windows partition using the command line?
[ "command-line", "windows", "filesystem", "mount", "ntfs" ]
1
1
CC BY-SA 3.0
[ { "creationDate": "2011-02-09T15:31:55.890", "id": "27874", "postId": "25466", "score": "1", "text": "If you are not comfortable with commandline-fu, you should be able to boot from a LiveCD/LiveUSB and copy the files using the GUI.", "userDisplayName": null, "userId": "211" } ]
{ "accepted": true, "body": "<p>First you need to know the partition your Windows is. For that you can use the command</p>\n\n<pre><code>cat /proc/partitions\n</code></pre>\n\n<p>Then you need to make a folder, where the partition will be mounted to:</p>\n\n<pre><code>mkdir /mnt/win\n</code></pre>\n\n<p>Next</p>\n\n<pre><code>mount /dev/*** /mnt/win\n</code></pre>\n\n<p>Then</p>\n\n<pre><code>cd /mnt/win\n</code></pre>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-05-15T20:58:48.717", "id": "47104", "postId": "25467", "score": "0", "text": "If the windows partition was labelled, you can also use `/dev/disk/by-label/*` instead of `/dev/sdXY`. (use `ls -lA /dev/disk/by-label` to get a list or use tab-completion on `/dev/disk/by-label/`)", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2011-05-15T21:40:56.290", "id": "47117", "postId": "25467", "score": "0", "text": "`sudo fdisk -l /dev/sda` (or `sdb` ... etc. for you second drive) is really more useful than `cat /proc/partitions`.", "userDisplayName": null, "userId": "627" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T15:10:23.590", "id": "25467", "lastActivityDate": "2011-02-09T15:10:23.590", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "10212", "parentId": "25466", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>First you need to know the partition your Windows is. For that you can use the command</p>\n\n<pre><code>cat /proc/partitions\n</code></pre>\n\n<p>Then you need to make a folder, where the partition will be mounted to:</p>\n\n<pre><code>mkdir /mnt/win\n</code></pre>\n\n<p>Nex...
null
null
null
null
null
25468
1
25471
2011-02-09T15:44:07.923
4
770
<p>If I plan to install a newer version Ubuntu, </p> <ol> <li>how shall I know what software that were installed on my previous Ubuntu, if I want to reinstall them? Is there a convenient way to install all previous softwares?</li> <li>How can I keep the settings and configurations for the software?</li> <li>will it be possible for the newer version Ubuntu, the software installed for the older one cannot be found for the newer one?</li> <li>will there be other considerations regarding installation of previous software?</li> </ol> <p>Thanks and regards!</p>
1471
null
null
2011-02-09T19:25:10.873
Reinstall software after installation of newer version Ubuntu
[ "10.10", "installation" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>On #1, to get a list:</p>\n\n<pre><code>sudo dpkg --get-selections &gt; software_list\n</code></pre>\n\n<p>To reinstall the list on a new installation:</p>\n\n<pre><code>sudo dpkg --set-selections &lt; software_list\nsudo dselect\n</code></pre>\n\n<p>On #2, you need to know where configuration files are located. (Backup the files in /etc and your home directory at least).</p>\n\n<p>On #3, yes it is possible. Yet, later you could find out how to install a missing application, though another repository, possibly.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T15:53:10.353", "id": "25471", "lastActivityDate": "2011-02-09T16:26:31.780", "lastEditDate": "2011-02-09T16:26:31.780", "lastEditorDisplayName": "user8290", "lastEditorUserId": null, "ownerDisplayName": "user8290", "ownerUserId": null, "parentId": "25468", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>On #1, to get a list:</p>\n\n<pre><code>sudo dpkg --get-selections &gt; software_list\n</code></pre>\n\n<p>To reinstall the list on a new installation:</p>\n\n<pre><code>sudo dpkg --set-selections &lt; software_list\nsudo dselect\n</code></pre>\n\n<p>On #2, you need to know w...
null
null
null
null
null
25470
1
25472
2011-02-09T15:48:13.717
25
42048
<p>When I run <code>w</code> - to see who is logged on and what they are doing, i see this: </p> <pre><code>USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user tty7 :0 08:14 10:32m 44:10 0.50s gnome-session user pts/0 :0.0 09:15 9:30m 0.24s 0.24s /bin/bash user pts/1 :0.0 14:14 4:32m 0.20s 0.20s bash user pts/5 :0.0 18:27 9:24 0.28s 0.28s bash user pts/7 :0.0 18:35 9:57 0.40s 0.40s bash user pts/8 :0.0 18:37 0.00s 0.22s 0.00s w </code></pre> <p>What are the <code>pts/</code> ?</p>
9701
9701
2014-07-03T09:25:49.923
2016-01-15T04:13:59.070
What does "pts/" in the output of w mean?
[ "command-line", "ssh", "security" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<h2>Pseudo-Terminal Slave</h2>\n<blockquote>\n<h3>Name</h3>\n<p>ptmx, pts - pseudoterminal master and slave</p>\n<h3>Description</h3>\n<p>The file\n<em>/dev/ptmx</em> is a character file with major number 5 and minor number 2,\nusually of mode 0666 and owner.group of root.root. It is used to\ncreate a pseudoterminal master and slave pair.</p>\n<p>When a process opens <em>/dev/ptmx</em>, it gets a file descriptor for a\npseudoterminal master (PTM), and a pseudoterminal slave (PTS) device\nis created in the <em>/dev/pts</em> directory. Each file descriptor obtained by\nopening <em>/dev/ptmx</em> is an independent PTM with its own associated PTS,\nwhose path can be found by passing the descriptor to <em><a href=\"http://linux.die.net/man/3/ptsname\" rel=\"noreferrer\">ptsname</a>(3)</em>.</p>\n<p>Before opening the pseudoterminal slave, you must pass the master's\nfile descriptor to <em><a href=\"http://linux.die.net/man/3/grantpt\" rel=\"noreferrer\">grantpt</a>(3)</em> and <em><a href=\"http://linux.die.net/man/3/unlockpt\" rel=\"noreferrer\">unlockpt</a>(3)</em>.</p>\n<p>Once both the pseudoterminal master and slave are open, the slave\nprovides processes with an interface that is identical to that of a\nreal terminal.</p>\n<p>Data written to the slave is presented on the master descriptor as\ninput. Data written to the master is presented to the slave as input.</p>\n<p>In practice, pseudoterminals are used for implementing terminal\nemulators such as <em><a href=\"http://linux.die.net/man/1/xterm\" rel=\"noreferrer\">xterm</a>(1)</em>, in which data read from the pseudoterminal\nmaster is interpreted by the application in the same way a real\nterminal would interpret the data, and for implementing remote-login\nprograms such as <em><a href=\"http://linux.die.net/man/8/sshd\" rel=\"noreferrer\">sshd</a>(8)</em>, in which data read from the pseudoterminal\nmaster is sent across the network to a client program that is\nconnected to a terminal or terminal emulator.</p>\n<p>Pseudoterminals can also be used to send input to programs that\nnormally refuse to read input from pipes (such as <em><a href=\"http://linux.die.net/man/1/su\" rel=\"noreferrer\">su</a>(1)</em>, and\n<em><a href=\"http://linux.die.net/man/1/passwd\" rel=\"noreferrer\">passwd</a>(1)</em>).</p>\n</blockquote>\n<p><strong>Source:</strong> <a href=\"http://linux.die.net/man/4/pts\" rel=\"noreferrer\">http://linux.die.net/man/4/pts</a></p>\n<p>They're <em>usually</em> xterminal/gnome-terminal/terminator sessions.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T15:55:10.690", "id": "25472", "lastActivityDate": "2014-07-03T00:34:58.213", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "25470", "postTypeId": "2", "score": "26" }
[ { "accepted": true, "body": "<h2>Pseudo-Terminal Slave</h2>\n<blockquote>\n<h3>Name</h3>\n<p>ptmx, pts - pseudoterminal master and slave</p>\n<h3>Description</h3>\n<p>The file\n<em>/dev/ptmx</em> is a character file with major number 5 and minor number 2,\nusually of mode 0666 and owner.group of root.root. ...
null
null
null
null
null
25473
1
28750
2011-02-09T16:02:58.953
8
7768
<p>I can run Notepad++ the Angry bird exe is not working. Whenever I open the exe, I see one of my screens flicker a bit (as lines and not the whole screen) and nothing happens. Any ideas?</p> <p>Edit: Output of <code>wine angrybirds.exe</code></p> <pre><code>fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053) fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8) err:module:import_dll Library MSVCP90.dll (which is needed by L"C:\\windows\\system32\\AppUpWrapper.dll") not found err:module:import_dll Library AppUpWrapper.dll (which is needed by L"C:\\windows\\system32\\angrybirds.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\angrybirds.exe" failed, status c0000135 </code></pre> <p>I think it didn't even install. I manually dropped those files in the folder but still no gain.</p> <p><strong>Edit: Progress</strong></p> <p>I dropped the file <strong>MSVCP90.dll</strong> manually and now this is what I get in the output</p> <pre><code>fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.4053) fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8) fixme:heap:HeapSetInformation 0x541000 0 0x32fd48 4 fixme:heap:HeapSetInformation (nil) 1 (nil) 0 EXCEPTION: Failed to open data/scripts/starLimits.lua wine: Unhandled exception 0x40000015 at address 0x7b880023:0x78b271d0 (thread 0009), starting debugger... fixme:msvcr90:__clean_type_info_names_internal (0x10267694) stub fixme:msvcr90:__clean_type_info_names_internal (0x78506644) stub ashfame@ashfame-desktop:~$ Process of pid=0008 has terminated No process loaded, cannot execute 'echo Modules:' Cannot get info on module while no process is loaded No process loaded, cannot execute 'echo Threads:' process tid prio (all id:s are in hex) 0000000e services.exe 00000014 0 00000010 0 0000000f 0 00000011 winedevice.exe 00000018 0 00000016 0 00000013 0 00000012 0 00000019 explorer.exe 0000001a 0 You must be attached to a process to run this command. No process loaded, cannot execute 'detach' </code></pre> <p>and there the terminal hangs (I mean I would have to Ctrl + C to get out). It shows up the famous message, that it needs to close down.</p> <p>I don't use wine for anything else, so I am ready to do a clean install of wine and everything if anyone is willing to provide me instructions.</p> <p><strong>Resolved</strong></p> <p>As per the marked correct answer by @DoR, I did a <code>mv ~/.wine ~/wine.bak</code> and then re-ran the game and it worked. So basically it was something wrong in the wine install. :)</p>
8238
527764
2017-02-25T09:40:19.827
2017-02-25T09:40:19.827
Couldn't make Angry birds work on wine
[ "wine" ]
4
5
CC BY-SA 3.0
[ { "creationDate": "2011-02-09T16:26:50.883", "id": "27880", "postId": "25473", "score": "0", "text": "can you add the output of `wine angrybirds.exe | output.txt`?", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-02-10T16:43:00.357", "id": "28085", "...
{ "accepted": true, "body": "<ol>\n<li><p>Add the <a href=\"https://launchpad.net/~ubuntu-wine/+archive/ppa\" rel=\"nofollow noreferrer\">PPA for Ubuntu Wine Team</a>:</p>\n\n<pre><code>sudo add-apt-repository ppa:ubuntu-wine/ppa\n</code></pre></li>\n<li><p>Install the <code>wine1.3</code> package. Just running Update Manager won't install it as it is a different package than <code>wine1.2</code> (the version of Wine included in the repositories).</p>\n\n<pre><code>sudo apt-get update\nsudo apt-get install wine1.3 \n</code></pre></li>\n<li><p>Double-click on <code>AngryBirds.exe</code> or in a terminal run the command:</p>\n\n<pre><code>wine AngryBirds.exe\n</code></pre>\n\n<p>If this still doesn't work, try backing up and removing your <code>~/.wine</code> directory: </p>\n\n<pre><code>mv ~/.wine ~/.wine.bak\n</code></pre></li>\n<li><p>Kill some green pigs: </p>\n\n<p><a href=\"https://i.stack.imgur.com/Px05r.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/Px05r.png\" alt=\"enter image description here\"></a></p></li>\n</ol>\n", "commentCount": "13", "comments": [ { "creationDate": "2011-03-02T17:38:49.390", "id": "31948", "postId": "28750", "score": "0", "text": "@DoR How do I completely remove it first? I installed the one from repositories so I think its 1.2", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-03-02T17:42:34.300", "id": "31949", "postId": "28750", "score": "0", "text": "@Ashfame, `sudo apt-get remove wine1.2`? I already had the wine from the repositories installed when I install wine1.3 and I didn't need to remove it.", "userDisplayName": null, "userId": "114" }, { "creationDate": "2011-03-02T18:44:15.667", "id": "31957", "postId": "28750", "score": "0", "text": "@DoR Sadly that didn't work. I am having the same errors with `wine AngryBirds.exe` as I have in my question along with a few more.", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-03-02T19:28:03.717", "id": "31963", "postId": "28750", "score": "0", "text": "@Ashfame What does `wine --version` say?", "userDisplayName": null, "userId": "114" }, { "creationDate": "2011-03-02T19:46:05.310", "id": "31967", "postId": "28750", "score": "0", "text": "@DoR wine-1.3.14", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-03-02T19:50:11.540", "id": "31968", "postId": "28750", "score": "0", "text": "@Ashfame try moving your wine directory: `cp -r ~/.wine ~/wine.bak` and launching it again.", "userDisplayName": null, "userId": "114" }, { "creationDate": "2011-03-02T19:51:23.277", "id": "31969", "postId": "28750", "score": "0", "text": "@DoR and after that? Try re-running?", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-03-02T19:53:18.730", "id": "31970", "postId": "28750", "score": "0", "text": "@Ashfame yes. <15 chars>", "userDisplayName": null, "userId": "114" }, { "creationDate": "2011-03-02T20:00:31.180", "id": "31972", "postId": "28750", "score": "0", "text": "@DoR Nothing new! What was supposed to happened with the copying of files?", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-03-02T20:04:08.613", "id": "31973", "postId": "28750", "score": "0", "text": "@Ashfame Doh! Sorry, I meant to write `mv` (move) instead of `cp` (copy). Replace `cp` with `mv` and try again.", "userDisplayName": null, "userId": "114" }, { "creationDate": "2011-03-02T20:13:53.790", "id": "31976", "postId": "28750", "score": "0", "text": "Awesome mate! It works now. :)", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-03-02T20:23:42.757", "id": "31978", "postId": "28750", "score": "0", "text": "@Ashfame :) Edited my answer to include that last command.", "userDisplayName": null, "userId": "114" }, { "creationDate": "2011-03-02T20:49:16.457", "id": "31984", "postId": "28750", "score": "0", "text": "I added that in the question too. Thanks a lot buddy :)", "userDisplayName": null, "userId": "8238" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-03-02T17:16:26.183", "id": "28750", "lastActivityDate": "2017-02-25T09:38:36.457", "lastEditDate": "2017-02-25T09:38:36.457", "lastEditorDisplayName": null, "lastEditorUserId": "527764", "ownerDisplayName": null, "ownerUserId": "114", "parentId": "25473", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>Try adding the wine ppa (ppa:ubuntu-wine/ppa) to your software sources and upgrade wine to the latest version. This should make Angry Birds work well.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-09T17:13:21.793", "id": "...
null
null
null
null
null
25476
1
null
2011-02-09T16:07:25.237
3
2663
<p>I was unable to create live USB drive using <code>dd</code> command while <code>unetbootin</code> works. The former method used to work fine on the particular USB Drive. Is the USB drive filesystem corrupted? If yes, how do I fix it?</p> <p>filesystem : FAT 32</p>
10519
null
null
2011-06-15T02:02:13.803
How to make a USB drive bootable after live image is copied into it using `dd` command?
[ "boot", "usb", "drive", "dd", "mbr" ]
3
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>If you used dd, it's likely corrupted. To format it: open a terminal and watch the messages while you plug it in.</p>\n\n<pre><code>tail -f /var/log/message\n</code></pre>\n\n<p>What was the device name? I'll use <em>sdb</em> for illustration.</p>\n\n<pre><code>sudo mkfs.vfat...
null
null
null
null
null
25478
1
null
2011-02-09T16:19:52.133
6
1964
<p>I like to experiment with lots of different software in my Ubuntu install. Then, every time Ubuntu reaches a new release cycle, I simply do a clean install (instead of upgrading) to get rid of all the extra software (and their respective config files/folders). The only thing I always backup and carry to the next install (besides personal files) are the config files for gnome, so my desktop is always the way I like it. =)</p> <p>The problem with that, is that the different packages I test out never get properly uninstalled, so my gnome main menu is full of broken links referring to software I had in previous installations (which got carried over because I kept the gnome config files). </p> <p><strong>Is there any automated way to go through my gnome main menu and remove any broken links?</strong> I know how to manually edit the menu, and I could go through it myself, but I'm looking for some script or package that will clean for me so I wouldn't have to do it manually every release cycle.</p>
1012
null
null
2011-12-31T22:17:53.273
How can I autoclean my gnome main menu?
[ "gnome", "cleanup" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2012-12-30T20:19:59.257", "id": "290975", "postId": "25478", "score": "0", "text": "I guess that people do not read the question before answering.\nNot a single answer in the topic ...\nBTW, did you find a good solution since then ?", "userDisplayName": null, "userId":...
null
[ { "accepted": null, "body": "<p>Open <strong>Synaptic</strong> and select from the left menu under <em>All/Installed/ect.</em> <strong>not installed (residual config)</strong></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-04-11T00:22:43.797", "id": "38403",...
null
null
null
null
null
25480
1
null
2011-02-08T10:17:27.313
4
8439
<p>Trying to fix my apt-get upgrade, it always stopped at setting up grub-pc... I read somewhere that I should purge remove my grub2 and then reinstall it.</p> <p>I did that and after lots of paying around i was able to remove it(wasn't such a smart move). Now i can't get it to install again.</p> <p>I am trying sudo apt-get install grub-pc and it just stops at "Setting up grub-pc.." and does nothing and because of this it isn't allowing me to do any kind of upgrade or install.. It asks me to sudo dpkg --configure -a which again stops at setting up grub-pc</p> <p>I think I need help and real soon. Thanks, I really appreciate any inputs here to get my system in place before the next reboot.</p>
10421
17722
2012-07-09T13:05:20.543
2015-07-28T06:47:21.513
Grub-pc installing error
[ "grub2", "dpkg" ]
4
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T21:04:33.777", "id": "27953", "postId": "25480", "score": "0", "text": "\"does nothing\" means it stops and gives a prompt or it hangs and you have to stop it manually? Do you see any messages in `/var/log/syslog` when this happens?", "userDisplayName": null, ...
null
[ { "accepted": null, "body": "<p>do you have SuperGrubDisk (http://www.supergrubdisk.org/)? This could help troubleshout. If it's more aptitude-related, have you tried stuff like <code>apt-get update</code> or <code>apt-get clean</code>?</p>\n", "commentCount": "0", "comments": [], "communityOwne...
null
null
null
null
zubinmehta
25482
1
25518
2011-02-09T16:34:05.233
4
233
<p>I have built and installed an application under a directory of my choosing, let's say under <code>/home/jim/usr</code>, so files have been put in three-four folders, all under this <code>$HOME/usr</code> folder (e.g., <code>bin</code>, <code>include</code>, <code>lib</code>, <code>share</code>, etc.).</p> <p>I can launch this application from the command line just fine as I added the proper paths to my environement variables <code>PATH</code> and <code>LD_LIBRARY_PATH</code> in <code>~/.bashrc</code>.</p> <p>I added the same paths to the <code>~/.profile</code> file, which, if I'm not mistaken, is supposed to be parsed by Ubuntu.</p> <p>Doesn't work. Nothing. Where can I go from there?</p> <p>EDIT: I logged out/in and restarted my computer. Both didn't change a thing. The problem seems to come from the fact that no matter what I do the LD_LIBRARY_PATH environment variable is not properly passed to Ubuntu.</p> <p>Using log files, I found that the application I'm trying to run in this example doesn't find one it's dependencies located in <code>~/usr/lib</code>.</p> <p>One solution would be to add the <code>/home/jim/usr/lib</code> folder inside a file located in <code>/etc/ld.so.conf.d/</code>, but I don't have admin rights on this machine.</p> <p>Making a wrapper script like this one works:</p> <pre><code>#!/bin/bash export LD_LIBRARY_PATH=$HLOC/usr/lib application &amp;&gt; $HOME/application_messages.log </code></pre> <p>but that would force me to wrap all my home compiled applications with this script. Any ideas?</p> <p>Why does Ubuntu/Gnome remove the LD_LIBRARY_PATH environment variable from my set variables? Is it because trying to do this is bad practice?</p> <p>UPDATE (and solution): As found by Christopher, there is a bug report about this on launchpad. LD_LIBRARY_PATH is <em>unset</em> after parsing of the <code>~/.profile</code> file. <a href="https://edge.launchpad.net/ubuntu/+bug/366728" rel="nofollow">See the bug report</a>. Seems the only solution for now is to make a wrapper script.</p>
119
119
2011-02-09T20:34:06.353
2011-02-09T20:34:06.353
App installed in ~/usr launches from terminal but not Applications menu (or why does setting ld_library_path in .profile not work as it should)
[ "customization", ".profile" ]
1
8
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T17:30:07.290", "id": "27887", "postId": "25482", "score": "0", "text": "Were those environment variables available only within your shell (having used 'source' within the shell)? If so, logout. Login.", "userDisplayName": "user8290", "userId": null }, { ...
{ "accepted": true, "body": "<p>Create a file for it:</p>\n\n<pre><code>sudo vim /etc/ld.so.conf.d/my_application.conf\n</code></pre>\n\n<p>And the contents of that file:</p>\n\n<pre><code>/home/jim/usr/lib\n</code></pre>\n\n<p>Save. Rebuild the cache:</p>\n\n<pre><code>sudo ldconfig -v\n</code></pre>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-09T19:14:54.017", "id": "27922", "postId": "25518", "score": "0", "text": "Thanks, but I had done this already. Anyway, if I'm not mistaken, the environment variables defined in bashrc are not used by nautilus/gnome, unless the applications are launched in terminal mode...", "userDisplayName": null, "userId": "119" }, { "creationDate": "2011-02-09T19:21:58.903", "id": "27925", "postId": "25518", "score": "0", "text": "Hmmm. Does it help to use the dynamic linker run-time bindings, added to solution?", "userDisplayName": "user8290", "userId": null }, { "creationDate": "2011-02-09T19:36:20.143", "id": "27932", "postId": "25518", "score": "0", "text": "Adding the lib folder in ld.so.conf.d works, but I don't have admin rights on this machine (I know, eww).", "userDisplayName": null, "userId": "119" }, { "creationDate": "2011-02-09T19:55:28.570", "id": "27939", "postId": "25518", "score": "0", "text": "It's a bug: https://edge.launchpad.net/ubuntu/+bug/366728", "userDisplayName": "user8290", "userId": null } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T19:08:20.877", "id": "25518", "lastActivityDate": "2011-02-09T19:54:29.647", "lastEditDate": "2011-02-09T19:54:29.647", "lastEditorDisplayName": "user8290", "lastEditorUserId": null, "ownerDisplayName": "user8290", "ownerUserId": null, "parentId": "25482", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>Create a file for it:</p>\n\n<pre><code>sudo vim /etc/ld.so.conf.d/my_application.conf\n</code></pre>\n\n<p>And the contents of that file:</p>\n\n<pre><code>/home/jim/usr/lib\n</code></pre>\n\n<p>Save. Rebuild the cache:</p>\n\n<pre><code>sudo ldconfig -v\n</code></pre>\n", ...
null
null
null
null
null
25483
1
25535
2011-02-09T16:58:06.457
13
5337
<p>I installed wine and now I notice a different font on facebook and a couple of other sites I use a lot. So, how do I get back the default Ubuntu fonts?</p>
8238
742
2011-02-09T21:36:43.193
2013-03-27T10:18:48.947
How do I get back the default Ubuntu fonts after installing wine?
[ "wine", "fonts" ]
2
5
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T17:34:26.930", "id": "27888", "postId": "25483", "score": "0", "text": "@potential answerers: I believe that wine has instlled some extra fonts, as a couple of font packages are recommended by wine. It's likely that liberation or mscorefonts are the culprights. But ...
{ "accepted": true, "body": "<p>Installing wine will also push the \"ttf-mscorefonts-installer\" package which brings some aditional fonts.</p>\n\n<p>You can remove it without removing wine, but it can negatively affect the look of some applications running from wine. </p>\n\n<p>To remove it, open a terminal and type:</p>\n\n<pre><code>sudo apt-get purge ttf-mscorefonts-installer\n</code></pre>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-10T08:03:15.007", "id": "28005", "postId": "25535", "score": "0", "text": "That easy?. I was expecting that this command will only uninstall the installer. I suppose that it includes a uninstall script too. That's great :).", "userDisplayName": null, "userId": "211" }, { "creationDate": "2011-03-03T08:23:17.943", "id": "32044", "postId": "25535", "score": "0", "text": "The package behaves as a normal font package, it just has a peculiar name due to the licensing behind it. We can't ship the fonts directly, instead we have to download them at package install time.", "userDisplayName": null, "userId": "2558" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T21:36:11.370", "id": "25535", "lastActivityDate": "2011-02-09T21:36:11.370", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "742", "parentId": "25483", "postTypeId": "2", "score": "18" }
[ { "accepted": true, "body": "<p>Installing wine will also push the \"ttf-mscorefonts-installer\" package which brings some aditional fonts.</p>\n\n<p>You can remove it without removing wine, but it can negatively affect the look of some applications running from wine. </p>\n\n<p>To remove it, open a termina...
null
null
null
null
null
25484
1
null
2011-02-09T17:02:13.650
2
354
<p>Does anyone know if FaceVsion’s TouchCam N1 is UVC certified, or if it works with Ubuntu 10.10?</p> <p>If so does it work with cheese, and or skype?</p> <p>Thanks!</p>
10522
null
null
2011-04-11T04:40:04.383
UVC Certified: FaceVsion’s TouchCam N1
[ "10.10", "webcam", "skype", "cheese" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>I have that same camera and have had no problems with the microphone and video, yes it works fine with Skype as well.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T02:...
null
null
null
null
null
25485
1
25512
2011-02-09T17:02:38.043
2
954
<p>I would like to make Gedit fit more to the Ubuntu default themes Ambiance and Radiance. Therefore I would like to place the tab close buttons on the left instead of the right of each tab.</p> <p>I asked <a href="https://askubuntu.com/questions/18739/how-can-place-firefoxs-tab-close-buttons-on-the-left">a similar question</a> about Firefox, but the best answer was adding an extension. So what can I do for Gedit ?</p> <p>Besides, I bet I will shortly ask equivalent questions for Nautilus, etc.</p>
5592
-1
2017-04-13T12:24:29.360
2011-02-09T18:49:31.600
How can I place Gedit's tab close buttons on the left?
[ "gedit", "window-buttons", "tabs" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>During <a href=\"https://bugs.edge.launchpad.net/ubuntu/+source/light-themes/+bug/532633?comments=all\" rel=\"nofollow\">the Ayatana discussion in this bug report</a>, tab placement inconsistency in the design was mentioned 115 times, in over 20 separate posts, throughout the near-800 comments, but the final decision was still to move window buttons to the left.</p>\n\n<p>If you desire consistency, you're far better moving the window buttons back to the right using one of the many methods described in that bug report. For example, use <code>gconftool-2 --set /apps/metacity/general/button_layout --type string \":minimize,maximize,close\"</code> or add the PPA outlined <a href=\"https://bugs.edge.launchpad.net/ubuntu/+source/light-themes/+bug/532633/comments/792\" rel=\"nofollow\">in comment 792</a>.</p>\n\n<p>However, you've already fixed Firefox with a plug-in, and hopefully someone can help you hack Gedit. That leaves the list of \"to-do\", for me personally, at :</p>\n\n<p>Nautilus, Pidgin/Empathy, Thunderbird, Chromium and Eclipse</p>\n\n<p>Bottom line, re-designing all these apps will take time. I doubt the work will be complete for Natty, but perhaps we'll start to see some consistency by Natty+1.</p>\n\n<p>I realise that this \"answer\" isn't going to help you. I raise it simply to make you aware of the scope of the task you've undertaken here.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T18:49:31.600", "id": "25512", "lastActivityDate": "2011-02-09T18:49:31.600", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "861", "parentId": "25485", "postTypeId": "2", "score": "1" }
[ { "accepted": null, "body": "<p>Ubuntu Tweak can handle the position of the titlebar buttons. Nevertheless, the close icon for the tabs in gedit seems not to be affected directly by the changes made by the window titlebar buttons layout.</p>\n\n<p>However, Here I place a screenshot for you to find a tip on ...
null
null
null
null
null
25488
1
25491
2011-02-09T17:18:15.703
171
66735
<p>What is the difference between executing a script (e.g. /some/script) with <code>source /some/script</code> and <code>. /some/script</code> in Bash?</p>
6713
13280
2017-07-17T21:44:09.440
2018-10-09T12:07:16.650
What is the difference between "source" and "."?
[ "bash", "scripts" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p><code>source</code> and <code>.</code> are synonymous in <strong>Bash</strong>.</p>\n\n<p>For anyone who might like to verify that the commands are simply synonyms and nothing more, look at the <a href=\"http://git.savannah.gnu.org/cgit/bash.git\" rel=\"noreferrer\">source code</a>, say for version 4.3, and examine the file <a href=\"http://git.savannah.gnu.org/cgit/bash.git/tree/builtins/source.def?id=bash-4.3\" rel=\"noreferrer\"><code>builtins/source.def</code></a>. You will read that both of the built-in commands, <a href=\"http://git.savannah.gnu.org/cgit/bash.git/tree/builtins/source.def?id=bash-4.3#n23\" rel=\"noreferrer\"><code>source</code></a> and <a href=\"http://git.savannah.gnu.org/cgit/bash.git/tree/builtins/source.def?id=bash-4.3#n38\" rel=\"noreferrer\"><code>.</code></a>, use the very same function: <a href=\"http://git.savannah.gnu.org/cgit/bash.git/tree/builtins/source.def?id=bash-4.3#n113\" rel=\"noreferrer\"><code>source_builtin</code></a>. </p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-09T18:26:56.240", "id": "27902", "postId": "25491", "score": "0", "text": "where is this defined? I mean is . an alias for source or is this some thing else?", "userDisplayName": null, "userId": "6713" }, { "creationDate": "2011-02-09T18:42:03.870", "id": "27908", "postId": "25491", "score": "0", "text": "exact same thing", "userDisplayName": "user8290", "userId": null }, { "creationDate": "2011-02-09T23:56:07.380", "id": "27973", "postId": "25491", "score": "14", "text": "@binW: `.` is the traditional source command, inherited from the ancient bourne shell. `source` is just a bash builtin that does exactly the same as `.`, presumably because it's more readable (a `.` alone may be hard to spot with a small font). You'll see `help source` and `help .` shows the same info.", "userDisplayName": null, "userId": "9016" }, { "creationDate": "2011-02-17T12:22:15.937", "id": "29472", "postId": "25491", "score": "3", "text": "@binW: If you look in `man bash` and then search for `source` you'll see that `source filename [arguments]` is a synonym for `. filename [arguments]`.", "userDisplayName": null, "userId": "3800" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T17:26:44.607", "id": "25491", "lastActivityDate": "2017-07-17T21:59:49.597", "lastEditDate": "2017-07-17T21:59:49.597", "lastEditorDisplayName": "user8290", "lastEditorUserId": "13280", "ownerDisplayName": "user8290", "ownerUserId": null, "parentId": "25488", "postTypeId": "2", "score": "153" }
[ { "accepted": true, "body": "<p><code>source</code> and <code>.</code> are synonymous in <strong>Bash</strong>.</p>\n\n<p>For anyone who might like to verify that the commands are simply synonyms and nothing more, look at the <a href=\"http://git.savannah.gnu.org/cgit/bash.git\" rel=\"noreferrer\">source co...
null
null
null
null
null
25489
1
null
2011-02-09T17:20:06.240
2
808
<p>I have a crontab job set. It is a script to change the Desktop background wallpaper every 3 minutes. It was perfectly working before upgrading from Hardy to Lucid. When upgraded to Lucid, the wallpaper changes only when I login. It shows new wallpaper everytime I logout and login again or after restarting. It shows the same wallpapers which were set as the cron job script path.</p> <p>Is crontab feature changed in Lucid? What is happening? Please help.</p>
10353
866
2011-02-09T17:27:58.473
2011-11-11T01:27:14.910
Wallpaper change crontab jobs not working after upgrade from 8.04 to 10.04
[ "10.04", "upgrade", "cron", "cron-jobs", "crontab" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T17:29:04.010", "id": "27886", "postId": "25489", "score": "0", "text": "Do the commands contained in the crontab work if you enter them in a terminal? The change may be with nautilus (that handles the desktop background) rather than with cron.", "userDisplayName...
null
[ { "accepted": null, "body": "<p>I found an interesting post about that 'problem' give it a try <a href=\"http://ubuntuforums.org/showthread.php?p=9277193\" rel=\"nofollow\">here</a> hope its help cheers!</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T16:26:04....
null
null
null
null
null
25492
1
25496
2011-02-09T17:30:05.373
2
307
<p>I am running Ubuntu 9.10 and have downloaded the iso for Ubuntu 10.10. I wish to install Ubuntu 10.10</p> <p>My Question:<br> 1. Can I install Ubuntu 10.10 as an upgrade over 9.10, so as not to worry about installing drivers and existing apps.<br> 2. Can I install from CD burnt from the 10.10 iso while running ubuntu 9.10 3. Can I install Ubuntu 10.10 to a different partition, do I get the option to create a partition during setup?<br> 4. Can I install Ubuntu 10.10 from the iso while running 9.10, without having to burn to a DVD or a USB</p> <p>If yes, how?</p> <p>I am asking these questions because, I tried the upgrade option in 9.10 and it gave me the 10.04 upgrade option, which warned me that Bluetooth and a whole bunch of apps won't work with 10.04. </p>
6661
null
null
2011-02-09T17:40:56.810
How can I install Ubuntu 10.10 from HDD/ CD while running Ubuntu 9.10?
[ "10.10", "upgrade", "9.10" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You can not upgrade from 9.10 to 10.10, you can upgrade from 9.10 to 10.04 and then from 10.04 to 10.10 using the normal upgrade method. You can even use a CD instead of downloading packages for the upgrade.</p>\n\n<p>What I believe you want to do is record the installed applications and reinstall from scratch. Making sure you have backups of all your data first.</p>\n\n<p>Do a search for <code>dpkg --get-selections</code> to record and then reimplement your system installed programs.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-17T12:24:34.420", "id": "29474", "postId": "25496", "score": "0", "text": "I didn't know you could 'record' your installed apps in such a way. Will I be able to re-install the bluetooth and other device drivers once I am done? Ubuntu says that it won't be officially supported in 10.04", "userDisplayName": null, "userId": "6661" }, { "creationDate": "2011-02-17T14:45:26.833", "id": "29501", "postId": "25496", "score": "0", "text": "Apps which have been removed won't be installable by default. But it might be possible to install some of them using alternative means. It's better if you post these questions as questions instead of comments so others can answer.", "userDisplayName": null, "userId": "132" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T17:40:56.810", "id": "25496", "lastActivityDate": "2011-02-09T17:40:56.810", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "132", "parentId": "25492", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>You can not upgrade from 9.10 to 10.10, you can upgrade from 9.10 to 10.04 and then from 10.04 to 10.10 using the normal upgrade method. You can even use a CD instead of downloading packages for the upgrade.</p>\n\n<p>What I believe you want to do is record the installed appl...
null
null
null
null
null
25493
1
25497
2011-02-09T17:31:53.937
3
639
<p>I was wondering which version of Ubuntu is better for my laptop, the current LTS release or the latest stable (but not LTS) release.</p> <p>Is it always recommended to go for the latest version for personal laptop?</p> <p>Is it advised to wait for several months after the version was released before installing it, so that the version can be more stable? If yes, does the CD got right after the release become less useful?</p> <p>I plan 50 GB for Ubuntu partitions, 20 GB for root and 26 GB for home and 4 GB for swap. </p> <p>My main use is programming with several popular programming languages and database and typesetting and browsing internet, seldom gaming, and therefore I will install related applications and compile some libraries for use in programming.</p>
1471
667
2011-02-09T17:48:57.957
2011-02-09T17:52:15.427
Is the latest stable release or the latest LTS release more suitable for a development machine?
[ "development", "versions", "lts" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<h1>Use the latest stable release</h1>\n<p>As it is predominantly a development machine, I would go with the latest stable version, as it has more up to date libraries and programming tools. As a normal release, it is not supported for as long as the LTS. I don't see this as a problem because you will probably want to have the newer versions installed by the time the support expires.</p>\n<p>LTS versions are more suitable for business users and home users who don't want to worry about upgrading every 6 months.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-09T20:51:52.017", "id": "27949", "postId": "25497", "score": "0", "text": "Is a version that was just released officially stable enough, or better to wait several months to install the current version? If second, does the official CD got right after the release become less useful?", "userDisplayName": null, "userId": "1471" }, { "creationDate": "2011-02-09T21:05:15.567", "id": "27954", "postId": "25497", "score": "0", "text": "@Tim - The stable release is stable enough. As long as the release name doesn't contain `alpha`, `beta` or `rc`, it is the stable version. I have always found the stable version stable enough. I do generally wait a week or 2 before installing the new version but mainly to avoid the high traffic on the servers for downloading the ISO images and updating/installing software.", "userDisplayName": null, "userId": "667" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T17:46:19.487", "id": "25497", "lastActivityDate": "2011-02-09T17:52:15.427", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "667", "parentId": "25493", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>The 10.04 is the long-term support (LTS) distribution; but, 10.10 is the latest - with better driver support and newer kernel.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-...
null
null
null
null
null
25498
1
25500
2011-02-09T17:49:44.220
7
18591
<p>I want to append this text:</p> <pre><code>&lt;Directory "/var/www/*"&gt; Order allow,deny Allow from all AllowOverride All &lt;/Directory&gt; </code></pre> <p>to the file <code>/etc/apache2/apache2.conf</code></p> <p>I have access via SSH but I don't know how to use VIM. I would like to do this via a command.</p>
7499
8844
2011-09-12T22:54:27.143
2015-05-25T11:48:28.457
How to append multiple lines of text to a file?
[ "command-line", "text" ]
5
1
CC BY-SA 3.0
[ { "creationDate": "2011-02-09T17:56:01.793", "id": "27891", "postId": "25498", "score": "1", "text": "Maybe I'm missing something, but why don't you use nano?", "userDisplayName": null, "userId": "8851" } ]
{ "accepted": true, "body": "<p>Use:</p>\n\n<pre><code>nano /etc/apache2/apache2.conf\n</code></pre>\n\n<p>(you may need to use <code>sudo</code>)</p>\n\n<p>This will give you a command line text editor that works much like normal text editors. Use the arrow keys to navigate. Backspace, enter, etc. work as normal.</p>\n\n<p>To save, press <kbd>Ctrl</kbd>+<kbd>O</kbd> and use <kbd>Ctrl</kbd>+<kbd>X</kbd> to exit. For help, press <kbd>Ctrl</kbd>+<kbd>G</kbd> from inside nano, or use <a href=\"http://manpages.ubuntu.com/nano\" rel=\"nofollow noreferrer\"><code>man nano</code></a>.</p>\n\n<p>It should look something like this:</p>\n\n<p><img src=\"https://i.stack.imgur.com/ifgXi.png\" alt=\"nano\"></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T17:59:46.170", "id": "25500", "lastActivityDate": "2011-02-09T17:59:46.170", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "667", "parentId": "25498", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>Use:</p>\n\n<pre><code>nano /etc/apache2/apache2.conf\n</code></pre>\n\n<p>(you may need to use <code>sudo</code>)</p>\n\n<p>This will give you a command line text editor that works much like normal text editors. Use the arrow keys to navigate. Backspace, enter, etc. work as ...
null
null
null
null
null
25510
1
null
2011-02-09T18:41:11.513
2
774
<p>Are UbuntuOne services coming to Kubuntu/KDE desktop in 11.04?</p>
null
114
2011-02-09T20:06:01.360
2011-02-09T20:06:01.360
Are UbuntuOne services coming to Kubuntu/KDE?
[ "ubuntu-one", "11.04", "kubuntu" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Read this <a href=\"http://linux-software-news-tutorials.blogspot.com/2010/08/ubuntu-one-in-kubuntu-1010.html\" rel=\"nofollow\">article</a> I don't really know if the client work properly but you can give it a try. </p>\n", "commentCount": "0", "comments": [], "...
null
null
null
null
user10528
25514
1
25532
2011-02-09T18:52:29.297
12
60265
<p>I received 4 .mov files from a client that they want on their mobile website via SlideShowPro. Each original file was between 200 and 400 mb. I've gotten each one down to about 30 mb using transmageddon as described <a href="https://askubuntu.com/questions/5198/what-is-the-best-way-to-shrink-hd-quicktime-mov-files">here</a>, but that's still really big for a mobile connection. </p> <p>Is there any way to shrink them even further? Maybe it's the settings; I used Output Format = MPEG4, Audio = AAC, Video = H264 (which is what is suggested by SlideShowPro.)</p>
2664
-1
2017-04-13T12:24:59.290
2023-02-03T22:58:48.897
How can I maximum compress video files?
[ "video", "compression", "optimization" ]
6
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>WOW!</p>\n\n<p>H264 is a high quality video codec but (as you refer), it makes \"heavy\" size video files.</p>\n\n<p>I am not sure if your question is related to a GUI or Command Line task. But, assumming that you are using \"Transmaggedon\" I will write this considering the options for GUI applications.</p>\n\n<p>In my case, I prefer the usage of \"Mobile Media Converter\" which works pretty fine in 32bit systems (both Ubuntu and MS based systems). <strong><em>And the creators have already released a 64 bit version nowadays.</em></strong></p>\n\n<p>What you wish is to make smaller size video files. Which can be done by changing the \"video bit rate\", which will give you the best quality, according to the video bit rate you request. In example: a 40MB video file (uncompressed, AVI) will fit in a 5MB video file (any codec) if you use a 800kbps video bit rate. But -of course- it may harm the quality.</p>\n\n<p>I strongly suggest you to perform some testing using the Mobile Media Converter, which can be reached (.deb) by clicking the next link: </p>\n\n<p><a href=\"http://www.miksoft.net/mobileMediaConverter.htm\" rel=\"noreferrer\">http://www.miksoft.net/mobileMediaConverter.htm</a></p>\n\n<p>After installing, just drop any video files (preferably small for the test) into the drag and drop area, then open the Advanced options by clicking a small arrow that is placed at the very right of the window, below the \"browse\" button. \"[ ... ]\"</p>\n\n<p>Next, click in \"Advanced\" and you will have all the options that you need in order to transcode your video and make small and good quality transcodification.</p>\n\n<p>Remember: The higher video bit rate is, you will have better quality but the file size will become \"heavier\".</p>\n\n<p><em>BTW: You can also transcode videos by using a non linear editing system, such as \"Kdenlive\" (<a href=\"http://www.kdenlive.org/\" rel=\"noreferrer\">http://www.kdenlive.org/</a>) or \"Openshot\" (<a href=\"http://www.openshotvideo.com/\" rel=\"noreferrer\">http://www.openshotvideo.com/</a>) and many more. A non linear editing system will also be useful to edit the video (trim, crop, add text and more).</em></p>\n\n<p>Good luck!</p>\n\n<p>Here is a screenshot for you to see a few options of Mobile Media Converter in action.</p>\n\n<p><img src=\"https://i.stack.imgur.com/3mkee.png\" alt=\"enter image description here\"></p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-09T23:53:49.303", "id": "27972", "postId": "25532", "score": "0", "text": "Thanks for the very detailed answer. I'll give it a go and see if I can make it work.", "userDisplayName": null, "userId": "2664" }, { "creationDate": "2013-09-22T20:22:47.260", "id": "446972", "postId": "25532", "score": "0", "text": "@EmmyS Standard H.264 profiles and levels are as good as it gets for wide deployment regarding quality and compatibility. The x264 encoder that most free video programs use does a pretty good job at that. x264 also supports the so called 10-Bit mode that can further reduce bitrate at the same quality, but as with most bitrate saving features, not all decoders in various devices support them. Thus only the options to reduce resolution and/or quality remain.", "userDisplayName": null, "userId": "40581" }, { "creationDate": "2015-11-17T19:24:40.873", "id": "1024573", "postId": "25532", "score": "0", "text": "Adjusting the audio bitrate can also have an impact (minimal, true)", "userDisplayName": null, "userId": "225694" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T20:53:05.610", "id": "25532", "lastActivityDate": "2013-06-25T23:55:01.573", "lastEditDate": "2013-06-25T23:55:01.573", "lastEditorDisplayName": null, "lastEditorUserId": "9598", "ownerDisplayName": null, "ownerUserId": "9598", "parentId": "25514", "postTypeId": "2", "score": "12" }
[ { "accepted": true, "body": "<p>WOW!</p>\n\n<p>H264 is a high quality video codec but (as you refer), it makes \"heavy\" size video files.</p>\n\n<p>I am not sure if your question is related to a GUI or Command Line task. But, assumming that you are using \"Transmaggedon\" I will write this considering the ...
null
null
null
null
null
25516
1
25539
2011-02-09T19:04:15.487
2
5638
<p>I used <a href="http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/" rel="nofollow">Universal USB Installer</a> to install an Ubuntu 10.04 Netbook LiveCD image on an SD Card. During this installation, I indicated that I wanted a persistent LiveUSB with 4GB dedicated to customization/settings.</p> <p>The installation seems to finish without incident. However, when I try to boot from the SD card using my EeePC 901, Ubuntu fails to start I get the following message:</p> <pre><code>(initramfs) mount: mounting aufs on /root failed: No such device. Aufs mount failed </code></pre> <p>What can I do to make my installation successfully boot?</p>
10530
10530
2011-02-18T01:11:53.120
2011-07-20T20:44:01.657
Cannot boot from LiveUSB: “aufs mount failed”
[ "10.04", "boot", "ubuntu-netbook", "live-usb", "eeepc" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-18T01:15:31.043", "id": "29606", "postId": "25516", "score": "0", "text": "Please note that what I'm going for here is a live session with changes saved to a file or partition of the SD card dedicated to preserving the file system. This is different from a full install...
{ "accepted": true, "body": "<p>You can create a livecd Using UNetbootin, download it from the USC, and run it, once it loads you can select the distro you would like to make a livecd of,or of you already have the iso you can choose it, then select your SD card and off you go.</p>\n\n<p><img src=\"https://i.stack.imgur.com/XQX7N.jpg\" alt=\"enter image description here\"></p>\n\n<p>Also you can <strong>Install</strong> UNR on the SD card , of course if there is enough space for it, and if you have another USB device.</p>\n\n<p>To Install the OS on the SD card this is what i did (you need 2 USB devices or 2 SD card with 4GB+ available):</p>\n\n<ol>\n<li>Create a livecd using UNetbootin</li>\n<li>Connect both devices to your PC</li>\n<li>Make sure you select the livecd to boot into it</li>\n<li>Once you're on the livecd mount the other USB/SD device</li>\n<li>Format it to ext4 or w/e Filesystem you want to use</li>\n<li>Make Sure that you choose the USB/SD card when asked where to install Ubuntu (i unplugged my HDD's to avoid any confusion, but just by looking at the GB count you'll know )</li>\n<li>Now you must wait for it to finish, since it is an SD card it will take like 2 hours or more. (when i installed it, i chose not to install updates or 3rd party , 'cause it's going to take more time)</li>\n</ol>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-10T02:10:13.760", "id": "27979", "postId": "25539", "score": "0", "text": "Thanks, Uri, but this does not provide a persistent install. Any documents and settings I store on the flash drive disappear every time I reboot.", "userDisplayName": null, "userId": "10530" }, { "creationDate": "2011-02-10T07:20:49.933", "id": "28000", "postId": "25539", "score": "0", "text": "updated my answer", "userDisplayName": null, "userId": "4203" }, { "creationDate": "2011-02-11T19:47:58.063", "id": "28354", "postId": "25539", "score": "0", "text": "I was under the impression that a persistent live session is different from a full intallation. Is this true?", "userDisplayName": null, "userId": "10530" }, { "creationDate": "2011-02-12T04:19:42.020", "id": "28424", "postId": "25539", "score": "0", "text": "yes it is different a live session only keeps the data for as long as the session lasts, it resets any change you make to it after reboot", "userDisplayName": null, "userId": "4203" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T22:02:43.480", "id": "25539", "lastActivityDate": "2011-02-10T04:38:31.150", "lastEditDate": "2011-02-10T04:38:31.150", "lastEditorDisplayName": null, "lastEditorUserId": "4203", "ownerDisplayName": null, "ownerUserId": "4203", "parentId": "25516", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>You can create a livecd Using UNetbootin, download it from the USC, and run it, once it loads you can select the distro you would like to make a livecd of,or of you already have the iso you can choose it, then select your SD card and off you go.</p>\n\n<p><img src=\"https://i...
null
null
null
null
null
25519
1
null
2011-02-09T19:11:24.320
13
26086
<p>I installed driver from <code>Additional drivers</code>.... AMD Radeon HD 6450</p> <p>My resolution is at maximum and Catalist Control Center is working but I have <code>AMD Unsupported hardware</code> image on the right bottom of my screen. How can I remove it without reinstalling driver? Because the drivers from official amd site does not work. </p> <p><img src="https://i.stack.imgur.com/dmW6D.jpg" alt="enter image description here"></p>
8001
15811
2011-09-10T09:58:12.930
2013-04-25T01:41:10.027
How-to remove "amd unsupported hardware" without reinstalling the driver?
[ "drivers", "ati" ]
0
0
CC BY-SA 3.0
[]
null
[]
null
0
2013-04-28T14:32:14.130
null
null
25521
1
29371
2011-02-09T16:45:45.687
2
582
<p>I uninstalled <code>kpackagekit</code> using Ubuntu software center. When it uninstalled, it also uninstalled some dependencies. I was not aware it would do that. Now, if I try to install any software using Ubuntu software center, I get the error</p> <blockquote> <p>"This error could be caused by required additional software packages which are missing or not installable. Futhermore there could be a conflict between software packages which are not allowed to be installed at the same time."</p> </blockquote> <p>How can I resolve this? For example, when I try to install <a href="http://shutter-project.org/" rel="nofollow">shutter</a>, I get the error</p> <blockquote> <p>"Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:</p> <p>The following packages have unmet dependencies:</p> <pre><code>shutter: Depends: libxml-simple-perl but it is not installable Depends: libgoo-canvas-perl but it is not going to be installed" </code></pre> </blockquote>
10156
866
2011-02-09T19:36:24.633
2011-03-07T11:41:08.933
Software center stopped working after I uninstalled kpackagekit
[ "package-management", "software-center", "kde", "dependencies", "shutter" ]
2
6
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T17:13:28.580", "id": "27926", "postId": "25521", "score": "0", "text": "Welcome to Super User, @Arul! It's okay that you asked this here, but just so you know, we have a site just for Ubuntu issues, too. Check it out at [AskUbuntu.com](http://askubuntu.com).", "...
{ "accepted": true, "body": "<p>@ALL the issue is resolved. I upgraded to ubuntu 10.04.2 using alternate cd/dvd option.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-03-07T11:41:08.933", "id": "29371", "lastActivityDate": "2011-03-07T11:41:08.933", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "10156", "parentId": "25521", "postTypeId": "2", "score": "1" }
[ { "accepted": null, "body": "<p>You might want to reinstall <code>kpackagekit</code> by opening up a terminal. It should be under \"Applications\" -> \"System Tools\" or \"Accessories\" -> \"Terminal\".</p>\n\n<p>Now type in the following commands, pressing <kbd>Enter</kbd> after a new line:</p>\n\n<pre><co...
null
null
null
null
Arul
25523
1
25526
2011-02-09T19:24:18.047
9
16605
<p>I have a creative SB X-Fi Xtreme Audio, And i faced so many problems with this card regarding compatibility with Linux. </p> <p>Now i am looking for a new audio card and want to make sure that this time it will be compatible with linux.</p> <p>If you don't know a websites that has a list of supported Linux audio cards just tell me what audio card you are using on Linux.</p> <p>Thanks for help!</p>
7601
301745
2018-04-06T19:22:23.887
2018-04-06T19:26:28.230
Where can I find a list of compatible audio cards?
[ "hardware", "compatibility", "soundcard" ]
4
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Maybe the <a href=\"http://www.linuxcompatible.org/compatdb/lists/hardware_linux.html\" rel=\"nofollow noreferrer\">hardware compatibility list on linuxcompatible.org</a> can help you.</p>\n\n<p>Maybe this can help too: <a href=\"http://www.linux-sound.org/drivers.html\" rel=\"nofollow noreferrer\">Sound Cards &amp; Drivers - linux-sound.org</a></p>\n\n<p>Here is another list: <a href=\"http://tldp.org/HOWTO/Hardware-HOWTO/sound.html\" rel=\"nofollow noreferrer\">Sound cards - Linux Hardware Compatibility HOWTO</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-09T19:30:02.543", "id": "25526", "lastActivityDate": "2018-04-06T19:26:28.230", "lastEditDate": "2018-04-06T19:26:28.230", "lastEditorDisplayName": null, "lastEditorUserId": "301745", "ownerDisplayName": null, "ownerUserId": "10494", "parentId": "25523", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Maybe the <a href=\"http://www.linuxcompatible.org/compatdb/lists/hardware_linux.html\" rel=\"nofollow noreferrer\">hardware compatibility list on linuxcompatible.org</a> can help you.</p>\n\n<p>Maybe this can help too: <a href=\"http://www.linux-sound.org/drivers.html\" rel=...
null
null
null
null
null
25528
1
25534
2011-02-09T20:00:27.283
7
5610
<p>I replaced my graphics card but I'm not sure how to set things up on Ubuntu.</p> <p>When the computer boots, it doesn't start GDM (I think that's what it's called). Instead, it asks me to log in the command line. If I try to do a <code>startx</code>, it tells me there is no AMD device connected or something to that extent. </p> <p>I originally installed the ATI drivers using the GUI. It said that I was using the limited drivers or something to that extent with a popup on the right of one of the taskbars, so I clicked there and updated it. I think it could also be reached by going to <strong>System > Administration > Restricted drivers</strong> or something close to that.</p> <p>I tried installing the nivida drivers by doing a <code>sudo apt-get install nvidia-glx-185</code> and then doing <code>sudo modprobe nvidia</code> and <code>sudo nvidia-xconfig</code> as <a href="http://ubuntuguide.net/install-nvidia-graphical-driver-in-ubuntu-lucid-10-04" rel="nofollow">this guy</a> says but that didn't work. </p> <p><code>modprobe</code> couldn't find anything related to Nvidia and <code>nvidia-xconfig</code> wasn't an available command for me. Since I wasn't sure how to remove the ATI drivers I did that without messing with them. Not sure if that was a good idea.</p>
10534
2816
2011-02-10T09:02:58.567
2011-02-10T09:02:58.567
Uninstalling ATI's drivers and installing Nvidia's?
[ "drivers", "nvidia", "ati" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-09T20:25:42.803", "id": "27945", "postId": "25528", "score": "0", "text": "Try using jockey from the command line to uninstall one and install the other: http://askubuntu.com/questions/6521/how-can-i-reconfigure-the-nvidia-proprietary-drivers-from-the-command-line-ssh/...
{ "accepted": true, "body": "<p>There is also a command line version of the restricted drivers manager, which you can run via this command:</p>\n\n<pre><code>jockey-text\n</code></pre>\n\n<p>(The GUI version is jockey-gtk... both programs use the same backend). It picks the best driver for you, and also sets up your <code>/etc/X11/xorg.conf</code> with the recommended defaults for the driver with your hardware.</p>\n\n<p>Note that if you download the driver from the NVIDIA website, that is not the version of the driver supported in Ubuntu and could lead to other issues such as upgrade problems, so you're on your own if you do that. It's a lot better to use the driver packaged with Ubuntu.</p>\n\n<p>If you want a <em>newer</em> driver than the one that comes with Ubuntu, we also provide an 'x-updates' PPA where we put packaged versions of the upstream NVIDIA driver for users. These updated drivers are lightly tested by us and will work with the packaging system so you won't have the troubles you might if you manually install them.</p>\n\n<pre><code>https://edge.launchpad.net/~ubuntu-x-swat/+archive/x-updates\n</code></pre>\n\n<p>You should be able to <a href=\"https://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them\">add this PPA</a>, and then upgrade and it will pull in newer drivers as they're available.</p>\n\n<p>Also note that the nvidia-glx-185 driver is particular to an older version of Ubuntu. We no longer name the drivers that way; the latest and greatest driver will always be installable by the <code>nvidia-graphics-drivers</code> package name. There are several legacy drivers available as well. If you have an older nvidia card you might find one of these supports your hardware better. But it's best to just run <code>jockey-text</code> or <code>jockey-gtk</code> and let it look up the right driver for your card, and not worry all of this.</p>\n\n<p>Finally, for anyone who happens to be running the development version of Ubuntu, note that sometimes the proprietary drivers are broken during development, because when we update the kernel and xserver these drivers have to be rebuilt by AMD and NVIDIA to match, and this can take a few months before we get fixed drivers from them.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T21:28:02.287", "id": "25534", "lastActivityDate": "2011-02-09T23:26:59.777", "lastEditDate": "2017-04-13T12:23:09.107", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "913", "parentId": "25528", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>Try to install NVIDIA proprietary drivers. Download them from <a href=\"http://www.nvidia.com/object/unix.html\" rel=\"nofollow\">Nvidia's page</a>. After downloading the file (NVIDIA-Linux-x86-260.19.36.run, at the time of writing this), do this from the command line:</p>\n\...
null
null
null
null
null
25531
1
25537
2011-02-09T20:52:25.907
13
4752
<p>There is an option in the <em>Sound Preferences</em> dialog, <em>Sound Effects</em> tab, to toggle Alert volume <em>mute</em>. It works and suffices for my needs to disable the irritating system beep/bell.</p> <p>However, I reinstall systems a LOT for testing purposes and would like to set this setting in a shell script so it's off without having to fiddle with a GUI. But for the life of me I can't seem to find where this can be toggled via a command line tool.</p> <p>I've scanned through <code>gconf-editor</code>, PulseAudio's <code>pacmd</code>, <code>grep</code>ped through <code>/etc</code>, even dug through the <code>gnome-volume-control</code> source code, but I am not seeing how this can be set.</p> <p>I gather that <code>gnome-volume-control</code> has changed since a few releases ago.</p> <p>Ideas?</p>
913
618353
2022-04-26T18:14:41.113
2022-04-26T18:14:41.113
How to disable Alert volume from the command line?
[ "command-line", "gnome", "pulseaudio" ]
3
0
CC BY-SA 4.0
[]
{ "accepted": true, "body": "<ul>\n<li><p>Option 0: (this might be what you were looking for) </p>\n\n<pre><code>sudo su gdm -c \"gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false\"\n</code></pre></li>\n<li><p>Option 1: </p>\n\n<p>Temporary:</p>\n\n<pre><code>sudo modprobe -r pcspkr \n</code></pre>\n\n<p>Permanent</p>\n\n<pre><code>echo “blacklist pcspkr” &gt;&gt; /etc/modprobe.d/blacklist\n</code></pre></li>\n<li><p>Option 2:</p>\n\n<p>Search for \"set bell-style\" in <code>/etc/inputrc</code> (options are <code>none</code> or <code>visible</code>)</p></li>\n<li><p>Option 3: </p>\n\n<pre><code>sudo mv -v /usr/share/sounds/ubuntu/stereo/*.ogg {*.disabled}\n</code></pre></li>\n<li><p>Option 4: </p>\n\n<pre><code>man xset\n</code></pre></li>\n</ul>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-09T22:15:48.580", "id": "27962", "postId": "25537", "score": "1", "text": "I've actually already done that, but the Alert bell comes through the audio speakers via pulseaudio, not the on-board PC speaker (which I left unplugged in the case anyway).", "userDisplayName": null, "userId": "913" }, { "creationDate": "2011-02-09T22:18:19.903", "id": "27964", "postId": "25537", "score": "1", "text": "It seems to me that a few releases back this could be controlled via gconf, but I didn't see anything with gconftool-2 or gconf-editor. There is also a pacmd utility for manipulating sound settings, which *seems* like it should be the right tool but I can't discern what sequence of commands would result in toggling that setting. (I tried running `pacmd info` before and after toggling the Alert mute and diffing the output, but didn't see anything relevant.)", "userDisplayName": null, "userId": "913" }, { "creationDate": "2011-02-10T15:23:53.370", "id": "28068", "postId": "25537", "score": "0", "text": "Hmm, it would be nice if the downvoters said why they downvoted so I could \"fix\" the answer...", "userDisplayName": null, "userId": "10458" }, { "creationDate": "2020-10-13T23:19:04.797", "id": "2177828", "postId": "25537", "score": "0", "text": "This makes no difference for the alert event sound on Ubuntu 18.04 with pulseaudio.", "userDisplayName": null, "userId": "3559" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T21:47:10.363", "id": "25537", "lastActivityDate": "2011-02-10T03:23:25.733", "lastEditDate": "2011-02-10T03:23:25.733", "lastEditorDisplayName": null, "lastEditorUserId": "1067", "ownerDisplayName": null, "ownerUserId": "10458", "parentId": "25531", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<ul>\n<li><p>Option 0: (this might be what you were looking for) </p>\n\n<pre><code>sudo su gdm -c \"gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false\"\n</code></pre></li>\n<li><p>Option 1: </p>\n\n<p>Temporary:</p>\n\n<pre><code>sudo modprobe -r pcspkr \...
null
null
null
null
null
25536
1
26867
2011-02-09T21:38:34.687
5
1265
<p>I think I'm having difficulty fully understanding subvolumes and snapshots. The /home partition is btrfs. I want to create a "backup" snapshot of /home/user (for example) but user has existed for years (previously ext4 > btrfs-convert). I believe you can only make a snapshot of a subvolume. I checked and there are no "default" subvolumes already present. </p> <p>1) Is there another way for me to backup /home/user other than creating a subvolume /home/user2 and copying everything from user to user2 in order to snapshot it?</p>
10458
235
2011-10-11T21:12:37.813
2014-03-31T03:43:25.600
Is there another way for me to backup /home/user other than creating a subvolume?
[ "backup", "btrfs" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>It is perfectly reasonable to just snapshot the whole /home if you want /home/user to be backed up. snapshots are relatively cheep. </p>\n\n<pre><code>btrfs snapshot create /home/ /home/snapshot\n</code></pre>\n\n<p>In Btrfs the base unit of a snapshot is the subvolume (/mount-point/ is automatically a subvolume) and you cant snapshot anything smaller. In this case your /home is the smallest thing you can snapshot. You will likely never run into problems with snapshotting all of /home and if someday you do then you're method of creating a subvolume and copying into it will work to. there is a good chance that by then btrfs will be able to create snapshots of plain old directories anyway. </p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-17T19:25:59.580", "id": "26867", "lastActivityDate": "2011-02-17T19:25:59.580", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "11025", "parentId": "25536", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>It is perfectly reasonable to just snapshot the whole /home if you want /home/user to be backed up. snapshots are relatively cheep. </p>\n\n<pre><code>btrfs snapshot create /home/ /home/snapshot\n</code></pre>\n\n<p>In Btrfs the base unit of a snapshot is the subvolume (/mou...
null
null
null
null
null
25538
1
33396
2011-02-09T21:51:26.387
4
209
<p>I've been experiencing this <a href="https://bugs.launchpad.net/ubuntu/maverick/+source/network-manager/+bug/619093" rel="nofollow">perhaps slightly odd bug</a>.</p> <p>It works flawlessly in Lucid, but not in Maverick and Natty. I find it seems to work when I'm booting a partition everyday (as I do for my main 10.10 partition) but for my 11.04 testing partition it's a real pain - usually refusing to connect.</p> <p>I think the problem might be due to the PSK authentication/encryption my router is using, but I don't really know anything about this.</p> <p>So given that I have both a working (10.04) and not-working (10.10 and 11.04) installs, how can I troubleshoot my problem?</p>
866
169736
2013-10-19T13:44:39.947
2013-10-19T13:44:39.947
How to troubleshoot a wireless networking regression?
[ "wireless", "ralink", "debugging" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Determine where the regression is: Test Maverick with the Lucid kernel and vice versa, and also test kernels from the <a href=\"http://kernel.ubuntu.com/~kernel-ppa/mainline/\" rel=\"nofollow\">mainline PPA</a>. If you can make it work in Maverick with an older kernel and break in Lucid with a newer kernel, it's a kernel regression. If not, it's a problem in the userland.</p>\n\n<p>If it is a kernel regression, determine the newest working kernel and then perform a <a href=\"http://www.reactivated.net/weblog/archives/2006/01/using-git-bisect-to-find-buggy-kernel-patches/\" rel=\"nofollow\">git bisection</a> to find the exact commit where it stopped working.</p>\n\n<p>If it is a userland bug you will have to dig into the packages involved with wireless.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-04-04T00:15:22.743", "id": "33396", "lastActivityDate": "2011-04-04T00:15:22.743", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "12435", "parentId": "25538", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>Determine where the regression is: Test Maverick with the Lucid kernel and vice versa, and also test kernels from the <a href=\"http://kernel.ubuntu.com/~kernel-ppa/mainline/\" rel=\"nofollow\">mainline PPA</a>. If you can make it work in Maverick with an older kernel and bre...
null
null
null
null
null
25540
1
25552
2011-02-09T22:26:56.137
4
2497
<p>My suspend did not correctly since I installed a USB 3 extension card in my PC. Instead of going to S3, the computer just woke up instantly. dmesg gave the hint "usb_dev_suspend+0x0/0x20 returns -2" so I rmmod'ed the "xhci_hcd" module which did the trick.</p> <p>Is there a good way for me to work around this? The builds from the Kernel Mainline PPA did not help, unfortunately, and blacklisting the module is not my favorite option. Where is the best place for me to report this issue?</p>
3604
null
null
2019-10-09T09:52:29.963
Suspend fails and I know the module causing it. What can I do?
[ "10.10", "kernel", "suspend", "suspend-resume" ]
4
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-21T18:50:43.157", "id": "30268", "postId": "25540", "score": "0", "text": "more information -> http://askubuntu.com/questions/12139/does-ubuntu-support-usb-3-0", "userDisplayName": null, "userId": "3550" } ]
{ "accepted": true, "body": "<p>This is a known bug: <a href=\"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/522998\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/522998</a></p>\n\n<p>From there:</p>\n\n<blockquote>\n <p>If <code>SUSPEND_MODULES=\"xhci\"</code> is added to <code>/etc/pm/config.d/unload_module</code> then the system can suspend normally. </p>\n</blockquote>\n\n<p>And a comment on there also points at Post #7 of this thread: <a href=\"http://ubuntuforums.org/showthread.php?t=1444822\" rel=\"nofollow\">http://ubuntuforums.org/showthread.php?t=1444822</a></p>\n\n<p>Similar stuff and lots of people saying it works. Hopefully it will.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2019-10-09T07:04:27.717", "id": "1970305", "postId": "25552", "score": "0", "text": "Nowadays we use systemd, so you would put a script in /lib/systemd/system-sleep, see ` man systemd-sleep`", "userDisplayName": null, "userId": "491969" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T23:55:32.050", "id": "25552", "lastActivityDate": "2011-02-09T23:55:32.050", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "449", "parentId": "25540", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>See <a href=\"https://askubuntu.com/questions/2235/how-to-make-hibernate-sleep-work-on-laptops-where-default-setup-isnt-working\">Maco's answer to this question</a>, which outlines how to blacklist (well, remove really) the module when you suspend, then reload it when you res...
null
null
null
null
null
25543
1
25562
2011-02-09T22:47:06.993
9
4483
<p>I just added a disk, with partitions but none of them are mounted. The disk will still spin up every now and then. it goes like this:</p> <pre><code>### disk spins up hdparm -Y /dev/sdb;date /dev/sdb: issuing sleep command 9 feb 2011 23.37.08 CET ### disk spins up hdparm -Y /dev/sdb;date /dev/sdb: issuing sleep command 9 feb 2011 23.46.12 CET </code></pre> <p>Also it always spins up when I shut down the computer.</p> <p>Any tips are welcome, e.g. how can I figure out which process is accessing the disk, are there any daemons doing this? I know it isn't a cron job.</p>
10540
10540
2011-02-09T23:15:49.913
2011-02-10T01:16:36.100
Unmounted disk still spins up regularly
[ "power-management", "disk", "hard-drive", "spindown" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Use -y (standby) instead of -Y (sleep).</p>\n\n<p>It is probably udisks checking the SMART status of the drive. It first checks to see if the drive is in standby and if it is, will skip the SMART check, but just checking to see if the drive is in standby wakes it up from sleep.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-10T12:12:57.613", "id": "28045", "postId": "25562", "score": "1", "text": "Indeed! the disks spins again after a -Y command, this will always wake up the disks: `hdparm -Y /dev/sdb;hdparm -C /dev/sdb`.. So using `hdparm -y /dev/sdb` instead has been working all night..", "userDisplayName": null, "userId": "10540" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T01:16:36.100", "id": "25562", "lastActivityDate": "2011-02-10T01:16:36.100", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "25543", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>Use -y (standby) instead of -Y (sleep).</p>\n\n<p>It is probably udisks checking the SMART status of the drive. It first checks to see if the drive is in standby and if it is, will skip the SMART check, but just checking to see if the drive is in standby wakes it up from sle...
null
null
null
null
null
25545
1
37227
2011-02-09T23:13:47.810
5
2057
<p>I am just wondering, how do I get smooth scrolling in Nautilus? </p>
5011
1067
2011-02-10T03:40:49.933
2012-10-27T16:17:14.703
How to get smooth scrolling in Nautilus?
[ "nautilus" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-02-18T08:23:50.253", "id": "29652", "postId": "25545", "score": "1", "text": "Not answer to your question, but still related: http://brainstorm.ubuntu.com/idea/4849/", "userDisplayName": null, "userId": "10581" }, { "creationDate": "2014-12-31T21:06:45.687...
{ "accepted": true, "body": "<p>This feature is not available in Nautilus, sorry.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-04-30T20:03:53.823", "id": "42441", "postId": "37227", "score": "0", "text": "Hello Roland ! It seems like you are right :)", "userDisplayName": null, "userId": "5011" }, { "creationDate": "2011-04-30T20:05:15.443", "id": "42445", "postId": "37227", "score": "0", "text": "@Vincenzo: lol. It's needed in GTK+ first, then Nautilus will get it automatically.", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-05-01T13:55:52.673", "id": "42649", "postId": "37227", "score": "0", "text": "Just an observation, is smooth scroll available in KDE ?", "userDisplayName": null, "userId": "5011" }, { "creationDate": "2011-05-01T14:11:23.587", "id": "42655", "postId": "37227", "score": "0", "text": "@Vincenzo: Not that I know of.", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-05-01T20:43:44.650", "id": "42782", "postId": "37227", "score": "0", "text": "Thank you Roland. I noticed that Dolphin of KDE 4.5-4.6 works smoother. Perhaps, it a matter of programming platform.", "userDisplayName": null, "userId": "5011" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-04-27T02:09:00.880", "id": "37227", "lastActivityDate": "2011-04-27T02:09:00.880", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1992", "parentId": "25545", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>This feature is not available in Nautilus, sorry.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-04-30T20:03:53.823", "id": "42441", "postId": "37227", "score": "0", "text": "Hello Roland ! It seems lik...
null
null
null
null
null
25546
1
25547
2011-02-09T23:14:44.687
3
312
<p>I am only able to use wireless network while installing Ubuntu right now.</p> <p>The installer says for best results, ensure the computer is connected to the internet. I was wondering if not connected to internet, will there be a problem? Is there some remedy after installation without connection to internet?</p> <p>Thanks!</p>
1471
null
null
2012-12-13T12:39:44.877
Must my laptop connect to internet during installation?
[ "10.10", "installation" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You do not have to have the computer connected to the Internet at that time because you can do your updates right after your installation. It just makes things faster for you when you have it finally up and running.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-12-13T13:10:58.987", "id": "282254", "postId": "25547", "score": "0", "text": "Language packs are downloaded later on (when connection is available).\nWhen you boot up your new ubuntu system you are asked if you want to install missing language and localization packages...", "userDisplayName": null, "userId": "11928" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-09T23:17:47.973", "id": "25547", "lastActivityDate": "2011-02-09T23:17:47.973", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "3344", "parentId": "25546", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>You do not have to have the computer connected to the Internet at that time because you can do your updates right after your installation. It just makes things faster for you when you have it finally up and running.</p>\n", "commentCount": "1", "comments": [ { ...
null
null
null
null
null
25549
1
25563
2011-02-09T23:23:41.603
0
5776
<p>I am installing Ubuntu on the same hard drive as Windows 7.</p> <p>The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. </p> <p>I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right? Is there some consideration regarding about this arrangement?</p> <p>Thanks and regards!</p>
1471
158442
2017-11-16T02:27:10.417
2017-11-16T02:34:08.763
Order of partitions for root, home and swap with respect to Windows partitions
[ "partitioning", "system-installation", "windows-7" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It doesn't matter where your partitions are. You can have root be on a primary or logical partition. You can have root, home, and boot all smushed together on one partition, or micromanage all your folders to different partitions (you might hit a built-in limit for logical partitions (~59?), and you're only allowed four primary). I think you could even have all your partitions running on a networked file share.</p>\n\n<p>I've always partitioned boot as my first logical partition, because I know I'm only going to give it 100 mB. Then I think about making a swap, and usually decide against it. Next I decide how much space I'll give up to root. Finally, I give home the rest of the space. If I'm not dual booting Windows, root gets to be in a primary partition. Everything else gets logical partitions.</p>\n\n<p>See TLDP for more info:</p>\n\n<p><a href=\"http://tldp.org/HOWTO/Partition/intro.html#explanation\" rel=\"nofollow\">http://tldp.org/HOWTO/Partition/intro.html#explanation</a></p>\n\n<p><a href=\"http://tldp.org/HOWTO/Partition/partition-types.html\" rel=\"nofollow\">http://tldp.org/HOWTO/Partition/partition-types.html</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T01:35:24.070", "id": "25563", "lastActivityDate": "2011-02-10T01:35:24.070", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8515", "parentId": "25549", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>The only consideration is that the disk tends to be faster near the start, and slower near the end. The difference isn't likely anything you will notice though.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-...
null
null
null
null
null
25553
1
null
2011-02-09T23:56:22.550
4
5543
<p>Akonadi refuses to start on my fresh installation of KDE 4.6.0 from the <em>kubuntu-backports</em> PPA on Ubuntu 10.10 Maverick Meerkat, preventing me from usking KMail. Here is the full error output:</p> <pre>patches@pleistocene:~/.local/share$ akonadictl start Starting Akonadi Server... done. patches@pleistocene:~/.local/share$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) search paths: ("/home/patches/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") Found mysql_install_db: "/usr/bin/mysql_install_db" Found mysqlcheck: "/usr/bin/mysqlcheck" Database process exited unexpectedly during initial connection! executable: "/usr/sbin/mysqld-akonadi" arguments: ("--defaults-file=/home/patches/.local/share/akonadi//mysql.conf", "--datadir=/home/patches/.local/share/akonadi/db_data/", "--socket=/home/patches/.local/share/akonadi/socket-pleistocene/mysql.socket") stdout: "" stderr: "Could not open required defaults file: /home/patches/.local/share/akonadi//mysql.conf Fatal error in defaults handling. Program aborted 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld-akonadi: Can't find file: './mysql/plugin.frm' (errno: 13) 110209 16:41:12 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 110209 16:41:12 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. " exit code: 1 process error: "Unknown error" "[ 0: akonadiserver(_Z11akBacktracev+0x35) [0x8086055] 1: akonadiserver() [0x8086516] 2: [0xb772e400] 3: [0xb772e416] 4: /lib/libc.so.6(gsignal+0x51) [0xb6e9f941] 5: /lib/libc.so.6(abort+0x182) [0xb6ea2e42] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8c) [0xb74d62dc] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc4) [0x8087574] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb757168e] 9: /usr/lib/libQtCore.so.4(+0x103425) [0xb7581425] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb758295d] 11: akonadiserver(_ZN6QDebugD1Ev+0x43) [0x8081b73] 12: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x1c27) [0x810c177] 13: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xe3) [0x8087a23] 14: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xca) [0x8088b6a] 15: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x48) [0x808a1d8] 16: akonadiserver(main+0x364) [0x8080fb4] 17: /lib/libc.so.6(__libc_start_main+0xe7) [0xb6e8bce7] 18: akonadiserver() [0x8080b81] ] " ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error) search paths: ("/home/patches/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") Found mysql_install_db: "/usr/bin/mysql_install_db" Found mysqlcheck: "/usr/bin/mysqlcheck" Database process exited unexpectedly during initial connection! executable: "/usr/sbin/mysqld-akonadi" arguments: ("--defaults-file=/home/patches/.local/share/akonadi//mysql.conf", "--datadir=/home/patches/.local/share/akonadi/db_data/", "--socket=/home/patches/.local/share/akonadi/socket-pleistocene/mysql.socket") stdout: "" stderr: "Could not open required defaults file: /home/patches/.local/share/akonadi//mysql.conf Fatal error in defaults handling. Program aborted 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld-akonadi: Can't find file: './mysql/plugin.frm' (errno: 13) 110209 16:41:12 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 110209 16:41:12 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. " exit code: 1 process error: "Unknown error" "[ 0: akonadiserver(_Z11akBacktracev+0x35) [0x8086055] 1: akonadiserver() [0x8086516] 2: [0xb77ae400] 3: [0xb77ae416] 4: /lib/libc.so.6(gsignal+0x51) [0xb6f1f941] 5: /lib/libc.so.6(abort+0x182) [0xb6f22e42] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8c) [0xb75562dc] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc4) [0x8087574] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb75f168e] 9: /usr/lib/libQtCore.so.4(+0x103425) [0xb7601425] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb760295d] 11: akonadiserver(_ZN6QDebugD1Ev+0x43) [0x8081b73] 12: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x1c27) [0x810c177] 13: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xe3) [0x8087a23] 14: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xca) [0x8088b6a] 15: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x48) [0x808a1d8] 16: akonadiserver(main+0x364) [0x8080fb4] 17: /lib/libc.so.6(__libc_start_main+0xe7) [0xb6f0bce7] 18: akonadiserver() [0x8080b81] ] " ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error) search paths: ("/home/patches/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") Found mysql_install_db: "/usr/bin/mysql_install_db" Found mysqlcheck: "/usr/bin/mysqlcheck" Database process exited unexpectedly during initial connection! executable: "/usr/sbin/mysqld-akonadi" arguments: ("--defaults-file=/home/patches/.local/share/akonadi//mysql.conf", "--datadir=/home/patches/.local/share/akonadi/db_data/", "--socket=/home/patches/.local/share/akonadi/socket-pleistocene/mysql.socket") stdout: "" stderr: "Could not open required defaults file: /home/patches/.local/share/akonadi//mysql.conf Fatal error in defaults handling. Program aborted 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld-akonadi: Can't find file: './mysql/plugin.frm' (errno: 13) 110209 16:41:12 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 110209 16:41:12 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. " exit code: 1 process error: "Unknown error" "[ 0: akonadiserver(_Z11akBacktracev+0x35) [0x8086055] 1: akonadiserver() [0x8086516] 2: [0xb778b400] 3: [0xb778b416] 4: /lib/libc.so.6(gsignal+0x51) [0xb6efc941] 5: /lib/libc.so.6(abort+0x182) [0xb6effe42] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8c) [0xb75332dc] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc4) [0x8087574] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb75ce68e] 9: /usr/lib/libQtCore.so.4(+0x103425) [0xb75de425] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb75df95d] 11: akonadiserver(_ZN6QDebugD1Ev+0x43) [0x8081b73] 12: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x1c27) [0x810c177] 13: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xe3) [0x8087a23] 14: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xca) [0x8088b6a] 15: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x48) [0x808a1d8] 16: akonadiserver(main+0x364) [0x8080fb4] 17: /lib/libc.so.6(__libc_start_main+0xe7) [0xb6ee8ce7] 18: akonadiserver() [0x8080b81] ] " ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error) search paths: ("/home/patches/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin") Found mysql_install_db: "/usr/bin/mysql_install_db" Found mysqlcheck: "/usr/bin/mysqlcheck" Database process exited unexpectedly during initial connection! executable: "/usr/sbin/mysqld-akonadi" arguments: ("--defaults-file=/home/patches/.local/share/akonadi//mysql.conf", "--datadir=/home/patches/.local/share/akonadi/db_data/", "--socket=/home/patches/.local/share/akonadi/socket-pleistocene/mysql.socket") stdout: "" stderr: "Could not open required defaults file: /home/patches/.local/share/akonadi//mysql.conf Fatal error in defaults handling. Program aborted 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Warning] Can't create test file /home/patches/.local/share/akonadi/db_data/pleistocene.lower-test 110209 16:41:12 [Note] Plugin 'FEDERATED' is disabled. /usr/sbin/mysqld-akonadi: Can't find file: './mysql/plugin.frm' (errno: 13) 110209 16:41:12 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 110209 16:41:12 InnoDB: Operating system error number 13 in a file operation. InnoDB: The error means mysqld does not have the access rights to InnoDB: the directory. InnoDB: File name ./ibdata1 InnoDB: File operation call: 'create'. InnoDB: Cannot continue operation. " exit code: 1 process error: "Unknown error" "[ 0: akonadiserver(_Z11akBacktracev+0x35) [0x8086055] 1: akonadiserver() [0x8086516] 2: [0xb784e400] 3: [0xb784e416] 4: /lib/libc.so.6(gsignal+0x51) [0xb6fbf941] 5: /lib/libc.so.6(abort+0x182) [0xb6fc2e42] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8c) [0xb75f62dc] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc4) [0x8087574] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb769168e] 9: /usr/lib/libQtCore.so.4(+0x103425) [0xb76a1425] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb76a295d] 11: akonadiserver(_ZN6QDebugD1Ev+0x43) [0x8081b73] 12: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x1c27) [0x810c177] 13: akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xe3) [0x8087a23] 14: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xca) [0x8088b6a] 15: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x48) [0x808a1d8] 16: akonadiserver(main+0x364) [0x8080fb4] 17: /lib/libc.so.6(__libc_start_main+0xe7) [0xb6fabce7] 18: akonadiserver() [0x8080b81] ] " ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error) "akonadiserver" crashed too often and will not be restarted! </pre> <p>I tried moving the ~/.local/share/akonadi folder and running it fresh, and I also tried starting Akonadi from a brand new user, all to no avail.</p> <p><strong>Requested by @djeikyb:</strong></p> <pre>patches@pleistocene:~$ ls -ld ~/.local drwxrwx--- 3 patches patches 4096 2011-02-07 03:15 /home/patches/.local patches@pleistocene:~$ mysql_upgrade Looking for 'mysql' as: mysql Looking for 'mysqlcheck' as: mysqlcheck Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect FATAL ERROR: Upgrade failed patches@pleistocene:~$ mysql_upgrade -S ~/.local/share/akonadi/socket-pleistocene/ Looking for 'mysql' as: mysql Looking for 'mysqlcheck' as: mysqlcheck Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/patches/.local/share/akonadi/socket-pleistocene/' mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/home/patches/.local/share/akonadi/socket-pleistocene/' (111) when trying to connect FATAL ERROR: Upgrade failed</pre>
10546
10546
2011-02-10T01:33:16.553
2015-09-30T02:34:13.707
Why does Akonadi on KDE 4.6.0 refuse to start?
[ "10.10", "kde", "kubuntu", "kmail" ]
5
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T00:57:14.230", "id": "27975", "postId": "25553", "score": "0", "text": "At a glance it looks like a permissions issue. I'm looking at those \"can't create test file\" warnings, and the InnoDB message. Did you do what the errors said and run `mysql_upgrade`? Can you ...
null
[ { "accepted": null, "body": "<p>Try (also) the following:</p>\n\n<p>K -> System Settings -> Startup and Shutdown. </p>\n\n<p>In the Autostart tab, choose \"Add Program\" and feed in the \"akonadictl start\" command.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-03-...
null
null
null
null
null
25555
1
25557
2011-02-10T00:36:10.730
4
1864
<p>Where should I put my script in my home directory so that I can access it from any directory? </p> <p>I've tried:</p> <pre><code>o@s:~/$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games </code></pre> <p>But it seems there is no /home/user/ path. The thing is that I'd like only my user to have access to it so putting it in another directory than my home folder is not an option. Should I add something like /home/user/scripts/ to my PATH variable? If so, what's the recommended way to do it... Should I put it in my ~/.bashrc?</p>
2331
null
null
2011-02-10T00:46:39.620
Is there a folder in my home directory where I should put my scripts so they are available from any directory?
[ "command-line", "bash" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I add <code>PATH=/home/djeikyb/bin:$PATH</code> to my <code>.bashrc</code>, and keep all my scripts in <code>~/bin</code>.</p>\n\n<p>I think $PATH has greater-smaller::left-right precedence, so I put my personal bin folder first. I use a folder called \"bin\" because all the other program files are in folders called bin. And I even have a couple actual binaries in mine ;p</p>\n\n<p>Don't forget to reload your bashrc to make changes take effect: <code>$. ~/.bashrc</code></p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T00:58:03.270", "id": "27976", "postId": "25557", "score": "1", "text": "Works perfectly. I did PATH=~/bin:$PATH though, a bit cleaner ;)", "userDisplayName": null, "userId": "2331" }, { "creationDate": "2011-02-10T08:04:13.943", "id": "28006", "postId": "25557", "score": "3", "text": "The default `~/.profile` already adds `~/bin` to `PATH`, though only if `~/bin` exists when you log in. And yes, it is read left to right when looking for a command. The first command by the name it is looking for, that it finds, gets executed.", "userDisplayName": null, "userId": "9016" }, { "creationDate": "2011-06-24T13:00:20.250", "id": "55989", "postId": "25557", "score": "3", "text": "You don't have to hardcode your username, the following works too: `PATH=\"$HOME/bin:$PATH\"`", "userDisplayName": null, "userId": "8973" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T00:46:39.620", "id": "25557", "lastActivityDate": "2011-02-10T00:46:39.620", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8515", "parentId": "25555", "postTypeId": "2", "score": "9" }
[ { "accepted": true, "body": "<p>I add <code>PATH=/home/djeikyb/bin:$PATH</code> to my <code>.bashrc</code>, and keep all my scripts in <code>~/bin</code>.</p>\n\n<p>I think $PATH has greater-smaller::left-right precedence, so I put my personal bin folder first. I use a folder called \"bin\" because all the ...
null
null
null
null
null
25556
1
25825
2011-02-10T00:42:27.917
5
14397
<p>I want to execute bash script on startup that opens several terminals in different workspaces. Script works just fine if I call it from terminal, but it doesn't work if executed from crontab using @reboot:</p> <pre><code>#!/usr/bin/env bash #1 make sure we have enough workspaces gconftool-2 --set -t int /apps/metacity/general/num_workspaces 7 #2. Launch programs in these terminals wmctrl -s 6 gnome-terminal --full-screen --execute bash -c "tmux attach; bash" wmctrl -s 5 gnome-terminal --full-screen --execute bash -c "weechat-curses; bash" wmctrl -s 4 gnome-terminal --full-screen --execute bash -c "export TERM=xterm-256color; mutt; bash" wmctrl -s 3 gnome-terminal --full-screen wmctrl -s 2 gnome-terminal --full-screen wmctrl -s 1 gnome-terminal --full-screen wmctrl -s 0 google-chrome --start-maximized </code></pre> <p>I think it's because crontab job triggers before desktop environment is loaded...maybe...? How can I execute this script after desktop environment is loaded? thanks:)</p> <p><strong>Update 1:</strong></p> <p>i've started it from crontab initially like this:</p> <pre><code>@reboot $HOME/andreiscripts/startup.sh &gt;&gt; $HOME/andreiscripts/testlog.txt 2&gt;&amp;1 </code></pre> <p>and was getting these errors:</p> <pre><code>Cannot open display. Failed to parse arguments: Cannot open display: Cannot open display. Failed to parse arguments: Cannot open display: Cannot open display. ..... </code></pre> <p><strong>Update 2</strong></p> <p>I've tried to launch script from System > Preferences > Startup Applications</p> <pre><code>/home/andrei/andreiscripts/startup.sh &gt;&gt; /home/andrei/Desktop/out.txt 2&gt;&amp;1 </code></pre> <p>but script only opened first gnome-terminal in workspace 6... and wouldn't continue executing the rest of the script until I close that gnome-terminal and so on....</p> <p><strong>Update 3 - success</strong></p> <p><strong>Look for my answer below to see the script that worked in the end.</strong></p>
6082
6082
2011-02-12T00:08:21.607
2011-02-12T00:08:21.607
execute script after desktop loaded?
[ "bash", "command-line", "cron", "crontab" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T06:43:02.430", "id": "27997", "postId": "25556", "score": "0", "text": "Can you also paste in your crontab entry?", "userDisplayName": null, "userId": "8844" }, { "creationDate": "2011-02-11T23:22:00.927", "id": "28398", "postId": "25556", ...
{ "accepted": true, "body": "<p>Try this:</p>\n\n<pre><code>sh -c /home/andrei/andreiscripts/startup.sh &gt;&gt; /home/andrei/Desktop/out.txt 2&gt;&amp;1\n</code></pre>\n\n<p>That should work. I've run into this same problem and running my script with sh fixed it.</p>\n\n<p>Also, you may want to delay it for 5 or 10 seconds so everything else can load. To do this, go to ~/.config/autostart, find your new entry, open it with a text editor, and add the line:</p>\n\n<pre><code>X-GNOME-Autostart-Delay=5\n</code></pre>\n\n<p>The number is in seconds. The same thing can be achieved with the \"sleep\" cmd, but this is cleaner (it spawns no new processes).</p>\n\n<p>I've also run into problems trying to run shell scrips at startup running multiple commands that spawn multiple instances of programs like yours. The only solution I could come up with was to add an \"&amp;\" to the end of each command. If \"sh -c\" doesn't work try that.</p>\n\n<p>There are other possibilities too, if you still haven't got it working maybe we can try something else :)</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-11T17:37:57.533", "id": "28327", "postId": "25825", "score": "0", "text": "thanks. tried adding sh -c - once again - only 1-st gnome terminal opens. second one waits for that first one to be closed and so one for each terminal.... gonna try & right now..", "userDisplayName": null, "userId": "6082" }, { "creationDate": "2011-02-11T17:46:03.390", "id": "28329", "postId": "25825", "score": "0", "text": "ok.. if I add & to the end of each command or just gnome-terminal comands - all terminals open up in single workspace:)", "userDisplayName": null, "userId": "6082" }, { "creationDate": "2011-02-11T20:56:31.650", "id": "28365", "postId": "25825", "score": "0", "text": "ok - i finally got it to work using & and sleep function :) yeahh.", "userDisplayName": null, "userId": "6082" }, { "creationDate": "2011-02-13T10:54:53.267", "id": "28645", "postId": "25825", "score": "0", "text": "Good! I wasn't sure which would work. The & just tells it to keep processing the next command, regardless of the state of the last cmd. Autostarting scripts seems to work differently than when running scripts normally...haven't quite nailed down why yet :)", "userDisplayName": null, "userId": "1910" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-11T14:40:43.690", "id": "25825", "lastActivityDate": "2011-02-11T14:40:43.690", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1910", "parentId": "25556", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>Try System > Preferences > Startup Applications. You should be able to add an entry for your bash script. These applications are started as part of the post-login desktop load process.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02...
null
null
null
null
null
25560
1
null
2011-02-10T01:01:13.033
15
6961
<p>I have a server with multiple users which each have multiple authorized SSH keys. Is there any effective way (command line utility?) to keep track of which key belongs to who and to quickly remove/add keys (apart from ssh-copy-id)?</p>
2331
169736
2014-04-07T18:58:47.553
2019-04-16T12:25:35.053
How do you manage SSH keys?
[ "ssh" ]
4
5
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T05:32:14.433", "id": "27995", "postId": "25560", "score": "1", "text": "shell scripts can easily track login times from logs and manipulate the files in .ssh...I know that's not what you are looking for, so it's a comment not an answer", "userDisplayName": null,...
null
[ { "accepted": null, "body": "<p>You can use the last part of each lines in <code>.ssh/authorized_keys</code> is intended for comments. From <code>man sshd</code>: </p>\n\n<blockquote>\n <p>Protocol 1 public keys consist of the\n following space-separated fields:\n options, bits, exponent, modulus,\n com...
null
null
null
null
null
25564
1
25570
2011-02-10T01:37:14.773
9
16166
<p>Back in 2006, Ray (3DLover) posted the same question in: <a href="http://ubuntuforums.org/showthread.php?t=309680">http://ubuntuforums.org/showthread.php?t=309680</a> but none of the answers were really useful. Now with a little help from AskUbuntu community, I would like to repeat his question again to see if this time it can be answered correctly.</p> <p>So this is the question (and what I wish too):</p> <blockquote> <p>I'm looking for a UI tool for managing partitions in a console. I have installed Ubuntu Server, so I don't have X Windows at all. fdisk and sfdisk are entirely command line. parted is slightly better, but it's not really a UI. cfdisk has somewhat of a UI, but it only works on one disk at a time, and there's no advanced options like configuring LVM or RAID. Just partitioning.</p> <p>I love the partition tool that is available during the OS install procedure. You can partition, configure RAID's and LMV sets. It can format the partitions with several different file systems, it can set labels, mount options and it can insert your volumes into your fstab. Is this tool available as a stand-alone program? I can't find it anywhere. I think it's called parted_server, but I can't find much information about where to get it.</p> <p>In the past, I have run the Ubuntu install procedure just to use the partition manager that comes with it. (canceling the install after making my partition edits)</p> <p>Anyone help me on this? Thanks</p> <p>-Ray</p> </blockquote> <p>Thanks in advance.</p> <p>[<strong>Update</strong>] Use Case:</p> <p>I manage some servers (dedicated rental service) in which I have no physical access to them (so no CD option) with multiple HDDs. I would like to be able to manage those drives (partition, RAID, LMV, etc), in exactly the same way I do when I install Ubuntu Server Edition in any other server (using the installation CD). </p> <p>The installation CDs comes with that application, and I'm sure there should be a way to be able to install and execute that application in a running system (without requiring the CDs).</p>
8747
8747
2012-02-20T02:23:42.633
2019-11-25T08:21:07.797
Partition tool with console UI (as in server installation)?
[ "server", "partitioning", "console" ]
2
2
CC BY-SA 3.0
[ { "creationDate": "2012-02-17T22:16:50.087", "id": "121780", "postId": "25564", "score": "0", "text": "So your asking for an ncurses gui that does everything the ubiquity installer does? Have you tried / used the debian installer (it's on the alternative ubuntu cd's)", "userDisplayName": nul...
{ "accepted": true, "body": "<p>Aha. Re-reading your post I see you mention what you think is the name of the utility, *parted_server*. A little googling for terms like 'parted_server, ubuntu server, ubuntu install partition program' and eventually I turn up <a href=\"https://help.ubuntu.com/6.10/ubuntu/installation-guide/ia64/partition-programs.html\">this ancient page</a>. It says the Ubuntu 6.10 installer uses <code>partman</code>. One google later I find partman is still the de facto Ubuntu installer partitioner, and is inextricably bundled with the <code>ubiquity</code> package. A reluctant <code>apt-get install ubiquity</code> later and partman is ready to run. It takes several seconds for partman to start, and I don't know how stable it is running outside of the install environment.</p>\n\n<p>I downloaded the <a href=\"https://help.ubuntu.com/10.10/serverguide/C/advanced-installation.html\">source for ubiquity</a> thinking maybe I could yoink partman out. Haven't gotten very far, but I haven't tried too hard either. (Not a programmer, just a former <a href=\"http://slackware.com\">slacker</a>.)</p>\n\n<p>Sounds like you know what you're doing, but thought I'd link to the <a href=\"https://help.ubuntu.com/10.10/serverguide/C/advanced-installation.html\">Maverick manual partitioning guide</a> for less experienced eyes.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-14T02:23:54.053", "id": "28811", "postId": "25570", "score": "0", "text": "Thank you djeikyb for you answer but it is not what I'm asking for. I know many things can be done from command, but I really like that installation partition tool. \nI'm hoping someone knows a way to run it without having to use the installation disk (as I would like to use it remotely). \nAlso, it is not just about RAID, but LVM, format options, file systems, labeling, and all the options that tool provides. \nThank you anyway.", "userDisplayName": null, "userId": "8747" }, { "creationDate": "2011-03-17T23:56:44.437", "id": "34574", "postId": "25570", "score": "0", "text": "@lepe How's that for an overhaul? Also, haven't tested partman much, seeing as I have no RAID or LVM.", "userDisplayName": null, "userId": "8515" }, { "creationDate": "2012-02-20T02:36:17.187", "id": "122824", "postId": "25570", "score": "0", "text": "I owe you an apology. I think I misread your answer the first time and I didn't re-read it after you edited it. Actually your answer is exactly what I was looking for. \"partman\" is the application that is used during installation, and as you commented it seems quite unstable outside the installation environment. I just installed ubiquity and ran partman and there it was. However it looks garbed (not showing some parts correctly). I think I can let my question to rest now. Thanks for your answer!", "userDisplayName": null, "userId": "8747" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T03:10:57.873", "id": "25570", "lastActivityDate": "2011-02-14T16:17:56.780", "lastEditDate": "2011-02-14T16:17:56.780", "lastEditorDisplayName": null, "lastEditorUserId": "8515", "ownerDisplayName": null, "ownerUserId": "8515", "parentId": "25564", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>Aha. Re-reading your post I see you mention what you think is the name of the utility, *parted_server*. A little googling for terms like 'parted_server, ubuntu server, ubuntu install partition program' and eventually I turn up <a href=\"https://help.ubuntu.com/6.10/ubuntu/ins...
null
null
null
null
null
25565
1
25568
2011-02-10T01:50:39.567
2
632
<p>I've tried and tried, but I just can't seem to find gnomad2 ( <a href="http://ubuntuforums.org/showthread.php?t=93810" rel="nofollow">http://ubuntuforums.org/showthread.php?t=93810</a> ) in the Ubuntu repositories. I've already enabled all the "categories" in Software Sources (except Source Code), and I've "reloaded" (<code>apt-get update</code>) the repositories several times already. I feel like I'm doing something really stupid though...</p>
4357
null
null
2011-02-10T02:25:17.387
Why can't I find gnomad2 in the repositories?
[ "10.10", "repository" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>This was <a href=\"http://packages.qa.debian.org/g/gnomad2/news/20100623T100721Z.html\" rel=\"nofollow\">removed from Debian</a> (and subsequently Ubuntu) for the following reasons:</p>\n\n<blockquote>\n <p>ROM; buggy, obsolete, abandoned upstream</p>\n</blockquote>\n\n<p>A glance at the <a href=\"http://gnomad2.sourceforge.net/\" rel=\"nofollow\">project's home page</a> doesn't really show any activity since 2008. Perhaps it might be useful to ask a question on how to get your specific hardware to work, maybe some other tool has the support you need.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-10T03:28:59.937", "id": "27983", "postId": "25568", "score": "0", "text": "Thanks. One thing though... What does \"ROM\" stand for? It seems like \"Reason of Removal\"...", "userDisplayName": null, "userId": "4357" }, { "creationDate": "2011-02-10T03:30:06.893", "id": "27984", "postId": "25568", "score": "0", "text": "No clue what that means, I'll ask around and update my question.", "userDisplayName": null, "userId": "235" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T02:25:17.387", "id": "25568", "lastActivityDate": "2011-02-10T02:25:17.387", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "235", "parentId": "25565", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>This was <a href=\"http://packages.qa.debian.org/g/gnomad2/news/20100623T100721Z.html\" rel=\"nofollow\">removed from Debian</a> (and subsequently Ubuntu) for the following reasons:</p>\n\n<blockquote>\n <p>ROM; buggy, obsolete, abandoned upstream</p>\n</blockquote>\n\n<p>A ...
null
null
null
null
null
25566
1
74862
2011-02-10T02:12:44.230
3
446
<p>In the past, I could compose an e-mail in Thunderbird, and in the TO field write</p> <p>"icecream"</p> <p>and then my contact john@the <strong>icecream</strong> factory.com - to given an example - would show up.</p> <p>Not anymore. TB only looks for names and the first part of e-mail addresses. Any idea what can be done?</p> <p>Using Ubuntu 10.10, TB 3.1.7.</p>
null
null
null
2011-11-02T17:30:42.360
Thunderbird autofill: also look for domain names
[ "thunderbird" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>There is currently no way to do this. Thunderbird's autocompletion can only match the beginning of each field of the contacts in your address book.</p>\n\n<p>A <a href=\"https://bugzilla.mozilla.org/show_bug.cgi?id=558931\" rel=\"nofollow\">bug has been reported</a> and <a href=\"http://getsatisfaction.com/mozilla_messaging/topics/auto_complete_of_addresses_with_substring#reply_3323651\" rel=\"nofollow\">there are plans for improvement</a>, but no solution has yet been released.</p>\n\n<p>Note that there are some cases in which it may <em>look</em> like Thunderbird is performing substring matching, when really it is still just matching the beginning of other fields. For example, if you had the following contact in your address book,</p>\n\n<blockquote>\n <p><strong>Email:</strong> john@theicecreamfactory.com<br>\n <strong>Work Organization:</strong> Icecream Factory</p>\n</blockquote>\n\n<p>typing <code>icecream</code> in the To field would autocomplete to <code>john@theicecreamfactory.com</code>, but only because it matches the beginning of <code>Icecream Factory</code>. This behavior may be what you remember seeing in the past.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-11-02T20:45:21.413", "id": "84829", "postId": "74862", "score": "0", "text": "Thanks, too bad there is no solution. Will upvote the bug...", "userDisplayName": "user6019", "userId": null } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-11-02T17:30:42.360", "id": "74862", "lastActivityDate": "2011-11-02T17:30:42.360", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1859", "parentId": "25566", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>There is currently no way to do this. Thunderbird's autocompletion can only match the beginning of each field of the contacts in your address book.</p>\n\n<p>A <a href=\"https://bugzilla.mozilla.org/show_bug.cgi?id=558931\" rel=\"nofollow\">bug has been reported</a> and <a hr...
null
null
null
null
user6019
25573
1
25583
2011-02-10T04:21:44.000
2
4267
<p>I am trying to install Oracle on my 32-bit machine that runs Ubuntu 10.4. I am following <a href="http://www.pythian.com/news/13291/installing-oracle-11gr2-enterprise-edition-on-ubuntu-10-04-lucid-lynx/" rel="nofollow">install Oracle on Ubuntu</a> tutorial. At the very first step there is a requirement to manually install library libstdc++5. Author does 2 steps:</p> <ol> <li>download libstdc++5_3.3.6-17ubuntu1_amd64.deb from <a href="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/" rel="nofollow">here</a></li> <li>download ia32-libs_2.7ubuntu6.1_amd64.deb from <a href="http://security.ubuntu.com/ubuntu/pool/universe/i/ia32-libs/" rel="nofollow">here</a></li> </ol> <p>As you may have probably noticed these 2 files contain an "_amd64" postfix, which pointed me out that author is using 64-bit amd processor. Each of these files author copied to /usr/lib64 and /usr/lib32 folders correspondingly and simply make soft links libstdc++.so.5 in both folders. </p> <p>Since I am running 32-bit machine I have simply downloaded those 2 files without "_amd64" postfix.</p> <p>Unexpectedly for me I have also found 2 lib folders in my /usr folder: /usr/lib64 and /usr/lib. </p> <p>So here is my problem: I do not understand which files and where do I have to copy:</p> <p>1) Do I have to make the same steps as the author has done, i.e. download files with "_amd64" postfixes and place them in my /usr/lib64 and /usr/lib folders?</p> <p>2) Or do I have to use libraries without "_amd64" postfix?</p> <p>And one more question: why do I have /usr/lib64 at all?</p>
10552
10552
2011-02-10T04:46:42.493
2011-07-22T13:25:50.543
Why do I need lib64 on my 32 bit machine?
[ "64-bit", "32-bit", "libraries", "shared-library" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The answer is partial and consists of 3 parts</p>\n\n<p>Part 1. Regarding machines with AMD64 processors</p>\n\n<p>What does the author of the tutorial do is:</p>\n\n<ol>\n<li>He uses native libstdc++5_3.3.6-17ubuntu1_amd64.deb library for his machine with AMD64 processor </li>\n<li>And additionally ia32-libs_2.7ubuntu6.1_amd64.deb that, as I may suppose, <em>emulates</em> library for IA-32 architecture and is used for AMD64 processors</li>\n</ol>\n\n<p>Why does he make second step is not clear. Any comments are highly appreciated.</p>\n\n<p>Part 2. Regarding machines with intel 32-bit processors (i386/i686)</p>\n\n<p><em>Most probably</em> in case of intel 32-bit machines and Ubuntu 10.4 installed on it the only one library (libstdc++5_3.3.6-20~lucid1_i386.deb, <em>note at the moment of writing the version is higher</em>) is necessary and it has to be placed in /usr/lib directory </p>\n\n<p>Part 3. Why there is lib64 on 32-bit machine is still not clear, any comments are highly appreciated.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-04-11T12:12:28.983", "id": "38472", "postId": "25583", "score": "2", "text": "it seems that tutorial is actually for amd64 arch as with ia32-libs is only for amd64 arch to be able to use i386 libraries/runnables. In your place i would install newer libstdc++ and try to run appropriate Oracle installation for i386 arch. On the other hand i should not that I see no advantage to use i386 linux at the time of writing.", "userDisplayName": null, "userId": "5146" }, { "creationDate": "2011-04-11T16:06:35.023", "id": "38536", "postId": "25583", "score": "0", "text": "The only advantage that will remain for quite a while is \"I have a perfectly working 32-bit processor and no willingness to upgrade it\"", "userDisplayName": null, "userId": "186" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T05:51:45.773", "id": "25583", "lastActivityDate": "2011-02-10T05:51:45.773", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "10552", "parentId": "25573", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>The answer is partial and consists of 3 parts</p>\n\n<p>Part 1. Regarding machines with AMD64 processors</p>\n\n<p>What does the author of the tutorial do is:</p>\n\n<ol>\n<li>He uses native libstdc++5_3.3.6-17ubuntu1_amd64.deb library for his machine with AMD64 processor </l...
null
null
null
null
null
25575
1
25579
2011-02-10T04:33:36.413
2
1316
<p>I really like multiplayer racing games, like Need for Speed World or similar.</p> <p>I wonder if there is any MMO racing game for Ubuntu (2D or 3D). Browser-based games are also accepted.</p> <p><strong>Note:</strong></p> <p>I tried this question in the Gaming Q&amp;A of StackExchange (see link below), but one user said that my question was off-topic.</p> <p><a href="https://gaming.stackexchange.com/questions/16329/racing-mmo-for-linux-2d-or-3d-massively-multiplayer-online-racing-games">https://gaming.stackexchange.com/questions/16329/racing-mmo-for-linux-2d-or-3d-massively-multiplayer-online-racing-games</a></p>
8026
-1
2017-04-13T12:10:05.010
2014-01-03T22:12:43.797
Racing MMO - 2D or 3D - Massively Multiplayer Online Racing Games
[ "software-recommendation", "games" ]
1
1
CC BY-SA 3.0
[ { "creationDate": "2014-11-25T14:39:34.417", "id": "759228", "postId": "25575", "score": "0", "text": "This particular genre has only one possible answer until now and, thus, this question is not too broad.", "userDisplayName": null, "userId": "8026" } ]
{ "accepted": true, "body": "<p>The only native MMO close to racing is <a href=\"http://www.dark-wind.com/\" rel=\"nofollow\">Darkwind: War on Wheels</a>.</p>\n\n<blockquote>\n <p>Darkwind: War on Wheels is an independently developed 3D turn based racing and vehicle combat massively multiplayer online game (MMOG) for Windows, Mac OS X and Linux. It is inspired by the tabletop game Car Wars and the Mad Max movies, but set in its own original universe.</p>\n</blockquote>\n\n<p>Also you can try other racing MMOGs in wine. (p.s. nfs world doesn't work)</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-10T11:58:54.367", "id": "28039", "postId": "25579", "score": "1", "text": "+1 Excellent answer! You've found the impossible!", "userDisplayName": null, "userId": "8026" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-10T05:16:24.633", "id": "25579", "lastActivityDate": "2011-04-26T15:30:01.570", "lastEditDate": "2011-04-26T15:30:01.570", "lastEditorDisplayName": null, "lastEditorUserId": "5149", "ownerDisplayName": null, "ownerUserId": "5149", "parentId": "25575", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>The only native MMO close to racing is <a href=\"http://www.dark-wind.com/\" rel=\"nofollow\">Darkwind: War on Wheels</a>.</p>\n\n<blockquote>\n <p>Darkwind: War on Wheels is an independently developed 3D turn based racing and vehicle combat massively multiplayer online game...
null
null
2014-01-06T09:50:44.560
null
null
25581
1
25586
2011-02-10T05:27:10.557
3
1866
<p>Basically, I have a quad-monitor wallpaper that I want to stretch across all of my workspaces (1 monitor), I have compiz manager installed, but can't seem to get the single image to fill the entire cube. How should I go about this?</p>
10556
null
null
2011-02-10T06:40:01.987
How can I have 1 image stretch across multiple workspaces?
[ "compiz", "appearance", "desktop-background" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>This could be accomplished by splitting the image into four different images and adding a different one on each desktop.</p>\n\n<p>You could use a variety of different things to split the images. Using ImageMagick:</p>\n\n<ol>\n<li>Open a terminal</li>\n<li>If ImageMagick isn't installed yet, install it: <code>sudo apt-get install imagemagick</code></li>\n<li>Split it! <code>convert imagename.png -crop 25%x100% imagename-%02d.png</code></li>\n</ol>\n\n<p>25% was used above based on a setup of four desktops. If you have a different number use 100/#ofDesktops</p>\n\n<p>Now, setup the compiz plugin to use them:</p>\n\n<ol>\n<li>System --> Preferences --> CompizConfig Settings Manager</li>\n<li>Enable \"Desktop Cube\"</li>\n<li>Select \"Desktop Cube\" and go to the \"Appearance\" tab</li>\n<li>\"Add\" the images you created above under \"Background Images\"</li>\n<li>Make sure they are ordered correctly</li>\n</ol>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-02-10T07:33:11.910", "id": "28002", "postId": "25586", "score": "0", "text": "I tried that, but nothing happens. I disabled showDesktop in nautilus, but I just get all black transparent wallpapers.", "userDisplayName": null, "userId": "10556" }, { "creationDate": "2011-02-10T19:41:49.007", "id": "28126", "postId": "25586", "score": "0", "text": "@BBetances Are the images themselves outputted blank when they are split? or are they just not being displayed correctly?", "userDisplayName": null, "userId": "10545" }, { "creationDate": "2011-02-12T08:12:29.020", "id": "28431", "postId": "25586", "score": "0", "text": "They split up fine, but the wallpaper doesn't render. I gave up for now due to other things, but I'll give it another shot this week.", "userDisplayName": null, "userId": "10556" }, { "creationDate": "2011-03-05T06:49:04.623", "id": "32365", "postId": "25586", "score": "0", "text": "You need to use the wallpaper plugin instead of the cube's wallpaper option. I don't know why cube ever gained this feature and it has since been removed in compiz 0.9.x releases.", "userDisplayName": null, "userId": "2178" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T06:40:01.987", "id": "25586", "lastActivityDate": "2011-02-10T06:40:01.987", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "10545", "parentId": "25581", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>This could be accomplished by splitting the image into four different images and adding a different one on each desktop.</p>\n\n<p>You could use a variety of different things to split the images. Using ImageMagick:</p>\n\n<ol>\n<li>Open a terminal</li>\n<li>If ImageMagick isn...
null
null
null
null
null
25585
1
25711
2011-02-10T06:32:06.160
2
417
<p>Is it Possible to? or is it an emesene problem?, is there a plug in or a workaround?</p>
4203
4203
2011-02-10T06:47:55.167
2011-02-10T21:12:35.693
Is it possible to get emesene to work with MeMenu?
[ "indicator", "memenu", "emesene" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Actually there is no way for an external app to integrate with the MeMenu(if you mean the \"place\" where you can change your status). So it's not completely an emesene's fault.\nBy the way there could be a solution and i'll force the emesene's guys to fix that.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-11T04:26:15.140", "id": "28194", "postId": "25711", "score": "0", "text": "so, only empathy can make use of the MeMenu? :( , if you could do that i'll thank you so much.", "userDisplayName": null, "userId": "4203" }, { "creationDate": "2011-02-12T15:25:31.050", "id": "28487", "postId": "25711", "score": "0", "text": "yes..only empathy can use the MeMenu and there are no plans to change that...I can't guarantee that i'll fix that but as soon as possible i'll give a look to the code and i'll see what i can do...:)", "userDisplayName": null, "userId": "7254" }, { "creationDate": "2011-03-24T09:00:49.390", "id": "35616", "postId": "25711", "score": "0", "text": "Great news so far! I've fixed it! The MeMenu in Natty will support Emesene2!!! https://bugs.launchpad.net/indicator-me/+bug/741163", "userDisplayName": null, "userId": "7254" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T21:12:35.693", "id": "25711", "lastActivityDate": "2011-02-10T21:12:35.693", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "7254", "parentId": "25585", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>I don't know if this is it you are looking for but <a href=\"http://www.omgubuntu.co.uk/2010/10/how-to-add-more-apps-to-the-ubuntu-messaging-menu/\" rel=\"nofollow\">here</a> is a workaround. </p>\n\n<p>Edit: this <a href=\"https://launchpad.net/~bjfs/+archive/ppa\" rel=\"nof...
null
null
null
null
null
25590
1
25594
2011-02-10T07:32:54.890
5
7589
<p>What is the best way to fix Ubuntu's Root file system permissions? </p> <p>I was changing file permissions on a whole bunch of files that needed to be removed, I had accidentally changed the permissions for <code>/</code>, <code>/etc</code>, <code>/var</code>, <code>/home</code>, <code>/bin</code>, <code>/media</code> and all the files underneath. majority of them were changed to <code>0777</code>. All this because I added a space to <code>chmod</code> command that I was running.</p> <p>Now I am running into issues with stuff not working correctly and unable to log into root with either <code>su</code> or <code>sudo</code>. So administration from the desktop is not possible, and trying to get into grubs OS selection is also impossible, because last upgrade for some reason turned it off the menu when it boots. Any kind of admin action is nearly impossible to do because of this.</p> <p>Is there a script I can run in the root shell that will fix it or should I just re-install Ubuntu? Are there any other things that I can do to fix this other then changing each directory and file to the correct permissions?</p> <p>I am currently running Ubuntu 10.10 64bit </p>
10560
175814
2015-04-03T18:20:52.217
2015-04-03T18:20:52.217
How do you fix file permissions for root directory?
[ "10.10", "filesystem", "permissions" ]
1
2
CC BY-SA 3.0
[ { "creationDate": "2011-02-10T09:10:24.467", "id": "28014", "postId": "25590", "score": "0", "text": "reinstalling Ubuntu is safer and likely to be less time consuming", "userDisplayName": null, "userId": "3940" }, { "creationDate": "2011-02-10T09:47:32.590", "id": "28020", ...
{ "accepted": true, "body": "<p><a href=\"http://ubuntuforums.org/showthread.php?t=620016\" rel=\"nofollow\">here</a> is a basic idea I hope you are looking for. I think most file system have permission of 755 for folders and 644 for files except for /bin which has executable files with root as owner.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-10T08:08:13.113", "id": "28007", "postId": "25594", "score": "0", "text": "Looks like it should work, i will try in the morning when i get access to my machine, Thanks @sagarchalise", "userDisplayName": null, "userId": "10560" }, { "creationDate": "2011-02-10T15:02:39.227", "id": "28060", "postId": "25594", "score": "0", "text": "It worked, now the fun part of reinstalling every thing to fix the files I missed.", "userDisplayName": null, "userId": "10560" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T07:55:34.480", "id": "25594", "lastActivityDate": "2011-02-10T07:55:34.480", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1543", "parentId": "25590", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p><a href=\"http://ubuntuforums.org/showthread.php?t=620016\" rel=\"nofollow\">here</a> is a basic idea I hope you are looking for. I think most file system have permission of 755 for folders and 644 for files except for /bin which has executable files with root as owner.</p>\n...
null
null
null
null
null
25591
1
25601
2011-02-10T07:37:17.583
11
1678
<p>If I am using the command line in xterm, gnome-terminal, etc., I can keep <code>sudo</code> from re-prompting for a password, within some limits, or I can disable it.</p> <p>As a compromise between usability and security, I usually just want this re-querying wait-time lengthened.</p> <p>By default, there is only a 15 minute grace-period after entering a sudo password before it prompts for it again. To change this to 45 minutes, I can edit <code>/etc/sudoers</code>, and set timestamp_timeout to the waiting period I want (in minutes) . </p> <p><img src="https://i.stack.imgur.com/Mew6P.png" alt="sudoers file"></p> <p>If I am within the same terminal session, and start a new shell (typing in <code>csh</code> or <code>bash</code>) the wait period is respected.</p> <p>But if I go to another window to access the command line there, it will immediately ask for my password if I try to <code>sudo</code>. </p> <p>Within the same pseudoterminal session (<code>pts</code>) (for example, if I spawn a new shell inside the same gnome-terminal window), the timeout is respected. </p> <p>If I launch a new xterm, gnome-terminal, etc., I must enter credentials again. </p> <p>Despite being the only user active on my home system (a single-user system), etc., sudo doesn't trust that all of my <code>pts</code> entries are from the same user: </p> <pre><code>~/pseudoland$ w 01:27:39 up 1 day, 15:03, 7 users, load average: 0.32, 0.71, 0.77 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT jgb tty1 23:56 1:30m 0.55s 0.51s -bash jgb tty7 :0 Tue10 39:03m 2:28m 0.76s gnome-session root pts/1 :0.0 00:30 56:23 0.01s 0.01s /bin/bash jgb pts/3 :0.0 01:16 0.00s 0.59s 3.22s gnome-terminal jgb pts/4 :0.0 01:27 26.00s 0.23s 0.23s /bin/bash jgb pts/5 :0.0 01:17 9:26 0.23s 0.23s bash </code></pre> <p>Is there a way to tell sudo that it should regard all the windows I open as coming from the same user, and to not ask again for my password if the last sudo timer hasn't expired?</p>
8844
8844
2011-09-12T03:20:34.377
2011-09-12T03:20:34.377
Why does sudo ask for a password in window after I've just authenticated in a different one?
[ "gnome-terminal", "sudo" ]
1
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>The grace period is controlled by what <code>sudo</code> calls a 'ticket'. When you authenticate with sudo, it creates this ticket with a certain timestamp that basically says when the authentication should expire.</p>\n\n<p>By default (this is set when the package is compiled), this timeout is, as you've found, <em>per tty</em>. This is a feature of sudo called 'tty_tickets'. Basically this means that, instead of creating one lock per user, sudo creates one lock per tty instead.</p>\n\n<p>In order to revert back to the old behaviour and override the default, you need to edit <code>/etc/sudoers</code>. Find the \"<code>Defaults</code>\" line, which you already edited to change the timeout, and append <code>,!tty_tickets</code> to it. This will turn off the tty_tickets feature and give you the behaviour you want.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-10T09:14:34.757", "id": "25601", "lastActivityDate": "2011-09-12T03:00:07.497", "lastEditDate": "2011-09-12T03:00:07.497", "lastEditorDisplayName": null, "lastEditorUserId": "8844", "ownerDisplayName": null, "ownerUserId": "6683", "parentId": "25591", "postTypeId": "2", "score": "13" }
[ { "accepted": true, "body": "<p>The grace period is controlled by what <code>sudo</code> calls a 'ticket'. When you authenticate with sudo, it creates this ticket with a certain timestamp that basically says when the authentication should expire.</p>\n\n<p>By default (this is set when the package is compile...
null
null
null
null
null
25596
1
25600
2011-02-10T08:27:46.730
136
409267
<p>I'm using Ubuntu Maverick and Virtual Box 3+. I have Windows 7 Ultimate. The problem is that it doesn't detect USB drives in Windows 7, but USB peripherals (mouse + keybord) are working.</p> <p>I followed <a href="https://help.ubuntu.com/community/VirtualBox/USB">these instructions</a>, but I can't find the user group <code>vboxusers</code>. How can I continue? I would also like to upgrade to the latest version without any risk (without losing my virtual hard disk drive).</p>
6560
243321
2023-07-08T19:36:00.840
2023-07-08T19:36:00.840
How to set up USB for Virtualbox?
[ "usb", "virtualbox", "virtualization", "10.10", "usb-drive" ]
10
4
CC BY-SA 3.0
[ { "creationDate": "2011-02-10T08:47:12.023", "id": "28011", "postId": "25596", "score": "0", "text": "Is the Virtualbox you have installed the one from the software center?", "userDisplayName": null, "userId": "8844" }, { "creationDate": "2011-02-10T08:47:23.533", "id": "2801...
{ "accepted": true, "body": "<h3>1. Install Extension Pack</h3>\n\n<p>also see: <a href=\"https://askubuntu.com/questions/41478/how-do-i-install-the-virtualbox-version-from-oracle-to-install-an-extension-pack\">How do I install the VirtualBox version from Oracle to install an Extension Pack?</a></p>\n\n<p><strong>USB 1.0</strong> is supported in the version installed from the Ubuntu repositories (from VirtualBox > 4.x).</p>\n\n<p>For <strong>USB 2.0</strong> and <strong>USB 3.0</strong> we need to install the free (but closed source) <strong>VirtualBox Extension Pack</strong> (NOT the \"platform packages\") <a href=\"http://www.virtualbox.org/wiki/Downloads\" rel=\"noreferrer\">from the VirtualBox download page</a>. If you had installed VirtualBox from the repositories you have to make sure to choose the extension pack for the right version of VirtualBox. You can see the version of your installed VirtualBox in the <code>help &gt; About VirtualBox</code> menu. For regular updates and bug fixes, it is recommended to <a href=\"https://askubuntu.com/questions/41478/how-do-i-install-the-virtualbox-version-from-oracle-to-install-an-extension-pack\">install the most recent VirtualBox version from the Oracle repository</a>.</p>\n\n<blockquote>\n <p><strong>All virtual machines need to be powered off before installing the extension.</strong></p>\n</blockquote>\n\n<h3>2. Become a \"vboxuser\" in Host machine (local machine)</h3>\n\n<p>To be able to get access to an attached USB device, the Ubuntu <strong>host</strong> user needs to be in the <code>vboxusers</code> group. Add your user to this group by running the following command</p>\n\n<pre><code>sudo usermod -aG vboxusers &lt;username&gt; \n</code></pre>\n\n<p>and <strong>reboot</strong> or logout/login.</p>\n\n<h3>3. Activate USB support in VirtualBox Manager</h3>\n\n<p>Shut down your virtual machine and open USB settings in the VirtualBox Manager. Tick <code>Enable USB Controller</code>and <code>USB 2.0 (EHCI) Controller</code> or <code>USB 3.0 (xHCI) Controller</code>.</p>\n\n<blockquote>\n <p><strong>If these settings are greyed out, you need to shut down the virtual machine</strong>.</p>\n</blockquote>\n\n<p><a href=\"https://i.stack.imgur.com/oqULl.png\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/oqULl.png\" alt=\"enter image description here\"></a></p>\n\n<h3>4. Select host USB device for access from the guest</h3>\n\n<p>To grant access to USB devices we need to select a device to <strong>disable in the host</strong> and to <strong>enable in the guest</strong> (this is a precaution to avoid simultaneous access from host and guest). This can be done from the panel <em>Devices</em> menu or by right mouse click in the bottom panel of the VirtualBox Manager on the USB icon:</p>\n\n<p><img src=\"https://i.stack.imgur.com/gyf5D.png\" alt=\"enter image description here\"></p>\n\n<p>Tick the device you need in the guest, untick it if you need it in the host. If you can't see your USB device in that list, it means that VirtualBox cannot access your host USB devices. Make sure your user is added to the <code>vboxusers</code> group and that you restarted your host.</p>\n\n<p>The selected device will immediately be accessible from the guest. A Windows guest may need additional drivers.</p>\n\n<ul>\n<li>Windows 7 needs an <a href=\"https://downloadcenter.intel.com/product/65855/Intel-USB-3-0-eXtensible-Host-Controller-Driver\" rel=\"noreferrer\">additional driver</a> for USB 3.0 support.</li>\n<li>Windows 10 does not accept an NTFS formatted USB pen drive.</li>\n</ul>\n\n<p><img src=\"https://i.stack.imgur.com/OgFLu.png\" alt=\"enter image description here\"></p>\n\n<h3>[optional] Use USB filters for permanent access in the guest</h3>\n\n<p>By defining USB filters we can define USB devices that will automatically be presented to the guest when booting the guest OS.</p>\n\n<p><img src=\"https://i.stack.imgur.com/aPBHN.png\" alt=\"enter image description here\"></p>\n\n<p>Click on the green <strong>+</strong> symbol on the right to add a known device. </p>\n\n<blockquote>\n <p>Note, that some devices may lead to a boot failure of the guest. We can not use these devices for filters.</p>\n</blockquote>\n\n<p>Read more on USB support in the <a href=\"https://www.virtualbox.org/manual/ch03.html#idp19116496\" rel=\"noreferrer\">VirtualBox User Manual</a>.</p>\n\n<p>Also see: <a href=\"https://askubuntu.com/questions/682550/what-are-the-proper-values-for-usb-device-in-virtual-box\">what are the proper values for usb device in virtual box</a></p>\n", "commentCount": "10", "comments": [ { "creationDate": "2014-11-03T03:02:27.670", "id": "746487", "postId": "25600", "score": "0", "text": "May be its late to comment but I'm using VirtualBox 4.3.14 in Ubuntu 14.04 and the command you have provided to add users to vboxusers (**`sudo usermod -aG vboxusers <username>`**) was not working. instead a small change was required while providing options. I did give **`-a -G`** instead of giving **`-aG`** to make it work.", "userDisplayName": null, "userId": "119878" }, { "creationDate": "2015-04-25T19:48:52.060", "id": "864736", "postId": "25600", "score": "5", "text": "@learner That's very strange, since `-aG` and `-a -G` should have the same effect when passed as options to `usermod`. Is it possible that instead you had not logged out and back in the first time, but had done so the second time?", "userDisplayName": null, "userId": "22949" }, { "creationDate": "2015-04-26T03:34:42.973", "id": "864928", "postId": "25600", "score": "0", "text": "@EliahKagan its been so many months so I have forgotten. But your explanation is the logical one so may be I have logged out and back the second time.", "userDisplayName": null, "userId": "119878" }, { "creationDate": "2016-03-01T02:11:33.873", "id": "1101578", "postId": "25600", "score": "3", "text": "This might need updating, vb 5.x is out now.", "userDisplayName": null, "userId": "130518" }, { "creationDate": "2017-07-19T13:42:35.293", "id": "1486253", "postId": "25600", "score": "0", "text": "This pointed me in the right direction with my problem of defining the correct USB controller using a USB1-only compatible device in Vagrant, which is a VirtualBox configuration tool. The clue is that USB1.1 is ohci, USB2.0 is ehci and USB3.0 is xhci. Thanks!", "userDisplayName": null, "userId": "93262" }, { "creationDate": "2020-09-10T11:46:41.953", "id": "2159022", "postId": "25600", "score": "0", "text": "It is **actively insane** the installing the extension pack doesn't prompt you to add users to the `vboxusers` group. I only install VirtualBox every 5-6 years. This has bitten me and cost me time the last two times now. Thank you for this answer.", "userDisplayName": null, "userId": "6108" }, { "creationDate": "2020-10-12T02:27:36.460", "id": "2175649", "postId": "25600", "score": "0", "text": "\"Make sure your user is added to the vboxusers group\": While this is obvious to you, I hit a roadblock here. HOW do you do this? Is it on the host or the guest? No clue.", "userDisplayName": null, "userId": "943132" }, { "creationDate": "2020-10-12T05:12:23.717", "id": "2175695", "postId": "25600", "score": "1", "text": "@UserX that would be step 2 of my answer.", "userDisplayName": null, "userId": "3940" }, { "creationDate": "2021-10-08T08:39:59.830", "id": "2350394", "postId": "25600", "score": "0", "text": "I couldn't figure out why this wasn't working, until I realized I missed \"and reboot or logout/login\". Thanks", "userDisplayName": null, "userId": "900872" }, { "creationDate": "2023-03-26T10:21:01.250", "id": "2556525", "postId": "25600", "score": "0", "text": "OMG! \"vboxusers\" group... Why didn't they write it somewhere near USB window. Just small question mark with link to help would be enough.", "userDisplayName": null, "userId": "381068" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-02-10T09:01:59.067", "id": "25600", "lastActivityDate": "2019-12-19T15:56:21.117", "lastEditDate": "2019-12-19T15:56:21.117", "lastEditorDisplayName": null, "lastEditorUserId": "975994", "ownerDisplayName": null, "ownerUserId": "3940", "parentId": "25596", "postTypeId": "2", "score": "205" }
[ { "accepted": null, "body": "<p>The <code>vboxusers</code> will be in the <code>/etc/group</code> file. You edit it with something like <code>nano</code> . </p>\n\n<p><code>sudo nano /etc/group</code></p>\n\n<p>Add your user to the <code>vboxusers</code> line, or create one if necessary.</p>\n\n<p>As Takka...
null
null
null
null
null
25597
1
null
2011-02-10T08:45:33.597
2
3525
<p>I just bought <a href="http://www.hi-techitaly.com/news/computer/2501-bestit-itek-uga-connettere-fino-a-6-monitor-allo-stesso-computer.html" rel="nofollow">this USB graphics adapter</a> and I need to use it on Ubuntu 10.10. I <a href="http://libdlo.freedesktop.org/wiki/" rel="nofollow">followed this guide</a>, but when I ran</p> <pre><code>$ ./configure &amp;&amp; sudo make install &amp;&amp; make check </code></pre> <p>nothing happened. On Windows, after the installation the monitor was detected automatically.</p> <p>How do I get it to work on Ubuntu?</p>
6573
21115
2011-07-10T23:55:41.757
2012-02-22T22:40:31.120
Using a displaylink usb video adapter
[ "10.10", "usb", "display", "monitor", "displaylink" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Try looking at this: <a href=\"http://blogg.noonday.se/2010/01/28/linux-usb-video-adapter/\" rel=\"nofollow\">http://blogg.noonday.se/2010/01/28/linux-usb-video-adapter/</a></p>\n\n<p>This guy did it and gave the steps on how he did it...</p>\n", "commentCount": "1", ...
null
null
null
null
null
25599
1
25612
2011-02-10T09:01:01.940
24
81555
<p>How can I do it? I am trying it like this RESULT=`wget $URL`</p> <p>P.S. - Also any recommended sources for learning shell scripting?</p>
8238
null
null
2016-01-19T22:59:49.513
Get wget output to a variable
[ "scripts", "wget" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>How about:</p>\n\n<pre><code>RESULT=\"`wget -qO- http://example.com`\"\necho $RESULT\n</code></pre>\n\n<p>Edit: Yeah, that works.</p>\n", "commentCount": "6", "comments": [ { "creationDate": "2011-02-10T12:06:56.653", "id": "28041", "postId": "25612", "score": "2", "text": "Why another dash after `-qO`?", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-02-10T12:12:39.730", "id": "28044", "postId": "25612", "score": "3", "text": "`O` tells it to output somewhere, `-` tells `O` to output it to the current stream. And `q` tells wget not to include any of its \"Connecting to xxx...\" information.", "userDisplayName": null, "userId": "449" }, { "creationDate": "2011-02-10T14:32:46.740", "id": "28056", "postId": "25612", "score": "0", "text": "What I meant was that when `-q` is the quiet switch & `-O` is used for giving the name to file where we want the output to be saved. From what I have been reading, we can write multiple switches together if all of them don't require arguments. So `-qO` makes sense but then what does the last dash do?", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-02-10T14:37:25.597", "id": "28058", "postId": "25612", "score": "1", "text": "It's `-O`'s argument. It tells it where to write the output of the download (in this case: back to the current stream).", "userDisplayName": null, "userId": "449" }, { "creationDate": "2021-07-02T20:32:54.193", "id": "2307117", "postId": "25612", "score": "0", "text": "Getting invalid option 0 and -", "userDisplayName": null, "userId": "1171902" }, { "creationDate": "2022-01-04T20:11:41.907", "id": "2390491", "postId": "25612", "score": "0", "text": "\"If `-` is used as file, documents will be printed to standard output, disabling link conversion. \"", "userDisplayName": null, "userId": "803975" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T10:35:43.010", "id": "25612", "lastActivityDate": "2011-02-10T10:35:43.010", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "449", "parentId": "25599", "postTypeId": "2", "score": "33" }
[ { "accepted": true, "body": "<p>How about:</p>\n\n<pre><code>RESULT=\"`wget -qO- http://example.com`\"\necho $RESULT\n</code></pre>\n\n<p>Edit: Yeah, that works.</p>\n", "commentCount": "6", "comments": [ { "creationDate": "2011-02-10T12:06:56.653", "id": "28041", "post...
null
null
null
null
null
25602
1
25613
2011-02-10T09:15:23.240
1
3255
<p>Bittorrent trackers are a bit of a mystery to me, but I do recall (a couple of years ago) that I managed to set up a MS Window bittorrent client (uTorrent) to make a private .torrent and then manage it (privately)... </p> <p>I'd like to do the same with a Linux/Ubuntu program... and I'd prefer to stay with Upuntu repository options. </p> <p>I want to <strong>be the tracker</strong>.. (not just make a "private" .torrent)</p> <p>Update: in 'Deluge' terminology, it is called an <strong>embedded tracker</strong> (but Deluge doesn't have one)</p>
2670
2670
2011-02-10T10:38:11.047
2011-02-10T10:38:11.047
Is there a bittorrent client which has an embedded tracker?
[ "bittorrent" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I like <a href=\"http://qbittorrent.sourceforge.net/\" rel=\"nofollow\">qBittorrent</a>. I am not so familiar with torrents but <a href=\"http://sourceforge.net/apps/mediawiki/qbittorrent/index.php?title=How_to_use_qBittorrent_as_a_tracker\" rel=\"nofollow\">here</a> is something on embeddedtracker.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T11:18:40.410", "id": "28036", "postId": "25613", "score": "0", "text": "It may(?) suit, but I'm running 10.04 and the repo only has v2.2.5-1.. The tracker is only available from v2.5.0 on.. (even 10.10 repos have only v2.4.3-0).. so you're on track (+1), but I'll hang out for another \"in the repo\" option... (and perhaps use this as a fallback if it is suitable for 10.04)....", "userDisplayName": null, "userId": "2670" }, { "creationDate": "2011-02-10T11:29:33.347", "id": "28037", "postId": "25613", "score": "0", "text": "you can use getdeb {http://getdeb.net} or ppa {https://launchpad.net/~hydr0g3n/+archive/ppa} for latest one", "userDisplayName": null, "userId": "1543" }, { "creationDate": "2011-02-11T14:26:41.760", "id": "28275", "postId": "25613", "score": "0", "text": "#sagarchalise: I've taken the launchpad PPA route... I had quite a time getting it running .... I gradually isolated the problem to my router, so I phoned my ISP (they provided the router)... and I found out that they were port blocking by default... That may explain a few other problems I've been having! .. anyhow it was easily resolved and I've got all my ports back :).... and qBitTorrent' embedded tracker works fine... Dhanyavaad", "userDisplayName": null, "userId": "2670" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T10:37:04.467", "id": "25613", "lastActivityDate": "2011-02-10T10:37:04.467", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1543", "parentId": "25602", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>Ubuntu comes with <code>Transmission</code> as standard Bit-torrent client. You find it in <code>Applications -&gt; Internet -&gt; Tranmission</code></p>\n\n<p>It has a possibility for <code>private</code> torrents. <code>File -&gt; New...</code> last checkbox</p>\n", "co...
null
null
null
null
null
25604
1
null
2011-02-10T09:35:17.547
0
675
<p>I have Ubuntu 10.04, my laptop is ASUS k50ij, intel duo t3000, 2gb ram, 320 HDD, intel gma 4500M video card.</p> <p>My problem is that a couple days ago my monitor had start blinking for a few seconds. Then it stops and begins the same behaviour let's say in next 2 hours. What am i missing here?</p> <p>Another funny problem is that when i give more or less brightness to monitor the pop up window shows and giving "Power information: Laptop battery is charged". When my brightness is lower the blinking increases and vice versa.</p> <p>thx for help</p>
4921
19490
2011-06-18T15:08:08.533
2012-02-10T18:12:17.860
Monitor blinking
[ "10.04", "monitor", "flicker" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T17:26:50.100", "id": "28094", "postId": "25604", "score": "0", "text": "I have the very same problem, with Ubunto 10.04 on NEC Versa laptop...", "userDisplayName": "user10566", "userId": null }, { "creationDate": "2011-02-10T17:26:50.180", "id": ...
null
[ { "accepted": null, "body": "<p>This answer isn't that nice if you have a laptop.</p>\n\n<p>I've been working on a nice big expensive IPS panel, and it started blinking if I powered it off. So as longs as it only went down in Stand-by I was fine, but if I ever pulled the power cord more than once a week it ...
null
null
null
null
null
25605
1
25606
2011-02-10T09:36:34.300
14
12185
<p>I often use Python 3000's interactive interpreter, but it's missing the convenience of tab-completion I'm used to from ipython, which isn't available for Python 3.x.</p> <p>How do I enable tab completion in all of them, 2.6 and 3.x?</p>
1067
1067
2011-02-10T09:41:57.147
2019-04-25T12:00:33.587
How can I get tab-completion in the interactive Python interpreter?
[ "command-line", "programming", "python" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>First, create a new file called <code>.pythonstartup.py</code> in your home directory. Put the following script in it:</p>\n\n<pre><code>try:\n import readline\nexcept ImportError:\n print(\"Module readline not available.\")\nelse:\n import rlcompleter\n readline.parse_and_bind(\"tab: complete\")\n</code></pre>\n\n<p>The parentheses around the string ensure that it works with both Python 2 and Python 3. </p>\n\n<p>Every time the interactive interpreter is started, it executes a script defined in <code>$PYTHONSTARTUP</code>, if there is one. To set it to execute the above script, type</p>\n\n<pre><code>export PYTHONSTARTUP=\"~/.pythonstartup.py\"\n</code></pre>\n\n<p>You should write this line to your <a href=\"https://askubuntu.com/questions/1528/bashrc-or-bash-profile\"><code>.bashrc</code> or <code>.bash_profile</code></a> file, so that it's automatically executed when a new shell is started. </p>\n", "commentCount": "3", "comments": [ { "creationDate": "2014-10-15T14:58:53.320", "id": "734903", "postId": "25606", "score": "6", "text": "NOTICE: This won't work if you start the terminal and then change directory. If you want this method to work no matter the directory you are, you should use the full path like `export PYTHONSTARTUP=\"/home/user/.pythonstartup.py\"`", "userDisplayName": null, "userId": "30014" }, { "creationDate": "2016-01-26T13:50:17.803", "id": "1074940", "postId": "25606", "score": "1", "text": "Your can make the export a bit more tolerant by having export `PYTHONSTARTUP=~/.pythonstartup.py`", "userDisplayName": null, "userId": "185813" }, { "creationDate": "2017-04-08T16:27:56.743", "id": "1415336", "postId": "25606", "score": "0", "text": "This doesn't work if you start a file in interactive mode, e.g. `python -i main.py`. Any way to do that?", "userDisplayName": null, "userId": "387195" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-02-10T09:41:11.000", "id": "25606", "lastActivityDate": "2019-04-25T12:00:33.587", "lastEditDate": "2019-04-25T12:00:33.587", "lastEditorDisplayName": null, "lastEditorUserId": "1067", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "25605", "postTypeId": "2", "score": "17" }
[ { "accepted": true, "body": "<p>First, create a new file called <code>.pythonstartup.py</code> in your home directory. Put the following script in it:</p>\n\n<pre><code>try:\n import readline\nexcept ImportError:\n print(\"Module readline not available.\")\nelse:\n import rlcompleter\n readline....
null
null
null
null
null
25609
1
null
2011-02-10T10:27:11.440
21
34774
<p>I'm looking for an application similar to teamviewer to install on ubuntu 10.10. I know that the teamviewer's staff has released a version for ubuntu, but I'd like to use something completely open. Someone can help me?</p>
9285
169736
2013-10-28T11:40:49.440
2020-10-03T17:22:07.253
Remote Desktop similar to Teamviewer?
[ "remote-desktop" ]
3
4
CC BY-SA 3.0
[ { "creationDate": "2011-02-10T14:13:37.160", "id": "28053", "postId": "25609", "score": "1", "text": "Please tell us what software you chose and why, it'd be greatly appreciated for others looking for alternatives.", "userDisplayName": null, "userId": "5674" }, { "creationDate": ...
null
[ { "accepted": null, "body": "<p>Here are some <a href=\"http://alternativeto.net/software/teamviewer/?platform=linux&amp;license=opensource\" rel=\"nofollow\">alternatives</a>.</p>\n\n<p>One app named Remote desktop viewer is already(Applications -> Internet) installed in ubuntu.</p>\n", "commentCount":...
null
null
null
null
null
25616
1
25663
2011-02-10T10:48:11.620
0
235
<p>Probably like most of you, I am concerned about the privacy of Facebook. Some people suggested that I use the HTTPS address instead. Unfortunately, many links in the HTTPS page itself link back to HTTP. So I am wondering whether it is possible in Ubuntu to redirect any request to:</p> <p><a href="http://www.facebook.com/" rel="nofollow">http://www.facebook.com/</a></p> <p>to</p> <p><a href="https://www.facebook.com/" rel="nofollow">https://www.facebook.com/</a></p> <p>This way I feel safer.</p> <p>If you also know the solution for Windows, it might be great to share (probably as a comment to my question rather than answer, as this forum is supposed to be for Ubuntu) so that I can share it with friends.</p>
7280
4980
2011-02-10T10:49:07.670
2011-02-17T05:07:48.230
Securing Facebook
[ "privacy", "redirect" ]
5
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T13:44:32.537", "id": "28051", "postId": "25616", "score": "1", "text": "This is not a [discussion] forum, but a collection of questions and answers (Q&A).", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2011-02-10T15:33:19.627", ...
{ "accepted": true, "body": "<p>As noted, Facebook supports this already.</p>\n\n<p>Go to <a href=\"https://www.facebook.com/editaccount.php\" rel=\"nofollow noreferrer\">account settings</a> and scroll down to account security:</p>\n\n<p><img src=\"https://i.stack.imgur.com/GCRiy.png\" alt=\"enter image description here\"></p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-10T16:31:04.690", "id": "28081", "postId": "25663", "score": "0", "text": "Like I said, its not out for everyone yet. Lucky you! :P", "userDisplayName": null, "userId": "8238" }, { "creationDate": "2011-07-08T04:38:13.970", "id": "58398", "postId": "25663", "score": "0", "text": "It should be out by now. For a while, it was in the process of being rolled out and only some people had it.", "userDisplayName": null, "userId": "9308" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T16:13:20.903", "id": "25663", "lastActivityDate": "2011-02-10T16:13:20.903", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "570", "parentId": "25616", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>as far as i concern it should be handled by browsers not the OS. There are already some plugins/extensions for almost all browser to force the sites to use https: </p>\n\n<p>Firefox --- NoScript<br />\nChrome --- Use HTTPS</p>\n\n<p>There is also a user script for internet e...
null
null
null
null
null
25617
1
null
2011-02-10T10:54:08.957
0
1627
<p>I have copied an important piece of some text into a clipboard from an external memory card. Occasionally, I have forgotten to paste this info into a local file and I have then switched the system off. Can I restore a content of the clipboard after system restart?</p>
8772
null
null
2011-02-10T11:01:20.593
Can I restore a content of the clipboard after restart?
[ "xorg", "clipboard" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>If you use the clipboard manager <a href=\"https://launchpad.net/~hel-sheep/+archive/pastie\" rel=\"nofollow\">Pastie</a>, your pastes will survive a reboot, allowing you to choose the paste from a menu, and recover the data.</p>\n\n<p>You can add pastie by doing this :</p>\n...
null
null
null
null
null
25621
1
null
2011-02-10T11:12:28.977
9
14159
<p>Is there a way to import existing SSH keys to Seahorse?</p>
4980
25130
2012-04-04T00:58:38.620
2013-12-12T21:07:26.447
How do I import existing SSH keys into Seahorse?
[ "ssh", "seahorse" ]
3
1
CC BY-SA 3.0
[ { "creationDate": "2013-12-12T21:13:04.917", "id": "498851", "postId": "25621", "score": "1", "text": "Bug Confirmed https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/372608", "userDisplayName": null, "userId": "169736" } ]
null
[ { "accepted": null, "body": "<p><strong>Export and Import Keys</strong></p>\n\n<p>Seahorse can import SSH keys from the clipboard or a key file.\nSeahorse allows users to specify a SSH key file. Seahorse does not change\nthe content of imported files, instead, Seahorse copies the imported files\nto ~/.ssh w...
null
null
2013-12-13T15:36:47.537
null
null
25622
1
25632
2011-02-10T11:19:27.793
20
15128
<p>This seems to be a problem with pulseaudio. I was logged in over VNC on my phone and started playing a video this caused X to crash (as sometimes happens). I restarted and suddenly the sound doesn't work.</p> <ul> <li><p>I have a Intel HDA/Realtek ALC889</p> <pre><code>00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller </code></pre></li> <li><code>alsamixer</code> is detecting this just fine.</li> <li>PulseAudio doesn't detect this alsa device so is using <code>auto_null</code> as the default sink (logs below).</li> <li>When I properly kill PulseAudio (tell it not to auto-start) direct ALSA communication with the sound card works just fine. <code>speaker-test</code>, for example, works. So the hardware and ALSA layers are fine IMO.</li> <li>In the logs, it seems that the card might be "busy" but I really don't know how or why it would be now (and never before). Is there an ALSA lock file somewhere that it still there because of my crash?</li> <li><p>I just ran <code>sudo fuser /dev/snd/*</code> and saw this:</p> <pre><code>oli@bert:~$ sudo fuser /dev/snd/* /dev/snd/controlC0: 1884 /dev/snd/pcmC0D0c: 1884m /dev/snd/timer: 1884 </code></pre> <p>A look at the process list (<code>ps aux | grep 1884</code>) tells me process 1884 is <code>arecord -c 1 -f S16_LE -r 8000 -t raw</code>. No idea what this is or why it's running.</p></li> <li><p>When I try and kill <code>arecord</code> (as root), it just respawns and rebinds on the hardware.</p></li> </ul> <p>I'm in a very annoying situation where I don't know what is going on and don't know how to find out. I'm open to all suggestions to get this working again. Fire away.</p> <p>And here's what I get when I stop PA auto-loading, kill it and then start it with <code>-vvvv</code>. </p> <pre><code>oli@bert:~$ pulseaudio -vvvvv I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted D: core-rtclock.c: Timer slack is set to 50 us. D: core-util.c: RealtimeKit worked. I: core-util.c: Successfully gained nice level -11. I: main.c: This is PulseAudio 0.9.21-63-gd3efa-dirty D: main.c: Compilation host: x86_64-pc-linux-gnu D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O3 -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option D: main.c: Running on host: Linux x86_64 2.6.38-rc3 #1 SMP Tue Feb 1 10:53:04 GMT 2011 D: main.c: Found 8 CPUs. I: main.c: Page size is 4096 bytes D: main.c: Compiled with Valgrind support: no D: main.c: Running in valgrind mode: no D: main.c: Running in VM: no D: main.c: Optimised build: yes D: main.c: All asserts enabled. I: main.c: Machine ID is 8310740c4729ef474fe5ecec4bbf5a6b. I: main.c: Session ID is 8310740c4729ef474fe5ecec4bbf5a6b-1297338553.571075-1050119523. I: main.c: Using runtime directory /home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-runtime. I: main.c: Using state directory /home/oli/.pulse. I: main.c: Using modules directory /usr/lib/pulse-0.9.21/modules. I: main.c: Running in system mode: no I: main.c: Fresh high-resolution timers available! Enjoy ol' chap! I: cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 I: svolume_mmx.c: Initialising MMX optimized functions. I: remap_mmx.c: Initialising MMX optimized remappers. I: svolume_sse.c: Initialising SSE2 optimized functions. I: remap_sse.c: Initialising SSE2 optimized remappers. I: sconv_sse.c: Initialising SSE2 optimized conversions. D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472 D: database-tdb.c: Opened TDB database '/home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-device-volumes.tdb' I: module-device-restore.c: Sucessfully opened database file '/home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-device-volumes'. I: module.c: Loaded "module-device-restore" (index: #0; argument: ""). D: database-tdb.c: Opened TDB database '/home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-stream-volumes.tdb' I: module-stream-restore.c: Sucessfully opened database file '/home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-stream-volumes'. I: module.c: Loaded "module-stream-restore" (index: #1; argument: ""). D: database-tdb.c: Opened TDB database '/home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-card-database.tdb' I: module-card-restore.c: Sucessfully opened database file '/home/oli/.pulse/8310740c4729ef474fe5ecec4bbf5a6b-card-database'. I: module.c: Loaded "module-card-restore" (index: #2; argument: ""). I: module.c: Loaded "module-augment-properties" (index: #3; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-udev-detect.so': success D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes D: module-udev-detect.c: /devices/pci0000:00/0000:00:1b.0/sound/card0 is busy: yes I: module-udev-detect.c: Found 1 cards. I: module.c: Loaded "module-udev-detect" (index: #4; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success D: dbus-util.c: Successfully connected to D-Bus system bus ba7c9a1f90b3d49d930bca2100000015 as :1.62 D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired D: bluetooth-util.c: Bluetooth daemon is apparently not available. I: module.c: Loaded "module-bluetooth-discover" (index: #5; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument: ""). I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-gconf.so': success I: module.c: Loaded "module-gconf" (index: #8; argument: ""). I: module-default-device-restore.c: Saved default sink 'auto_null' not existant, not restoring default sink setting. I: module-default-device-restore.c: Saved default source 'auto_null.monitor' not existant, not restoring default source setting. I: module.c: Loaded "module-default-device-restore" (index: #9; argument: ""). I: module.c: Loaded "module-rescue-streams" (index: #10; argument: ""). D: module-always-sink.c: Autoloading null-sink as no other sinks detected. I: sink.c: Created sink 0 "auto_null" with sample spec s16le 6ch 44100Hz and channel map front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center I: sink.c: device.description = "Dummy Output" I: sink.c: device.class = "abstract" I: sink.c: device.icon_name = "audio-card" D: core-subscribe.c: Dropped redundant event due to change event. I: source.c: Created source 0 "auto_null.monitor" with sample spec s16le 6ch 44100Hz and channel map front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center I: source.c: device.description = "Monitor of Dummy Output" I: source.c: device.class = "monitor" I: source.c: device.icon_name = "audio-input-microphone" D: module-null-sink.c: Thread starting up I: module.c: Loaded "module-null-sink" (index: #11; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'"). I: module.c: Loaded "module-always-sink" (index: #12; argument: ""). I: module.c: Loaded "module-intended-roles" (index: #13; argument: ""). D: module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds. I: module.c: Loaded "module-suspend-on-idle" (index: #14; argument: ""). I: client.c: Created 0 "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1" D: module-console-kit.c: Added new session /org/freedesktop/ConsoleKit/Session1 I: module.c: Loaded "module-console-kit" (index: #15; argument: ""). I: module.c: Loaded "module-position-event-sounds" (index: #16; argument: ""). D: dbus-util.c: Successfully connected to D-Bus session bus efbffc6788fad56cfd64d40c00000018 as :1.182 D: main.c: Got org.pulseaudio.Server! I: main.c: Daemon startup complete. I: client.c: Created 1 "Native client (UNIX socket client)" I: client.c: Created 2 "Native client (UNIX socket client)" D: protocol-native.c: Protocol version: remote 16, local 16 I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 D: protocol-native.c: SHM possible: yes D: protocol-native.c: Negotiated SHM: yes D: protocol-native.c: Protocol version: remote 16, local 16 I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1 D: protocol-native.c: SHM possible: yes D: protocol-native.c: Negotiated SHM: yes D: module-augment-properties.c: Looking for .desktop file for gnome-volume-control-applet D: module-augment-properties.c: Looking for .desktop file for gnome-settings-daemon D: core-subscribe.c: Dropped redundant event due to change event. I: module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ... D: sink.c: Suspend cause of sink auto_null is 0x0004, suspending </code></pre> <p>Note the one section that seems to find the hardware but says it's busy (no idea if this is relevant).</p> <pre><code>D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-udev-detect.so': success D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes D: module-udev-detect.c: /devices/pci0000:00/0000:00:1b.0/sound/card0 is busy: yes I: module-udev-detect.c: Found 1 cards. </code></pre>
449
449
2011-02-10T12:24:25.117
2021-05-03T09:53:40.830
My sound stopped working today, how can I fix it?
[ "sound", "pulseaudio" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T12:04:21.543", "id": "28040", "postId": "25622", "score": "0", "text": "tried mv ~/.pulse?", "userDisplayName": null, "userId": "3940" }, { "creationDate": "2011-02-10T12:07:41.373", "id": "28042", "postId": "25622", "score": "0", "te...
{ "accepted": true, "body": "<h1>HUZZAH</h1>\n<p>Right. <code>arecord</code> was the dodgy looking element here that I eventually found through <code>fuser</code>ing the sound files (see my question for my process). But I couldn't find what was causing <code>arecord</code> to start as root on boot. Here's how I did that:</p>\n<ol>\n<li>Run <code>pstree | less</code></li>\n<li>In that, type <code>/arecord</code> and press return to find the <code>arecord</code> process.</li>\n<li>Press up once and you'll see its parent. In my case this was <code>randomsound</code>.</li>\n</ol>\n<p>I installed <code>randomsound</code> a few days ago to generate extra entropy (for regenerating <code>/dev/random</code>) using my sound card. I had completely forgotten it was installed and I guess this was the first time I restarted since installing it.</p>\n<p>In short <code>sudo apt-get remove randomsound</code> fixed it. PulseAudio can now grab my sound card and I can listen to some trashy europop while I work.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2012-08-16T02:13:15.983", "id": "218095", "postId": "25632", "score": "1", "text": "The bug report: [Bug #590780: Installing \"randomsound\" package causes Pulseaudio to stop functioning at reboot](https://bugs.launchpad.net/ubuntu/+source/randomsound/+bug/590780). This was driving me crazy.", "userDisplayName": null, "userId": "1859" }, { "creationDate": "2017-01-09T10:57:14.603", "id": "1347637", "postId": "25632", "score": "0", "text": "What the f*ck... Ran the command, and boom, sound works instantly. Thanks a ton, I would have never figured this out!", "userDisplayName": null, "userId": "170054" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T12:52:39.743", "id": "25632", "lastActivityDate": "2011-02-10T12:52:39.743", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "25622", "postTypeId": "2", "score": "11" }
[ { "accepted": true, "body": "<h1>HUZZAH</h1>\n<p>Right. <code>arecord</code> was the dodgy looking element here that I eventually found through <code>fuser</code>ing the sound files (see my question for my process). But I couldn't find what was causing <code>arecord</code> to start as root on boot. Here's h...
null
null
null
null
null
25623
1
25631
2011-02-10T11:55:51.780
10
2461
<p>How can I make a live CD/DVD from my harddisk installation?</p> <p>In other words, I would like to create a boot CD from Ubuntu that is installed on my PC, because I want to include the updated packages in it.</p> <p>Is it possible?</p>
8026
8026
2011-02-10T12:15:38.487
2017-02-24T05:54:11.673
How can I make a live CD/DVD from my harddisk installation?
[ "boot", "cd", "updates", "package-management" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I just made one for myself a few hours ago! I used <a href=\"http://www.geekconnection.org/remastersys/ubuntu.html\">RemasterSys</a>. The steps to install are given on the page. After installing it, you can type the following commands on a terminal:</p>\n\n<p><code>sudo remastersys dist my-hd.iso</code></p>\n\n<p>to create a distributable image named <strong>my-hd.iso</strong>. You can burn this on a DVD and share it around. Just make sure you have removed crud like cached packages, unused config files. On a terminal type </p>\n\n<p><code>sudo apt-get autoremove &amp;&amp; sudo apt get autoclean</code> </p>\n\n<p>Again, if you are not a commandline guy, install <a href=\"http://ubuntu-tweak.com/\">Ubuntu Tweak</a> to clean old packages, kernels and other crud from your system.</p>\n\n<p>If comamnd line isnt for you, then you can goto Gnome Menu > Admninistration > Remastersys Backup.</p>\n\n<p>There is also a guide given on <a href=\"https://help.ubuntu.com/community/LiveCDCustomization\">Ubuntu.com</a>, if you are willing to DIY.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T12:42:43.453", "id": "25631", "lastActivityDate": "2011-02-10T12:48:08.910", "lastEditDate": "2011-02-10T12:48:08.910", "lastEditorDisplayName": null, "lastEditorUserId": "3778", "ownerDisplayName": null, "ownerUserId": "3778", "parentId": "25623", "postTypeId": "2", "score": "10" }
[ { "accepted": null, "body": "<p>This should do the trick:</p>\n\n<p><a href=\"http://remastersys.sourceforge.net/remastersystool.html\" rel=\"nofollow\">http://remastersys.sourceforge.net/remastersystool.html</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2013-03-15T...
null
null
null
null
null
25628
1
25629
2011-02-10T12:28:20.373
1
522
<p>Is it possible to distort an image with open source software on Ubuntu?</p> <p>I know I can skew and stretch, but how can I do <a href="http://www.coloribus.com/adsarchive/prints/nike-air-zoom-swift-vapor-distort-5715855/" rel="nofollow">something like this</a>?</p> <p>Basically, imagine all those images being a single png file, how would I give it that curved effect?</p>
1646
1067
2011-02-10T16:02:12.263
2011-02-10T16:02:12.263
How to distort images
[ "10.04", "software-recommendation" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Ubuntu has an excellent image editing software called GIMP. You can goto the software center, and search for GIMP. As for warping, I think you can do it. </p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T19:00:41.813", "id": "28115", "postId": "25629", "score": "1", "text": "Yes you can! Select a region of interest (be it a rectangle or whatever else) and apply the kind of distortion wanted, eg. IWarp", "userDisplayName": null, "userId": "2191" }, { "creationDate": "2011-02-12T12:09:01.267", "id": "28443", "postId": "25629", "score": "0", "text": "It would be swell if the two people who down voted also gave a reason so as to why.", "userDisplayName": null, "userId": "3778" }, { "creationDate": "2019-09-13T14:51:44.690", "id": "1959192", "postId": "25629", "score": "0", "text": "@theTuxRacer because the answer doesn't provide an actual solution. GIMP may be able to do it but you do not detail how", "userDisplayName": null, "userId": "6689" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T12:38:08.560", "id": "25629", "lastActivityDate": "2011-02-10T12:38:08.560", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "3778", "parentId": "25628", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Ubuntu has an excellent image editing software called GIMP. You can goto the software center, and search for GIMP. As for warping, I think you can do it. </p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T19:00:41.813", "i...
null
null
null
null
null
25633
1
25645
2011-02-10T13:07:06.080
70
106112
<p>I'm new to Ubuntu and recently started using it on my PC. I'm going to replace that PC with a new machine. I want to transfer my data and settings to the nettop. <strong>What aspects should I consider?</strong></p> <p>Obviously I want to move my data over. <strong>What things am I missing if I only copy the entire home folder?</strong></p> <p>This is a home pc (not corporate) so user rights and other security issues are not a concern, except that the files should be accessible on the new machine!</p> <p>Please take into account that the new machine is a nettop that doesn't have an optical drive and doesn't allow me to hook the old SATA disk into it, so any data transfer must be handled via home network (I can have both the old and the new machine turned on and connected to the home LAN) and I have an USB thumbdrive with limited capacity (2GB).<br> <em>This sounds like it might limit the general applicability, but it would in fact make it <strong>more</strong> general.</em></p>
5786
208696
2014-11-03T16:19:13.123
2023-10-22T10:45:08.160
How to migrate user settings and data to new machine?
[ "user-data", "cloning" ]
10
1
CC BY-SA 3.0
[ { "creationDate": "2022-01-03T17:34:08.793", "id": "2389953", "postId": "25633", "score": "0", "text": "Some of these suggestions assume both systems are available at the same time. I have a situation where I'll be moving from a VM to a native install. Therefore I need to use one of the tar/ba...
{ "accepted": true, "body": "<p>User settings are stored in the Home folder by design. So, if you copy your <code>/home/your-username</code> to your new computer, you should be fine...</p>\n<p>...but there are caveats:</p>\n<ul>\n<li>Permissions. It is common that &quot;programs&quot; (shellscripts, custom build programs) are put in the home folder. To preserve permissions, use the <code>--preserve=mode</code> switch (using <code>cp</code>) or <code>-p</code> (using <code>tar</code>)</li>\n<li>UserID / GroupID. Even if the usernames are equal on both systems, the user ID do not have to. Usually, this is not a problem, but if you've scripts/programs/settings that rely on the UserID, you should make sure that the user ID and group ID should be the same on the target system.<br />\nYou can find the current userID and groupID by executing <code>id</code>. For example, to change the userID of user &quot;your-username&quot;, run <code>sudo usermod --uid 1234 your-username</code>. To change the groupID, you have to run <code>sudo groupmod --gid 1234 your-username</code>.</li>\n</ul>\n<p>Settings (Firefox profile, appearance, ...) are often stored in hidden folders (or files). Hidden folders/files are prefixed with a dot, like <code>.mozilla</code> for Firefox (and other Mozilla applications).</p>\n<p>As security is not an issue, and you want to have the copying job done as fast as possible, I suggest a combination of the netcat and tar programs. Both applications are installed by default. Make sure that the firewalls on both computers allows ingoing access to destination port 8888 (source computer) and outgoing to destination port 8888 (target computer). Put the nettop next to the computer so you can run the commands quickly.</p>\n<p>On the source computer, you need to have the traditional netcat program installed (a.k.a. Swiss Army Knife, not the BSD one). To do so, install the <code>netcat-traditional</code> package. You may also want to configure the traditional netcat program as default. Commands to install netcat-traditional and use it as default:</p>\n<pre><code>sudo apt-get install netcat-traditional \nsudo update-alternatives --set nc /bin/nc.traditional\n</code></pre>\n<p>On the source computer, type the next command in a terminal (do not press Enter yet):</p>\n<pre><code> tar cz -C/home $(whoami) | nc -l -p 8888 -w 10\n</code></pre>\n<p>Explanation:</p>\n<ul>\n<li>tar is an utility for packing files</li>\n<li><code>cz</code> <b>c</b>reates such a packed file (&quot;tarball&quot;)</li>\n<li>The tarball is compressed using the G<b>Z</b>ip algorithm to lower the file size.</li>\n<li><code>-C/home $(whoami)</code> changes the working directory to <code>/home</code> and puts your username folder. Alternative, you can type your <code>your-username</code> folder in the tarball</li>\n<li><code>nc</code> (netcat) is used for setting up connections between machines easily</li>\n<li><code>-l</code>: Listening mode, allows other machines to connect to the current machine</li>\n<li><code>-p 8888</code>: Listens on port 8888 (randomly chosen number, it could be any other number higher than 1024 as well)</li>\n<li><code>-w 10</code>: quit netcat after 10 seconds silence. You must connect to this source computer within this time.</li>\n</ul>\n<p>Now go to the target computer (nettop). To add the files to the target machine, type (do not run it yet):</p>\n<pre><code>nc 192.168.1.2 8888|tar xzp -C/home\n</code></pre>\n<ul>\n<li><code>192.168.1.2</code> is the IP address of the source computer. To get its IP address, run: <code>ifconfig</code> on the source machine</li>\n<li><code>8888</code> is the port number as entered on the source machine</li>\n<li><code>xzp</code>: e<b>x</b>tracts the G<b>Z</b>ip-compressed tarball while <b>p</b>reserving permissions.</li>\n<li><code>-C/home</code>: extracts the <code>your-username</code> folder to <code>/home/your-username</code></li>\n<li>Optionally, add the <code>-v</code> switch to the tar command for verbose extraction, so you can get an idea of the progress. This could slow down the copy process because every file has to be printed.</li>\n</ul>\n<p>Now go to the source computer, press Enter to run the server command. Quickly switch to your nettop and press Enter to run the client command.</p>\n<p>If you have any questions, just use the comment field below.</p>\n", "commentCount": "13", "comments": [ { "creationDate": "2011-02-11T09:42:56.220", "id": "28229", "postId": "25645", "score": "1", "text": "Absolutely excellent overview! Thank you also for the detailed explanation of the commands. Given that I only have one monitor, I'd like to set up both machines next to each other and use some kind of VNC to access the old machine. I'm sure I can quickly google a great guide for dummies - but perhaps can you recommend one?", "userDisplayName": null, "userId": "5786" }, { "creationDate": "2011-02-11T20:28:36.433", "id": "28358", "postId": "25645", "score": "0", "text": "I have not used other VNC other than the supplied application with Kubuntu (Krdc). If you do not need a GUI (like this copy process), just install `openssh-server` and you'll be able to connect with your machine by running `ssh your-username@192.168.1.2`. For remote *GUI* access, I do not use VNC as it's painfully slow, even over a (wireless) network. I recommend [X2go](http://www.x2go.org) for remote *GUI* control ([installation guide](http://wiki.x2go.org/installing_x2goserver-home_ubuntu)).", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2011-11-22T14:29:55.563", "id": "92251", "postId": "25645", "score": "0", "text": "The source machine tells me:\n\"This is nc from the netcat-openbsd package. An alternative nc is available in the netcat-traditional package.\nusage: nc [-46DdhklnrStUuvzC] [-i interval] [-P proxy_username] [-p source_port] [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_protocol] [-x proxy_address[:port]] [hostname] [port[s]]\", the terminal prompt is visible again, and the target machine gets nothing. Am I doing something wrong?", "userDisplayName": null, "userId": "1415" }, { "creationDate": "2012-01-11T16:08:47.637", "id": "108382", "postId": "25645", "score": "0", "text": "@Daniel: The only thing you're doing wrong is to post your question as a comment. [Open a new question](http://askubuntu.com/questions/ask) and link to this one.", "userDisplayName": null, "userId": "5786" }, { "creationDate": "2013-04-26T15:10:55.950", "id": "359487", "postId": "25645", "score": "0", "text": "Hi @Lekensteyn, I get many \"Cannot open\" and \"Cannot mkdir: no such file or directory\" ... Does the same apply when trying to do that on a VM (as guest) ?", "userDisplayName": null, "userId": "93352" }, { "creationDate": "2013-04-26T15:16:35.947", "id": "359491", "postId": "25645", "score": "0", "text": "result is I have many files with 0 size (empty)", "userDisplayName": null, "userId": "93352" }, { "creationDate": "2013-04-26T15:40:53.043", "id": "359496", "postId": "25645", "score": "0", "text": "@GeorgeKatsanos If you are not extracting your own home directory (or if you have abused sudo), then you may be unable to read some files. Be sure to execute the commands on the right machine (understand what the commands do!) and add sudo if necessary.", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2013-04-26T21:55:39.507", "id": "359722", "postId": "25645", "score": "0", "text": "I don't think I have abused sudo... actually I used an rsync command that worked a lot faster (like 1/10th of the time) and only got one error.. all files copied, with proper permissions.. but I will verify on Monday exactly. Are you sure the fact that the destination is a VM has nothing to do with it?", "userDisplayName": null, "userId": "93352" }, { "creationDate": "2013-04-27T10:08:11.797", "id": "360020", "postId": "25645", "score": "0", "text": "@GeorgeKatsanos `netcat` does not care if your destination is a VM.", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2013-04-27T18:48:34.600", "id": "360465", "postId": "25645", "score": "0", "text": "could it be because rsync before copying made a connection and asked for the password of the user for the source machine? in constrast with netstat? I am just saying this to help folks who will try to do the same, maybe rsync should be a proposed as a faster and more modern solution?", "userDisplayName": null, "userId": "93352" }, { "creationDate": "2013-04-27T20:38:20.047", "id": "360520", "postId": "25645", "score": "0", "text": "@GeorgeKatsanos `rsync` works over SSH (or with a rsync daemon), that is the password that was asked. It is probably better for synchronization purposes where you already have part of the files. I would suggest to try both commands, `tar` has easier options than rsync (I often have to look up whether I need to add a trailing slash or not).", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2015-08-15T09:44:00.397", "id": "953155", "postId": "25645", "score": "0", "text": "what if network drops? how to resume?", "userDisplayName": null, "userId": "145988" }, { "creationDate": "2015-08-15T18:03:47.423", "id": "953408", "postId": "25645", "score": "1", "text": "@Ubuntuit Use `rsync` if you have a unreliable network and are fine with transferring the home directory of your single user, try: `rsync -a /home/you/ you@otherhost:`. Pay attention to the trailing slash and note the colon. It copies the contents of you local home directory to the remote location (which starts in its home directory). The `-a` (`--archvive`) preserved mtimes, permissions, etc.", "userDisplayName": null, "userId": "6969" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-02-10T14:37:20.387", "id": "25645", "lastActivityDate": "2023-10-22T10:45:08.160", "lastEditDate": "2023-10-22T10:45:08.160", "lastEditorDisplayName": null, "lastEditorUserId": "2655", "ownerDisplayName": null, "ownerUserId": "6969", "parentId": "25633", "postTypeId": "2", "score": "56" }
[ { "accepted": null, "body": "<p>For the software packages, you should read the following : <a href=\"http://www.omgubuntu.co.uk/2010/05/transfer-your-packages-to-a-clean-install/\" rel=\"noreferrer\">http://www.omgubuntu.co.uk/2010/05/transfer-your-packages-to-a-clean-install/</a></p>\n\n<pre><code>oldmachi...
null
null
null
null
null
25635
1
26265
2011-02-10T13:09:05.087
3
1731
<p>I would really like people to be able to use my locked computer to surf, so I would like some way to run a browser on login screen. So can I make GDM run Firefox in some way? It would be cooler if I could have a browser as a screensaver, but that seems a bit harder.</p> <p>Please ignore all the security problems with this, if you let someone use your computer you have lost that race anyways. Though of course it would be nice to have a browser running as another user.</p>
10540
3037
2011-02-10T16:34:36.453
2023-12-16T05:21:17.710
Running a webbrowser on the screen saver or login screen?
[ "gdm", "login-screen", "screensaver" ]
7
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-11T23:08:44.780", "id": "28395", "postId": "25635", "score": "0", "text": "I'm going to hazard an answer I hate to hear: There is no way to do exactly what you ask without you heading up a project and writing code. Screensavers and login managers by design do not allow...
{ "accepted": true, "body": "<p>If it's still actual ... just add browser's launcher to </p>\n\n<p>/usr/share/gdm/autostart/LoginWindow</p>\n\n<p>and it will start automatically on the login page. Hope this will be helpful.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-15T10:32:26.553", "id": "29096", "postId": "26265", "score": "0", "text": "Precisely what I wanted, Thanks! Not sure how to get the browser to run as another user though...", "userDisplayName": null, "userId": "10540" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-14T08:48:52.113", "id": "26265", "lastActivityDate": "2011-02-14T08:48:52.113", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": "user10810", "ownerUserId": null, "parentId": "25635", "postTypeId": "2", "score": "1" }
[ { "accepted": null, "body": "<p>There might be a way to do what you are thinking BUT</p>\n\n<p>There are also some extensions for firefox that allow you to have the web browser open full screen and lock like a web kiosk at malls and schools and stuff</p>\n\n<p>then it requires a password to close I believe ...
null
null
null
null
null
25639
1
null
2011-02-10T13:39:51.813
1
3901
<p>When pushing a bzr repo to another server, I need to type an openSSH password. </p> <p>After I typed it, an openSSH popup appears, and requires the password again. </p> <p>Any way to avoid this?</p>
622
3037
2011-02-10T23:36:59.387
2011-03-17T03:33:57.143
How to avoid openSSH showing authentication popup?
[ "10.04", "openssh" ]
3
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>You may find GPG Agent useful - see <a href=\"https://help.ubuntu.com/community/GnuPrivacyGuardHowto\" rel=\"nofollow\">Tips and Tricks page on Ubuntu Community Help</a></p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-02-14T15:51:25.76...
null
null
null
null
null
25643
1
null
2011-02-10T14:25:21.717
2
1096
<p>Is there any way to sync the <em>Sent</em> folder in Evolution in Ubuntu One? Received items are updated from the mail server as I leave them there 7 days before deletion, but I need to keep my sent items on each computer too.</p>
null
3037
2011-02-10T16:30:58.517
2011-03-14T17:32:57.243
How do I sync Evolution's "Sent" folder?
[ "ubuntu-one", "evolution" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T14:32:18.597", "id": "28055", "postId": "25643", "score": "3", "text": "Are you using IMAP or POP?", "userDisplayName": null, "userId": "211" } ]
null
[ { "accepted": null, "body": "<p>Evolution by default stores the send mails for every account you create on a local folder to your computer. This folder can be accessed either by the evolution interface (\"On this computer --> Sent\") or by navigating to <code>/home/YOUR_USERNAME_HERE/.evolution/mail/local</...
null
null
null
null
user10573
25644
1
25806
2011-02-10T14:31:01.110
8
14744
<p>I'd like to know (programmatically) which window has current focus. Is there a window-manager independent way of discovering that?</p> <p>Otherwise, how does one determine which window has focus in Compiz or Metacity?</p>
252
9781
2011-10-10T17:08:59.830
2014-06-15T12:14:05.927
Which window has current focus?
[ "python", "programming", "window-manager", "window", "application-development" ]
6
1
CC BY-SA 2.5
[ { "creationDate": "2023-06-03T03:01:10.067", "id": "2577492", "postId": "25644", "score": "0", "text": "Same question on stack overflow: [Obtain Active window using Python - Stack Overflow](https://stackoverflow.com/questions/10266281/obtain-active-window-using-python)", "userDisplayName": n...
{ "accepted": true, "body": "<p>What you want is <a href=\"http://library.gnome.org/devel/libwnck/stable/\" rel=\"noreferrer\">libwnck</a> (if you're just interested in windows) or <a href=\"https://launchpad.net/bamf\" rel=\"noreferrer\">libbamf</a> (if you're interested in windows and the applications that own them).</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-12T01:16:56.103", "id": "28407", "postId": "25806", "score": "1", "text": "Thanks! This is exactly what I was looking for. It lead me to [another question](http://stackoverflow.com/questions/1380784/how-to-get-list-opened-windows-in-pygtk-or-gtk-in-ubuntu), which was exactly what I was looking for.", "userDisplayName": null, "userId": "252" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-11T12:47:55.110", "id": "25806", "lastActivityDate": "2011-02-11T12:47:55.110", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "12", "parentId": "25644", "postTypeId": "2", "score": "6" }
[ { "accepted": null, "body": "<p>Well if you can ping something back to the shell:</p>\n\n<pre><code>xdpyinfo | grep focus\n</code></pre>\n\n<p>Should work.</p>\n\n<p>Edit: For slightly cleaner output, try this:</p>\n\n<pre><code>xdpyinfo | grep -Eo 'window 0x[^,]+' | cut -d\" \" -f2\n</code></pre>\n", "...
null
null
null
null
null
25646
1
25751
2011-02-10T14:38:03.587
4
17866
<p>How to do a grep in a variable? I have stored the wget output in a variable and I need to extract out some strings from it. Like the content of the variable is </p> <pre><code>upgrade http://wordpress.org/download/ http://wordpress.org/wordpress-3.0.5.zip 3.0.5 en_US 4.3 4.1.2 </code></pre> <p>I need to check if the string contains the word <code>upgrade</code>, so I can do a simple grep and then check the exit status of it by <code>$?</code> and proceed. </p> <p>How can I get the value <code>3.0.5</code> which is actually the fourth word? </p> <p>And how to actually grep in a variable?</p>
8238
34298
2014-05-20T14:09:30.980
2014-05-20T14:09:30.980
How do I grep in the content of a string variable?
[ "grep" ]
3
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>If you are just looking for a word you can use a for loop.</p>\n\n<pre>STRING=\"upgrade this if you can\"\nfor x in $STRING; do\n echo $x\n if [ \"$x\" = 'upgrade' ]; then\n echo found\n y=$x\n break\n fi\ndone \necho $y</pre>\n\n<p>If upgrade is always in the same position you could try array assignment.</p>\n\n<pre>declare -a z\nz=($STRING)\necho ${z[0]}</pre>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-11T20:56:38.407", "id": "28366", "postId": "25751", "score": "0", "text": "Thanks a lot :) Although this fits the current question pretty well but Oli's answer is more detailed in case its not as easy as to grab words from a string", "userDisplayName": null, "userId": "8238" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-11T02:01:42.473", "id": "25751", "lastActivityDate": "2011-02-11T02:01:42.473", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2176", "parentId": "25646", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>Rather than grepping, perhaps just use <code>cut</code>. It'll be a lot faster than running a full regex.</p>\n\n<pre><code>STRING=\"upgrade http://wordpress.org/download/ http://wordpress.org/wordpress-3.0.5.zip 3.0.5 en_US 4.3 4.1.2\"\necho \"$STRING\" | cut -d\" \" -f4\n</...
null
null
null
null
null
25648
1
25652
2011-02-10T14:43:41.553
9
4192
<p>I am interested in knowing which options are used to compile vim in the package "vim" as I am trying to compile vim from source on another system, not running Debian/Ubuntu, and would like it to work in a similar way.</p>
10173
3037
2011-02-10T23:54:38.593
2022-12-26T13:44:15.923
Is it possible to find out what options packages were compiled with?
[ "package-management", "vim", "compiling" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Grab the source package</p>\n\n<pre><code>apt-get source vim\n</code></pre>\n\n<p>That'll download the source for the package in your current dir. Look at <code>debian/rules</code>, which is a makefile used when creating all the different vim packages. It may be hard to read, but the information you seek should be in there somewhere.</p>\n\n<p>You can also download the source package from <a href=\"http://packages.ubuntu.com/source/trusty/vim\" rel=\"nofollow\">http://packages.ubuntu.com/source/trusty/vim</a> (scroll down) if you can't log into a debian/ubuntu box to run apt-get.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2016-09-20T04:18:07.467", "id": "1257923", "postId": "25652", "score": "0", "text": "Mention that `debian/rules` is in strongswan_{version}-*ubuntu*.debian.tar.xz.", "userDisplayName": null, "userId": "70270" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-02-10T15:04:36.247", "id": "25652", "lastActivityDate": "2014-10-21T10:23:12.167", "lastEditDate": "2014-10-21T10:23:12.167", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "9016", "parentId": "25648", "postTypeId": "2", "score": "11" }
[ { "accepted": true, "body": "<p>Grab the source package</p>\n\n<pre><code>apt-get source vim\n</code></pre>\n\n<p>That'll download the source for the package in your current dir. Look at <code>debian/rules</code>, which is a makefile used when creating all the different vim packages. It may be hard to read,...
null
null
null
null
null
25651
1
25659
2011-02-10T15:00:02.350
14
34108
<p>On our school system, we're able to run script files without typing <code>bash</code> or <code>csh</code> or what have you without indicating what script type it is. On Ubuntu, however, I'm required to type <code>bash script.bash</code> for example. Is this always necessary in Ubuntu, or is it some setting I can change?</p>
10518
3037
2011-02-10T16:32:57.110
2018-07-22T07:28:15.460
Bash scripts will not run without typing "bash" in front of it
[ "bash" ]
3
5
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T16:40:48.080", "id": "28083", "postId": "25651", "score": "1", "text": "How do you start it, and what is the errormessage?", "userDisplayName": null, "userId": "10068" }, { "creationDate": "2014-03-09T13:39:28.363", "id": "560541", "postId": ...
{ "accepted": true, "body": "<ol>\n<li><p>Make sure you start the script with <code>./script</code> or full path or whatever. Just <code>script</code> may not work (it works if the directory is in <code>$PATH</code>, like <code>/usr/bin</code>), since on UNIX systems it's not a habit to have the current directory in your path (for security reasons, and it's good!)</p></li>\n<li><p>Make sure the script is executable, for example: <code>chmod +x script</code> will made it executable.</p></li>\n<li><p>Make sure, you have <code>#!/bin/bash</code> as the first line in your script. Also make sure, that it's not edited with some kind of Windows editor, since those often uses the \"DOS type\" of eol (end of line) which differs from the UNIX one (if the checklist above is OK, but you got \"bad interpreter: no such file or directory\" or so, even if it's /bin/bash, this is often the reason, as the non-printable - so you usually don't see it - \\r will be treated as the part of the path of the interpreter)</p></li>\n</ol>\n\n<p>Others already mentioned: it's important to have <code>/bin/bash</code> if you use bash features, also <code>/bin/sh</code> was symlinked to <code>/bin/bash</code>, but now-a-days (as far as I noticed) it's symlinked to <code>dash</code> which won't provide bash compatibility, only the POSIX <code>sh</code>. It's quite important, even quite expensive softwares at our firm have this issue: scripts contain <code>#!/bin/sh</code> as the first line but it depends on bash functionalities as well.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T17:25:17.187", "id": "28093", "postId": "25659", "score": "0", "text": "So I will have to run it like so: ./script, as I have discovered. This is better than having to type \"bash\" each time, and it makes sense.\nI believe I knew this before, it just slipped my mind. Oh well, thanks!", "userDisplayName": null, "userId": "10518" }, { "creationDate": "2011-02-11T08:26:58.023", "id": "28220", "postId": "25659", "score": "0", "text": "In theory you can put the current working directory into the PATH variable so then you can use just \"script\" instead of \"./script\" but I warn you: this is really not a habit on UNIX systems and it can be a security problem! Also it's not nice in a school to learn things in a way which has never been the solution on UNIX systems, so I would avoid this solution ...", "userDisplayName": null, "userId": "10579" }, { "creationDate": "2014-03-09T14:46:10.160", "id": "560586", "postId": "25659", "score": "1", "text": "Or, preferably, `#!/usr/bin/env bash`, which is slightly more portable.", "userDisplayName": null, "userId": "53508" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-02-10T15:52:19.560", "id": "25659", "lastActivityDate": "2018-07-22T07:28:15.460", "lastEditDate": "2018-07-22T07:28:15.460", "lastEditorDisplayName": null, "lastEditorUserId": "158442", "ownerDisplayName": null, "ownerUserId": "10579", "parentId": "25651", "postTypeId": "2", "score": "19" }
[ { "accepted": null, "body": "<p>Make sure the first line of the file reads:</p>\n\n<pre><code>#!/bin/bash\n</code></pre>\n\n<p>If the shebang is <code>#!/bin/sh</code>, you should not use any bash-specific features, only POSIX features. Even if <code>/bin/sh</code> is a symlink to <code>bash</code>, bash wi...
null
null
null
null
null
25655
1
25665
2011-02-10T15:19:29.120
11
30965
<p>On my user folder, I have folders like <strong>D</strong> ropbox, <strong>D</strong> ocuments, <strong>D</strong> ownloads &amp; <strong>d</strong> ump.</p> <p><code>ls a*</code> should list all the files whose name starts with <code>a</code>. Right? But when I gives the command <code>ls d*</code>, instead of just displaying <code>dump</code> it shows me the ls of dump directory. And When I gives the command as <code>ls D*</code>, then it displays ls of all foldes starting with <strong>D</strong></p> <p>So what part did I miss in understand it?</p> <p><strong>Edit:</strong> Attaching a screenshot <img src="https://i.stack.imgur.com/K37r6.png" alt="ls screenshot"></p>
8238
235
2011-10-11T21:11:17.160
2016-01-13T21:01:02.010
Why doesn't this wildcard work the way I expect?
[ "ls" ]
3
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>According to bash man page:</p>\n\n<blockquote>\n <p>bash scans each word for the\n characters *, ?, and [. If one of\n these characters appears, then the\n word is regarded as a pattern, and\n replaced with an alphabetically sorted\n list of file names matching the\n pattern</p>\n</blockquote>\n\n<p>and from info node for <strong>ls</strong></p>\n\n<blockquote>\n <p>The `ls' program lists information\n about files (of any type, including\n directories). Options and file\n arguments can be intermixed\n arbitrarily, as usual.</p>\n \n <p>For non-option command-line\n arguments that are directories, by\n default 'ls' lists the contents of\n directories, not recursively, and\n omitting files with names beginning\n with '.'. For other non-option\n arguments, by default `ls' lists just\n the file name. If no non-option\n arguments are specified, 'ls' lists\n the contents of the current directory.</p>\n</blockquote>\n\n<p>so when yo give <code>ls d*</code>, <strong>d*</strong> is expanded to sorted list of all file/directory names starting with d. So you command becomes </p>\n\n<pre><code>ls dump\n</code></pre>\n\n<p>and as dump is a directory name so you get the listing of all files in the directory \"dump'\nbut when you give <code>ls D*</code>, <strong>D*</strong> is expanded to \"<strong>Desktop Documents Downloads Dropbox</strong>\", so the command becomes</p>\n\n<pre><code>ls Desktop Documents Downloads Dropbox\n</code></pre>\n\n<p>and as all of these are directories, you get the listing of files in individual directory. If there was a file starting with <strong>D</strong> in current directory it would have been listed seperately.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-02-10T16:17:45.433", "id": "28077", "postId": "25665", "score": "2", "text": "A minor addition: When more than one directory is given as an argument, ls displays the name of each directory before listing its content. It will not do it for a single directory.", "userDisplayName": null, "userId": "275" }, { "creationDate": "2011-02-10T16:29:06.843", "id": "28079", "postId": "25665", "score": "0", "text": "Thanks! That cleared my doubt. I did a `ls p*` and it showed up a file because it exists and a `ls P*` shows the _Pictures Public_ folder as there is no file starting with **P**. And when I created a directory named **poo**, it showed up on `ls p*`", "userDisplayName": null, "userId": "8238" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T16:15:31.080", "id": "25665", "lastActivityDate": "2011-02-10T16:15:31.080", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6713", "parentId": "25655", "postTypeId": "2", "score": "18" }
[ { "accepted": null, "body": "<p>ls d* and D* both list files and folders matching d* and D* respectively, the behaviour is the same, there must have been a mistake on your test.</p>\n\n<p>If you want to list only the folder names and not the folder contents you need to use \"-d\":</p>\n\n<pre><code>ls -d D*...
null
null
null
null
null
25661
1
null
2011-02-10T15:57:37.290
2
7879
<p>so I need to connect to a remote server. Remote server is running Debian, I am on Ubuntu Lucid -- and a noob in SSH.</p> <p>I need a public key to connect to the remote server. The key has been created as a PuTTY Pageant File (.ppk). I used <code>putty-tools</code> to convert the .ppk key to Linux files (namely, <em>id_rsa</em> and <em>id_rsa.pub</em>). SSH works okay, but when I try to SCP a file terminal says :</p> <pre><code># scp -P 52 /path/to/local/file user@host.com:/path/to/remote/file Permission denied (publickey). lost connection </code></pre> <p>Also, it's not working using SFTP with FileZilla:</p> <pre><code>Command: Trust new Hostkey: Once Error: Could not connect to server </code></pre> <p>How come it's working with SSH and not SCP? Thanks!</p> <p>Edit: it's working now! Not really sure why... How is that passphrase system working with SSH? Does it keep the passphrase in th terminal's memory? This time I've connected to SSH in one terminal tab. I was prompted my passphrase, entered it and got in. Then on another terminal tab, I tried to scp a file and I've been asked the passphrase and it worked!....</p>
9609
9609
2011-02-11T07:42:27.617
2012-01-01T22:57:17.123
SCP not working with a .ppk key
[ "ssh", "scp" ]
2
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T18:00:55.360", "id": "28104", "postId": "25661", "score": "0", "text": "please provide more information. :) try and connect and add verbose tak.", "userDisplayName": null, "userId": "333" }, { "creationDate": "2011-02-10T20:19:40.017", "id": "281...
null
[ { "accepted": null, "body": "<p>Is <code>id_rsa</code> in <code>~/.ssh</code>? This is where <code>ssh</code> and <code>scp</code> looks for the private keys.</p>\n\n<p>Also if your using a private key you shouldn't be prompted for a password, this would suggests that it is not being used, and also that it ...
null
null
null
null
null
25664
1
34721
2011-02-10T16:14:36.137
4
16008
<p>I want to attempt some simple programs using MPI on my desktop which runs KUbuntu 10.04.2. Which MPI package should I install?</p>
2696
null
null
2011-04-12T16:44:45.620
Which MPI package should I install?
[ "package-management", "kubuntu" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>If it's just for simple usage on your own system, OpenMPI is very nice, as it doesn't require any setup after installation, just running your application with <code>mpirun</code> is sufficient.</p>\n\n<pre><code>sudo aptitude install libopenmpi-dev openmpi-bin\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-04-12T16:44:45.620", "id": "34721", "lastActivityDate": "2011-04-12T16:44:45.620", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "12757", "parentId": "25664", "postTypeId": "2", "score": "8" }
[ { "accepted": null, "body": "<p>There's a <a href=\"https://help.ubuntu.com/community/MpichCluster\" rel=\"nofollow noreferrer\">great Guide in the Ubuntu Community Help</a> on using the <a href=\"http://www.mcs.anl.gov/research/projects/mpich2/\" rel=\"nofollow noreferrer\">MPICH2</a> implementation of the...
null
null
null
null
null
25668
1
null
2011-02-10T16:34:53.547
15
73430
<p>Is it possible to install Ubuntu from the hard disk?</p>
null
3037
2011-02-10T16:35:47.993
2019-12-01T19:43:47.287
Can you install Ubuntu from the hard disk?
[ "installation", "disk" ]
5
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T16:42:46.970", "id": "28084", "postId": "25668", "score": "1", "text": "How do you mean? From a hard disk instead of a CD or USB?", "userDisplayName": null, "userId": "449" }, { "creationDate": "2011-02-10T17:49:01.470", "id": "28100", "postI...
null
[ { "accepted": null, "body": "<p>Yes you can use Wubi</p>\n\n<p><a href=\"https://help.ubuntu.com/community/Wubi\" rel=\"nofollow\">https://help.ubuntu.com/community/Wubi</a></p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-02-10T19:01:29.190", "id": "28116", ...
null
null
null
null
user10583
25670
1
25674
2011-02-10T16:51:10.217
2
4079
<blockquote> <p><strong>Possible Duplicates:</strong><br> <a href="https://askubuntu.com/questions/4109/how-do-i-increase-resize-margin-on-windows">How do I increase resize Margin on windows?</a><br> <a href="https://askubuntu.com/questions/25212/why-are-window-borders-so-hard-to-click-in-ambiance">Why are window borders so hard to click in Ambiance?</a> </p> </blockquote> <p>It seems like it's very difficult on this computer to get the mouse right at the corner of a window so that I can resize it. My other box seems much less sensitive. Is there a way to change that setting?</p>
6887
-1
2017-04-13T12:23:28.223
2011-02-10T17:03:48.247
Is there any way to make the window resizing less sensitive?
[ "gnome", "resize" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The problem is the border size of the windows. The default theme in Ubuntu has a very narrow border. You can change the windows border theme in \"System, Preferences, Appearance\". However, I haven't found a theme I like better than the default, so I've taken to using a shortcut I saw posted somewhere else. You can also resize a window by holding down the Alt key and using your middle mouse button. There's some dead space in the middle of the window using this method. Just be near the edge you want to resize, and it will work. Then you don't have to grab the single pixel of the border. ;-)</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-10T18:09:10.917", "id": "28106", "postId": "25674", "score": "0", "text": "I do vote for Elegant Gnome!\n\nA little colour tweaking and it's wonderful :)", "userDisplayName": null, "userId": "5938" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-02-10T17:03:48.247", "id": "25674", "lastActivityDate": "2011-02-10T17:03:48.247", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2293", "parentId": "25670", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>The problem is the border size of the windows. The default theme in Ubuntu has a very narrow border. You can change the windows border theme in \"System, Preferences, Appearance\". However, I haven't found a theme I like better than the default, so I've taken to using a short...
null
null
2011-02-10T21:45:28.927
null
null
25671
1
null
2011-02-10T16:51:33.127
11
1994
<p>Because I like Qt and Python, is there a Quickly template for PyQt similar to the PyGTK one?</p>
4871
9781
2011-10-10T17:09:01.843
2012-07-18T19:45:23.113
Quickly template for PyQt?
[ "python", "application-development", "qt", "quickly", "pyqt" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-10T18:44:03.437", "id": "28112", "postId": "25671", "score": "0", "text": "Want to make one? I've been looking for something to scratch my itch with.", "userDisplayName": null, "userId": "214" } ]
null
[ { "accepted": null, "body": "<p>There is not a Qt template yet, no. As a maintainer of Quickly, we'd love to add one, but we've just been busy with other things. I'd be happy to mentor someone willing to develop one.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, ...
null
null
null
null
null
25672
1
null
2011-02-10T16:51:56.737
3
727
<p>I keep having problems with my GNOME panels. What I have done is moved both panels to the bottom of the screen and added a bunch of icons / widgets etc.</p> <p>However I am finding often that when I login sometimes my panels have been restored to the default state with the icon panel at the top but with nothing other than the Firefox icon. Also sometimes the panels are in the correct place but all the icons have been removed from at least one of the panels.</p> <p>This is quite irritating as I seem to have to spend time setting my entire panel up again at least once every 2 days or so. Also my wine applications (such as Spotify) used to be able to dock in the main notification area, now they are docked in a separate "wine dock" which hovers on the desktop, this is not really ideal as I prefer to keeps these in one place.</p> <p>In my <code>$HOME/.gnome2/panel2.d/default/launchers</code> folder there seems to be a bunch of symlinks which appear to be the icons that I would usually have on my panel, but they are not visible on the panel.</p> <p>Other than this all my profile settings and application settings do not seem to have been lost or changed, just the panels.</p> <p>I can't seem to find much evidence of anyone else having this problem and I've never had it before so I am confused as to why this has started happening and what I can do to prevent it.</p>
9069
3037
2011-02-10T17:05:21.130
2011-04-23T19:28:38.977
Panels in GNOME keep resetting or turning blank
[ "gnome-panel" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>alt+f2 type : gconf-editor</p>\n\n<p>apps--->\npanel-->\nglobal-></p>\n\n<p>Then Check \"locked_down\"</p>\n\n<p>It should prevent the panels from further change</p>\n\n<p>but you must uncheck it to change things on the panels</p>\n", "commentCount": "0", "comments": ...
null
null
null
null
null