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
20992
1
21964
2011-01-11T02:09:58.150
2
4291
<p>Removing the package from cache, and disabling Recommended Updates in Software Sources gives me an error saying I need to install this package.</p> <p>I've tried to update several times, but it keeps hanging on unpacking the ubuntu-sso-client package. Which forces me to hard-reset to unlock the package manager.</p> <p>I've tried:</p> <pre><code>sudo dpkg --configure -a </code></pre> <p>No errors</p> <pre><code>sudo apt-get upgrade --fix-broken </code></pre> <p>Wants me to reinstall said package, resulting in it hanging</p> <p>Removing the package:</p> <pre><code>sudo rm -f /var/cache/apt/archives/ubuntu-sso-client_1.0.8-0ubuntu1_all.deb </code></pre> <p>Results in the same effect, it re-downloads then hangs</p> <p>I can de-select Recommended Updates but I get error messages when I try to update again:</p> <pre><code>E: The package ubuntu-sso-client needs to be reinstalled, but I can't find an archive for it. </code></pre> <p>Which won't let me continue</p> <p>Finally re-enabling the source, I try to remove ubuntu-sso</p> <pre><code>sudo apt-get remove ubuntu-sso-client </code></pre> <p>It removes a bunch of other packages but complains about the package:</p> <pre><code>dpkg: error processing ubuntu-sso-client (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. </code></pre> <p>Reinstalling ubuntu-sso-client hangs :(</p> <p>I'm at my wits end, any ideas? I would be nice to install all the other updates but this one is preventing it.</p>
2706
114
2011-01-13T17:06:40.797
2011-01-17T14:10:05.947
Update gets stuck unpacking bad package, won't continue without it
[ "10.10", "update-manager", "software-sources" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Try <code>dpkg --force-help</code>. And let the Force be with you.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-17T14:10:05.947", "id": "21964", "lastActivityDate": "2011-01-17T14:10:05.947", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "9061", "parentId": "20992", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Try <code>dpkg --force-help</code>. And let the Force be with you.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-17T14:10:05.947", "id": "21964", "lastActivityDat...
null
null
null
null
null
21002
1
null
2011-01-11T04:14:45.987
2
7029
<p>I've isnstalled phpMyAdmin with <code>apt-get install phpmyadmin</code>. When I open "http://localhost/phpmyadmin/", enter "root" as the user name and my MySQL root password and press go, then if I use Firefox, I get offered to download index.php file (and if I agree to download, the file is empty), if I use Opera 11, it says " Connection closed by remote server". What may the reason be and how to fix it?</p> <p>I use up-to-date Xubuntu 11.04. Reinstalling phpmyadmin did not help, neither did removing AppArmor.</p> <p>I've tried to use SQLBuddy instead, but there's exactly the same problem. So, I think, the problem is not in phpMyAdmin but in Apache or something.</p>
2390
2390
2011-01-11T05:08:48.470
2015-07-26T09:03:51.173
How to fix phpMyadmin login?
[ "11.04", "apache2", "php", "lamp", "phpmyadmin" ]
2
8
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T05:15:23.447", "id": "22575", "postId": "21002", "score": "0", "text": "open localhost to see if your apache works or not, similarly run a php script from command line to check you php, and run mysql from terminal to check if it works, if every components, run then...
null
[ { "accepted": null, "body": "<p>From the README.Debian file:</p>\n\n<blockquote>\n <p>USAGE</p>\n \n <p>The application will be available at <a href=\"http://localhost/phpmyadmin/\" rel=\"nofollow\">http://localhost/phpmyadmin/</a>\n after install if you use one of supported web servers (Apache and Lig...
null
0
null
null
null
21003
1
21005
2011-01-11T04:29:56.120
5
482
<p>What is the "desktop couch scratch" folder, and what do I do with it, if anything?</p>
8357
235
2011-01-11T04:51:58.867
2011-01-11T04:51:58.867
What is the "desktop couch scratch" folder?
[ "ubuntu-one", "firefox", "couchdb" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It is used by the bindwood extension during synchronization. If you're using bindwood and delete it, it will get recreated the next time you sync; I'm not sure what would happen if you delete it <em>during a sync</em>, so don't do that :)</p>\n\n<p>If you're not using bindwood you can safely delete it.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T04:39:33.337", "id": "21005", "lastActivityDate": "2011-01-11T04:39:33.337", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "711", "parentId": "21003", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>It is used by the bindwood extension during synchronization. If you're using bindwood and delete it, it will get recreated the next time you sync; I'm not sure what would happen if you delete it <em>during a sync</em>, so don't do that :)</p>\n\n<p>If you're not using bindwoo...
null
null
null
null
null
21004
1
21009
2011-01-11T04:35:01.877
5
4468
<p>I have two computers.</p> <ul> <li>C1: Windows with Internet connection.</li> <li>C2: Ubuntu connected with C1 but not connected with Internet.</li> </ul> <p>I'd like to access apt repositories to update or install some packages on Ubuntu.</p> <p>I heard, apt-cacher is one of solutions, but I couldn't find apt-cacher for Windows (It is only one, I have, with Internet connection).</p> <p>Please let me know how to do.</p>
8691
46312
2012-03-13T23:13:35.850
2012-07-21T09:45:22.703
Is there apt-cacher for Windows?
[ "apt", "repository" ]
5
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>There is no apt-cacher for windows, although you could just as easily proxy the internet connection from the windows machine to your ubuntu machine. This assumes you have admin access to the windows machine... wich you would have needed for an apt-cacher service install anyway.</p>\n\n<p>Your other option is to do an apt mirror, this involves downloading the entire ubuntu archive onto your local computer (about 3GB) which you can host from windows via apache. You can then point your Ubuntu machine at it.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T06:11:16.267", "id": "21009", "lastActivityDate": "2011-01-11T08:58:05.940", "lastEditDate": "2011-01-11T08:58:05.940", "lastEditorDisplayName": null, "lastEditorUserId": "132", "ownerDisplayName": null, "ownerUserId": "132", "parentId": "21004", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>There is no apt-cacher for windows, although you could just as easily proxy the internet connection from the windows machine to your ubuntu machine. This assumes you have admin access to the windows machine... wich you would have needed for an apt-cacher service install anywa...
null
null
null
null
null
21006
1
21160
2011-01-11T05:24:20.057
1
1354
<p>I am on 10.10 and have been able to get connected to a VPN server. But the problem is I can't open any other sites when I am connected to VPN.</p> <p>It's working in Win though, where I was able to browse any sites and the VPN site at the same time without issues. </p> <p>Must be I am missing something here. Please help.</p>
8749
null
null
2011-04-12T05:40:13.367
Getting connected to VPN but other sites not opening
[ "vpn", "connection" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T07:27:28.040", "id": "22585", "postId": "21006", "score": "0", "text": "Run \"route\" command before and after connecting to VPN and add its output to question. I guess that when you connect to VPN a default route gets added which redirects all the traffic over VPN....
{ "accepted": true, "body": "<p>It's working now. </p>\n\n<p>I had not entered the Domain info. </p>\n", "commentCount": "7", "comments": [ { "creationDate": "2011-05-04T12:04:50.047", "id": "43867", "postId": "21160", "score": "0", "text": "@Arindom: Press the [v] on the left of the answer.", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2011-05-04T15:09:14.273", "id": "43925", "postId": "21160", "score": "0", "text": "Thanks Lekensteyn. I tried but it says \"You can't vote for your own post\". As per I understand instead of commenting to the actual answer, I had mistakenly answered on my own question. That is why it is not working. Please advise if you want me to do anything else to close this question.", "userDisplayName": null, "userId": "8749" }, { "creationDate": "2011-05-04T15:12:22.433", "id": "43929", "postId": "21160", "score": "1", "text": "@Arindom: I see the problem, you've two accounts. Request an account merge at http://meta.askubuntu.com/", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2011-05-04T15:46:42.570", "id": "43937", "postId": "21160", "score": "0", "text": "Thanks Lekensteyn. I have requested here : http://meta.askubuntu.com/questions/1328/please-merge-my-two-accounts", "userDisplayName": null, "userId": "8749" }, { "creationDate": "2011-05-04T15:56:05.363", "id": "43942", "postId": "21160", "score": "0", "text": "@Lekensteyn : I have now accepted the answer. Hope that is correct. Please suggest if I need to take any further steps with regard to this question.", "userDisplayName": null, "userId": "8749" }, { "creationDate": "2011-05-04T16:00:06.210", "id": "43944", "postId": "21160", "score": "0", "text": "@Arindom: you could expand your answer, is Domain info the gateway?", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2011-05-04T16:06:52.750", "id": "43945", "postId": "21160", "score": "0", "text": "@Lekensteyn : I have now asked a similar type question with more details already.", "userDisplayName": null, "userId": "8749" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T04:23:41.367", "id": "21160", "lastActivityDate": "2011-01-12T04:23:41.367", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8749", "parentId": "21006", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>It's working now. </p>\n\n<p>I had not entered the Domain info. </p>\n", "commentCount": "7", "comments": [ { "creationDate": "2011-05-04T12:04:50.047", "id": "43867", "postId": "21160", "score": "0", "text": "@Arindom: Pr...
null
null
null
null
null
21007
1
21020
2011-01-11T05:50:01.327
2
156
<p>After attempting to install quickly with:</p> <pre><code>sudo apt-get install quickly python-quickly-widgets </code></pre> <p>I got a postfix (mail daemon) configuration screen. Why do I need it to use quickly and how should I configure it? I read/write mail on my browser (gmail...).</p>
8673
1067
2011-01-11T09:43:49.367
2011-01-11T10:30:34.380
Postfix after insalling quickly?
[ "postfix", "quickly" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Postfix is a <em>mail transfer agent</em>, it's used to send email from within your computer system (email is inherently built into every unix-like operating system). This is sometimes used to record notifications for system administrators (i.e. an email to the 'root' user account) and things like that.</p>\n\n<p><img src=\"https://i.stack.imgur.com/Qa4k6.png\" alt=\"alt text\"></p>\n\n<p>In short, you can safely select <strong><code>No Configuration</code></strong>. You absolutely don't need to worry about it. </p>\n\n<p>The reason why postfix was configured was that <code>bsd-mailx</code> depends on it, which in turn is a dependency of <code>devscripts</code>, which is installed as part of the debian build system.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T09:43:26.327", "id": "21020", "lastActivityDate": "2011-01-11T10:30:34.380", "lastEditDate": "2011-01-11T10:30:34.380", "lastEditorDisplayName": null, "lastEditorUserId": "1067", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "21007", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>Postfix is a <em>mail transfer agent</em>, it's used to send email from within your computer system (email is inherently built into every unix-like operating system). This is sometimes used to record notifications for system administrators (i.e. an email to the 'root' user ac...
null
null
null
null
null
21010
1
21121
2011-01-11T06:14:22.607
5
861
<p>Will Ubuntu have something like Google App Inventor to easily develop applications for the Ubuntu platform? Is Quickly intended to do that? I heard Ubuntu is planing to make easy and fun to develop for Ubuntu platform. How is it going to be accomplished?</p>
8673
9781
2011-10-10T15:20:59.420
2017-03-13T02:12:46.400
App Inventor for the Ubuntu platform?
[ "development", "application-development", "quickly" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<h1><a href=\"http://radicalbreeze.com/\" rel=\"nofollow noreferrer\">Illumination Software Creator</a> <img src=\"https://i.stack.imgur.com/yOkRZ.png\" alt=\"commercial\" /></h1>\n<p>This is a proprietary commercial application that costs $39.85 US (available from Ubuntu Software Centre) and seems to be offering what you are looking for. As far as I can tell, it is a GUI where you set out a flow chart of user interactions.</p>\n<p>I would recommend you try <a href=\"https://wiki.ubuntu.com/Quickly\" rel=\"nofollow noreferrer\"><strong>quickly</strong></a>. It allows you to easily create applications. It generates a project template containing much of the required boilerplate code that you can then edit. It allows you to design the user interface in Glade, a graphical designer.</p>\n<p><img src=\"https://i.stack.imgur.com/xVRI5.png\" alt=\"alt text\" /></p>\n<p>Quickly also handles packaging and uploading to PPAs.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-07-02T18:21:16.557", "id": "192978", "postId": "21121", "score": "0", "text": "Illumination software creator is open sourced and now it is available free of cost", "userDisplayName": null, "userId": "39372" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-11T21:03:06.470", "id": "21121", "lastActivityDate": "2017-03-13T02:12:46.400", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "667", "parentId": "21010", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>Ubuntu probably won't include App Inventor by default, but is far as i can see on the <a href=\"http://appinventor.googlelabs.com/learn/setup/\" rel=\"nofollow\">setup page</a>, Ubuntu is supported, and it even has a deb package.</p>\n\n<p>As far as the Ubuntu strategy for de...
null
null
null
null
null
21013
1
21116
2011-01-11T08:29:23.567
1
734
<p>I'm using the Docky ppa, and since the latest update it won't start. If I run it from the terminal, this is what I get:</p> <pre><code>[Info 09:21:19.005] Docky version: 2.1.0 bzr docky r1761 ppa [Info 09:21:19.024] Kernel version: 2.6.35.24 [Info 09:21:19.026] CLR version: 2.0.50727.1433 [Debug 09:21:19.493] [UserArgs] BufferTime = 0 [Debug 09:21:19.494] [UserArgs] MaxSize = 2147483647 [Debug 09:21:19.494] [UserArgs] NetbookMode = False [Debug 09:21:19.494] [UserArgs] NoPollCursor = False [Debug 09:21:19.528] [SystemService] Using org.freedesktop.UPower for battery information [Info 09:21:19.564] [ThemeService] Setting theme: Transparent [Debug 09:21:19.587] [DesktopItemService] Loading remap file '/usr/share/docky/remaps.ini'. [Debug 09:21:19.599] [DesktopItemService] Remapping 'Picasa3.exe' to 'picasa'. [Debug 09:21:19.599] [DesktopItemService] Remapping 'nbexec' to 'netbeans'. [Debug 09:21:19.599] [DesktopItemService] Remapping 'deja-dup-preferences' to 'deja-dup'. [Debug 09:21:19.599] [DesktopItemService] Remapping 'VirtualBox' to 'virtualbox'. [Warn 09:21:19.600] [DesktopItemService] Could not find remap file '/home/lasse/.local/share/docky/remaps.ini'! [Debug 09:21:19.602] [DesktopItemService] Loading desktop item cache '/home/lasse/.cache/docky/docky.desktop.en_DK.utf8.cache'. [Info 09:21:20.101] [DockServices] Dock services initialized. [Debug 09:21:20.134] [DBusManager] DBus Registered: org.gnome.Docky [Debug 09:21:20.142] [DBusManager] DBus Registered: net.launchpad.DockManager Stacktrace: at (wrapper managed-to-native) System.IO.MonoIO.Read (intptr,byte[],int,int,System.IO.MonoIOError&amp;) &lt;IL 0x00012, 0x00062&gt; at (wrapper managed-to-native) System.IO.MonoIO.Read (intptr,byte[],int,int,System.IO.MonoIOError&amp;) &lt;IL 0x00012, 0x00062&gt; at System.IO.FileStream.ReadData (intptr,byte[],int,int) &lt;IL 0x00009, 0x00047&gt; at System.IO.FileStream.RefillBuffer () &lt;IL 0x0001c, 0x0002b&gt; at System.IO.FileStream.ReadByte () &lt;IL 0x00079, 0x000c7&gt; at Mono.Addins.Serialization.BinaryXmlReader.ReadNext () &lt;IL 0x0000b, 0x00031&gt; at Mono.Addins.Serialization.BinaryXmlReader.Skip () &lt;IL 0x0003c, 0x00053&gt; at Mono.Addins.Serialization.BinaryXmlReader.Skip () &lt;IL 0x00047, 0x0005f&gt; at Mono.Addins.Serialization.BinaryXmlReader.Skip () &lt;IL 0x00047, 0x0005f&gt; </code></pre> <p>And this .Skip () continues infinitely, and very fast. I've tried cleaning the cache and reinstalling docky, but without luck.</p>
615
114
2011-01-11T20:08:08.307
2011-01-11T20:08:08.307
Docky have stopped working since update
[ "10.10", "64-bit", "docky" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It looks like you are experiencing <a href=\"https://bugs.launchpad.net/docky/+bug/661495\" rel=\"nofollow\">bug #661495</a>. </p>\n\n<p>The fix is in the first <a href=\"https://bugs.launchpad.net/docky/+bug/661495/comments/1\" rel=\"nofollow\">comment</a>:</p>\n\n<pre><code>Do this: rm -Rf ~/.local/share/docky/plugins\n\nThen start Docky.\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T20:06:56.670", "id": "21116", "lastActivityDate": "2011-01-11T20:06:56.670", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "114", "parentId": "21013", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>It looks like you are experiencing <a href=\"https://bugs.launchpad.net/docky/+bug/661495\" rel=\"nofollow\">bug #661495</a>. </p>\n\n<p>The fix is in the first <a href=\"https://bugs.launchpad.net/docky/+bug/661495/comments/1\" rel=\"nofollow\">comment</a>:</p>\n\n<pre><code...
null
null
null
null
null
21018
1
null
2011-01-11T09:27:22.663
0
4013
<p>I am trying to learn image processing and obviously opencv is one of the best options. Usually synaptic does all my installing work for me so I just checked the repos. But in the repos there is only on libcv1 and it is listed as 1.0.0-6.2ubuntu1. Does that mean it is version 1.0 of opencv? Also I found this page in community wiki</p> <p><a href="https://help.ubuntu.com/community/OpenCV" rel="nofollow">https://help.ubuntu.com/community/OpenCV</a></p> <p>It says I need to install libcv4 which is not in my repos. I also downloaded the source but it uses something called cmake, never used it before. Is it similar to make?</p>
6288
235
2011-01-11T14:54:40.237
2014-06-17T20:59:45.213
How to install opencv?
[ "9.10", "repository", "medibuntu", "opencv" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2012-01-07T23:17:44.123", "id": "107169", "postId": "21018", "score": "0", "text": "Just making a note here that 9.10 support ended back in April last year. As a result, answers provided here may not be useful for users of more recent Ubuntu versions. Additionally, outdated ve...
null
[ { "accepted": null, "body": "<p>In your case you have indeed version 1.0.0 of the library.</p>\n\n<p>In general when you want to develop using a library, you have to get the corresponding -dev package which contains the header files. In this case libcv-dev. It will also install the library itself, which may...
null
null
null
null
null
21019
1
65518
2011-01-11T09:31:35.663
45
1376
<p>I am considering buying "Ubuntu Desktop Support" from Canonical for 2 reasons:</p> <ol> <li>I have a couple of issues that I would like professional help with. (Specifically a recurring kernel panic, and a slow wireless connection.)</li> <li>I would like to lend a helping hand toward supporting Ubuntu financially.</li> </ol> <p>However, I am a bit worried that once I transfer the money, they will end up just referring me to the bug tracker on Launchpad. </p> <p>Also, free support options like this site have the pleasant property that they are open to the internet, meaning that if my issue gets fixed, it is more likely to help others with the same problem.</p> <p>What does paying for support from Canonical actually get you?</p>
1764
169736
2014-02-06T13:13:06.237
2014-02-06T13:13:06.237
What has been your experience with paid support from Canonical?
[ "canonical" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-13T23:36:34.620", "id": "23075", "postId": "21019", "score": "6", "text": "Do let us know about your experience with it in case you decide to subscribe.", "userDisplayName": null, "userId": "214" } ]
{ "accepted": true, "body": "<p>So, I did end up buying desktop support from Canonical. After I placed my order, I was able to log into Canonical's support system ( which they call \"Landscape\" ) within a couple of days ( they sent me an email once my account had been activated ). I am able to log into Landscape using my existing Launchpad account. There is nothing much I can do on Landscape's main site, since I only bought desktop support. But, I can click on through to \"Support\", and then on through to \"viewing or filing a support case\", from where all my communications with Canonical's analysts take place. Luckily, this link is bookmarkable, although you do have to log in every time. The support cases themselves are not hosted on Canonical's servers, but rather on salesforce.com . </p>\n\n<p>At the time of this writing, I have filed about 19 cases. Of those 19 cases, somewhere between 20 and 30 percent of those cases were either resolved by me, of were not resolved to my satisfaction, sometimes because it is a known bug, and sometimes because of my hardware. Canonical's analysts are upfront about the fact that they can not solve every problem, that when a system is not certified for Ubuntu, all they can do is provide a \"best effort\". I was advised several times to file a bug on Launchpad. Canonical's analysts did provide help by filing and updating these bugs. Canonical does make good on their promise that all support requests are responded to within 2 business days. This can be slightly annoying, because the weekends are often my prime time for working on my Ubuntu systems, and this means I sometimes have to wait till Monday to hear back. I do ( of course ) NOT expect Canonical's analysts to work on the weekends.</p>\n\n<p>I have interacted with about half a dozen of Canonical's analysts. Every time one of my support cases gets closed ( either at my request, or because there has not been any activity on my case for more than 3 days ), I receive an email inviting me to take a survey of less than 10 questions about how satisfied I was with the support I received, and how likely I am to renew my subscription based on this case. You can ignore these invitations if you want, Canonical will not nag you about them. However, they do come in handy. One time, an analyst got impatient with me, and I noted this in the corresponding survey. Thereupon, I received an email from that analysts manager, to sort out what happened. So, those surveys definitely do get read.</p>\n\n<p>Often times ( when I file a support case ), I will be asked to download and run a script provided to me by Canonical. This is a shell script, so you can look at it and see what it does. It collects information about my system, and writes that information to a compressed file in my /tmp/ directory. I can then upload this file to my case to get further help.</p>\n\n<p>I do plan on extending my subscription to Canonical support. I like having a go-to person when I run into trouble. I was even able to get help with fixing a system which is not my own. Apparently, desktop support is not limited in terms of how many machines you can get help with. Even with its shortcomings, I consider Canonical's desktop support a pretty good deal.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-10-12T17:28:25.953", "id": "65518", "lastActivityDate": "2011-10-12T17:28:25.953", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1764", "parentId": "21019", "postTypeId": "2", "score": "13" }
[ { "accepted": null, "body": "<p>I've no experience with canonical support. But the <a href=\"http://www.canonical.com/support/services/support-features\" rel=\"nofollow\">features</a> look promising and the one year package has a fair price, so i guess you couldn't do something wrong by subscribing.</p>\n\n...
null
null
2012-02-06T16:22:58.820
null
null
21021
1
null
2011-01-11T09:44:42.547
4
8171
<p>I'm a student of chemistry and I'd like a piece of software to visualise molecules. I've heard of 'jmol', but I can't get it installed. </p> <p>I've downloaded <code>Jmol-12.1.16-full.tar.gz</code>, what do I need to do with it?</p> <p>Thank you,</p> <p>Philippe</p>
null
1067
2011-01-11T09:54:00.073
2011-01-24T20:18:29.847
How to install jmol?
[ "software-recommendation" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T13:54:15.297", "id": "22613", "postId": "21021", "score": "0", "text": "You can just extract the files and run Jmol.jar", "userDisplayName": null, "userId": "6650" } ]
null
[ { "accepted": null, "body": "<p>Jmol requires Java 1.4+, so make sure you have an Java Runtime.</p>\n\n<pre><code>sudo apt-get install default-jre\n</code></pre>\n\n<p>Now we need to extract the Jmol archive you downloaded. </p>\n\n<p>The instructions are, (go to the folder you downloaded):</p>\n\n<pre><cod...
null
0
null
null
philippe
21023
1
21270
2011-01-11T10:02:24.197
3
1247
<p>A while ago, my Search Toolbar bar went missing in dolphin.</p> <p>I'm referring to the Search Toolbar found under Settings>Toolbars Shown>Search Toolbar. I used to sit at the very top right corner of the window.</p> <p>If the search toolbar is checked for view/unhide, the toolbar looks to activate something, as there is a slight shift in the interface buttons, but the text field is gone from the toolbar.</p> <p>I tried reconfiguring with dpkg, purging and reinstalling, etc.</p> <p>I left it alone as I thought it would be fixed in an update, but today I upgraded dolphin and it's still gone. This appears to be a 4.6 bug or something.</p> <p>Any thoughts?</p>
6222
6222
2011-01-12T03:50:04.793
2011-01-17T03:42:54.813
Dolphin Search Toolbar is missing its text field. How can I get it back?
[ "kubuntu", "search", "dolphin" ]
1
7
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T23:58:36.877", "id": "22735", "postId": "21023", "score": "0", "text": "Dolphin has a search bar?", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-01-11T23:59:26.780", "id": "22736", "postId": "21023", "score": "0", ...
{ "accepted": true, "body": "<p>other people seem to have the same problem.</p>\n\n<p><a href=\"http://forum.kde.org/viewtopic.php?f=202&amp;t=91646\" rel=\"nofollow\">http://forum.kde.org/viewtopic.php?f=202&amp;t=91646</a>.</p>\n\n<p>issue #8 on the first post</p>\n\n<p>UPDATE:\nthey did remove the search toolbar. the option was showing even after updated, but after i deleted my dolphin folder in /.kde (and it generated a new one), the option disappeared.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T20:04:35.050", "id": "21270", "lastActivityDate": "2011-01-17T03:42:54.813", "lastEditDate": "2011-01-17T03:42:54.813", "lastEditorDisplayName": null, "lastEditorUserId": "6222", "ownerDisplayName": null, "ownerUserId": "6222", "parentId": "21023", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>other people seem to have the same problem.</p>\n\n<p><a href=\"http://forum.kde.org/viewtopic.php?f=202&amp;t=91646\" rel=\"nofollow\">http://forum.kde.org/viewtopic.php?f=202&amp;t=91646</a>.</p>\n\n<p>issue #8 on the first post</p>\n\n<p>UPDATE:\nthey did remove the search...
null
null
null
null
null
21024
1
21057
2011-01-11T10:15:32.037
4
2997
<p>we have a collection of old home videos that were saved in AVI format a long time ago. I want to convert these files to a more modern format because the Totem Movie Player that comes with Ubuntu 10.4 seems to be the only program capable of playing them. </p> <p>The files seem to be encoded with a MJPEG codec, and playing them in VLC or Windows Media Player plays only the sound but there is no video.</p> <p><strong>Avidemux</strong> was able to open the files, but the quality of the video is severely degraded: The video skips frames and is interlaced (it's not interlaced when playing it in Totem). </p> <p>Neither <strong>ffmpeg</strong> nor <strong>mencoder</strong> seems to be able to read the video stream. mencoder reports that it is using ffmpeg's codec. Here's a section from its output:</p> <pre><code>========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [mjpeg @ 0x92a7260]mjpeg: using external huffman table [mjpeg @ 0x92a7260]mjpeg: error using external huffman table, switching back to internal Unsupported PixelFormat -1 Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG) </code></pre> <p>while running <code>ffmpeg</code> produces the following:</p> <pre><code>$ ffmpeg -i input.avi output.avi FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 1 / 52.20. 1 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Mar 4 2010 12:35:30, gcc: 4.4.3 [avi @ 0x87952c0]non-interleaved AVI Input #0, avi, from 'input.avi': Duration: 00:00:15.24, start: 0.000000, bitrate: 22447 kb/s Stream #0.0: Video: mjpeg, yuvj422p, 720x544, 25 tbr, 25 tbn, 25 tbc Stream #0.1: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Output #0, avi, to 'output.avi': Stream #0.0: Video: mpeg4, yuv420p, 720x544, q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream #0.1: Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -&gt; #0.0 Stream #0.1 -&gt; #0.1 Press [q] to stop encoding frame= 0 fps= 0 q=0.0 Lsize= 143kB time=15.23 bitrate= 76.9kbits/s video:0kB audio:119kB global headers:0kB muxing overhead 20.101777% </code></pre> <p>So the problem is that output does not contain any video, as evidenced by the <code>video:0kB</code> at the end.</p> <p>In all of the above cases the audio comes out fine.</p> <p>So my question is: What can I do to convert these files to a more modern format with more modern codecs?</p>
8699
null
null
2017-03-14T13:15:06.483
Convert old AVI files to a modern format
[ "video", "conversion" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2012-04-03T18:53:59.543", "id": "140761", "postId": "21024", "score": "0", "text": "your old videos won't work in vlc? how old are they?", "userDisplayName": "user47206", "userId": null } ]
{ "accepted": true, "body": "<p>For easy transcoding <a href=\"http://packages.ubuntu.com/arista\" rel=\"nofollow noreferrer\">arista</a> <a href=\"http://apt.ubuntu.com/p/arista\" rel=\"nofollow noreferrer\"><img src=\"https://hostmar.co/software-large\" alt=\"Install arista\"></a> can be used.</p>\n\n<p>Like totem it uses gstreamer as backend and so should be able to read your files.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-13T10:07:17.603", "id": "22957", "postId": "21057", "score": "1", "text": "Arista worked, but thank you most of all for pointing out GStreamer. A search on Google allowed me to convert these files with gst-launch, which is the solution I prefer since it allows me to write a script to convert all the files at once.", "userDisplayName": null, "userId": "8699" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-11T13:53:12.457", "id": "21057", "lastActivityDate": "2017-03-14T13:15:06.483", "lastEditDate": "2017-03-14T13:15:06.483", "lastEditorDisplayName": null, "lastEditorUserId": "527764", "ownerDisplayName": null, "ownerUserId": "4469", "parentId": "21024", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>I'd recommend trying the other MJPEG codecs mplayer has. <code>mplayer -vc help</code> lists the whole lot. Some of them depend on Win32 DLL codecs, so you might need to consider the medibuntu packages.</p>\n", "commentCount": "3", "comments": [ { "creat...
null
null
null
null
null
21025
1
21029
2011-01-11T10:18:49.320
18
26075
<p>I have installed an Ubuntu machine with two <a href="https://help.ubuntu.com/community/EncryptedFilesystemHowto3">encrypted LUKS partitions</a>: one for <code>/</code> and one for <code>/home</code>.</p> <p>I've reinstalled the machine to upgrade to 10.04. Again, the <code>/</code> is installed using LUKS, and I'm able to mount the <code>/home</code> using:</p> <pre><code>mkdir /media/home sudo cryptsetup luksOpen /dev/sda2 home sudo mount -t ext3 /dev/mapper/home /media/home </code></pre> <p>The problem is, this cryptfs mapper disappears after boot, so I putting the appropriate line in fstab fails.</p> <p>How do I set the cryptfs to prompt for password and unlock the drive <strong>at boot</strong>?</p> <p>Thanks,</p> <p>Adam</p>
622
null
null
2011-11-10T23:01:36.280
Mount a LUKS partition at boot
[ "10.04", "luks", "encrypted-partition" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Seems that I needed to edit the <code>/etc/crypttab</code> file, which is the crypto equivalent to <code>fstab</code>, and add the following line:</p>\n\n<pre><code># create a /dev/mapper device for the encrypted drive\nhome /dev/sda2 none luks\n</code></pre>\n\n<p>And add the following to <code>/etc/fstab</code>:</p>\n\n<pre><code># /home LUKS\n/dev/mapper/home /home ext4 rw 0 0\n</code></pre>\n\n<p>Now I get two password prompts at boot, as needed.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2013-03-17T07:10:43.853", "id": "336828", "postId": "21029", "score": "4", "text": "you would also have to update the initramfs image with `update-initramfs` for this change to take effect.", "userDisplayName": null, "userId": "132226" }, { "creationDate": "2020-07-09T01:12:57.970", "id": "2125130", "postId": "21029", "score": "0", "text": "Is this still applicable for Ubuntu 20.04?", "userDisplayName": null, "userId": "66226" }, { "creationDate": "2020-07-09T09:42:12.103", "id": "2125305", "postId": "21029", "score": "0", "text": "Answering my own (immediately above) question: our initial tests show that it (this answer) does still apply and work on 20.04.", "userDisplayName": null, "userId": "66226" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T10:54:26.527", "id": "21029", "lastActivityDate": "2011-01-11T10:54:26.527", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "622", "parentId": "21025", "postTypeId": "2", "score": "17" }
[ { "accepted": true, "body": "<p>Seems that I needed to edit the <code>/etc/crypttab</code> file, which is the crypto equivalent to <code>fstab</code>, and add the following line:</p>\n\n<pre><code># create a /dev/mapper device for the encrypted drive\nhome /dev/sda2 none luks\n</code></pre>\n\n<p>A...
null
null
null
null
null
21026
1
21048
2011-01-11T10:19:27.913
6
328
<p>I've been using Elementary Desktop for a while, but after the last update, Docky have broken. I've tried using the Docky stable ppa, but it is overridden by the Elementary ppa, as they provide a newer version of Docky.</p> <p>I would like to keep receiving updates to the Elementary theme, but I would also like to use the older version of Docky. Is there any way I can do this, or do I simply have to file a bug and wait?</p>
615
null
null
2011-01-11T13:09:28.160
Ignore certain packages from ppa
[ "ppa" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>pinning the the older version of docky or setting a higher priority for the the single deb in an empty repo would solve the problem</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T13:09:28.160", "id": "21048", "lastActivityDate": "2011-01-11T13:09:28.160", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5768", "parentId": "21026", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>pinning the the older version of docky or setting a higher priority for the the single deb in an empty repo would solve the problem</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "...
null
null
null
null
null
21027
1
21031
2011-01-11T10:36:16.277
30
15370
<p>As noted in the Ubuntu <a href="https://help.ubuntu.com/community/RubyOnRails">wiki page on Rails</a> it is recommended that gems manages your Rails/Ruby dependencies.</p> <p>What is the best practise with Python packages like Django? Should I install them through apt-get or should I let easy_install/pip fetch them from PyPi?</p>
8702
null
null
2018-03-22T16:50:55.387
easy_install/pip or apt-get
[ "apt", "python" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>There are several arguments:</p>\n\n<ol>\n<li><h2>Use Repositories/PPAs because they will keep you both stable and up to date with security fixes.</h2>\n\n<p>This is mostly true. If, for example, you install <code>python-django</code> as I have, you get security updates. This is good because you only have to keep on top of apt but you still have to test things before you push updates (although testing should be fine each time).</p>\n\n<p>You could argue that if you used <code>pip</code>, you might never check for updates.</p></li>\n<li><h2>Use <code>pip</code> so you can use the proper \"stable\" versions.</h2>\n\n<p>There's no doubt about it: The repos lag behind the real world. Django is 2.0 but the repos for the LTS version of Ubuntu (that a lot of people stick with for servers) you only get 1.8 on Ubuntu 16.4 lts with Python 2 but still get security updates on it.</p>\n\n<p><code>pip</code> gives you the latest all the time. You just have to update them yourself.</p></li>\n<li><h2>Upgrading a repo-used Python install can be a nightmare</h2>\n\n<p>When you dist-upgrade Ubuntu to the next version, it upgrades a lot of packages. Lots of things change. I know in Django this means you have to take care to watch out for code-incompatibilities, deprecations... But the same applies to all other Python code.</p>\n\n<p>The same is true for <code>pip</code> but with <code>pip</code> you get to do one thing at a time. You know what causes the problems so you know where to look to find the fix.</p></li>\n<li><h2><code>pip</code>+<code>virtualenv</code> lets you keep things separate</h2>\n\n<p><code>virtualenv</code> lets you have portable, little Python environments. This allows you to have several different Python environments running alongside each other on the same machine.</p>\n\n<p>The obvious boon seems to be for maintenance as you can manage the environment in the same way as you manage the code. Even store the environment in the VCS too... <strong>but</strong> you should remember that having twelve different <code>virtualenv</code>s means twelve environments you need to check on and update.</p></li>\n</ol>\n\n<hr>\n\n<p>Edit: After a horrible series of upgrades on a server to get it from Lucid to Precise, I've switched from a mixed Apt+pip (nr 1 and 2) to a pure pip+virtualenv (nr. 4) situation. Instead of having one virtualenv per site, I've got one shared one between a dozen-or-so sites. This is working for now.</p>\n\n<p>I've also had to write a little script that checks the status of packages installed with pip. If there are updates I have to apply them manually (which is good because I test them locally, in a local virtualenv). This is all still a little more painful than it was originally but <em>much</em> better in the long run.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-11T11:23:54.480", "id": "21031", "lastActivityDate": "2018-03-22T16:50:55.387", "lastEditDate": "2018-03-22T16:50:55.387", "lastEditorDisplayName": null, "lastEditorUserId": "175814", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "21027", "postTypeId": "2", "score": "29" }
[ { "accepted": null, "body": "<ul>\n<li><p>Packages from the repositories</p>\n\n<p>These should be installed whenever your application is in some way <em>specific to Ubuntu</em>. They guarantee you a stable version that you can install across Ubuntu machines, they are supported and sometimes more mature tha...
null
null
null
null
null
21030
1
21135
2011-01-11T11:19:06.223
5
14370
<p>A picture is worth a thousand words... so does anyone know how to fix this font blurriness in Firefox?</p> <p>(You'll need to right-click the picture below go to View Image to view it full-size; it's too small to see anything here.)</p> <p><img src="https://i.stack.imgur.com/Kzrf5.png" alt="1"></p> <p>Note: My other applications (and the Firefox non-client area, as you can see in the screen) are <strong>completely</strong> fine, so obviously going to System->Appearance and changing the font settings isn't fixing the situation.</p> <hr> <p>Edit:</p> <p>Not letting web pages to use their own fonts also doesn't help:</p> <p><img src="https://i.stack.imgur.com/NXi6J.png" alt="1"></p> <p>See how the upper one is still sharper?</p> <p>Also, Firefox's own menu bar doesn't render the same way as the page content (menu bar below, page content above). They're both Segoe UI:</p> <p><img src="https://i.stack.imgur.com/WaeYL.png" alt="1"></p>
8678
8678
2011-01-11T22:01:04.557
2022-12-24T00:28:51.147
Font rendering in Firefox is blurry
[ "10.10", "firefox", "fonts", "appearance" ]
8
13
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T11:23:53.747", "id": "22600", "postId": "21030", "score": "1", "text": "I always had that issue with the default firefox config on Ubuntu, my solution was to disable the \"Allow pages to set their font\" option, there is an old bug about this: https://bugs.launchpad...
{ "accepted": true, "body": "<p>All right, I found the solution:</p>\n\n<p>It was all because I was using the Segoe UI <em>Light</em> font everywhere in the system, but Firefox was using Segoe UI <em>Regular</em>. By (hackishly) changing the font in About:Config, I managed to get it to look <em>almost</em> the way I wanted... but now, the font spacing is too low and things are squished together.</p>\n\n<p>If anyone knows how to increase the spacing, that would be fantastic! :)</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T22:18:22.220", "id": "21135", "lastActivityDate": "2011-01-11T22:18:22.220", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8678", "parentId": "21030", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>Make sure there is no zoom active (ctrl + 0)</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-11T19:11:51.007", "id": "22673", "postId": "21034", "score": "0", "text": "There isn't any zoom.", ...
null
null
null
null
null
21033
1
21040
2011-01-11T11:52:51.873
59
19995
<p>Is there any difference between the behavior of <code>gksu foo</code> and <code>gksudo foo</code>? <br/> Can they be used interchangeably? <br/></p>
4776
662499
2018-03-21T10:30:09.337
2018-03-21T10:30:09.337
What is the difference between gksudo and gksu?
[ "gksu", "gksudo" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2021-11-11T10:03:47.907", "id": "2366582", "postId": "21033", "score": "0", "text": "nb: as of ubuntu 18.04, gksu/gksudo are deprecated (gone) and replaced by policykit (polkit), being that they were unsupported and unsecure, which is as of now (post-2018) what they have in co...
{ "accepted": true, "body": "<p>Both files point to the same place:</p>\n\n<pre><code>$ ls -l /usr/bin/gksudo \nlrwxrwxrwx 1 root root 4 2010-09-27 18:23 /usr/bin/gksudo -&gt; gksu\n</code></pre>\n\n<p>... <code>gksudo</code> is symlinked to <code>gksu</code>. But this doesn't mean they <em>do</em> the same things, far from it.</p>\n\n<p>Applications can detect the command used to run it. This is typically <code>argv[0]</code> in C-style languages or <code>$0</code> in Bourne-style shell scripts. The application can look at that and in this case, actually it changes how it works. The first indication of this is in the <code>man gksu</code> page:</p>\n\n<pre><code>gksu is a frontend to su and gksudo is a frontend to sudo.\n</code></pre>\n\n<p>If you look in the source (<code>apt-get source gksu</code>) for <code>run_mode</code>, you'll see how it detects this:</p>\n\n<pre><code> { /* support gksu_sudo_run */\n gchar *myname = g_path_get_basename (argv[0]);\n if (!strcmp(myname, \"gksudo\"))\n run_mode = SUDO_MODE;\n g_free (myname);\n }\n</code></pre>\n\n<p>You can override this with the <code>--su-mode</code>/<code>-w</code> and <code>--sudo-mode</code>/<code>-S</code> arguments (so you can run equivalent commands without needing the <code>gksudo</code> symlink... But that's up to you.</p>\n\n<p>If you want to know how these \"modes\" really differ, there's only a bit of escaping in <code>gksu</code>. You need to follow it into <code>libgksu</code>. This is the library that actually checks permissions before handing off to the system.</p>\n\n<p>If no mode is specified (eg you call <code>gksu</code> without arguments) by the time it reaches <code>libgksu</code>, <a href=\"https://askubuntu.com/a/21038/449\">it will check Gconf (as Stefano points out)</a> and if it still can't decide, it'll default to the <code>su</code> mode.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-04-24T08:50:55.690", "id": "40808", "postId": "21040", "score": "1", "text": "To add to Oli's comment; Though gksudo is symlinked to gksu, In Ubuntu, by default we will _only_ be using gksudo because we have the /apps/gksu/sudo-mode enabled. So unless someone forces the --su-mode option gksu is not used.", "userDisplayName": null, "userId": "2588" }, { "creationDate": "2011-07-03T09:31:24.313", "id": "57627", "postId": "21040", "score": "5", "text": "@Oli: I wouldn't immediately conclude that there is no difference just because it's a symlink. Look at busybox, depending on the name of the symlink, different actions are performed. In this case, I don't know if it's true or not, but AFAIK it's indeed the case.", "userDisplayName": null, "userId": "6969" }, { "creationDate": "2013-05-02T18:53:13.357", "id": "364209", "postId": "21040", "score": "1", "text": "-1, very misleading: software may behave differently depening on what name was used to invocate them. For example `bash` turns on POSIX strict mode when invoked as `sh`. And `gksu` ***is*** also aware of invocation name.", "userDisplayName": null, "userId": "11015" }, { "creationDate": "2014-08-05T12:44:41.563", "id": "684208", "postId": "21040", "score": "0", "text": "Using internet on my cellphone with too small screen and too large fingers, I must have unintentionally downvoted. I upvoted to compensate :)", "userDisplayName": null, "userId": "72216" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-11T12:22:25.093", "id": "21040", "lastActivityDate": "2014-08-05T11:04:24.287", "lastEditDate": "2017-04-13T12:24:26.167", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "21033", "postTypeId": "2", "score": "41" }
[ { "accepted": null, "body": "<p>In Ubuntu (!), there is no difference.</p>\n\n<ul>\n<li><p><code>gksu</code> would normally <strong>log in the root user</strong> and run an app on this session. However, on Ubuntu, it defaults to using the \"sudo mode\", which is equivalent of running <code>gksudo</code>. Th...
null
null
null
null
null
21039
1
21087
2011-01-11T12:19:11.310
6
8698
<p>In my Ubuntu 9.10 installation, I notice that the process gvfs-afc-volume-monitor causes my CPU core to go to 100% (that means for my dual-core machine to 50%).</p> <p>Killing this process helps, but I see it repeating later on (not sure if this happens after restart/relogin or not).</p> <p>What can I do to prevent this from happening?</p>
1452
null
null
2011-03-12T23:32:38.317
gvfs-afc-volume-monitor uses a lot of CPU
[ "performance", "9.10", "cpu-load", "gvfs" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It sounds like you are suffering from this bug or something similar</p>\n\n<p><a href=\"https://bugs.launchpad.net/ubuntu/+source/usbmuxd/+bug/656009\" rel=\"nofollow\">/usr/lib/gvfs/gvfs-afc-volume-monitor kills polar bears</a></p>\n\n<p>Not sure about the title of the bug but the more your processor is being used the more electricity it needs etc....</p>\n\n<p>I'm not sure whether you can remove the package but you might \"limit\" the process with \n<a href=\"http://cpulimit.sourceforge.net/\" rel=\"nofollow\">cpulimit</a> until the update of libusbmuxd comes out for 9.10 if it does!</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-13T06:56:46.813", "id": "22934", "postId": "21087", "score": "0", "text": "Thanks, I do connect my iPhone once in a while, which probably triggers this process, but I didn't see the connection with this program called 'gvfs-afc-volume-monitor'. So the best fix is to upgrade to a new(er) version that contains the patch, but alternatives are either damage control (cpulimit) or removing this daemon altogether. I just cannot see the impact of doing the latter, what functionality may I miss in the future?", "userDisplayName": null, "userId": "1452" }, { "creationDate": "2011-01-13T14:10:41.387", "id": "22982", "postId": "21087", "score": "0", "text": "Found this http://mail.gnome.org/archives/gvfs-list/2009-July/msg00002.html", "userDisplayName": null, "userId": "6450" }, { "creationDate": "2011-01-13T14:36:50.210", "id": "22986", "postId": "21087", "score": "0", "text": "It gives more info about what the package does and it sounds like removing it might be a bad idea plus you want get an update if any. However putting the brakes on with cpulimit is non destructive and you can \"take the brake off\" before plugging in your phone by attaching a kill cpulimit to a launcher and a restart to another and either leave them on the desktop (ugly) or make a custom menu \"iphone\" and drop them in there. Sounds like a hack but alot of linux is a combination of hacks which can cause problems later on sometimes but if it works it works.", "userDisplayName": null, "userId": "6450" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T17:20:44.813", "id": "21087", "lastActivityDate": "2011-01-11T17:20:44.813", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6450", "parentId": "21039", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>It sounds like you are suffering from this bug or something similar</p>\n\n<p><a href=\"https://bugs.launchpad.net/ubuntu/+source/usbmuxd/+bug/656009\" rel=\"nofollow\">/usr/lib/gvfs/gvfs-afc-volume-monitor kills polar bears</a></p>\n\n<p>Not sure about the title of the bug b...
null
null
null
null
null
21044
1
null
2011-01-11T12:52:49.713
3
1356
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/32499/migrate-from-a-virtual-box-vm-to-a-physical-system">Migrate from a virtual box vm to a physical system.</a> </p> </blockquote> <p>how to install VMware image on a hard drive partition? </p>
8704
-1
2017-04-13T12:23:07.557
2011-07-04T23:21:59.273
how to install VMware image on a hard drive partition
[ "virtualization", "vmware" ]
0
4
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T13:04:47.600", "id": "22606", "postId": "21044", "score": "1", "text": "Please add some more information to your question, do you want to transfer the OS from a VM image to a physical partition ? Does the image contains an Ubuntu VM ?", "userDisplayName": null, ...
null
[]
null
null
2011-07-05T09:42:23.587
null
null
21046
1
null
2011-01-11T13:02:22.130
5
3285
<p>I am looking for a good publishing tool to write articles. I saw the book <a href="http://oreilly.com/catalog/9781449382674/?CMP=ILC-hf1st" rel="noreferrer">"Head First Python" from O'Reily Media</a> and found it really interesting, the way they present things in the book. </p> <p>I am looking to organize my articles in similar fashion. I am looking for a similar publishing tool in Ubuntu or Windows. I would prefer a open source alternative. </p> <p>Regards Kiran</p>
null
null
null
2011-01-11T14:38:44.430
Good Publishing Tool
[ "software-recommendation" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p><a href=\"http://www.scribus.net/canvas/Scribus\">Scribus</a> is the most popular open source desktop publishing application, it is available from the software center.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-11T18:54:14.033"...
null
null
null
null
Kiran
21050
1
null
2011-01-11T13:13:37.140
7
904
<p>I am working on a project that is based on Urdu language in Ubuntu platform. I'm using Python language and have almost achieved my task.</p> <p>The problem is that, the Urdu text is rendered in reverse order.</p> <p>For example, consider the word <code>کام</code> (<em>which means work</em>) consisting of the three letters: <code>ک</code> ,<br/> <code>ا</code> , and <code>م</code></p> <p>The output is rendered in reverse order as <code>ماک</code> consisting of the three letters: <code>م</code>, <br/> <code>ا</code>, and <code>ک</code></p> <p>When copying this text to Open Office or opening the generated XML file in Firefox, the generated result is absolutely desired.</p> <p>I Am using Python 2.6 IDLE, its working perfect with Windows platform, which clearly shows its not the problem of IDLE. Am working on TKINTER GUI library.</p> <p>How can this problem be solved?</p>
8705
26246
2014-03-22T18:12:00.767
2014-03-22T18:12:00.767
Reverse rendering of Urdu fonts
[ "python", "fonts", "programming", "rtl" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T14:31:09.103", "id": "22619", "postId": "21050", "score": "1", "text": "Surely this depnds on what kind of program you're working on - Web application, console application, GUI application (which toolkit?).", "userDisplayName": null, "userId": "627" } ]
null
[ { "accepted": null, "body": "<p>As a simple solution try reversing the string and then display it. Also look at localization options in Python. I dont know if Python supports Right-to-Left languages. You would get better answer to this question if you ask it at <a href=\"http://stackoverflow.com\">StackOver...
null
null
null
null
null
21051
1
21534
2011-01-11T13:20:42.047
1
903
<p>I'd like to use my mobile phone (Nokia E71) as a handset for incoming calls in Skype/Empathy.</p> <p>I know this basically means that I have to configure it as a PulseAudio device, but I wasn't able to do that.</p> <p>Following <a href="http://discoverylinux.wordpress.com/2009/06/07/bluetooth-audio-con-pulseaudio-in-jaunty-2/" rel="nofollow">a guide</a> (in Italian, sorry), I installed pulseaudio-module-bluetooth and BlueMan, but the latter sees the phone as a "Smartphone", not allowing me choose other profiles.</p> <p>Can you help me?</p> <p>Thanks</p>
8707
8707
2011-01-14T09:35:18.163
2013-02-07T23:19:17.413
Is it possible to use a bluetooth-enabled phone as handset?
[ "bluetooth", "smartphone", "headset" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It is unlikely that the phone is configured to be used as Bluetooth handset. Typical cellphone profiles include storage devices (access to directories on the cellphone), smartphone, and data links (Tethered internet). It is unlikely to provide a headset over Bluetooth. </p>\n\n<p>A Bluetooth headset should work well. </p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-02-04T15:00:31.720", "id": "27027", "postId": "21534", "score": "0", "text": "Hi, accepted your answer as I could not find info about which profiles does my phone support, so I think it cannot be done. Thanks.", "userDisplayName": null, "userId": "8707" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-14T15:23:01.367", "id": "21534", "lastActivityDate": "2011-01-14T15:23:01.367", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2176", "parentId": "21051", "postTypeId": "2", "score": "1" }
[ { "accepted": null, "body": "<p>Have you tried padevchooser</p>\n\n<p><strong>Pulseaudio Device Chooser</strong></p>\n\n<p><a href=\"http://ubuntuforums.org/archive/index.php/t-1301788.html\" rel=\"nofollow\">An Ubuntu Forum post about audio device not recognised by pulseaudio</a>\nthe relevant post is by d...
null
null
null
null
null
21052
1
null
2011-01-11T13:22:59.203
7
789
<p>I have made Ubuntu my primary OS since 10.04, and I have converted many of my friends and neighbors into Ubuntu users since then. I am the fix-it guy they approach when they encounter problems. The most frantic calls I get are when they encounter an "update-induced kernel panic." (<em>Many human beings are allergic to command-line interfaces and search engines.</em>)<br/></p> <p>What are the step-by-step procedures to resolve an "update-induced kernel panic"? </p>
4776
4776
2011-01-12T17:24:43.810
2011-01-12T17:24:43.810
Kernel Panic Troubleshooting For Dummies
[ "kernel", "updates", "troubleshooting" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>My ideas:</p>\n\n<ul>\n<li><p>Make sure you always <strong>keep at least one older and stable kernel version installed</strong>.<br>\nThat way, if a new kernel update causes the panic, you will still be able to restart your system with the old one.</p></li>\n<li><p><strong>W...
null
null
null
null
null
21056
1
21061
2011-01-11T13:50:19.310
21
16148
<p>Is there a way to stop ClamScan eating my server CPU?</p>
5938
158442
2017-02-23T08:08:07.587
2017-04-08T22:02:05.190
Can I limit the CPU usage of a single application?
[ "performance", "resource-limiting" ]
5
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Just as an alternative to cpulimit:</p>\n\n<p>You could start clamscan with the nice-command, e.g.</p>\n\n<p><code>nice -n 19 clamscan</code>.</p>\n\n<p>See <code>man nice</code> for details.</p>\n\n<p>It does <strong>NOT</strong> limit the CPU, but it does <strong>lower the priority</strong> of the process.</p>\n\n<p>Also there is <code>renice</code> to alter the priority of running processes.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-11T14:41:03.787", "id": "22623", "postId": "21061", "score": "3", "text": "It looks like it still works eating a lot of cpu...", "userDisplayName": null, "userId": "5938" }, { "creationDate": "2011-01-11T16:06:35.723", "id": "22637", "postId": "21061", "score": "5", "text": "As long as no other process requires cputime, clamscan gets a lot of it. But as soon as another process (which has a higher priority) needs cputime, clamscan has no chance. cpulimit limits absolute cputime, and nice limits relative cputime.", "userDisplayName": null, "userId": "4469" }, { "creationDate": "2011-01-11T16:13:32.833", "id": "22638", "postId": "21061", "score": "2", "text": "+1. `nice`ing is the traditional way to go, and for good reason.", "userDisplayName": null, "userId": "627" }, { "creationDate": "2017-12-29T19:40:58.993", "id": "1597096", "postId": "21061", "score": "0", "text": "Are there any tools to define a default nice value for particular applications to run with? Preferably a tool that lets you compare all of your presets side-by-side.", "userDisplayName": null, "userId": "743119" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T14:12:24.610", "id": "21061", "lastActivityDate": "2011-01-11T14:12:24.610", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "4469", "parentId": "21056", "postTypeId": "2", "score": "19" }
[ { "accepted": null, "body": "<p>Install <a href=\"http://packages.ubuntu.com/cpulimit\" rel=\"noreferrer\">cpulimit</a></p>\n\n<pre><code>sudo apt-get install cpulimit\n</code></pre>\n\n<p>It provides different methods of limiting the CPU usage of a process <code>foo</code> to say, 20%</p>\n\n<ul>\n<li><p>B...
null
null
null
null
null
21059
1
23514
2011-01-11T13:59:55.027
4
3357
<p>Was anyone able to install packetfence on Ubuntu 10.10? I tried a <a href="http://www.linux.com/learn/tutorials/386610%3ainstall-packetfence-for-powerful-network-access-control" rel="nofollow">tutorial</a>, but didn't have any luck. Some of the services installed and are working apache with php, snort, pfdetect, and pfdhcplistener. I can even get info from it, but for the life of me I can't get it to work with apache2. </p> <p>When I run <code>pfcmd service pf start</code> I also get an error <code>uninitialized value $_[7] in join at /usr/local/pf/lib/pf/class.pm line 170</code></p>
7145
235
2011-01-22T21:05:23.637
2011-01-27T13:30:10.767
How do you install packetfence?
[ "10.10", "server" ]
2
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-22T21:27:56.753", "id": "24631", "postId": "21059", "score": "0", "text": "according to a thread on the packetfence-users list this is a normal warning message: http://www.mail-archive.com/packetfence-users@lists.sourceforge.net/msg00205.html", "userDisplayName": n...
{ "accepted": true, "body": "<p>Disclaimer: I work on the PacketFence project</p>\n\n<p>It's complicated because of the interaction between PacketFence and the system components (apache, snmptrapd, named, dhcpd). As soon as the configuration files are not located in the same locations (<code>/etc/httpd/</code> vs <code>/etc/apache2/</code>) we run into problems. It is not only a packaging issue, the code will have to be patched.</p>\n\n<p>However, good timing for you, it's something we want to tackle soon. Here's a ticket where you can track our progress:\n<a href=\"http://www.packetfence.org/bugs/view.php?id=1067\" rel=\"nofollow\">http://www.packetfence.org/bugs/view.php?id=1067</a></p>\n\n<p>There will also be pointers to what is working and what is not. Feel free to chip in and help.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-27T13:30:10.767", "id": "23514", "lastActivityDate": "2011-01-27T13:30:10.767", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "9708", "parentId": "21059", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>It looks like packetfence and it's related modules, needs to be packages for Debian. This isn't a hard job, since a lot of the modules are available with standard perl installers. But it would require each module to be built.</p>\n\n<p>Once you've got a nice package of packet...
null
null
null
null
null
21062
1
21064
2011-01-11T14:13:38.483
10
1938
<p>I'd like to be able to edit my files offline and it would automatically send the changes to Google Docs and vice versa. Is that even possible? If so, how to do it?</p>
2331
null
null
2017-02-23T08:08:59.993
How to sync Google Docs with a folder in my filesystem?
[ "filesystem", "sync" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2012-05-09T10:15:08.210", "id": "159751", "postId": "21062", "score": "0", "text": "When google release google drive for linux, then you can use that! I have it for my workspace for eclipse. :)", "userDisplayName": null, "userId": "10698" } ]
{ "accepted": true, "body": "<p>Try <a href=\"https://launchpad.net/google-docs-fs\" rel=\"nofollow noreferrer\">google-docs-fs</a></p>\n\n<pre><code>sudo apt-get install google-docs-fs\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-11T14:34:03.733", "id": "21064", "lastActivityDate": "2017-02-23T08:08:59.993", "lastEditDate": "2017-02-23T08:08:59.993", "lastEditorDisplayName": null, "lastEditorUserId": "527764", "ownerDisplayName": null, "ownerUserId": "2937", "parentId": "21062", "postTypeId": "2", "score": "9" }
[ { "accepted": true, "body": "<p>Try <a href=\"https://launchpad.net/google-docs-fs\" rel=\"nofollow noreferrer\">google-docs-fs</a></p>\n\n<pre><code>sudo apt-get install google-docs-fs\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC ...
null
null
null
null
null
21066
1
null
2011-01-11T14:39:55.550
4
4351
<p>I have a rather long spreadsheet with historical information of issues solved by some user on a collaborative environment. </p> <p>The spreadsheet have the following (relevant) columns</p> <p>date, week no., project, author id, etc...</p> <p>The week no. is calculated from the date, is basically the year concatenated with the week number within that year; for instance, both 2009-02-18 and 2009-02-20 yield the week number 200908 - the 8th week of year 2009; and 2009-02-23 yields 200909 - the 9th week of year 2009.</p> <p>I need to count how many different users (given by author id) contributed to some project, on a weekly basis.</p> <p>I have setup a data pilot with the week as Row Field, the project as the Column Field, and count-author as the Data Field. However, this counts the author id as different instances. This is not what I need. I need to count how many <strong>different</strong> users contributed to each project on a weekly basis.</p> <p>I expect to get something like:</p> <pre><code> projects week Project1 Project2 Project3 200901 10 2 200902 2 7 </code></pre> <p>Each inner cell containing how many different users contributed. With the count-author configuration, what I get is how many contributions (total) got the project on that week.</p> <p>Is there a way to tell OpenOffice Calc to do what I want?</p> <p>UPDATE: Following the suggestion given by other users, this question is now posted on Super User: <a href="https://superuser.com/questions/232339/openoffice-calc-how-can-i-count-the-number-of-different-items-with-data-pilot">https://superuser.com/questions/232339/openoffice-calc-how-can-i-count-the-number-of-different-items-with-data-pilot</a></p>
8710
-1
2017-03-20T10:18:09.720
2012-01-15T21:35:38.740
OpenOffice Calc: How can I count the number of different items with data pilot?
[ "openoffice.org" ]
1
6
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T15:16:00.717", "id": "22627", "postId": "21066", "score": "3", "text": "This question **may be** better suited for [Super User](http://superuser.com/).", "userDisplayName": null, "userId": "4776" }, { "creationDate": "2011-01-11T18:27:03.033", "i...
null
[ { "accepted": null, "body": "<p>Use <strong>Ctrl-Shift-Enter</strong> when entering it. </p>\n\n<p><strong>Example</strong></p>\n\n<p><strong>=SUM(IF(FREQUENCY(IF(LEN(A1:A10)>0;MATCH(A1:A10;A1:A10;0);\"\"); IF(LEN(A1:A10)>0;MATCH(A1:A10;A1:A10;0);\"\"))>0;1))</strong> </p>\n\n<p>where A1:A10 is the range be...
null
null
null
null
null
21068
1
21069
2011-01-11T15:19:40.900
200
317925
<p>How can I get the current disk usage (in %) of my hard drive from the command line?</p>
2331
null
null
2019-01-28T20:58:00.993
How to get disk usage from command line?
[ "command-line", "disk-usage" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2013-06-06T23:15:36.567", "id": "384047", "postId": "21068", "score": "0", "text": "Now I wonder if there's some commandline equivalent of `kdirstat` or `baobab`.", "userDisplayName": null, "userId": "22073" }, { "creationDate": "2014-08-08T21:41:56.133", "...
{ "accepted": true, "body": "<p>By using the <code>df</code> command.</p>\n\n<p>Here's an example output:</p>\n\n<pre><code>$ df\nFilesystem 1K-blocks Used Available Use% Mounted on\n/dev/sda1 303537496 27537816 260580948 10% /\nnone 950788 252 950536 1% /dev\nnone 959516 232 959284 1% /dev/shm\nnone 959516 388 959128 1% /var/run\nnone 959516 0 959516 0% /var/lock\n</code></pre>\n\n<p>Also take a look at its <a href=\"http://manpages.ubuntu.com/manpages/man1/df.1.html\">manpage</a>.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-11T15:48:12.407", "id": "22632", "postId": "21069", "score": "51", "text": "`df -m` will show things in megabytes, `df -h` will show you in the largest possible unit.", "userDisplayName": null, "userId": "449" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T15:22:43.047", "id": "21069", "lastActivityDate": "2011-01-11T15:28:16.347", "lastEditDate": "2011-01-11T15:28:16.347", "lastEditorDisplayName": null, "lastEditorUserId": "3037", "ownerDisplayName": null, "ownerUserId": "3037", "parentId": "21068", "postTypeId": "2", "score": "186" }
[ { "accepted": true, "body": "<p>By using the <code>df</code> command.</p>\n\n<p>Here's an example output:</p>\n\n<pre><code>$ df\nFilesystem 1K-blocks Used Available Use% Mounted on\n/dev/sda1 303537496 27537816 260580948 10% /\nnone 950788 252 950536 ...
null
null
null
null
null
21070
1
21113
2011-01-11T15:22:56.973
12
16457
<p>I want to insert an item to System menu:</p> <ul> <li>Help and Support</li> <li>About Gnome</li> <li>About Ubuntu </li> </ul> <p>More specifically, I want to insert a new item under "About Ubuntu".</p> <p>Trying with alacarte doesn't work. Cloning "ubuntu-about.desktop" file and changing his attributes doesn't work too (I even rebooted the computer after that). Searching for categories in "/usr/share/desktop-directories" haven't worked too, and searching for "core" and "about" entries in /etc/xdc/menus neither. It isn't as easy as I thought it would be.</p> <p>Anyone have any suggestions?</p>
8689
449
2011-01-11T15:31:16.330
2011-01-11T21:09:22.423
How to add menu items in System menu
[ "menu" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T15:45:31.137", "id": "22630", "postId": "21070", "score": "0", "text": "I managed to do this a LONG time ago, but I cannot remember how, all remember is something deep down inside some /etc or /usr/share folder", "userDisplayName": null, "userId": "1992" }...
{ "accepted": true, "body": "<p>You can add items to the first section of the <em>System</em> menu using Alacarte <em>(System -> Preferences -> Main Menu)</em>.</p>\n\n<p>The menu items below that are <a href=\"http://en.wikipedia.org/wiki/Hard_coding\" rel=\"noreferrer\"> hard-coded </a> in the gnome-panel <a href=\"http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/maverick/gnome-panel/maverick/annotate/head:/gnome-panel/panel-menu-items.c#L1206\" rel=\"noreferrer\">source code</a>, so other than editing the source code, there is no way to add more menu items to the second section of the <em>System</em> menu. </p>\n\n<p>However, you can \"replace\" any of the three menu items by creating a <code>.desktop</code> file in <code>~/.local/share/applications</code> with a specific filename.</p>\n\n<ul>\n<li><em>Help and Support</em> = <code>yelp.desktop</code></li>\n<li><em>About GNOME</em> = <code>gnome-about.desktop</code></li>\n<li><em>About Ubuntu</em> = <code>ubuntu-about.desktop</code></li>\n</ul>\n\n<p>For example, lets say that instead of an <em>About Ubuntu</em> item in the <em>System</em> menu you want an <em>Ubuntu Tweak</em> item, simply copy the <code>ubuntu-tweak.desktop</code> file to <code>~/.local/share/applications/</code>, renaming it to <code>ubuntu-about.desktop</code>:</p>\n\n<pre><code>cp /usr/share/applications/ubuntu-tweak.desktop ~/.local/share/applications/ubuntu-about.desktop\n</code></pre>\n\n<p><img src=\"https://i.stack.imgur.com/VRaDv.png\" alt=\"alt text\"></p>\n\n<p>If you want to have the <em>About Ubuntu</em> menu item again, simply delete <code>ubuntu-about.desktop</code>:</p>\n\n<pre><code>rm ~/.local/share/applications/ubuntu-about.desktop\n</code></pre>\n\n<p><img src=\"https://i.stack.imgur.com/eWOl9.png\" alt=\"alt text\"></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-11T20:31:41.990", "id": "22700", "postId": "21113", "score": "0", "text": "Great workaround. I'll change gnome-about.desktop with the shortcut I want. Thanks!", "userDisplayName": null, "userId": "8689" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T19:51:39.833", "id": "21113", "lastActivityDate": "2011-01-11T19:51:39.833", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "114", "parentId": "21070", "postTypeId": "2", "score": "8" }
[ { "accepted": null, "body": "<p>Have you tried navigating to System - Preferences - Main Menu - System - + New Item? I can add a new menu item this way in Ubuntu 8.04. However, the problem may be that it doesn't seem to be possible to access the About Ubuntu sub-menu this way. </p>\n", "commentCount":...
null
null
null
null
null
21075
1
21076
2011-01-11T16:34:28.303
4
1014
<p>My hard disk partitioning scheme is like this: </p> <ol> <li>30 GB root partition (extended) (/)</li> <li>1.0 GB swap space (extended) </li> <li>289 GB home partition (extended) (/home)</li> </ol> <p>I had made such a partitioning scheme assuming that I could perform a full re-install without disturbing my data. Now if I am to do it (re-install Ubuntu), how should I proceed?</p>
8717
null
null
2011-01-11T17:07:34.810
Reinstalling Ubuntu
[ "installation", "partitioning", "re-installation" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Choose manual partitioning, assign the partitions as you stated above, and don't tick the format box on /home.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T16:39:49.183", "id": "21076", "lastActivityDate": "2011-01-11T16:39:49.183", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "21075", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Choose manual partitioning, assign the partitions as you stated above, and don't tick the format box on /home.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T16:39:49.1...
null
null
null
null
null
21079
1
21693
2011-01-11T16:57:08.080
3
1661
<pre><code>#!/bin/bash # # list of synaptics device properties http://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html#sect4 # list current synaptics device properties: xinput list-props '"SynPS/2 Synaptics TouchPad"' # sleep 5 #added delay... xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 1 xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 4 xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 9 # Below width 1 finger touch, above width simulate 2 finger touch. - value=pad-pixels xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 1 1 0 # vertical, horizontal, corner - values: 0=disable 1=enable xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 250 # stabilize 2 finger actions - value=pad-pixels #xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3 # pad corners rt rb lt lb tap fingers 1 2 3 (can't simulate more then 2 tap fingers AFAIK) - values: 0=disable 1=left 2=middle 3=right etc. (in FF 8=back 9=forward) xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 1 0 # vertical scrolling, horizontal scrolling - values: 0=disable 1=enable #xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Circular Scrolling" 1 #xinput --set-prop --type=int --format=8 "SynPS/2 Synaptics TouchPad" "Synaptics Circular Scrolling Trigger" 3 </code></pre> <p>Hello everybody... The above script allowed me to use happily multitouch for a month... Now if I do a two fingers scrolling the mouse cursor just runs on the screen like possessed... Any hints?</p>
5938
null
null
2011-01-15T16:45:55.610
Multitouch script (using xinput) no longer working
[ "multi-touch" ]
1
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T18:22:40.943", "id": "22654", "postId": "21079", "score": "0", "text": "Kernel Update, maybe?", "userDisplayName": null, "userId": "1029" }, { "creationDate": "2011-01-15T16:46:22.893", "id": "23376", "postId": "21079", "score": "0", ...
{ "accepted": true, "body": "<p>It took me AGES but I'm really glad to share the solution.</p>\n\n<p>On this page: <a href=\"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+index?comments=all\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+index?comments=all</a></p>\n\n<p>you can find comment 116 where with a click you download and then install this:</p>\n\n<p><a href=\"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+attachment/1735234/+files/synaptics-dkms_1.0.0_all.deb\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+attachment/1735234/+files/synaptics-dkms_1.0.0_all.deb</a></p>\n\n<p>After installing just go to </p>\n\n<p>System ---> Preferences ---> Mouse</p>\n\n<p>Then click on Touchpad tab</p>\n\n<p>and finally click on Two fingers scrolling.</p>\n\n<p>YAY! :D</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-15T16:45:55.610", "id": "21693", "lastActivityDate": "2011-01-15T16:45:55.610", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5938", "parentId": "21079", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>It took me AGES but I'm really glad to share the solution.</p>\n\n<p>On this page: <a href=\"https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+index?comments=all\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+index?comments=all</a><...
null
null
null
null
null
21082
1
21206
2011-01-11T17:05:05.240
6
7288
<p>I run a few Ubuntu servers that have a load of django sites running on them. The sites and the httpd start at boot and after that (apart from me SSHing in to update it or using bzr to update websites) nothing else gets run on it.</p> <p>At the moment over half the ram is allocated as cache. This isn't a problem because cache usually makes space or a little bit of it slips into swap (again, this doesn't really bother me) but I don't see the need for it.</p> <p>Is there a quick way to disable the cache? This is more of an experiment than anything else so it would be handy to know how to turn it back on again.</p>
449
null
null
2011-11-24T16:19:07.790
How can I disable the prefetch cache?
[ "cache" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T18:03:40.300", "id": "22649", "postId": "21082", "score": "0", "text": "I don't think you _can_ disable it but you can flush it with `sync && echo 1 > /proc/sys/vm/drop_caches`", "userDisplayName": null, "userId": "5691" }, { "creationDate": "2011-01...
{ "accepted": true, "body": "<p><a href=\"http://arighi.blogspot.com/2007/04/how-to-bypass-buffer-cache-in-linux.html\" rel=\"nofollow\">This blog post</a> by Andrea Righi suggests that there isn't a config option in the kernel, but it also sketches out a little <code>glibc</code> wrapper library to just set the <code>O_DIRECT</code> flag on every call to <code>open()</code>.</p>\n\n<p>This should have the same effect as disabling the <em>read-buffer</em> completely. </p>\n\n<p>Additionally, the OpenOffice wiki has <a href=\"http://wiki.services.openoffice.org/wiki/Cold-start-simulator\" rel=\"nofollow\">a couple of methods</a> to do <em>cold-start</em> testing. This isn't what you want, but I thought I include it anyway.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T11:27:55.670", "id": "21206", "lastActivityDate": "2011-01-12T11:27:55.670", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "21082", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>No, and you don't want to. The cache only uses memory that otherwise would be sitting idle. As soon as it is needed, it will be freed and given to the process that wants it, so you can consider cache memory to be free, which is why the free command prints a line with the ca...
null
null
null
null
null
21088
1
32794
2011-01-11T17:22:42.123
6
7524
<p>I have setup u VPN connection to our Windows 2008 server at the office and it seems to work fine.</p> <p>For some reason, however, I still am not able to access the network shares over a VPN connection using my standard fstab entries. When I am physically connected to the network, it works fine, but now when trying this over VPN I get the following error:</p> <pre><code>mount error(110): Connection timed out Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) </code></pre> <p>My <code>/etc/fstab</code> looks like this:</p> <pre><code>//server2008/share /mnt/share cifs iocharset=utf8,credentials=/home/aron/.smbcredentials,uid=1000 0 0 </code></pre> <p>As said, it works fine when physically connected, but over VPN it just wont work.</p> <p>Any help is appreciated.</p> <p><strong>EDIT:</strong></p> <p>It seems the Windows firewall is making things harder on me. When I turn it off, I get a bit further, although I still get the following error message:</p> <pre><code>Unable to find suitable address. </code></pre> <p>The strange thing is that I have file sharing added as an exception to the firewall. Port 137-139 and port 445 are open, which should suffice, shouldn't it?</p> <p><strong>EDIT Jan 20th:</strong></p> <p>Still not working. When I have the firewall turned on, it times out. When I turn it off, I get the not suitable address error. Turning the firewall off is not an option, by the way.</p>
7527
235
2011-01-21T00:30:22.843
2011-03-31T07:53:58.260
Cannot mount a CIFS network share over VPN
[ "10.10", "windows", "vpn", "fstab", "share" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-13T17:30:35.533", "id": "23018", "postId": "21088", "score": "0", "text": "Once you enter the realm of VPN all traditional sentiments of what should be sufficient go out the window.", "userDisplayName": null, "userId": "41" } ]
{ "accepted": true, "body": "<p>I was finally able to solve this problem; I believe it was caused by an IP conflict.</p>\n\n<p>Both my home network range as my office range used the <code>192.168.1.0</code> range; I changed my home range to <code>10.0.0.0</code> and voila!</p>\n\n<p>Additionally, I added <code>192.168.1.0</code> with netmask <code>255.255.255.0</code> as a local route to the VPN and checked 'use VPN only for routes on its network'.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-03-31T07:53:58.260", "id": "32794", "lastActivityDate": "2011-03-31T07:53:58.260", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "7527", "parentId": "21088", "postTypeId": "2", "score": "0" }
[ { "accepted": null, "body": "<p>You need a way to resolve the server name. When you are connected locally this can be done with the cifs broadcast name resolution service, but this does not work over a vpn or other routed connection. If the host name can not be resolved by your DNS server then you either ...
null
null
null
null
null
21093
1
21102
2011-01-11T18:09:24.117
6
149
<p>When I click on the Help Center Icon in the 'System' menu, it takes more than a minute to launch the program. More than a minute, for a text only program seeming like a website!</p> <p>All my other programs work fine, and I saw this problem also on other computers.</p> <p>Is there a reason for this? Will it be fixed? I think it is an important issue for beginners.</p>
5592
6005
2011-12-14T02:03:55.030
2011-12-14T02:03:55.030
Why is it taking so long to open the Ubuntu Help Center?
[ "gnome", "yelp" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T20:10:33.997", "id": "22698", "postId": "21093", "score": "0", "text": "My bad - I'm confused as to which \"center\" you were running. Your output failed (I think) because it was already running btw.", "userDisplayName": null, "userId": "861" } ]
{ "accepted": true, "body": "<p>You're probably running into <a href=\"https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/294182\" rel=\"nofollow\">this bug</a>.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-12-22T15:02:29.310", "id": "102632", "postId": "21102", "score": "0", "text": "This has been fixed in newer versions of Ubuntu.", "userDisplayName": null, "userId": "5592" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T18:48:43.273", "id": "21102", "lastActivityDate": "2011-01-11T18:48:43.273", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "235", "parentId": "21093", "postTypeId": "2", "score": "8" }
[ { "accepted": true, "body": "<p>You're probably running into <a href=\"https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/294182\" rel=\"nofollow\">this bug</a>.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-12-22T15:02:29.310", "id": "102632", "po...
null
null
null
null
null
21097
1
41067
2011-01-11T18:12:42.467
13
7279
<p>I have the Microsoft C-Fonts installed, and they're wonderful. However, Calibri appears as a bitmap font in a lot of the sizes that it appears. How do I tell fontconfig to forbid Calibri (and Cambria,etc.) from being rendered from the embedded bitmaps? I already have <code>70-no-bitmaps.conf</code> in my <code>/etc/fonts/conf.d/</code> directory.</p> <p>The fonts in question can be <a href="http://www.oooninja.com/2008/01/calibri-linux-vista-fonts-download.html">extracted from the PowerPoint Viewer</a>.</p>
2180
2180
2011-01-29T07:20:28.197
2021-12-06T01:47:57.913
Configure fontconfig to ignore bitmaps in scalable fonts
[ "fonts", "fontconfig" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T19:33:01.083", "id": "22690", "postId": "21097", "score": "0", "text": "AFAIK those fonts aren't freely distributable? (So I can't test them.) But are you sure they use bitmaps, and don't just disable antialiassing?", "userDisplayName": null, "userId": "93...
{ "accepted": true, "body": "<p><code>/etc/fonts/conf.d/70-no-bitmaps.conf</code> only rejects bitmap fonts, they don't disable embedded bitmaps, which is the case here. I don't know why they didn't put the setting to disable embedded bitmaps in the same conf file. Anyways, put the following in your <code>~/.config/fontconfig/conf.d/20-no-embedded.conf</code> (or, for older versions of Ubuntu, in <code>~/.fonts.conf.d/20-no-embedded.conf</code>):</p>\n\n<pre><code>&lt;?xml version=\"1.0\"?&gt;\n&lt;!DOCTYPE fontconfig SYSTEM \"fonts.dtd\"&gt;\n&lt;fontconfig&gt;\n &lt;match target=\"font\"&gt;\n &lt;edit name=\"embeddedbitmap\" mode=\"assign\"&gt;\n &lt;bool&gt;false&lt;/bool&gt;\n &lt;/edit&gt;\n &lt;/match&gt;\n&lt;/fontconfig&gt;\n</code></pre>\n\n<p>This will disable embedded bitmap for all fonts. If you want to disable only for select fonts, add <code>&lt;test&gt;</code> element:</p>\n\n<pre><code>&lt;test name=\"family\" compare=\"contains\"&gt;\n &lt;string&gt;Calibri&lt;/string&gt;\n &lt;string&gt;Cambria&lt;/string&gt;\n&lt;/test&gt;\n</code></pre>\n\n<p>before <code>&lt;edit ...</code>.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2012-04-21T15:50:00.283", "id": "148061", "postId": "41067", "score": "0", "text": "Should this be put in /etc/fonts/conf.d, or better in /etc/fonts/conf.avail and symlinked to conf.d, like all the other config files? Is this reserved for the config files provided by the ubuntu distribution? Does it matter?", "userDisplayName": null, "userId": "9881" }, { "creationDate": "2012-04-22T16:26:09.733", "id": "148403", "postId": "41067", "score": "1", "text": "@knb by default ubuntu/debian settings, fontconfig will load anything in `~/.fonts.conf.d/` as well. So I suggest you put it there to avoid mucking with system configs. Unless you want to make it available to all users, then you can put it in `/etc/fonts/conf.d`, or put it in `avail` and symlink it to `conf.d` to use it when you need it (you can delete the symlink when you feel like turning it on, vice versa)", "userDisplayName": null, "userId": "16251" }, { "creationDate": "2012-10-26T12:58:13.720", "id": "256977", "postId": "41067", "score": "3", "text": "With current versions of fontconfig, the file name must be `~/.fonts.conf.d/20-no-embedded.conf` it won't be loaded if it isn't prefixed with a number. Run for example `FC_DEBUG=1024 gedit` to see if your configuration is loaded at all if it doesn't seem to have any effect.", "userDisplayName": null, "userId": "101070" }, { "creationDate": "2013-02-05T15:09:30.920", "id": "314162", "postId": "41067", "score": "0", "text": "@pascal +1 for FC_DEBUG. And no, number before name was not necessary on 10.04 LTS, just having it named `.fonts.config` was enough. What version of fontconfig you refer to?", "userDisplayName": null, "userId": "72260" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-05-07T19:59:51.560", "id": "41067", "lastActivityDate": "2013-09-01T12:09:08.787", "lastEditDate": "2013-09-01T12:09:08.787", "lastEditorDisplayName": null, "lastEditorUserId": "50643", "ownerDisplayName": null, "ownerUserId": "16251", "parentId": "21097", "postTypeId": "2", "score": "21" }
[ { "accepted": true, "body": "<p><code>/etc/fonts/conf.d/70-no-bitmaps.conf</code> only rejects bitmap fonts, they don't disable embedded bitmaps, which is the case here. I don't know why they didn't put the setting to disable embedded bitmaps in the same conf file. Anyways, put the following in your <code>~...
null
null
null
null
null
21098
1
null
2011-01-11T18:14:54.520
2
799
<p>After installing a wireless keyboard and mouse I cannot shutdown my pc.</p> <p>I have tried to shut down from the console as well, but the result doesn't change. How can resolve my problem? thanks in advance</p> <p>ciao h.</p>
4546
1067
2011-02-03T19:01:09.073
2012-01-08T18:30:47.807
Unable to shut down
[ "10.10", "shutdown" ]
2
9
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T18:19:36.860", "id": "22651", "postId": "21098", "score": "1", "text": "More information please, especially what is happening if you try to shut down the PC.", "userDisplayName": null, "userId": "1029" }, { "creationDate": "2011-01-11T18:20:43.953", ...
null
[ { "accepted": null, "body": "<p>I don't get it, but just to answer the shut-down part: press the power button on the computer. Sixty seconds later, it will start a shutdown.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-12T13:42:04.597", "id": "22844", ...
null
0
2012-02-03T01:27:12.250
null
null
21100
1
21103
2011-01-11T18:37:06.183
1
1088
<p>I'm new to Linux so this probably should be an easy fix, but I cannot see it.</p> <p>I have a script downloaded from official sources that is used to install additional tools for fsharp but it gives me a syntax error when running it.</p> <p>I tried to replace ( and ) by { and } but eventually it lead me to another error so I think this is not the problem since the script works for everybody. I read some articles that say that my bash version maybe is not the right one.</p> <p>I'm using Ubuntu 10.10 and here is the error:</p> <pre> install-bonus.sh: 28: Syntax error: "(" unexpected (expecting "}") </pre> <p>And this is line 27, 28 and 29:</p> <pre> { declare -a DIRS=("${!3}") FILE=$2 </pre> <p>And the full script:</p> <pre> #! /bin/sh -e PREFIX=/usr BIN=$PREFIX/bin MAN=$PREFIX/share/man/man1/ die() { echo "$1" >&2 echo "Installation aborted." >&2 exit 1 } echo "This script will install additional material for F# including" echo "man pages, fsharpc and fsharpi scripts and Gtk# support for F#" echo "Interactive (root access needed)" echo "" # ------------------------------------------------------------------------------ # Utility function that searches specified directories for a specified file # and if the file is not found, it asks user to provide a directory RESULT="" searchpaths() { declare -a DIRS=("${!3}") FILE=$2 DIR=${DIRS[0]} for TRYDIR in ${DIRS[@]} do if [ -f $TRYDIR/$FILE ] then DIR=$TRYDIR fi done while [ ! -f $DIR/$FILE ] do echo "File '$FILE' was not found in any of ${DIRS[@]}. Please enter $1 installation directory:" read DIR done RESULT=$DIR } # ------------------------------------------------------------------------------ # Locate F# installation directory - this is needed, because we want to # add environment variable with it, generate 'fsharpc' and 'fsharpi' and also # copy load-gtk.fsx to that directory # ------------------------------------------------------------------------------ PATHS=( $1 /usr/lib/fsharp /usr/lib/shared/fsharp ) searchpaths "F# installation" FSharp.Core.dll PATHS[@] FSHARPDIR=$RESULT echo "Successfully found F# installation directory." # ------------------------------------------------------------------------------ # Check that we have everything we need # ------------------------------------------------------------------------------ [ $(id -u) -eq 0 ] || die "Please run the script as root." which mono > /dev/null || die "mono not found in PATH." # ------------------------------------------------------------------------------ # Make sure that all additional assemblies are in GAC # ------------------------------------------------------------------------------ echo "Installing additional F# assemblies to the GAC" gacutil -i $FSHARPDIR/FSharp.Build.dll gacutil -i $FSHARPDIR/FSharp.Compiler.dll gacutil -i $FSHARPDIR/FSharp.Compiler.Interactive.Settings.dll gacutil -i $FSHARPDIR/FSharp.Compiler.Server.Shared.dll # ------------------------------------------------------------------------------ # Install additional files # ------------------------------------------------------------------------------ # Install man pages echo "Installing additional F# commands, scripts and man pages" mkdir -p $MAN cp *.1 $MAN # Export the FSHARP_COMPILER_BIN environment variable if [[ ! "$OSTYPE" =~ "darwin" ]]; then echo "export FSHARP_COMPILER_BIN=$FSHARPDIR" > fsharp.sh mv fsharp.sh /etc/profile.d/ fi # Generate 'load-gtk.fsx' script for F# Interactive (ask user if we cannot find binaries) PATHS=( /usr/lib/mono/gtk-sharp-2.0 /usr/lib/cli/gtk-sharp-2.0 /Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/gtk-sharp-2.0 ) searchpaths "Gtk#" gtk-sharp.dll PATHS[@] GTKDIR=$RESULT echo "Successfully found Gtk# root directory." PATHS=( /usr/lib/mono/gtk-sharp-2.0 /usr/lib/cli/glib-sharp-2.0 /Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/gtk-sharp-2.0 ) searchpaths "Glib" glib-sharp.dll PATHS[@] GLIBDIR=$RESULT echo "Successfully found Glib# root directory." PATHS=( /usr/lib/mono/gtk-sharp-2.0 /usr/lib/cli/atk-sharp-2.0 /Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/gtk-sharp-2.0 ) searchpaths "Atk#" atk-sharp.dll PATHS[@] ATKDIR=$RESULT echo "Successfully found Atk# root directory." PATHS=( /usr/lib/mono/gtk-sharp-2.0 /usr/lib/cli/gdk-sharp-2.0 /Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/gtk-sharp-2.0 ) searchpaths "Gdk#" gdk-sharp.dll PATHS[@] GDKDIR=$RESULT echo "Successfully found Gdk# root directory." cp bonus/load-gtk.fsx load-gtk1.fsx sed "s,INSERTGTKPATH,$GTKDIR,g" load-gtk1.fsx > load-gtk2.fsx sed "s,INSERTGDKPATH,$GDKDIR,g" load-gtk2.fsx > load-gtk3.fsx sed "s,INSERTATKPATH,$ATKDIR,g" load-gtk3.fsx > load-gtk4.fsx sed "s,INSERTGLIBPATH,$GLIBDIR,g" load-gtk4.fsx > load-gtk.fsx rm load-gtk1.fsx rm load-gtk2.fsx rm load-gtk3.fsx rm load-gtk4.fsx mv load-gtk.fsx $FSHARPDIR/load-gtk.fsx # Generate 'fsharpc' and 'fsharpi' scripts (using the F# path) # 'fsharpi' automatically searches F# root directory (e.g. load-gtk) echo "#!/bin/sh" > fsharpc echo "exec mono $FSHARPDIR/fsc.exe --resident \"\$@\"" >> fsharpc chmod 755 fsharpc echo "#!/bin/sh" > fsharpi echo "exec mono $FSHARPDIR/fsi.exe -I:\"$FSHARPDIR\" \"\$@\"" >> fsharpi chmod 755 fsharpi mv fsharpc $BIN/fsharpc mv fsharpi $BIN/fsharpi </pre> <p>Thanks a lot!</p>
6128
null
null
2011-01-11T18:55:23.080
Problem with script substitution when running script
[ "scripts" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Change the first line from</p>\n\n<pre><code>#! /bin/sh -e\n</code></pre>\n\n<p>to</p>\n\n<pre><code>#!/bin/bash -e\n</code></pre>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-11T18:59:19.927", "id": "22666", "postId": "21103", "score": "0", "text": "The reason for this change is that Ubuntu uses dash as it default shell, not bash as expected by the script writer.", "userDisplayName": null, "userId": "211" }, { "creationDate": "2011-01-11T19:31:27.230", "id": "22688", "postId": "21103", "score": "0", "text": "Still got the same error :(", "userDisplayName": null, "userId": "6128" }, { "creationDate": "2011-01-11T19:34:51.423", "id": "22693", "postId": "21103", "score": "1", "text": "Wow! I ran it with \"sudo bash install-bonus.sh\" and it worked! Thanks! Why did it work?", "userDisplayName": null, "userId": "6128" }, { "creationDate": "2011-01-11T19:48:55.063", "id": "22695", "postId": "21103", "score": "0", "text": "@tucaz Well, Javier Rivera pointed out one reason. I guess maybe the other is that install-bonus.sh does not have execute permissions ( 'ls -la install-script.sh' )? So passing the script as an argument to BASH worked.", "userDisplayName": "user8290", "userId": null } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T18:55:23.080", "id": "21103", "lastActivityDate": "2011-01-11T18:55:23.080", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": "user8290", "ownerUserId": null, "parentId": "21100", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Change the first line from</p>\n\n<pre><code>#! /bin/sh -e\n</code></pre>\n\n<p>to</p>\n\n<pre><code>#!/bin/bash -e\n</code></pre>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-11T18:59:19.927", "id": "22666", "postId"...
null
null
null
null
null
21101
1
22929
2011-01-11T18:48:42.413
6
33119
<p>When I tried to move one of my partitions, I got some error messages. Here are some extracts:</p> <pre><code>Move /dev/sda7 to the left 00:05:09 ( ERROR ) </code></pre> <p>(...)</p> <pre><code>check file system on /dev/sda7 for errors and (if possible) fix them 00:00:10 ( SUCCESS ) e2fsck -f -y -v /dev/sda7 </code></pre> <p>(...)</p> <pre><code>move file system to the left 00:04:52 ( ERROR ) perform read-only test 00:04:52 ( ERROR ) using internal algorithm read 114013242 sectors finding optimal blocksize </code></pre> <p>(...) </p> <pre><code>read 113357882 sectors using a blocksize of 1024 sectors 00:04:36 ( ERROR ) 22527034 of 113357882 read Error while reading block at sector 385849832 23182394 sectors read ( ERROR ) </code></pre> <p>(...)</p> <pre><code>libparted messages ( INFO ) Input/output error during read on /dev/sda </code></pre> <p>What should I do to effectively move my partition?</p>
5592
17722
2012-07-09T13:09:14.327
2012-07-09T13:09:14.327
How do I fix the Gparted message : Error while reading block at sector xxx?
[ "partitioning", "gparted" ]
3
1
CC BY-SA 3.0
[ { "creationDate": "2011-10-19T02:33:11.440", "id": "78583", "postId": "21101", "score": "1", "text": "This question has been viewed more than 1,000 times, but has never been upvoted when I write those lines… Thank you community. ;-)", "userDisplayName": null, "userId": "5592" } ]
{ "accepted": true, "body": "<p>This is what actually made me solve my problem. The response of <a href=\"https://askubuntu.com/users/8500/psusi\">psusi</a> really helped, however it was really too rough for me and I spent something like three hours to get it all and to extract what would be interesting for me from his post. I had to search in Wikipedia, the official Ubuntu Forums and Ask Ubuntu. As a consequence I consider his post as a welcomed hint but not as the right answer.</p>\n\n<ul>\n<li>Run Ubuntu on a Live-CD.</li>\n<li>Using System -> Administration -> Gparted, disable the eventual swap partition (in other words, \"swapoff\"). Besides, note down the name of your corrupted drive, in my case \"sda\"</li>\n<li>In a terminal, run the command <code>sudo badblocks -sv -b 512 &lt;device-name&gt;</code>, where in my case is to be replaced by <code>/dev/sda</code>. After a long time waiting, the result is a list of numbers which are the corrupted sectors.</li>\n<li>Run the command <code>sudo dd if=&lt;device-name&gt; of=/dev/null bs=512 count=1 skip=&lt;sector&gt;</code>, where I replaced by <code>dev/sda</code> and by <code>385850816</code>, the first number given by the previous command.</li>\n<li>Repeat the previous point for each number.</li>\n<li>To check if your rescue succeeded, run again the command <code>sudo badblocks -sv -b 512 &lt;device-name&gt;</code>. It should give (after a long while) no number.</li>\n</ul>\n\n<p>As far as I am concerned, it solved my problem, and I was able again to move my partition. I have to admit I don't really know why, since the commands here-upon seem to be only read and to write commands. But whatever, I encounter no problem any more. </p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-04-12T20:12:05.600", "id": "38815", "postId": "22929", "score": "1", "text": "If the list of bad blocks is small ( say a dozen or less ) then this is a good way to fix them. After doing this though, you should run the SMART long selftest in the disk utility weekly for a few months and make sure no new bad sectors develop. If there are many bad sectors, then you just need to copy off what you can, and replace the drive.", "userDisplayName": null, "userId": "8500" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-23T17:21:11.940", "id": "22929", "lastActivityDate": "2011-01-23T17:21:11.940", "lastEditDate": "2017-04-13T12:24:29.360", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "5592", "parentId": "21101", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>You have bad sectors on your hard disk. Back up any important data NOW. Then run the disk utility and click the SMART diagnostics. Run the long self test, and when that finishes, look at the values of the following attributes:</p>\n\n<p>Offline_Uncorrectable\nCurrent_Pendi...
null
null
null
null
null
21104
1
21105
2011-01-11T18:55:29.073
3
21288
<p>I have XAMPP installed, and need to edit my <code>httpd.conf</code> file to add a virtual host block. If I right-click on the file in Nautilus and open with <em>gedit</em>, I can see all the content, but it's read-only. </p> <p>If I try to open it via terminal, like this:</p> <pre><code>esther@estherLinuxSony:~$ sudo gedit opt/lampp/etc/extra/httpd-vhosts.conf </code></pre> <p>It opens the root version of gedit, but there's no content in the file.</p> <p>How can I edit this file?</p>
2664
62483
2013-07-08T00:09:22.313
2013-07-08T00:09:22.313
How can I edit my httpd.conf file?
[ "command-line", "sudo", "gedit" ]
1
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>You are missing the slash before 'opt', the following should work:</p>\n\n<pre><code>gksudo gedit /opt/lampp/etc/extra/httpd-vhosts.conf\n</code></pre>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-11T18:59:49.613", "id": "22667", "postId": "21105", "score": "0", "text": "Thank you! Could you clarify what the difference is between sudo and gksudo? It seems to work either way.", "userDisplayName": null, "userId": "2664" }, { "creationDate": "2011-01-11T19:16:45.787", "id": "22677", "postId": "21105", "score": "2", "text": "gksudo will open a graphical dialog to prompt you for your password, while sudo will do it in the terminal.", "userDisplayName": null, "userId": "2320" }, { "creationDate": "2011-01-11T21:01:02.927", "id": "22705", "postId": "21105", "score": "1", "text": "See http://www.psychocats.net/ubuntu/graphicalsudo", "userDisplayName": null, "userId": "6969" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T18:57:24.640", "id": "21105", "lastActivityDate": "2011-01-11T18:57:24.640", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6969", "parentId": "21104", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>You are missing the slash before 'opt', the following should work:</p>\n\n<pre><code>gksudo gedit /opt/lampp/etc/extra/httpd-vhosts.conf\n</code></pre>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-11T18:59:49.613", "id": "226...
null
null
null
null
null
21115
1
null
2011-01-11T20:06:32.747
1
286
<p>I don't like the way of working with the 10.10 netbook and want to use desktop. I'm using Wubi and I'm new to ubuntu! Is there a way, simple switch between those two?</p>
null
41
2011-01-26T14:39:06.830
2011-01-26T16:14:05.533
Moving from Ubuntu Netbook to Ubuntu Desktop
[ "ubuntu-netbook" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Ubuntu Desktop might already be installed, so start the application \"Login Screen\" (should be located under \"System\"), press unlock, enter password and choose \"GNOME\" (or Ubuntu Desktop) as default session.</p>\n\n<p>If GNOME/Ubuntu Desktop is not available then you can...
null
null
null
null
Martijn
21118
1
21158
2011-01-11T20:27:09.357
5
1581
<p>I don't even know how those tools are called together, but i think they make linux a very powerful OS. Do you know any good tutorials to learn those?</p>
8436
169736
2014-01-29T01:00:14.987
2014-01-29T01:00:14.987
Good tutorial on grep, sort, unique and tools like that
[ "command-line" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>An old Unix spell book called,Unix Text Processing that is still useful today, even on Ubuntu,\nis available here; <a href=\"http://oreilly.com/openbook/utp/\">http://oreilly.com/openbook/utp/</a> download PDF, open with Evince, read and enjoy!</p>\n\n<p>grep on page 301, uniq on page 323</p>\n\n<p>Text Processing in Linux should also be helpful, <a href=\"http://www.brezeale.com/technical_notes/text_processing.shtml\">http://www.brezeale.com/technical_notes/text_processing.shtml</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2022-05-30T07:06:53.833", "id": "2452777", "postId": "21158", "score": "0", "text": "The second link seems to be dead - here is a [Wayback Machine snapshot](https://web.archive.org/web/20170505150900/https://www.brezeale.com/technical_notes/text_processing.shtml).", "userDisplayName": null, "userId": "378196" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T03:42:01.130", "id": "21158", "lastActivityDate": "2011-01-12T03:42:01.130", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "4923", "parentId": "21118", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>An old Unix spell book called,Unix Text Processing that is still useful today, even on Ubuntu,\nis available here; <a href=\"http://oreilly.com/openbook/utp/\">http://oreilly.com/openbook/utp/</a> download PDF, open with Evince, read and enjoy!</p>\n\n<p>grep on page 301, uni...
null
null
null
null
null
21119
1
22660
2011-01-11T20:40:28.230
3
991
<p>Has anyone been able to use any M-Audio midi devices successfully? (the box says Mac only). I am using an M-Audio KeyStudio 25.</p>
8728
235
2011-01-22T02:34:17.140
2011-01-22T02:34:17.140
How do I get an M-Audio KeyStudio 25 to work?
[ "hardware", "compatibility" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T14:03:29.487", "id": "22847", "postId": "21119", "score": "2", "text": "Do you see your device listed in `aconnect -i` output, after you plug it in and turn it on?", "userDisplayName": null, "userId": "8152" } ]
{ "accepted": true, "body": "<p>You can usually check compatibility with devices on the alsa-project's main site:</p>\n\n<p><a href=\"http://alsa-project.org/\" rel=\"nofollow\">http://alsa-project.org/</a></p>\n\n<p>I couldn't find the keystudio on there. If this keyboard does not work then you could use the MIDI out port (it seems it has one) with a compatible MIDI out->USB device (The M-Audio Uno is one supported device, ~20 dollars).</p>\n\n<p>Of course, with any sort of audio product on unsupported Operating Systems the best course of action is to see if you can test it out beforehand to make sure it does indeed work or not.</p>\n\n<p>You can see what's plugged in your USB devices by issuing the command \"lsusb\" in a terminal. If the keystudio (or something similar) is listed then you may have a pretty good chance of compatibility.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-21T21:27:51.743", "id": "22660", "lastActivityDate": "2011-01-21T21:27:51.743", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": "user6658", "ownerUserId": null, "parentId": "21119", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>You can usually check compatibility with devices on the alsa-project's main site:</p>\n\n<p><a href=\"http://alsa-project.org/\" rel=\"nofollow\">http://alsa-project.org/</a></p>\n\n<p>I couldn't find the keystudio on there. If this keyboard does not work then you could use t...
null
null
null
null
null
21120
1
21167
2011-01-11T20:45:15.943
5
4386
<p>I just installed the current build for Ubuntu on a partition for my work computer. I am a novice when it comes to Linux/Ubuntu, which is why I installed it along side windows. I want to learn how to operate and use Ubuntu much more than I do now, so I figured installing it and trying to do day to day functions here would be a "Thrown into the pool with sharks" way to do it, and I like that way.</p> <p>I did however have a few questions:</p> <ul> <li>We are on a Domain in Windows, is there any way to join that domain using the Ubuntu partition?</li> <li>We Also have 16 mapped network drives. I don't actually need ALL of them mapped for Ubuntu, but is there a way to Map at least one of them to see/use here in Ubuntu.</li> <li>Outlook Corporate email, how can I sign in/use it while...well, you get the idea.</li> </ul> <p>As I said earlier, I am VERY new to Ubuntu, i've only played around with it a bit at home and never at the office. If you could simplify it down for me a bit, that would be great.</p>
8731
8844
2011-03-31T03:35:16.150
2011-05-10T18:34:41.060
How to join a Windows Domain and Map Network Drives?
[ "networking", "email", "active-directory" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Here goes!</p>\n\n<ul>\n<li><strong>Windows Domain</strong> - A popular solution for adding an Ubuntu machine to a Windows domain is Likewise-Open, found here: <a href=\"http://www.likewise.com/products/likewise_open/\" rel=\"nofollow\">http://www.likewise.com/products/likewise_open/</a> It's quite possible that there are other alternatives out there; this was the first one I stumbled upon.</li>\n<li><strong>Mapping Drives</strong> - As to mapping drives, Ubuntu has the functionality already built in. Just go to the \"start\" menu, go to \"Places,\" and select \"Connect to Server...\" In the dialog, make sure you select \"Windows share\" from the \"Service type\" drop-down box, and then fill in the rest of the info.</li>\n<li><strong>Outlook E-mail</strong> - The already-installed Evolution Mail application should be what you're looking for. Now, there's funny business afoot with Microsoft Exchange servers, so if your company uses one for its mail, you may or may not run into problems (it depends on the version of the server, amongst other things). From the Exchange section of the Evolution documentation: \"<em>Evolution Exchange works only with Exchange 2000 and later, and requires that Outlook Web Access be enabled. Each user needs a valid Microsoft Exchange server account, including a license.</em>\" On the other hand, if your company uses standard IMAP/POP mail, you shouldn't have any trouble. (And perhaps someone more knowledgeable than myself can chime in about that Exchange stuff; I'm terribly behind the times with mail clients!)</li>\n</ul>\n\n<p>Good luck!</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T05:23:50.950", "id": "21167", "lastActivityDate": "2011-01-12T05:23:50.950", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1557", "parentId": "21120", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>Here goes!</p>\n\n<ul>\n<li><strong>Windows Domain</strong> - A popular solution for adding an Ubuntu machine to a Windows domain is Likewise-Open, found here: <a href=\"http://www.likewise.com/products/likewise_open/\" rel=\"nofollow\">http://www.likewise.com/products/likewi...
null
null
null
null
null
21122
1
null
2011-01-11T21:04:42.173
1
364
<p>I have the following problem with tomboy notes. There are some notes that I cannot delete. The delete button is greyed out. If I look on Ubuntu One, under notes, these notes do not show in the left pane but show under recent activity. eg "# (Untitled 10) was updated"</p> <p>How can I delete these notes and clean up my tomboy app?</p> <p>Thanks</p>
8733
866
2011-01-11T21:07:42.637
2011-05-19T19:52:03.780
Notes showing in Tomboy but not on Ubuntu One - can't delete
[ "ubuntu-one", "tomboy" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Your notes should be located at:</p>\n\n<pre><code>~/.local/share/tomboy/\n</code></pre>\n\n<p>or (older versions)</p>\n\n<pre><code>~/.tomboy/\n</code></pre>\n\n<p>Other way could be to purge \"tomboy\" and install it again.</p>\n", "commentCount": "2", "comments": [...
null
null
null
null
null
21125
1
21129
2011-01-11T21:12:44.913
2
372
<p>Currently I have way to many indicators/icons on my system tray. Is it possible that auto hide will be added in future Ubuntu versions?</p>
1992
null
null
2012-07-29T03:21:52.720
Will it be possible to autohide indicators in some way in the future?
[ "unity", "indicator" ]
1
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-11T21:52:54.613", "id": "22715", "postId": "21125", "score": "1", "text": "=) hi poolie how r ya?", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2012-07-07T13:36:20.000", "id": "195887", "postId": "21125", "score": "1", ...
{ "accepted": true, "body": "<p>If you have too many indicators then some of your indicators probably shouldn't be indicators. Perhaps take a look at the <a href=\"https://wiki.ubuntu.com/CustomStatusMenuDesignGuidelines\">Design guidelines</a> to work out which ones these are.</p>\n\n<p>(This is my personal view, I'm not sure how it tallies with the view of the Ayatana team.)</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-11T21:39:01.770", "id": "22711", "postId": "21129", "score": "0", "text": "I personally agree partly in the sense that some indicators really don't need to be (in the way they currently are - that is they could be amalgamated as KDE does with some things) but still autohide should be an option.", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-01-14T02:32:48.760", "id": "23086", "postId": "21129", "score": "0", "text": "Yes, chat with the author of the indicators about fitting into one of the category indicators, like sound, messaging etc.", "userDisplayName": null, "userId": "5287" }, { "creationDate": "2011-01-16T22:46:08.443", "id": "23635", "postId": "21129", "score": "0", "text": "@Mark Shuttleworth @fluteflute thanks :) - P.S. I still want a hiding option, but that could work :P", "userDisplayName": null, "userId": "1992" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-11T21:27:56.543", "id": "21129", "lastActivityDate": "2011-01-11T21:27:56.543", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "866", "parentId": "21125", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>If you have too many indicators then some of your indicators probably shouldn't be indicators. Perhaps take a look at the <a href=\"https://wiki.ubuntu.com/CustomStatusMenuDesignGuidelines\">Design guidelines</a> to work out which ones these are.</p>\n\n<p>(This is my persona...
null
null
null
null
null
21131
1
null
2011-01-11T21:46:54.717
49
201223
<p>Ubuntu seems to favour OpenJDK/JRE very much over Sun JDK/JRE. Even after I installed Sun JRE, JDK and plugin and spent some time plucking out OpenJDK-related packages, apt-get has installed them back with some packages as a dependency. Can this behaviour be corrected in favour of Sun Java packages? I'd like to have one and only Java stack installed (yes, it's a bit of <a href="http://en.wikipedia.org/wiki/Obsessive%E2%80%93compulsive_disorder">OCD</a>, but I like to have my systems clean) and want it to be Sun Java.</p> <p><b>Update:</b> as Marcos Roriz notes, the problem seems to be in default-jre (on which Java-dependent packages use to depend) pointing to OpenJDK, so the question seems to go about how to hack default-jre/default-jdk to point to Sun Java.</p>
2390
7035
2013-06-11T15:58:13.137
2013-06-11T16:01:47.900
How to correctly remove OpenJDK/OpenJRE and set SunJDK/SunJRE as Default
[ "java" ]
10
1
CC BY-SA 3.0
[ { "creationDate": "2016-08-10T10:03:51.523", "id": "1225051", "postId": "21131", "score": "0", "text": "please any one update the answer with oracle jdk..", "userDisplayName": null, "userId": "428738" } ]
null
[ { "accepted": null, "body": "<h2>Installing Sun Java on Older Versions of Ubuntu (9.10 and below)</h2>\n\n<p>I had the same problem once about three years ago with Ubuntu 8.04 I think. There was a weird problem when using openjre and the problem was solved by using the sun jre version. Here are the steps in...
null
null
null
null
null
21136
1
21140
2011-01-11T22:18:29.443
38
29979
<p>Is there any way to debug bash script without using echo and logging?</p> <p>I'm talking about using breakpoints and stuff like that.</p>
8436
546798
2016-06-20T10:17:01.970
2019-10-15T03:58:27.923
How to debug bash script?
[ "bash", "debugging" ]
7
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Yes, there is <a href=\"http://bashdb.sourceforge.net/\" rel=\"nofollow noreferrer\">Bash Debugger Project</a>.</p>\n\n<p><a href=\"https://i.stack.imgur.com/5xhXq.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/5xhXq.png\" alt=\"\"></a></p>\n\n<p>You can also use <code>set -x</code> and <code>set -v</code> at execution. More info:</p>\n\n<p><a href=\"http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/debugging.html\" rel=\"nofollow noreferrer\">http://www.linuxtopia.org/online_books/advanced_bash_scripting_guide/debugging.html</a>\n<a href=\"http://www.cyberciti.biz/tips/debugging-shell-script.html\" rel=\"nofollow noreferrer\">http://www.cyberciti.biz/tips/debugging-shell-script.html</a></p>\n\n<p>Good luck!</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-01-11T22:44:41.553", "id": "21140", "lastActivityDate": "2019-05-15T13:30:35.243", "lastEditDate": "2019-05-15T13:30:35.243", "lastEditorDisplayName": null, "lastEditorUserId": "250300", "ownerDisplayName": null, "ownerUserId": "4777", "parentId": "21136", "postTypeId": "2", "score": "21" }
[ { "accepted": null, "body": "<p>There several different ways, i.e.:</p>\n\n<ul>\n<li><p>Run your script with the -x option</p>\n\n<pre><code>bash -x yourscript.sh\n</code></pre></li>\n<li><p>Add <code>set -x</code> in a new line at the beginning of your scriptfile after the Shebang <code>#!/bin/bash</code> ...
null
null
null
null
null
21142
1
21149
2011-01-11T22:55:29.473
7
4824
<p>Is there any defragmenter out there for ext3?</p>
8678
2591
2013-04-12T13:32:55.413
2017-04-18T07:18:36.160
Is there a ext3 defragmenter?
[ "ext3" ]
3
4
CC BY-SA 3.0
[ { "creationDate": "2011-01-12T01:21:29.597", "id": "22742", "postId": "21142", "score": "4", "text": "Linux doesn't need...oh. Well, never mind :)", "userDisplayName": null, "userId": "5368" }, { "creationDate": "2011-01-12T01:23:21.157", "id": "22743", "postId": "21142",...
{ "accepted": true, "body": "<p><a href=\"http://launchpad.net/e2defrag\" rel=\"noreferrer\">http://launchpad.net/e2defrag</a>.</p>\n", "commentCount": "6", "comments": [ { "creationDate": "2017-04-15T11:43:03.293", "id": "1420663", "postId": "21149", "score": "0", "text": "How is e2defrag compared to Shake?", "userDisplayName": null, "userId": "128859" }, { "creationDate": "2017-04-17T14:58:09.330", "id": "1422209", "postId": "21149", "score": "1", "text": "@AlexS, shake just copies files until they luckily happen to end up with no or few fragments thanks to the normal allocation algorithms. e2defrag runs on an unmounted volume and relocates every block on the disk so that they are all packed to the left ( within their native block group by default ), and are in the natural inode order of the files. As a result, it also maximizes the contiguous free space for new files to avoid fragmentation.", "userDisplayName": null, "userId": "8500" }, { "creationDate": "2017-04-17T16:23:39.323", "id": "1422252", "postId": "21149", "score": "0", "text": "So, e2defrag would be the best option for Ext3 partitions for now. While e4defrag does Ext4 better, if it support Ext3 we'd have something better?", "userDisplayName": null, "userId": "128859" }, { "creationDate": "2017-04-17T16:45:42.587", "id": "1422270", "postId": "21149", "score": "0", "text": "How do I install it in Linux Mint (13/ 14 or 18/18.1)? I've typically downloaded .debs and used GDebi and am unable to have xenial etc get added on it", "userDisplayName": null, "userId": "128859" }, { "creationDate": "2017-04-19T02:18:18.683", "id": "1423553", "postId": "21149", "score": "0", "text": "@AlexS, e2defrag works on ext4 as well ( unless you have a big enough disk to need the 64 bit feature ). I believe that e4defrag works by moving individual files around to defrag them similar to shake, without regard for packing them to make more contiguous free space. On the other hand, it does work with the filesystem mounted, and a crash or power failure while it runs won't leave your whole filesystem trashed ( backup before using e2defrag ).", "userDisplayName": null, "userId": "8500" }, { "creationDate": "2017-04-19T02:28:37.043", "id": "1423556", "postId": "21149", "score": "0", "text": "@AlexS, also you can just build it from source. Untar, `./configure`, `make`, `sudo make install`. Have the build-essential package installed first. I forget if there were one or two others needed as well, but you should see them listed in the Depends: header of the debian/control file.", "userDisplayName": null, "userId": "8500" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T00:52:03.793", "id": "21149", "lastActivityDate": "2011-01-12T00:52:03.793", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "21142", "postTypeId": "2", "score": "6" }
[ { "accepted": null, "body": "<p><a href=\"http://vleu.net/shake/\" rel=\"nofollow\">Shake</a></p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-11T23:23:17.653", "id": "22731", "postId": "21143", "score": "0", "text": "+1, interesting...
null
null
null
null
null
21144
1
21153
2011-01-11T23:24:55.573
25
10622
<p>My workstation has two Geforce 7300GTs and three monitors, and I'd like to put them to good use. Dual monitors works out of the box, but triple doesn't. How can I get the third monitor up and going when the Monitor Prefs dialog only shows two?</p>
2296
186134
2015-08-19T19:46:10.490
2015-08-19T19:46:10.490
How do I get three monitors working with Nvidia?
[ "nvidia", "multiple-monitors" ]
1
4
CC BY-SA 3.0
[ { "creationDate": "2011-01-11T23:26:59.977", "id": "22732", "postId": "21144", "score": "0", "text": "good question :)", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-01-11T23:34:06.413", "id": "22734", "postId": "21144", "score": "0", "text...
{ "accepted": true, "body": "<p>I think that you should be able to do that with installing official nvidia drivers and running nvidia-config</p>\n\n<pre><code>sudo nvidia-config\n</code></pre>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-12T05:07:41.950", "id": "22767", "postId": "21153", "score": "1", "text": "I think TwinView only works on one video card, and for only two monitors?", "userDisplayName": null, "userId": "2296" }, { "creationDate": "2011-01-13T02:38:11.457", "id": "22913", "postId": "21153", "score": "1", "text": "Actually, that worked out okay, once I figured out my third monitor had crashed internally and the video card was fine.", "userDisplayName": null, "userId": "2296" }, { "creationDate": "2011-01-13T02:39:10.457", "id": "22914", "postId": "21153", "score": "3", "text": "For posterity, I set each monitor up as seperate X screens and checked \"enable xinerama\" and it works as three monitors on a single desktop pretty painlessly.", "userDisplayName": null, "userId": "2296" }, { "creationDate": "2015-12-06T14:45:07.803", "id": "1037999", "postId": "21153", "score": "0", "text": "I tried NVIDIA X Server Config GUI in 14.04 but no luck with setting three monitors. It seems to only support two displays at the same time, while the internal monitor of my laptop doesn't work. It works normally on Windows. I use GTX980M", "userDisplayName": null, "userId": "391188" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T03:08:50.927", "id": "21153", "lastActivityDate": "2011-01-12T03:08:50.927", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6564", "parentId": "21144", "postTypeId": "2", "score": "8" }
[ { "accepted": true, "body": "<p>I think that you should be able to do that with installing official nvidia drivers and running nvidia-config</p>\n\n<pre><code>sudo nvidia-config\n</code></pre>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-12T05:07:41.950", "...
null
null
null
null
null
21145
1
21162
2011-01-11T23:35:30.780
2
311
<p>I have a postinstall script that runs after my preseed install that checks /proc/cpuinfo for vmx or svm flags and if the server has them, it installs kvm packages. The only problem is due to the install running in a chroot /target directory, there is no /proc/cpuinfo to look at. The "lshw" command doesn't have the goods either. Any thoughts on how this can otherwise be accomplished?</p>
7443
186134
2015-10-26T23:30:40.820
2015-10-26T23:30:40.820
How can I check processor flags inside a preseed install?
[ "software-installation" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The problem with not having access to /proc is that you don't have any script access to the sysfs calls required to do the check. What you need to do is to make sure your chroot has access to proc.</p>\n\n<p>You can do this by mounting /proc before your chroot using the late pressed command like this:</p>\n\n<pre><code>d-i preseed/late_command string chroot /target; mount proc /proc -t proc;\n</code></pre>\n\n<p>And also a second option: remounting proc inside the chroot like this:</p>\n\n<pre><code>mount proc /proc -t proc\n</code></pre>\n\n<p>in fact if it's an installed system, <code>mount /proc</code> alone would work.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T04:29:04.577", "id": "21162", "lastActivityDate": "2011-01-12T17:40:05.877", "lastEditDate": "2011-01-12T17:40:05.877", "lastEditorDisplayName": null, "lastEditorUserId": "132", "ownerDisplayName": null, "ownerUserId": "132", "parentId": "21145", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>The problem with not having access to /proc is that you don't have any script access to the sysfs calls required to do the check. What you need to do is to make sure your chroot has access to proc.</p>\n\n<p>You can do this by mounting /proc before your chroot using the late ...
null
null
null
null
null
21146
1
null
2011-01-11T23:37:37.220
10
5034
<p>I would like to</p> <ul> <li>have the latest stable (2.8) Mono stack (Mono, Moonlight with Firefox plugin, Monodevelop, Monodoc, etc) on Ubuntu 10.10</li> <li>not have any remains of old Mono 2.6 which is available in Ubuntu repos,</li> <li>get all the mono-depending packages satisfied (I am afraid they will complain if I don't install Mono 2.6 from packages and install manually downloaded Mono 2.8 instead)</li> </ul> <p>How do I acheive this?</p>
2390
null
null
2011-01-14T16:31:44.140
How to correctly install the latest Mono, Moonlight and Monodevelop instead of the version in Ubuntu repository?
[ "mono" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>This is a somewhat vague answer, I know, but I hope it helps:</p>\n\n<ul>\n<li>Download the appropriate tarballs from <a href=\"http://ftp.novell.com/pub/mono/sources-stable/\" rel=\"nofollow\">http://ftp.novell.com/pub/mono/sources-stable/</a></li>\n<li>Follow the instructio...
null
null
null
null
null
21148
1
null
2011-01-12T00:27:30.840
1
3413
<p>The sheet tabs in Open Office Calc appear very pixelated to me. Also the buttons to change tabs are very tiny.</p> <p><strong>Screenshot:</strong><br> <img src="https://i.stack.imgur.com/92nhQ.png" alt="alt text"></p> <p>Is there a way to fix this appearance? All the functionality is there, but it's bugging me. Hopefully this helps some other people too.</p>
8742
7035
2011-06-07T02:53:06.940
2015-04-06T20:15:02.577
OpenOffice Calc - Sheet Tabs and Buttons
[ "openoffice.org" ]
3
0
CC BY-SA 3.0
[]
null
[ { "accepted": null, "body": "<p>Try to install / use other themes like explained here:</p>\n\n<blockquote>\n <p>You need to download themes or styles\n for OpenOffice via Synaptic. There are\n several themes (styles) available,\n such as: default, crystal, human,\n tango, industrial. In Synaptic, searc...
null
null
null
null
null
21151
1
null
2011-01-12T01:52:36.057
16
45947
<p>I've seen the documentation on Blu-Ray Restricted formats <a href="https://help.ubuntu.com/community/RestrictedFormats/BluRayAndHDDVD" rel="noreferrer">here</a> but I'm looking to see if anyone has come up with an easy solution yet? Also it would be awesome if someone knows of any type of program that provides mkv compression. </p>
6544
6544
2011-05-24T21:00:14.967
2020-10-14T18:06:36.253
Any way to easily rip blu-ray disks?
[ "blu-ray", "transcode", "disk-ripping", "restricted-formats" ]
4
0
CC BY-SA 3.0
[]
null
[ { "accepted": null, "body": "<p><a href=\"http://www.makemkv.com/\" rel=\"noreferrer\">MakeMKV</a> claims it can make mkv files from Blu-Ray.</p>\n\n<p>You'll need to <a href=\"http://www.makemkv.com/forum2/viewtopic.php?f=3&amp;t=224\" rel=\"noreferrer\">follow the guide on the MakeMKV forum</a> to obtain ...
null
null
null
null
null
21154
1
21156
2011-01-12T03:22:03.330
16
8467
<p>I recently bought my first Android phone (HTC Legend). Now I want to develop for it!! :) Is it possible under Ubuntu and what is the best tool? Eclipse or IntelliJ or maybe something else? </p> <p>UPD: It takes about a year for me (sorry my lazyness ;) But this is my first Android app - <a href="https://market.android.com/details?id=com.maxsoft.balls" rel="nofollow">https://market.android.com/details?id=com.maxsoft.balls</a> Created by Eclipse + ADT in Ubuntu 11.10!</p>
2026
2026
2012-02-18T05:11:48.497
2013-01-09T23:40:26.080
What IDEs are there for Android development?
[ "software-recommendation", "development", "android", "ide", "application-development" ]
4
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Probably the easiest to use, and officially supported, is <strong>Eclipse</strong>.</p>\n\n<p>The Eclipse <strong>Android Developer Tools (ADT) plugin</strong> allows for basic project creation and management, as well as step debugging and ability to easily export your app for deployment/publication.</p>\n\n<p><a href=\"http://developer.android.com/tools/index.html\" rel=\"nofollow\">http://developer.android.com/tools/index.html</a></p>\n\n<p>Google now distributes an <strong>ADT Bundle</strong>, which includes Eclipse with the ADT plugin, SDK and platform tools, and latest Android platform and system image for the emulator.</p>\n\n<p><a href=\"http://developer.android.com/sdk/index.html\" rel=\"nofollow\">http://developer.android.com/sdk/index.html</a></p>\n\n<p>The <strong>Android SDK Tools</strong> alone can still be downloaded if you prefer not to have the entire bundle, or if you already have Eclipse installed and just want to <a href=\"http://developer.android.com/sdk/installing/installing-adt.html\" rel=\"nofollow\">add the ADT plugin</a> and SDK/platform tools, or if you prefer to use another IDE.</p>\n\n<p><a href=\"http://developer.android.com/sdk/installing/index.html\" rel=\"nofollow\">http://developer.android.com/sdk/installing/index.html</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-12T03:39:36.727", "id": "21156", "lastActivityDate": "2013-01-09T23:40:26.080", "lastEditDate": "2013-01-09T23:40:26.080", "lastEditorDisplayName": null, "lastEditorUserId": "8529", "ownerDisplayName": null, "ownerUserId": "8529", "parentId": "21154", "postTypeId": "2", "score": "14" }
[ { "accepted": true, "body": "<p>Probably the easiest to use, and officially supported, is <strong>Eclipse</strong>.</p>\n\n<p>The Eclipse <strong>Android Developer Tools (ADT) plugin</strong> allows for basic project creation and management, as well as step debugging and ability to easily export your app fo...
null
null
null
null
null
21161
1
null
2011-01-12T04:25:43.590
5
6329
<p>Hi i have a newly installed version of ubuntu 10.10 on my laptop. When i run windows, the fan is working properly and is not making sound. but when i run ubuntu, its making sound and is runnning more faster. what could be the problem. Is there any way of rectifying it.</p>
null
449
2011-01-18T09:58:05.000
2011-01-18T09:58:05.000
Fan making noise while running ubuntu
[ "acpi", "fan" ]
3
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p><strong>Update:</strong></p>\n\n<p>@Chandru1: Based on your model, I found this tutorial that is to enable Frequency Scaling on Celeron:</p>\n\n<p><a href=\"http://ubuntuforums.org/showthread.php?t=582069\" rel=\"nofollow\">http://ubuntuforums.org/showthread.php?t=582069</a><...
null
null
null
null
user5929
21163
1
null
2011-01-12T04:30:23.250
4
1884
<p>what is the best input format for Cinelerra? I have tried various combinations of video and audio formats, but none has worked so far. Advance thanks!</p>
8717
null
null
2011-02-23T23:03:07.157
Best format for Cinelerra video editor
[ "video", "sound", "video-editor" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Cinelerra handles uncompressed and lightly compressed videos best.\nDV from professional camcorders and mjpeg from some digital cameras, these are usually in the .avi container. Be careful with very long highly compressed videos.</p>\n\n<p>Reading this document may be helpful...
null
null
null
null
null
21170
1
null
2011-01-12T05:32:24.017
4
518
<p>I have more than 100 contacts on my iphone. When i sync with Ubuntu One App, only 44 contacts appears in Ubuntu One ... What is the problem ? What can I do to have all my contacts sync ?</p>
8752
866
2011-01-12T08:14:02.690
2011-01-16T16:45:18.337
Why all my iphone contacts aren't synced with Ubuntu One Contacts?
[ "ubuntu-one", "sync", "iphone", "contacts" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-16T19:11:21.187", "id": "23595", "postId": "21170", "score": "0", "text": "Ubuntu is trying to tell you 56 of those contacts are bad influences :P", "userDisplayName": null, "userId": "41" } ]
null
[ { "accepted": null, "body": "<p>We've been seeing problems with contact syncing on iphone and nokias for a while now, and have been chasing these cases individually. The problem is, with our current infrastructure, it's usually hard to reproduce and fix.\nWhile we continue trying to resolve each case indivi...
null
null
null
null
null
21171
1
21219
2011-01-12T05:36:35.720
7
4711
<p>My new server got hacked (sigh).</p> <p>I have physical access to my machine. It seems like the only changes made was a new user account created and a broken <code>/etc/sudoers</code> file.</p> <p>It seems as though the password was discovered by dictionary attack. </p> <p>After I fix these problems (or do a full re-install?), I want to add a mechanism to ban an IP (for maybe 24 hours or some time limit) after getting the password wrong x number of times, but I'm not a unix sysadmin or anything, so I'm not really sure where to get started.</p> <p>What software should I use and how can I configure it?</p> <p>Thanks.</p>
8753
106495
2013-03-04T00:45:35.303
2013-03-04T00:45:35.303
How to ban an IP temporarily after several incorrect password attempts?
[ "login", "security", "password" ]
3
1
CC BY-SA 3.0
[ { "creationDate": "2018-10-24T16:44:50.423", "id": "1787918", "postId": "21171", "score": "0", "text": "assuming that logins were attempted using SSH I strongly suggest to look into public key auth, and if possible enforce its use (and disallow password login). from my experience this is easily ...
{ "accepted": true, "body": "<p><code>fail2ban</code> is a good solution, but I'm a fan of <a href=\"http://denyhosts.sourceforge.net/\" rel=\"noreferrer\">DenyHosts</a>, which is available in the repos. Just do <code>sudo apt-get install denyhosts</code>, and that will install DenyHosts and start it with a pretty sensible configuration.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T13:52:01.250", "id": "21219", "lastActivityDate": "2011-01-12T13:52:01.250", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2180", "parentId": "21171", "postTypeId": "2", "score": "7" }
[ { "accepted": null, "body": "<p>I recommend looking at fail2ban to do this for you:</p>\n\n<p><a href=\"https://help.ubuntu.com/community/Fail2ban\">https://help.ubuntu.com/community/Fail2ban</a></p>\n\n<p>(Also, yes, I would just do a fresh install, especially if they got root access.)</p>\n", "comment...
null
null
null
null
null
21173
1
null
2011-01-12T05:54:30.503
2
3648
<p>Inside the Virtual Machine ,running Ubuntu, I can ping outside machines and can even connect to the internet, but outside machines can not ping me except my host Windows machine,</p> <p>The VMware Image use bridge mode and The IP of the Ubuntu is get from DHCP.</p> <p>What could be catchy here and how to diagnose it? Thanks.</p>
8754
5691
2011-01-12T06:00:30.373
2011-01-12T07:02:49.967
can ping other machines but other machines can not ping me
[ "vmware", "networking" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Assuming you can access your machine through other ways. Ubuntu has ping switched off sometimes, try and switch it back on using this:</p>\n\n<p>In Ubuntu ping can be enabled by adding following line to your /etc/init.d/networking script.</p>\n\n<pre><code>echo 0 &gt; /proc/s...
null
null
null
null
null
21175
1
null
2011-01-12T06:03:19.837
7
1567
<p>I would like to know if the i915 driver supports all the features of DirectFB. I don't know whether this is the right way to ask what I have in my mind. When I look at the code, I find that it support just 'fill rectangle' and 'image blitting'. Is that all or does it support more? Please guide me.</p>
6521
22949
2017-09-08T01:24:30.127
2017-09-08T01:24:30.127
What are the Graphics capabilities of i915 driver?
[ "intel-graphics", "i915" ]
1
4
CC BY-SA 3.0
[ { "creationDate": "2011-01-12T06:58:50.813", "id": "22797", "postId": "21175", "score": "2", "text": "If it helps anyone find out, here's Intel's full developer documentation for the drivers, creative commons no less: http://www.x.org/docs/intel/", "userDisplayName": null, "userId": "106...
null
[ { "accepted": null, "body": "<p>If you're looking at the code, and finding support only for 'fill rectangle' and 'image blitting', then that's probably all that's supported. If you need help analysing the code, try asking one of the <a href=\"http://www.directfb.org/index.php?path=Development%2FMailing+List...
null
null
null
null
null
21177
1
23400
2011-01-12T06:40:34.237
2
385
<p>I have installed nautilus elementary as per this <strong><a href="http://www.webupd8.org/2010/09/ubuntu-1010-nautilus-elementary-ppa.html" rel="nofollow noreferrer">instruction</a></strong>.Installation went fine. But some of icons are missing.</p> <p><img src="https://i.stack.imgur.com/tPWm7.png" alt="alt text"></p> <p>And there is no Edit <strong>→</strong> Preferences <strong>→</strong> Tweaks tab. Also the keyboard shortcuts <kbd>F7</kbd> and <kbd>F4</kbd> is not working. Toolbar is not customizable. Am i missing something?. How can i make it work properly.</p>
4980
235
2011-01-12T16:12:53.390
2011-01-31T02:02:04.300
Missing icons and functions
[ "10.10", "nautilus-elementary" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>It sounds like the package is not installed correctly. Your best option is to go to the PPA maintainer and ask them to see if they will help you with the issue directly.</p>\n\n<p>Consider that this is an experiment, and what you're doing is testing. There are bound to be problems and you should certainly report them to the elementary team:</p>\n\n<p><a href=\"https://help.ubuntu.com/community/ReportingBugs\" rel=\"nofollow\">https://help.ubuntu.com/community/ReportingBugs</a></p>\n\n<p><a href=\"https://launchpad.net/nautilus-elementary\" rel=\"nofollow\">https://launchpad.net/nautilus-elementary</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-26T17:56:43.957", "id": "23400", "lastActivityDate": "2011-01-26T17:56:43.957", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "132", "parentId": "21177", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>It sounds like the package is not installed correctly. Your best option is to go to the PPA maintainer and ask them to see if they will help you with the issue directly.</p>\n\n<p>Consider that this is an experiment, and what you're doing is testing. There are bound to be pro...
null
null
null
null
null
21182
1
null
2011-01-12T07:06:05.267
1
14902
<p>I have an AIR 2.0 application which makes a request to the server which can take more than 1 minute. Sadly due to this <a href="https://bugs.adobe.com/jira/browse/FP-4934" rel="nofollow">bug</a> the request timeouts after 30 seconds. There is a workaround, but is only available for Windows. Could you tell me how to do the same thing in Ubuntu 10.04?</p>
8756
null
null
2011-01-12T08:09:33.473
How to change the default timeout of internet connection?
[ "10.04", "adobe-air", "timeout" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>If I understand it correctly this command will make the same thing on linux that this registry tweak in windows:</p>\n\n<pre><code>sudo sysctl net.ipv4.tcp_fin_timeout=100\n</code></pre>\n\n<p>Where 100 is the timeout in seconds to forcibly close a socket. Note that:</p>\n\n<...
null
null
null
null
null
21183
1
null
2011-01-12T07:11:13.827
2
575
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/10008/how-to-make-keyboard-work-like-osx-system-wide">How to make keyboard work like OSX System Wide?</a> </p> </blockquote> <p>I'm using Ubuntu 10.10 on my MacBookPro6.2, and I'd like to remap the following keys:</p> <p>Right-Alt -> Right-cmd <br> Right-command (apple key) -> Right-Alt <br></p> <p>how do i do this? thanks for all your help</p>
8757
-1
2017-04-13T12:24:13.310
2011-04-09T19:12:49.437
Remap MacbookPro Alt and Command keys?
[ "10.10", "keyboard-layout", "apple", "macbook" ]
0
0
CC BY-SA 2.5
[]
null
[]
null
0
2011-06-21T15:45:49.803
null
null
21186
1
null
2011-01-12T07:50:42.700
2
829
<p>I've bought a vps server a few days ago, with Ubuntu on it, but I have a problem now. By nearly all the commands I put in I get this error: : command not found. I am logging in as root. I think this is the Ubuntu version I have: ubuntu-8.04-i386-minimal. (Maybe it has to do with 'minimal'? I really don't know.)</p> <p>To be more specific, the command I have and try to run now is this, </p> <pre><code>cd ~/mclawl screen -S MCForge -d -m -c /dev/null -- sh -c 'mono MCForge.exe exec $SHELL' </code></pre> <p>If I do so, I get this,</p> <p><code>-bash: screen: command not found</code></p>
null
5691
2011-01-12T09:40:48.640
2011-01-12T09:40:48.640
Most commands won't do anything if I use the console at my Ubuntu server. Why?
[ "command-line", "console" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-13T14:00:45.357", "id": "22980", "postId": "21186", "score": "0", "text": "And the PATH is Ok? 'env | grep PATH'", "userDisplayName": "user8290", "userId": null } ]
null
[ { "accepted": null, "body": "<p>Servers can be used for multiple purposes. Some just need a proxy and are fine with ssh. Others want to run a webserver and require related binaries. To install <code>screen</code>, run:</p>\n\n<pre><code>sudo apt-get install screen\n</code></pre>\n\n<p>If you're interested w...
null
null
null
null
Tijs
21188
1
null
2011-01-12T07:54:14.997
7
2129
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/43621/what-if-i-accidently-run-command-chmod">What if I accidently run command chmod</a> </p> </blockquote> <p>I changed file permissions recursively on the root directory '/' with <code>sudo chmod / 777 -R</code> and after that i run "save mode" and i was changed main directories like a sys, boot, root , etc using (<code>sudo chmod 440 /etc -R</code>) etc and after that can't boot system because many of process don't have permissions. </p> <p>Please help. </p>
null
-1
2017-04-13T12:23:28.223
2011-03-24T09:27:03.050
How to repair/restore after 'sudo chmod / 777'?
[ "10.04", "boot", "permissions" ]
1
7
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T08:21:57.107", "id": "22808", "postId": "21188", "score": "4", "text": "ouch...good luck sir, I would reinstall and copy config file contents/documents...you might be able to reinstall and diff all files on the new drive to the old drive...", "userDisplayName": ...
null
[ { "accepted": null, "body": "<p>You're going to have to reinstall.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T14:27:03.597", "id": "21227", "lastActivityDate": "2011-01-12T14:27:03.597", ...
null
null
2011-05-23T14:58:34.800
null
Marcin
21192
1
21200
2011-01-12T08:50:27.900
2
1119
<p>Is there any magical or non-magical way to increase screen resolution for my monitor that officially does 1366 x 768? With my graphics card, I could do 1920, and when I actually do that, the image is very "unclean" on the screen...</p> <p>I run Ubuntu 10.10, on an HP Pavilion with a GeForce 315. My monitor is a HD ready Samsung LE32C450... my smaller previous monitor had no problem showing a 1920 resolution, and my obvious mishap was to assume a much bigger screen would support at least this same resolution...</p> <p>Any tips would be greatly appreciated!</p>
7983
null
null
2020-06-19T03:19:52.227
Screen resolution higher than monitor specs
[ "graphics", "resolution" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You've already said you can change the resolution to one higher than your monitor supports (I'm guessing it's a feature of the display). Another way to do it would be the <a href=\"http://linux-apps.com/content/show.php/newrez+-+Screen+resolution+with+scaling?content=134686\" rel=\"nofollow noreferrer\">newrez script</a> by Marc Brumlik.</p>\n<p>But I'm afraid that won't change anything. <br>There just aren't enough pixels to display text cleanly.</p>\n<p>You can always decrease the size of the text if your display feels a bit cramped. To do that, go to <em>System → Preferences → Appearance → Fonts → Details...</em> and set your display resulution to a lower value:</p>\n<p><img src=\"https://i.stack.imgur.com/bHjOb.png\" alt=\"alt text\" /></p>\n<p>Thanks to the good design of the Ubuntu font, even 50 dpi is very readable, provided your display operates at its native resolution.</p>\n<p>For the best results with most fonts, the resolution should be divisible by 12.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-12T15:31:40.617", "id": "22860", "postId": "21200", "score": "1", "text": "I am glad that some assumptions about \"computer-stuff\" start being correct ;). It didn't make sense and that's why I mentioned magical means, but I thought there must be something I don't know that might do it. I will have a look at this tonight, but I am already considering a new screen.. ;)", "userDisplayName": null, "userId": "7983" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-01-12T10:38:29.213", "id": "21200", "lastActivityDate": "2020-06-19T03:19:52.227", "lastEditDate": "2020-06-19T03:19:52.227", "lastEditorDisplayName": null, "lastEditorUserId": "22949", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "21192", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>You've already said you can change the resolution to one higher than your monitor supports (I'm guessing it's a feature of the display). Another way to do it would be the <a href=\"http://linux-apps.com/content/show.php/newrez+-+Screen+resolution+with+scaling?content=134686\"...
null
null
null
null
null
21207
1
null
2011-01-12T11:44:02.113
7
1967
<p>I'm having some issues when connecting to my house's wifi from my Ubuntu 10.10 laptop.</p> <p>If the connection doesn't exists, when selecting the network (and after entering the WPA2 password) I'm able to connect. Once the connection is saved, when trying to reconnect, Network Manager works for a minute or so and then fails; the only way to reconnect then is to delete the saved connection and re-select the network from the list of available wireless networks. The same network works with no issues on the same laptop when running Win7, and on other wireless networks when running Ubuntu.</p> <p>Is there a Network Manager log which I can take a look at for troubleshooting the issue? Are there any tools for checking the wifi status?</p>
339
1067
2011-01-12T12:25:16.193
2023-06-08T06:36:56.250
Network Manager troubleshooting
[ "wireless", "network-manager" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>You can look at <strong>System --> Administrator --> Log File Viewer</strong>, Under \"dmseg\" file to see if something with the authentication process is wrong</p>\n\n<p><img src=\"https://i.stack.imgur.com/TptUT.jpg\" alt=\"window showing syslog\"> </p>\n\n<p>Some more exp...
null
null
null
null
null
21208
1
21210
2011-01-12T12:13:59.403
8
763
<p>I am currently using Ubuntu 10.04 installed on my desktop box. I have got a new laptop and I will be using it from now on. But I will have to do the setup all over again (setting up applications/updates). Plus many of my preferences and tweaks I've had in my desktop will be lost and those too I will have to all over again. </p> <p>Is there an easy way where I can just take image or something and use it in my laptop??</p> <p>Any help/pointers/links are much appreciated.</p>
2011
235
2011-06-16T13:17:56.170
2011-06-16T13:41:41.867
How do I port my settings from my Desktop to Laptop
[ "10.04", "laptop", "migration" ]
5
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Most of your display and application preferences are in your home directory (<code>/home/&lt;yourlogin&gt;</code>).</p>\n\n<p>Coping this directory between your desktop and laptop computer should give you 80% of what you want. Just tar your home on the desktop, copy the archive and untar it. (<code>scp</code> would loose symlink and other things)</p>\n\n<p>For the remaining 20%, I would consider a fresh install because laptops need special tuning. From an energy saving point of view, your battery will last longer when the system is tuned for that computer.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T12:37:12.310", "id": "21210", "lastActivityDate": "2011-01-12T12:37:12.310", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6475", "parentId": "21208", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>Most of your display and application preferences are in your home directory (<code>/home/&lt;yourlogin&gt;</code>).</p>\n\n<p>Coping this directory between your desktop and laptop computer should give you 80% of what you want. Just tar your home on the desktop, copy the archi...
null
null
null
null
null
21211
1
21212
2011-01-12T12:52:41.790
4
2724
<p>I've installed Dropbox on Ubuntu Server 9.10 using <a href="http://www.ubuntugeek.com/howto-install-dropbox-in-ubuntu-9-10karmic9-04jaunty8-10intrepid8-04hardy.html" rel="nofollow">these instructions</a>, however I am struggling to find out what to do next. Other help pages are related to those with a GUI.</p> <p>Running <code>dropbox status</code> returns: <code>Dropbox isn't responding!</code></p> <p>How do I login to my existing Dropbox account and choose a folder for it to start using?</p>
166
235
2011-01-12T15:44:07.283
2015-12-13T21:24:28.483
How to set up Dropbox on Ubuntu Server?
[ "server", "9.10", "dropbox" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Dropbox has instructions for a text-based Linux install <a href=\"http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall\" rel=\"nofollow\">here</a>.</p>\n\n<p>The short version is that the first time you run the dropboxd daemon, it will warn that it's not linked to an account and give you a URL to visit in order to link it. By default, it will use ~/Dropbox as the Dropbox folder, but there's a <a href=\"https://www.dropbox.com/download?dl=packages/dropbox.py\" rel=\"nofollow\">Python script</a> you can download to change it.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-13T11:35:48.243", "id": "22964", "postId": "21212", "score": "0", "text": "I've already installed it as I said, I'm asking how to set it up. Surely I need to fill in the email and password for the account somewhere?", "userDisplayName": null, "userId": "166" }, { "creationDate": "2011-01-13T11:37:11.830", "id": "22966", "postId": "21212", "score": "1", "text": "You visit the link it gives you in a web browser (which can be on a different machine) that's already logged into Dropbox, and it will then associate the new install with that account.", "userDisplayName": null, "userId": "7650" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-12T13:00:03.123", "id": "21212", "lastActivityDate": "2015-12-13T21:24:28.483", "lastEditDate": "2015-12-13T21:24:28.483", "lastEditorDisplayName": null, "lastEditorUserId": "284570", "ownerDisplayName": null, "ownerUserId": "7650", "parentId": "21211", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Dropbox has instructions for a text-based Linux install <a href=\"http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall\" rel=\"nofollow\">here</a>.</p>\n\n<p>The short version is that the first time you run the dropboxd daemon, it will warn that it's not linked to an a...
null
null
null
null
null
21216
1
null
2011-01-12T13:30:34.643
2
128
<p>All 22 show up in the download queue within Rhythmbox. The queuing feature never really works there anyway though, so I usually go to the web site, click on Files/Purchased Music/band/track to get what I purchased.</p> <p>This has worked well for other albums, but 'Greatest Hit ... (and 21 other pretty cool songs) has been showing 10 tracks for the past 17 hours. Any clues?</p>
null
null
null
2011-01-12T15:33:33.847
I bought an album yesterday with 22 tracks on it, but only 10 show up for download
[ "ubuntu-one" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>I had the same issues with Rythmbox, It has to do something with the \"tags\" of the tracks. To make my mp3's shown under the corresponding Album and not scattered around, I had to fix those files with a program called EasyTags.\nUltimately, I had to switch to Banshee Media P...
null
null
null
null
schtarbux
21217
1
21218
2011-01-12T13:37:57.630
7
13942
<p>How can I create in Network Manager, multiple wired lan connection configuration for the same wired card? I use to move between a lot of offices where I need to change my network config (IP, Mask, ecc) is it possible to create or save different configurations for the same network card and activate the right one time by time?</p>
8770
null
null
2013-06-05T13:28:32.027
Network Manager, create multiple lan connection configuration for the same wired card
[ "network-manager", "networking" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Right click on the NetworkManager icon. In the \"wired\" tab, open up your existing connection (\"Auto eth0\") and copy the Device MAC address so you can put it in the new configuration profile. Then select \"Add\" to create a new connection profile for your wired connection.</p>\n\n<p>After this, I <em>believe</em> all the profiles you've created should show up as options in your network list when you plug in a cable.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-13T11:37:09.893", "id": "22965", "postId": "21218", "score": "0", "text": "I add a little tip, if you need to connect also in dhcp lan, is better to leave the dhcp config on the \"Auto eth0\" so ubuntu try this config first by default. but you are able to change connection with one of the other saved configurations when you need it. ;)", "userDisplayName": null, "userId": "8770" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T13:49:20.893", "id": "21218", "lastActivityDate": "2011-01-12T13:49:20.893", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2180", "parentId": "21217", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>Right click on the NetworkManager icon. In the \"wired\" tab, open up your existing connection (\"Auto eth0\") and copy the Device MAC address so you can put it in the new configuration profile. Then select \"Add\" to create a new connection profile for your wired connection...
null
null
null
null
null
21221
1
21226
2011-01-12T14:07:43.397
3
300
<p>I found that if I build any binary on Ubuntu 10.10, then it doesn't execute on some older Linuxes. It is because Ubuntu uses a very new C library, called EGLIBC. Most of the desktop Linux systems use GLIBC. </p> <p>I would like to know whether there is any standard method how to redistribute binary programs built on a modern Ubuntu so that they can be executed on any older Linux system ? </p> <p>How to find all required dependencies (glibc version, dynamic libraries) ?</p>
8772
null
null
2011-01-12T14:22:01.260
How to redistribute binary programs built on modern Ubuntu so that they can be executed on any older Linux system?
[ "build", "gcc", "binary" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>If you insist on doing that, then you can not use any shared libraries; you must link with -static.</p>\n\n<p>To find out what it links to from the source, look at the linker command for -lfoo switches. To inspect a binary, run ldd on it.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T14:22:01.260", "id": "21226", "lastActivityDate": "2011-01-12T14:22:01.260", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "21221", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>If you insist on doing that, then you can not use any shared libraries; you must link with -static.</p>\n\n<p>To find out what it links to from the source, look at the linker command for -lfoo switches. To inspect a binary, run ldd on it.</p>\n", "commentCount": "0", ...
null
null
null
null
null
21223
1
null
2011-01-12T14:11:14.493
7
1056
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrativeroot-password">How do I reset a lost Administrative(root) password?</a> </p> </blockquote> <p>I inherited a machine with Ubuntu desktop installed. It has a password in place and I have no idea what the password may be. I cannot get to the command line to use the methods I have found online. No matter how many times I press "Shift" during the boot process it still goes all the way to the desktop login. I never see grub. I am not sure which version I have but I think may be 9 or 10. </p> <p>Thanks</p> <p>Doug <hr> OK, chapter II</p> <p>I have 10.04.1, btw.</p> <p>I tried holding the shift key down and got to the boot menu. Mine was titled <strong>GNU GRUB 1.98-1unbuntu7</strong> </p> <p>It has several kernels listed but none say...Ubuntu, KERNEL. Instead mine says (along with several older versions)</p> <p>Ubuntu, with Linux 2.6.32-24-generic. </p> <p>I pressed 'e' on that one anyway and got a page that shows:</p> <p>recordfail<br> insmod ext2<br> set root = '(hd0,1)'<br> search --no-floppy --fs-uuid --set (long id number)<br> linux /boot/vmlinuz-2.6.32-24-generic root=UUID (same long number) ro quiet splash<br> initrd /boot/initrd.img-2.6.32-24-generic </p> <p>When I try to addd rw init=/bin/bash and hit ESC, then e again it is gone. If I try to reboot (ctrl-X) after entering the above it goes to the locked desktop. </p> <p>I also tried the Live CD (I have 8.04.1 on CD). That worked, up until I tried to mount the existing HD. It said it was ext4 and was not compatible. I used the Partition manager and it showed that partition was ext3. {shrug}</p> <p>I booted into recovery mode and can get to the root command line. It shows the machine name but I am not sure where I need to go from there though to find the user info. Maybe CD /dev/sdb?? I know root is a no-no and I don't want to break it .. . I just want to get in and not have to reinstall!</p> <p>Thanks</p> <p>Doug</p>
null
-1
2017-04-13T12:25:03.423
2012-11-21T21:40:33.687
How do I reset my password?
[ "password", "users" ]
0
0
CC BY-SA 2.5
[]
null
[]
null
null
2011-12-02T16:02:09.367
doug
doug
21225
1
21233
2011-01-12T14:21:23.657
3
358
<p>I have a patch named "incator.patch". How can I apply that to the application "indicator applet" and get it running? The bug will solve a bug with key-binding caused by "indicator applet". </p> <p>Patch is here : launchpadlibrarian.net/52193166/hotkey.patch .</p>
null
null
2011-01-12T14:29:21.530
2015-10-16T18:09:42.677
How to apply a patch to indicator applet?
[ "indicator", "programming", "patch" ]
1
4
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T14:23:33.763", "id": "22849", "postId": "21225", "score": "0", "text": "lol? This question needs a little *detail* in order for anyone to provide an answer. Is it an applet you created? One from another program? The entire indicator applet itself?", "userDisplay...
{ "accepted": true, "body": "<p>To quickly generate new packages with your patch applied, run the following in a gnome-terminal:</p>\n\n<pre><code>sudo apt-get build-dep indicator-applet\nsudo apt-get install devscripts\napt-get source indicator-applet\ncd indicator-applet-&lt;version-string&gt;\ncp /path/to/patch/indicator.patch .\npatch --dry-run -p1 &lt; indicator.patch\n</code></pre>\n\n<p>Continue only if that succeeds without errors.</p>\n\n<pre><code>patch -p1 &lt; indicator.patch\ndebuild -us -uc\n</code></pre>\n\n<p>Now wait for the thing to compile and if everything worked, you'll get some debs ready for install:</p>\n\n<pre><code>cd ..\nsudo dpkg -i *.deb # I'm lazy, just choose the debs that are already installed\n</code></pre>\n\n<p>You'd need to do this <strong>every time</strong> the indicator-applet gets updated (but then I don't know how often such updates happen in stable releases).</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-12T15:25:32.833", "id": "21233", "lastActivityDate": "2015-10-16T18:09:42.677", "lastEditDate": "2015-10-16T18:09:42.677", "lastEditorDisplayName": null, "lastEditorUserId": "283022", "ownerDisplayName": null, "ownerUserId": "3037", "parentId": "21225", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>To quickly generate new packages with your patch applied, run the following in a gnome-terminal:</p>\n\n<pre><code>sudo apt-get build-dep indicator-applet\nsudo apt-get install devscripts\napt-get source indicator-applet\ncd indicator-applet-&lt;version-string&gt;\ncp /path/t...
null
null
null
user8260
user8260
21231
1
null
2011-01-12T15:10:51.510
2
1359
<p>I try to install mysql-server on my Ubuntu vps server, and it's able to install, but not to configure. If it tries to configure I get this: </p> <pre><code>&gt; ...fail! invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.0; however: Package mysql-server-5.0 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.0 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>Does someone know a solution to this? </p> <p>Btw, my other question can be closed, it's solved, but I cant comment on it anymore.</p>
null
235
2011-01-12T16:01:50.217
2011-03-15T15:07:38.150
Why is mysql unable to configure?
[ "server", "mysql" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-13T22:39:56.637", "id": "23069", "postId": "21231", "score": "0", "text": "Does /var/log/syslog show anything related to mysql when you attempt to configure the package?", "userDisplayName": null, "userId": "129" }, { "creationDate": "2011-01-14T16:53:5...
null
[ { "accepted": null, "body": "<p>You probably aborted the mysql root password prompt dialog. From the terminal, run the following command:</p>\n\n<pre><code>sudo dpkg-reconfigure mysql-server-5.0\n</code></pre>\n\n<p>Let us know the results, please update your question or use the Add Comments feature.</p>\n"...
null
null
null
null
Tijs
21234
1
65143
2011-01-12T15:29:58.117
5
457
<p>I need to write a manual to the software I made. If it possible to use gettext when writing a manual, or other documents?</p>
705
65926
2015-01-04T17:20:33.407
2015-01-04T17:20:33.407
How to write an internationalized manual using gettext?
[ "programming", "documentation", "internationalization" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Check out <a href=\"http://sphinx.pocoo.org/\">Sphinx</a> to write your documents in reStructuredText and make them translatable in gettext format.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-10-10T18:30:05.487", "id": "74863", "postId": "65143", "score": "1", "text": "Exactly what I've been looking for. Thanks for answering even though the question is very old!", "userDisplayName": null, "userId": "705" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-10-10T17:21:08.720", "id": "65143", "lastActivityDate": "2011-10-10T17:21:08.720", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "9781", "parentId": "21234", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>afaik gettext is useful when you have a programming language which contains strings, that is when strings are intermixed with code.</p>\n\n<pre>\nalert(_(\"Hello\"));\n</pre>\n\n<p>Then a preprocessor finds all occurrences of _(\"..\") and generates a .po template and then yo...
null
null
null
null
null
21237
1
21576
2011-01-12T15:35:00.803
8
10968
<p>I'm having a problem with my subversion in Ubuntu, and it's happening only on my computer, my colleagues are working fine. It asks for password for user "(null)":</p> <blockquote> <p>Password for '(null)' GNOME keyring: </p> </blockquote> <p>entering the password it shows:</p> <blockquote> <p>svn: OPTIONS of 'http://10.0.203.3/greenfox': authorization failed: Could not authenticate to server: rejected Basic challenge (http://10.0.203.3)</p> </blockquote> <p>What can be causing that (again: it's just on my computer, the svn server is ok).</p>
5304
null
null
2012-08-24T15:15:45.083
Problems with subversion (in gnome keyring, maybe), user=null
[ "10.04", "keyrings", "svn", "gnome-keyring" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I found the bug <a href=\"https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/473139\">here</a>.</p>\n\n<p>The following should solve the issue:</p>\n\n<pre><code>rm ~/.gnome2/keyrings/login.keyring\n</code></pre>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-15T17:39:06.503", "id": "23389", "postId": "21576", "score": "2", "text": "Could you add more information like: Any work arounds, why this bug exists, etc? Just pointing out that it's a \"bug\" doesn't constitute much of an answer.", "userDisplayName": null, "userId": "41" }, { "creationDate": "2011-01-17T12:37:38.590", "id": "23703", "postId": "21576", "score": "1", "text": "solved with this comment: https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/473139/comments/9", "userDisplayName": null, "userId": "5304" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-14T20:44:03.967", "id": "21576", "lastActivityDate": "2012-08-24T15:15:45.083", "lastEditDate": "2012-08-24T15:15:45.083", "lastEditorDisplayName": null, "lastEditorUserId": "866", "ownerDisplayName": null, "ownerUserId": "3127", "parentId": "21237", "postTypeId": "2", "score": "8" }
[ { "accepted": true, "body": "<p>I found the bug <a href=\"https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/473139\">here</a>.</p>\n\n<p>The following should solve the issue:</p>\n\n<pre><code>rm ~/.gnome2/keyrings/login.keyring\n</code></pre>\n", "commentCount": "2", "comments": [ { ...
null
null
null
null
null
21238
1
21241
2011-01-12T16:01:55.110
2
12350
<p>TP-LINK TL-WN722N is a usb antenna for wireless network.</p> <p>The antenna cames with a cd for windows (and works just fine), but how can I install it on Ubuntu? It's not recognizing alone.</p>
5304
235
2011-01-12T16:08:24.580
2011-02-16T23:46:49.000
How to install wireless antenna TP-LINK TL-WN722N?
[ "wireless", "drivers", "9.04" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-02-11T18:13:45.160", "id": "28333", "postId": "21238", "score": "2", "text": "execute `lsusb` in a terminal and udpate your post with this information of this command", "userDisplayName": null, "userId": "3550" } ]
{ "accepted": true, "body": "<p>Ok good news and bad news the good news is in most cases you dont actually need to install drivers for things in Ubuntu because the Linux kernel has a lot of drivers built in, the only cases where you may need to install drivers are for graphics cards and network cards(not so much). </p>\n\n<p>So the bad news is if you have the card installed fine and Ubuntu itself doesnt offer the driver to you and its not recognizing it, then we dont have the driver. Your best hope is to try a later release of Ubuntu and hope someone added the driver for your card. Its a real pain but it doesnt happen to a lot of people in recent times. </p>\n\n<p>So in short you'll more than likely have to wait and see or ask the company who make the card if they can make the driver.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T16:18:02.403", "id": "21241", "lastActivityDate": "2011-01-12T16:25:27.470", "lastEditDate": "2011-01-12T16:25:27.470", "lastEditorDisplayName": null, "lastEditorUserId": "153", "ownerDisplayName": null, "ownerUserId": "153", "parentId": "21238", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Ok good news and bad news the good news is in most cases you dont actually need to install drivers for things in Ubuntu because the Linux kernel has a lot of drivers built in, the only cases where you may need to install drivers are for graphics cards and network cards(not so...
null
null
null
null
null
21243
1
21251
2011-01-12T17:29:51.477
6
1293
<p>I work on a team with several other developers. We all have similar hardware and we all run at least the same base development software. We are wishing to upgrade from 10.04 to 10.10 doing a clean install. </p> <p>I am looking for a way to do a base install of Ubuntu, including all our common applications, then clone it to each of the developers drives and then let them further customize their own install.</p> <p>Some considerations would be giving the developer the ability to have their own person id and not the same as which the base install was done with. I know they do this on VMware installs and corporate installs of Windows that can then be customized, but I have not seen this done with Ubuntu yet.</p> <p>Thanks</p>
1849
null
null
2011-01-12T18:24:09.767
Creating an install of Ubuntu to clone
[ "customization", "installation", "clone" ]
2
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-17T16:14:50.380", "id": "23744", "postId": "21243", "score": "0", "text": "As a side note, I found installing using the OEM install path works very well. When booting Ubuntu, press F4, once at the install menu, press F4 again and select 'OEM install (for manufacturer)...
{ "accepted": true, "body": "<p>You can use Remastersys to create a bootable ISO of your current install and then install Ubuntu from that ISO on all other machines. All your installed apps will be available by default.</p>\n\n<p><a href=\"http://www.geekconnection.org/remastersys/ubuntu.html\" rel=\"nofollow\">http://www.geekconnection.org/remastersys/ubuntu.html</a></p>\n\n<hr>\n\n<h2>Important:</h2>\n\n<p>Use DIST mode to create the ISO image. Do not use back-up or it will copy your home directory and users too.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2016-02-05T06:25:26.817", "id": "1082712", "postId": "21251", "score": "0", "text": "I am unable to open the link you provided", "userDisplayName": null, "userId": "457810" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T18:24:09.767", "id": "21251", "lastActivityDate": "2011-01-12T18:24:09.767", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "214", "parentId": "21243", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>I did this a couple years ago, for 70K+ laptops, on 8.04 I think it was. I set up <a href=\"http://clonezilla.org/clonezilla-SE.php\" rel=\"nofollow\">Clonezilla SE</a> server to create the ability to unicast or multicast images. Then, after the Ubuntu installation was perfec...
null
null
null
null
null
21249
1
21336
2011-01-12T18:08:04.520
3
801
<p>Where can I see a list of supported bluetooth drivers?</p>
5304
null
null
2011-01-13T09:14:43.427
Where can I see a list of supported bluetooth drivers?
[ "10.04", "drivers", "bluetooth" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Bluetooth is a bit special, all devices basically speak the same language. There are a few versions of the Bluetooth protocol, which is all that's needed for your Bluetooth device to work, so long as it's connected through an open protocol connector such as USB or PCI(e).</p>\n\n<p>BlueZ, the Linux bluetooth stack, supports all of the core protocols and is regarded as a <em>qualified implementation</em> by the <a href=\"https://www.bluetooth.org/\" rel=\"nofollow noreferrer\">Bluetooth Special Interest Group</a>.</p>\n\n<p>There are <em>a few</em> drivers in the kernel, mostly related do devices' special firmware, which you can <a href=\"http://lxr.linux.no/linux+v2.6.37/drivers/bluetooth/\" rel=\"nofollow noreferrer\">browse here</a>. This is indeed the full list of drivers, and it's very small. </p>\n\n<p>As long as your device implements the Bluetooth specification properly, which most do, Linux will support it. If in your case something does't work correctly, consider asking a specific question or <a href=\"https://askubuntu.com/questions/5121/how-do-i-report-a-bug\">filing a bug</a>.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-13T09:14:43.427", "id": "21336", "lastActivityDate": "2011-01-13T09:14:43.427", "lastEditDate": "2017-04-13T12:24:13.310", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "21249", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Bluetooth is a bit special, all devices basically speak the same language. There are a few versions of the Bluetooth protocol, which is all that's needed for your Bluetooth device to work, so long as it's connected through an open protocol connector such as USB or PCI(e).</p>...
null
null
null
null
null
21252
1
21294
2011-01-12T18:43:06.803
4
517
<p>The anti-aliasing of my system (of GTK?) has gone weird after I did one of two things - do a system update, and install gimp 2.7 beta. See images:</p> <pre>Before: After:</pre> <p><img src="https://i.stack.imgur.com/Iggae.png" alt="alt text"> <img src="https://i.stack.imgur.com/w2jXR.png" alt="alt text"></p> <pre>Before: After:</pre> <p><img src="https://i.stack.imgur.com/6rplz.png" alt="alt text"> <img src="https://i.stack.imgur.com/q5Swo.png" alt="alt text"></p> <p>Here's the current rendering comparison between Chromium, Firefox and Opera (in that order):</p> <p><img src="https://i.stack.imgur.com/Jlncj.png" alt="alt text"></p> <p><img src="https://i.stack.imgur.com/kg8rR.png" alt="alt text"></p> <p><img src="https://i.stack.imgur.com/CXthy.png" alt="alt text"></p> <p>Does anyone know how I can get the old anti-aliasing back? As far as I can tell, I never did anything special to achieve that before. It has always been on the default settings since I installed Lucid few months ago.</p> <p><strong>Update:</strong> I have tried different settings (even though I knew they were already at the "best" settings) in appearance > fonts ( > details) but, as expected, any change there only makes things worse.</p> <p><strong>Update 2:</strong> One/some of these packages are to blame I'm sure:</p> <pre><code>libc-bin (2.11.1-0ubuntu7.6) to 2.11.1-0ubuntu7.7 libc-dev-bin (2.11.1-0ubuntu7.6) to 2.11.1-0ubuntu7.7 libc6 (2.11.1-0ubuntu7.6) to 2.11.1-0ubuntu7.7 libc6-dev (2.11.1-0ubuntu7.6) to 2.11.1-0ubuntu7.7 libc6-i686 (2.11.1-0ubuntu7.6) to 2.11.1-0ubuntu7.7 libcairo2 (1.8.10-2ubuntu1) to 1.9.6-6~mrw4 libcairo2-dev (1.8.10-2ubuntu1) to 1.9.6-6~mrw4 libgegl-0.0-0 (0.0.22-0ubuntu4) to 0.1.3-2010091001~ll liblcms1 (1.18.dfsg-1ubuntu2) to 1.18.dfsg-1ubuntu2.10.04.1 </code></pre>
4152
4152
2011-01-13T00:00:24.493
2011-01-13T00:19:59.580
Anti-aliasing changed after update (or something...)
[ "10.04", "gtk", "antialiasing", "font-rendering" ]
1
5
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T18:44:31.633", "id": "22872", "postId": "21252", "score": "0", "text": "Have you tried the different options in System->Preferences->Appearance->Fonts?", "userDisplayName": null, "userId": "866" }, { "creationDate": "2011-01-12T18:54:16.333", "id...
{ "accepted": true, "body": "<p>I went through the descriptions of the listed packages in Synaptic, and figured what was causing it. It was libcairo2. And this (and -dev) was the only package from an unofficial ppa. So I downgraded the two packages like so:</p>\n\n<pre>sudo apt-get install libcairo2=1.8.10-2ubuntu1 libcairo2-dev=1.8.10-2ubuntu1</pre>\n\n<p>then restarted X-server and now it's back to the rendering style.</p>\n\n<p><img src=\"https://i.stack.imgur.com/2jbdY.png\" alt=\"alt text\"></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-13T00:19:59.580", "id": "21294", "lastActivityDate": "2011-01-13T00:19:59.580", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "4152", "parentId": "21252", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>I went through the descriptions of the listed packages in Synaptic, and figured what was causing it. It was libcairo2. And this (and -dev) was the only package from an unofficial ppa. So I downgraded the two packages like so:</p>\n\n<pre>sudo apt-get install libcairo2=1.8.10-...
null
null
null
null
null
21254
1
21255
2011-01-12T18:54:14.383
2
1664
<p>Every time I login into my desktop, pidgin start behind, and sometimes it's annoying me - <em>e.g. when I'm not connected to Internet or when I don't want to be on-line</em> - I check startup application list and there's no pidgin listed.<br><br> another thing that is very annoying is <strong>hiding window feature</strong> or what ever it called.<br> assume that you're using <strong>MusicTracker</strong> plug-in, your status is <strong>Busy</strong> and you're <strong>chatting with someone</strong>. when music change, status will change, and then <strong>buddy-list</strong> will <strong>disappear</strong> and <strong>chat window</strong> will <strong>minimize</strong>. Buddy-list is not important but minimizing chat window when you're chatting is annoying, Is there any way to make pidgin stop that?</p>
5034
null
null
2011-01-12T20:34:17.590
How to stop running pidgin at logins and disable window hiding feature?
[ "pidgin" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Try this,</p>\n\n<ul>\n<li>Close all running applications then go to System <strong>→</strong> Preferences <strong>→</strong> Startup Applications.</li>\n<li>Click on the Options tab, check <strong>Automatically remember running applications when logging out</strong>.<br>\n<img src=\"https://i.stack.imgur.com/pHU4k.png\" alt=\"alt text\"></li>\n<li>Close and reboot.</li>\n</ul>\n\n<p><strong>NOTE:</strong> </p>\n\n<ul>\n<li>If you want your windows to stop minimizing when your away status changes, then Goto Tools → Plugins and then uncheck <strong>Iconify on Away</strong> plugin.\n<img src=\"https://i.stack.imgur.com/lkzHY.png\" alt=\"alt text\"></li>\n<li>Alternatively you could stop using musictracker so your status stops periodically changing.</li>\n</ul>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-14T14:46:58.747", "id": "23146", "postId": "21255", "score": "0", "text": "thanks, it worked. but I think there would be a better way. when I run pidgin from message-indicator it run in background and buddy-list did not shown. thank you anyway :)", "userDisplayName": null, "userId": "5034" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:01:02.910", "id": "21255", "lastActivityDate": "2011-01-12T20:34:17.590", "lastEditDate": "2011-01-12T20:34:17.590", "lastEditorDisplayName": null, "lastEditorUserId": "5691", "ownerDisplayName": null, "ownerUserId": "5691", "parentId": "21254", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Try this,</p>\n\n<ul>\n<li>Close all running applications then go to System <strong>→</strong> Preferences <strong>→</strong> Startup Applications.</li>\n<li>Click on the Options tab, check <strong>Automatically remember running applications when logging out</strong>.<br>\n<i...
null
null
null
null
null
21256
1
21269
2011-01-12T19:04:39.227
2
563
<p>My understanding is that upstart is installed on 8.04, but it's different than 10.04. I'm having trouble finding documentation on how to start/stop/check services from the command line for 8.04.</p> <p>I'm seeing some scripts in /etc/event.d (e.g.: rcS, which AFAIK starts the old init.d scripts), but I don't have commands like start/stop/status.</p> <p>Can someone help me put the pieces together?</p>
4496
null
null
2011-01-13T00:09:10.110
upstart on 8.04
[ "upstart", "8.04" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Do you have <code>initctl</code>? <code>stop</code> (et al) are just symlinks on it.</p>\n\n<pre><code>oli@bert:~$ /sbin/initctl --help\nUsage: initctl [OPTION]... COMMAND [OPTION]... [ARG]...\n\nOptions:\n --system use D-Bus system bus to connect to init daemon\n --dest=NAME destination well-known name on system bus\n -q, --quiet reduce output to errors only\n -v, --verbose increase output to include informational messages\n --help display this help and exit\n --version output version information and exit\n\nFor a list of commands, try `initctl help'.\n\nReport bugs to &lt;upstart-devel@lists.ubuntu.com&gt;\n</code></pre>\n\n<p>I saw your now gone comment. They're all just symlinks!</p>\n\n<pre><code>oli@bert:~$ cd /sbin/\noli@bert:/sbin$ ls -l start stop restart reload status\nlrwxrwxrwx 1 root root 7 2010-09-27 18:23 reload -&gt; initctl\nlrwxrwxrwx 1 root root 7 2010-09-27 18:23 restart -&gt; initctl\nlrwxrwxrwx 1 root root 7 2010-09-27 18:23 start -&gt; initctl\nlrwxrwxrwx 1 root root 7 2010-09-27 18:23 status -&gt; initctl\nlrwxrwxrwx 1 root root 7 2010-09-27 18:23 stop -&gt; initctl\n</code></pre>\n\n<p>I guess <code>initctl</code> checks to see what command calls it.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T20:00:24.987", "id": "21269", "lastActivityDate": "2011-01-13T00:09:10.110", "lastEditDate": "2011-01-13T00:09:10.110", "lastEditorDisplayName": null, "lastEditorUserId": "449", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "21256", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>Do you have <code>initctl</code>? <code>stop</code> (et al) are just symlinks on it.</p>\n\n<pre><code>oli@bert:~$ /sbin/initctl --help\nUsage: initctl [OPTION]... COMMAND [OPTION]... [ARG]...\n\nOptions:\n --system use D-Bus system bus to connect to init ...
null
null
null
null
null
21257
1
21259
2011-01-12T19:17:54.337
5
7110
<p>In a bash script that execute 2 commands like this</p> <pre><code>#!/bin/bash gedit nautilus </code></pre> <p>Nautilus starts not before gedit is closed? How can i avoid this?</p>
7155
null
null
2011-01-12T19:21:41.270
Bash script: How to execute commands consecutively without waiting for the previous one?
[ "bash", "scripts" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Simply put <code>gedit</code> in the background</p>\n\n<pre><code>#!/bin/bash\ngedit &amp;\nnautilus\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:21:41.270", "id": "21259", "lastActivityDate": "2011-01-12T19:21:41.270", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6475", "parentId": "21257", "postTypeId": "2", "score": "12" }
[ { "accepted": true, "body": "<p>Simply put <code>gedit</code> in the background</p>\n\n<pre><code>#!/bin/bash\ngedit &amp;\nnautilus\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:21:41....
null
null
null
null
null
21261
1
21268
2011-01-12T19:24:33.053
0
194
<p>In the "Desktop Couch Scratch" folder, do I have to manually add the bookmarks I want saved, or does the system do it automatically?</p>
8357
null
null
2011-02-11T21:01:21.160
Desktop Couch Scratch Folder
[ "ubuntu-one", "firefox", "sync" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ul>\n<li>The system does it automatically.</li>\n<li>Adding things to that folder will accomplish nothing.</li>\n</ul>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:57:20.100", "id": "21268", "lastActivityDate": "2011-01-12T19:57:20.100", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5691", "parentId": "21261", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<ul>\n<li>The system does it automatically.</li>\n<li>Adding things to that folder will accomplish nothing.</li>\n</ul>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:57:20...
null
null
null
null
null
21262
1
21274
2011-01-12T19:30:45.687
14
22797
<p>Does a shell command exist to bring a already started program in gnome in the front of another.</p> <p>i.e.: </p> <p>Gedit and Nautilus are started. Nautilus is in the background and Gedit in the foreground.</p> <p>How to i bring Nautilus in the front with a shell command?</p>
7155
null
null
2019-12-30T12:59:37.627
Shell command to bring a program window in front of another?
[ "gnome", "window-manager", "command-line" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T19:40:49.880", "id": "22879", "postId": "21262", "score": "1", "text": "Other: http://superuser.com/questions/183680/gnome-ubuntu-how-to-bring-a-program-window-to-the-front-using-a-command-line-f", "userDisplayName": null, "userId": "5691" }, { "crea...
{ "accepted": true, "body": "<ul>\n<li><p>Install <a href=\"http://apt.ubuntu.com/p/wmctrl\" rel=\"noreferrer\"><strong>wmctrl</strong> <img src=\"https://hostmar.co/software-large\" alt=\"Install wmctrl\" /></a></p>\n<p><code>wmctrl -a &lt;name&gt;</code></p>\n</li>\n<li><p>You can also use <a href=\"http://apt.ubuntu.com/p/xdotool\" rel=\"noreferrer\"><strong>xdotool</strong> <img src=\"https://hostmar.co/software-large\" alt=\"Install xdotool\" /></a></p>\n</li>\n</ul>\n<p><strong>Note:</strong></p>\n<ul>\n<li>More information about xdotool can be found <strong><a href=\"http://www.semicomplete.com/projects/xdotool/\" rel=\"noreferrer\">here</a></strong>.</li>\n</ul>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-12T20:58:46.227", "id": "22885", "postId": "21274", "score": "0", "text": "Sure edit your post just as I'm composing mine... :( )", "userDisplayName": null, "userId": "1689" }, { "creationDate": "2018-07-13T22:03:25.110", "id": "1725152", "postId": "21274", "score": "0", "text": "You can find your window name with \nwmctrl -l\nThe name is the text after the last dash:\n<window ID> <desktop ID> <client machine> <window title>", "userDisplayName": null, "userId": "402543" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-12T20:41:55.057", "id": "21274", "lastActivityDate": "2017-03-10T21:25:02.197", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "5691", "parentId": "21262", "postTypeId": "2", "score": "16" }
[ { "accepted": true, "body": "<ul>\n<li><p>Install <a href=\"http://apt.ubuntu.com/p/wmctrl\" rel=\"noreferrer\"><strong>wmctrl</strong> <img src=\"https://hostmar.co/software-large\" alt=\"Install wmctrl\" /></a></p>\n<p><code>wmctrl -a &lt;name&gt;</code></p>\n</li>\n<li><p>You can also use <a href=\"http:...
null
null
null
null
null
21263
1
21266
2011-01-12T19:39:23.430
1
437
<p>When i have an executable script and i runs it by double-clicking it in Gnome.</p> <p>It opens a dialoguebox that asks, what is intended to do:</p> <ul> <li>execute in terminal</li> <li>view</li> <li>cancel</li> <li>execute</li> </ul> <p>Is there a way to avoid this question in for certain selected scripts?</p> <p><img src="https://i.stack.imgur.com/e8NG3.png" alt="alt text"></p>
7155
null
null
2011-01-12T19:49:44.507
Avoid dialogue by opening a shell script?
[ "command-line", "scripts" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ul>\n<li>In nautilus goto Edit <strong>→</strong> Preferences and then select Behavior tab.</li>\n<li><p>Under <strong>Executable Text files</strong> select \"View executable text files when they are opened\" or select \"Run executable text files when they are opened\".</p>\n\n<p><img src=\"https://i.stack.imgur.com/2g885.png\" alt=\"alt text\"></p></li>\n<li>Now that dialog will get disappeared.</li>\n</ul>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:49:44.507", "id": "21266", "lastActivityDate": "2011-01-12T19:49:44.507", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5691", "parentId": "21263", "postTypeId": "2", "score": "6" }
[ { "accepted": null, "body": "<p>In Nautilus... <code>Edit-&gt;Preferences-&gt;Behavior</code> and look under <strong>Executable Text Files</strong>.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T19:4...
null
null
null
null
null
21264
1
21271
2011-01-12T19:40:48.583
7
23159
<p>Wubi has created one big file with whole ubuntu installation <strong>root.disk</strong> - there are some files I have left on my linux partition that I would like to access from windows partition,</p> <p>Is there any way to mount/open this file under windows?</p> <p>P.S. I think its <strong>ubuntu question</strong>, because <strong>Wubi is a windows compatible linux</strong>.</p>
8436
6969
2011-07-20T08:25:03.960
2016-02-01T15:28:51.793
How to open wubi's .disk files under windows?
[ "windows", "wubi", "disk" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ul>\n<li><strong><a href=\"http://www.chrysocome.net/explore2fs\" rel=\"nofollow\">Explore2fs</a></strong> is a GUI explorer tool for accessing ext2 and ext3 filesystems.</li>\n<li>It runs under all versions of Windows and can read almost any ext2 and ext3 filesystem. </li>\n<li>For more information look at this <strong><a href=\"https://wiki.ubuntu.com/WubiGuide#How%20can%20I%20access%20the%20Wubi%20files%20from%20Windows?\" rel=\"nofollow\">link</a></strong>.</li>\n</ul>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T20:12:42.320", "id": "21271", "lastActivityDate": "2011-01-12T20:12:42.320", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5691", "parentId": "21264", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<ul>\n<li><strong><a href=\"http://www.chrysocome.net/explore2fs\" rel=\"nofollow\">Explore2fs</a></strong> is a GUI explorer tool for accessing ext2 and ext3 filesystems.</li>\n<li>It runs under all versions of Windows and can read almost any ext2 and ext3 filesystem. </li>\n<l...
null
null
null
null
null
21267
1
22323
2011-01-12T19:56:21.133
6
9774
<p>I'm trying to setup a dual boot system with Windows Vista 64 (already installed) and Ubuntu 10.10. I added a new drive which is identical to the one Vista is installed on. When I boot into the LiveCD I can see and mount the second drive and edit it in Gparted. However, when I use the installer it will only bring up the drive that already has Vista installed.</p> <p>I've tried everything I know. I'm not sure if its a BIOS setting or something else I've missed.</p> <p>I've also tried both the desktop and alternate amd64 installs with the same result.</p>
8748
169736
2014-02-07T06:11:52.670
2018-05-24T18:08:23.780
Why doesn't the installer see all of my hard drives?
[ "system-installation", "ubiquity" ]
6
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T20:39:17.137", "id": "22883", "postId": "21267", "score": "0", "text": "Did you choose manual partitioning?", "userDisplayName": null, "userId": "8500" }, { "creationDate": "2011-01-12T21:07:18.043", "id": "22887", "postId": "21267", "sco...
{ "accepted": true, "body": "<p>Try to boot a live session and start a terminal session (or to switch to the console with CTRL-ALT-F1) and issue:</p>\n\n<pre><code>sudo os-prober\n</code></pre>\n\n<p>You'll probably see a probing error which could be the reason why your drive is not taken in consideration. It's quite likely that your second drive has leftovers of a RAID configuration, in this case it's sufficient to do:</p>\n\n<pre><code>sudo dmraid -rE\n</code></pre>\n\n<p>(-r = raid, -E remove metadata) and confirm the operation. Start the installer and you should see it.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-19T19:54:24.223", "id": "22323", "lastActivityDate": "2011-02-06T18:04:27.910", "lastEditDate": "2011-02-06T18:04:27.910", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "9224", "parentId": "21267", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<ul>\n<li><p>check with </p>\n\n<pre><code>cat /proc/partitions\n</code></pre></li>\n</ul>\n\n<p>to see which partition is the new one (the size can give you a clue)</p>\n\n<ul>\n<li><p>Create some dir to mount the disk </p></li>\n<li><p>Add a line in /etc/fstab accordingly</p><...
null
null
null
null
null
21279
1
23239
2011-01-12T21:37:14.337
2
1014
<p>I have two monitors, which I have set up with nvidia-settings in Twinview. The result: When I want to do something in xRandR, it does not function. It doesn't report one output per video card head, but a single output mapped to the combined area of both monitors: </p> <pre> rumtscho@bradbury:~$ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 3840 x 1440, current 3840 x 1440, maximum 3840 x 1440 default connected 3840x1440+0+0 0mm x 0mm 3840x1440 50.0* </pre> <p>Now I promised somebody to help test a driver. The developer is using an open source driver for Intel video cards, and his driver assumes that there is more than one xRandR output, each mapped to a monitor. So I tried rewriting my xorg.conf to somehow get two outputs to show up, but failed. Googling showed that people faced with the xRandR-nvidia problem either stopped using xRandR and achieved what they needed with nvidia-settings, or changed their driver to nouveau. </p> <p>The first is not going to help in my situation, and I am not willing to give up the proprietary driver, because Compiz won't work without it. So does anybody know a way to get nvidia to actually pass on information on outputs to xRandR?</p>
5719
null
null
2011-01-25T16:59:26.967
Is it possible to get xRandR to see two separate outputs with the nvidia driver?
[ "nvidia", "xrandr" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The proprietary driver isn't compatible with xrandr and it likely never will be. Nvidia have refused to create a compatible driver and instead have decided to copy their windows based settings and controls.</p>\n\n<p>Over time, the nvidia driver is likely to fall further and further behind, making it harder and harder to use in a modern FreeDesktop like Ubuntu. You must instead use the nvidia-settings and the twinview, which distorts the desktop across two screens.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-27T21:06:42.097", "id": "25518", "postId": "23239", "score": "0", "text": "Yes, I searched more about it and my impression was the same. I wouldn't mind using an open source driver, but for now it cannot do everything I need.", "userDisplayName": null, "userId": "5719" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-25T16:59:26.967", "id": "23239", "lastActivityDate": "2011-01-25T16:59:26.967", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "132", "parentId": "21279", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>The proprietary driver isn't compatible with xrandr and it likely never will be. Nvidia have refused to create a compatible driver and instead have decided to copy their windows based settings and controls.</p>\n\n<p>Over time, the nvidia driver is likely to fall further and ...
null
null
null
null
null
21281
1
null
2011-01-12T22:05:18.927
2
1113
<p>I am following <a href="http://ubuntuforums.org/showthread.php?t=960841" rel="nofollow">these steps</a> in order to build <a href="https://awesome.naquadah.org/download/" rel="nofollow">Awesome window manager</a> on 10.04</p> <p>I am building 3.4 while the tutorial is for 3.1</p> <p>I installed all of the specified dependencies including cairo.</p> <p>After running <strong>cd awesome-3.4 &amp;&amp; make</strong> I get the following missing dependencies error:</p> <pre><code>Running cmake… -- cat -&gt; /bin/cat -- ln -&gt; /bin/ln -- grep -&gt; /bin/grep -- git -&gt; /usr/bin/git -- hostname -&gt; /bin/hostname -- gperf -&gt; /usr/bin/gperf -- asciidoc -&gt; /usr/bin/asciidoc -- xmlto -&gt; /usr/bin/xmlto -- gzip -&gt; /bin/gzip -- lua -&gt; /usr/bin/lua -- luadoc -&gt; /usr/bin/luadoc -- convert -&gt; /usr/bin/convert -- checking for modules 'glib-2.0;cairo;x11;pango&gt;=1.19.3;pangocairo&gt;=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-event&gt;=0.3.6;xcb-aux&gt;=0.3.0;xcb-atom&gt;=0.3.0;xcb-keysyms&gt;=0.3.4;xcb-icccm&gt;=0.3.6;xcb-image&gt;=0.3.0;xcb-property&gt;=0.3.0;cairo-xcb;libstartup-notification-1.0&gt;=0.10;xproto&gt;=7.0.15;imlib2;libxdg-basedir&gt;=1.0.0' -- package 'xcb-xtest' not found -- package 'xcb-property&gt;=0.3.0' not found -- package 'libstartup-notification-1.0&gt;=0.10' not found -- package 'libxdg-basedir&gt;=1.0.0' not found &gt;CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal) </code></pre> <p>awesomeConfig.cmake:133 (pkg_check_modules) CMakeLists.txt:15 (include)</p> <pre><code>&gt;CMake Error at awesomeConfig.cmake:157 (message): Call Stack (most recent call first): CMakeLists.txt:15 (include) &gt;-- Configuring incomplete, errors occurred! make: *** [cmake] Error 1 </code></pre> <p>I ran</p> <pre><code>sudo apt-get install libxcb-xtest0 libxcb-property1 libxdg-basedir1 libstartup-notification0 </code></pre> <p>but the problem is still there. It is probably because apt-get uses different names for these libraries. <strong>Please advise</strong></p> <p><strong>EDIT</strong> following enzotib's suggestion, I ran: </p> <pre><code>**sudo apt-get install libxcb-xtest0-dev libxcb-property1-dev libxdg-basedir-dev libstartup-notification0-dev** </code></pre> <p>and now it looks like I'm missing a library:</p> <pre><code>awesome-3.4$ make Running cmake… -- cat -&gt; /bin/cat -- ln -&gt; /bin/ln -- grep -&gt; /bin/grep -- git -&gt; /usr/bin/git -- hostname -&gt; /bin/hostname -- gperf -&gt; /usr/bin/gperf -- asciidoc -&gt; /usr/bin/asciidoc -- xmlto -&gt; /usr/bin/xmlto -- gzip -&gt; /bin/gzip -- lua -&gt; /usr/bin/lua -- luadoc -&gt; /usr/bin/luadoc -- convert -&gt; /usr/bin/convert -- Configuring lib/naughty.lua -- Configuring lib/awful/tooltip.lua -- Configuring lib/awful/init.lua -- Configuring lib/awful/titlebar.lua -- Configuring lib/awful/key.lua -- Configuring lib/awful/mouse/init.lua -- Configuring lib/awful/mouse/finder.lua -- Configuring lib/awful/autofocus.lua -- Configuring lib/awful/screen.lua -- Configuring lib/awful/rules.lua -- Configuring lib/awful/widget/init.lua -- Configuring lib/awful/widget/taglist.lua -- Configuring lib/awful/widget/graph.lua -- Configuring lib/awful/widget/tasklist.lua -- Configuring lib/awful/widget/common.lua -- Configuring lib/awful/widget/prompt.lua -- Configuring lib/awful/widget/launcher.lua -- Configuring lib/awful/widget/button.lua -- Configuring lib/awful/widget/layoutbox.lua -- Configuring lib/awful/widget/layout/init.lua -- Configuring lib/awful/widget/layout/vertical.lua -- Configuring lib/awful/widget/layout/horizontal.lua -- Configuring lib/awful/widget/layout/default.lua -- Configuring lib/awful/widget/progressbar.lua -- Configuring lib/awful/widget/textclock.lua -- Configuring lib/awful/dbus.lua -- Configuring lib/awful/remote.lua -- Configuring lib/awful/client.lua -- Configuring lib/awful/prompt.lua -- Configuring lib/awful/completion.lua -- Configuring lib/awful/tag.lua -- Configuring lib/awful/util.lua -- Configuring lib/awful/button.lua -- Configuring lib/awful/menu.lua -- Configuring lib/awful/hooks.lua -- Configuring lib/awful/wibox.lua -- Configuring lib/awful/layout/init.lua -- Configuring lib/awful/layout/suit/init.lua -- Configuring lib/awful/layout/suit/floating.lua -- Configuring lib/awful/layout/suit/fair.lua -- Configuring lib/awful/layout/suit/spiral.lua -- Configuring lib/awful/layout/suit/magnifier.lua -- Configuring lib/awful/layout/suit/tile.lua -- Configuring lib/awful/layout/suit/max.lua -- Configuring lib/awful/placement.lua -- Configuring lib/awful/startup_notification.lua -- Configuring lib/beautiful.lua -- Configuring themes/zenburn//theme.lua -- Configuring themes/default//theme.lua -- Configuring themes/sky//theme.lua -- Configuring config.h -- Configuring awesomerc.lua -- Configuring awesome-version-internal.h -- Configuring awesome.doxygen -- Configuring done -- Generating done -- Build files have been written to: /home/druden/util/awesome-3.4/.build-vedroid-i486-linux-gnu-4.4.3 Running make Makefile… Building… [ 4%] Built target generated_sources [ 5%] Building C object CMakeFiles/awesome.dir/awesome.c.o In file included from /home/druden/util/awesome-3.4/spawn.h:25, from /home/druden/util/awesome-3.4/awesome.c:33: /home/druden/util/awesome-3.4/globalconf.h:57: error: expected specifier-qualifier-list before ‘xcb_event_handlers_t’ In file included from /home/druden/util/awesome-3.4/awesome.c:34: /home/druden/util/awesome-3.4/client.h: In function ‘client_stack’: /home/druden/util/awesome-3.4/client.h:212: error: ‘awesome_t’ has no member named ‘client_need_stack_refresh’ /home/druden/util/awesome-3.4/client.h: In function ‘client_raise’: /home/druden/util/awesome-3.4/client.h:227: error: ‘awesome_t’ has no member named ‘stack’ In file included from /home/druden/util/awesome-3.4/awesome.c:42: /home/druden/util/awesome-3.4/titlebar.h: In function ‘titlebar_update_geometry’: /home/druden/util/awesome-3.4/titlebar.h:150: error: ‘awesome_t’ has no member named ‘L’ /home/druden/util/awesome-3.4/titlebar.h:151: error: ‘awesome_t’ has no member named ‘L’ /home/druden/util/awesome-3.4/titlebar.h:152: error: ‘awesome_t’ has no member named ‘L’ In file included from /home/druden/util/awesome-3.4/awesome.c:47: /home/druden/util/awesome-3.4/common/xutil.h: In function ‘xutil_get_text_property_from_reply’: /home/druden/util/awesome-3.4/common/xutil.h:39: warning: ‘STRING’ is deprecated (declared at /usr/local/include/xcb/xcb_atom.h:83) /home/druden/util/awesome-3.4/common/xutil.h: At top level: /home/druden/util/awesome-3.4/common/xutil.h:60: error: expected ‘)’ before ‘*’ token /home/druden/util/awesome-3.4/awesome.c: In function ‘awesome_atexit’: /home/druden/util/awesome-3.4/awesome.c:65: error: ‘awesome_t’ has no member named ‘hooks’ /home/druden/util/awesome-3.4/awesome.c:66: error: ‘awesome_t’ has no member named ‘L’ /home/druden/util/awesome-3.4/awesome.c:66: error: ‘awesome_t’ has no member named ‘hooks’ /home/druden/util/awesome-3.4/awesome.c:68: error: ‘awesome_t’ has no member named ‘L’ /home/druden/util/awesome-3.4/awesome.c:73: error: ‘awesome_t’ has no member named ‘embedded’ /home/druden/util/awesome-3.4/awesome.c:76: error: ‘awesome_t’ has no member named ‘embedded’ /home/druden/util/awesome-3.4/awesome.c:77: error: ‘awesome_t’ has no member named ‘embedded’ /home/druden/util/awesome-3.4/awesome.c:89: error: ‘awesome_t’ has no member named ‘clients’ /home/druden/util/awesome-3.4/awesome.c:89: error: ‘awesome_t’ has no member named ‘clients’ /home/druden/util/awesome-3.4/awesome.c:89: error: ‘awesome_t’ has no member named ‘clients’ /home/druden/util/awesome-3.4/awesome.c:89: warning: type defaults to ‘int’ in declaration of ‘c’ /home/druden/util/awesome-3.4/awesome.c:89: error: ‘awesome_t’ has no member named ‘clients’ /home/druden/util/awesome-3.4/awesome.c:89: error: ‘awesome_t’ has no member named ‘clients’ /home/druden/util/awesome-3.4/awesome.c:89: error: ‘awesome_t’ has no member named ‘clients’ /home/druden/util/awesome-3.4/awesome.c:91: error: invalid type argument of ‘unary *’ (have ‘int’) /home/druden/util/awesome-3.4/awesome.c:92: error: invalid type argument of ‘unary *’ (have ‘int’) /home/druden/util/awesome-3.4/awesome.c:96: error: ‘awesome_t’ has no member named ‘L’ /home/druden/util/awesome-3.4/awesome.c: In function ‘a_xcb_check_cb’: /home/druden/util/awesome-3.4/awesome.c:223: warning: implicit declaration of function ‘xcb_event_handle’ /home/druden/util/awesome-3.4/awesome.c:223: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c:230: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c: In function ‘awesome_restart’: /home/druden/util/awesome-3.4/awesome.c:277: error: ‘awesome_t’ has no member named ‘argv’ /home/druden/util/awesome-3.4/awesome.c: In function ‘xerror’: /home/druden/util/awesome-3.4/awesome.c:305: error: ‘XCB_EVENT_ERROR_BAD_WINDOW’ undeclared (first use in this function) /home/druden/util/awesome-3.4/awesome.c:305: error: (Each undeclared identifier is reported only once /home/druden/util/awesome-3.4/awesome.c:305: error: for each function it appears in.) /home/druden/util/awesome-3.4/awesome.c:306: error: ‘XCB_EVENT_ERROR_BAD_MATCH’ undeclared (first use in this function) /home/druden/util/awesome-3.4/awesome.c:308: error: ‘XCB_EVENT_ERROR_BAD_VALUE’ undeclared (first use in this function) /home/druden/util/awesome-3.4/awesome.c: In function ‘main’: /home/druden/util/awesome-3.4/awesome.c:369: error: ‘awesome_t’ has no member named ‘keygrabber’ /home/druden/util/awesome-3.4/awesome.c:370: error: ‘awesome_t’ has no member named ‘mousegrabber’ /home/druden/util/awesome-3.4/awesome.c:376: error: ‘awesome_t’ has no member named ‘argv’ /home/druden/util/awesome-3.4/awesome.c:377: error: ‘awesome_t’ has no member named ‘argv’ /home/druden/util/awesome-3.4/awesome.c:381: error: ‘awesome_t’ has no member named ‘argv’ /home/druden/util/awesome-3.4/awesome.c:382: error: ‘awesome_t’ has no member named ‘argv’ /home/druden/util/awesome-3.4/awesome.c:424: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:425: error: ‘awesome_t’ has no member named ‘timer’ /home/druden/util/awesome-3.4/awesome.c:425: error: ‘awesome_t’ has no member named ‘timer’ /home/druden/util/awesome-3.4/awesome.c:425: error: ‘awesome_t’ has no member named ‘timer’ /home/druden/util/awesome-3.4/awesome.c:425: error: ‘awesome_t’ has no member named ‘timer’ /home/druden/util/awesome-3.4/awesome.c:425: error: ‘awesome_t’ has no member named ‘timer’ /home/druden/util/awesome-3.4/awesome.c:425: error: ‘awesome_t’ has no member named ‘timer’ /home/druden/util/awesome-3.4/awesome.c:431: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:432: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:433: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:434: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:435: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:436: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:443: error: ‘awesome_t’ has no member named ‘default_screen’ /home/druden/util/awesome-3.4/awesome.c:450: error: ‘awesome_t’ has no member named ‘have_xtest’ /home/druden/util/awesome-3.4/awesome.c:462: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:464: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:465: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:467: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:468: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:471: warning: implicit declaration of function ‘xcb_event_handlers_init’ /home/druden/util/awesome-3.4/awesome.c:471: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c:472: warning: implicit declaration of function ‘xutil_error_handler_catch_all_set’ /home/druden/util/awesome-3.4/awesome.c:472: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c:490: warning: implicit declaration of function ‘xcb_event_poll_for_event_loop’ /home/druden/util/awesome-3.4/awesome.c:490: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c:493: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c:496: error: ‘awesome_t’ has no member named ‘keysyms’ /home/druden/util/awesome-3.4/awesome.c:507: error: ‘awesome_t’ has no member named ‘colors’ /home/druden/util/awesome-3.4/awesome.c:510: error: ‘awesome_t’ has no member named ‘colors’ /home/druden/util/awesome-3.4/awesome.c:513: error: ‘awesome_t’ has no member named ‘font’ /home/druden/util/awesome-3.4/awesome.c:519: error: ‘awesome_t’ has no member named ‘keysyms’ /home/druden/util/awesome-3.4/awesome.c:519: error: ‘awesome_t’ has no member named ‘numlockmask’ /home/druden/util/awesome-3.4/awesome.c:520: error: ‘awesome_t’ has no member named ‘shiftlockmask’ /home/druden/util/awesome-3.4/awesome.c:520: error: ‘awesome_t’ has no member named ‘capslockmask’ /home/druden/util/awesome-3.4/awesome.c:521: error: ‘awesome_t’ has no member named ‘modeswitchmask’ /home/druden/util/awesome-3.4/awesome.c:563: error: ‘awesome_t’ has no member named ‘evenths’ /home/druden/util/awesome-3.4/awesome.c:572: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:575: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:576: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:577: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:578: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:579: error: ‘awesome_t’ has no member named ‘loop’ /home/druden/util/awesome-3.4/awesome.c:580: error: ‘awesome_t’ has no member named ‘loop’ make[3]: *** [CMakeFiles/awesome.dir/awesome.c.o] Error 1 make[2]: *** [CMakeFiles/awesome.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [cmake-build] Error 2 </code></pre>
8786
334172
2014-12-03T12:40:09.937
2014-12-03T12:40:09.937
Building Awesome WM
[ "system-installation", "10.04", "compiling", "window-manager", "awesome" ]
1
1
CC BY-SA 3.0
[ { "creationDate": "2016-02-17T23:13:17.297", "id": "1092841", "postId": "21281", "score": "0", "text": "Possible duplicate of [Building Awesome WM, missing dependencies](http://askubuntu.com/questions/57421/building-awesome-wm-missing-dependencies)", "userDisplayName": null, "userId": "1...
null
[ { "accepted": null, "body": "<p>I think you need -dev versions of libs for compiling.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-12T22:12:52.067", "id": "21282", "lastActivityDate": "2011-01-...
null
null
null
null
null
21284
1
null
2011-01-12T22:42:51.177
2
223
<p>I can use suspend without any problem if I do it manually. It resumes OK as well.</p> <p>However, for some reason it has stopped doing this automatically. Right now it is set to suspend after 30 minutes but it can be idle for hours without suspending.</p>
7472
null
null
2011-01-12T23:26:45.163
How do I troubleshoot my computer not suspending automatically?
[ "suspend" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>I would check for any USB devices such as mouses, keyboards, or WLAN adapters... or even a NIC card might be causing it not to sleep... what you could do is set your suspend to 5 mins or something, and eliminate each one, till it works... if it works then you know that device...
null
null
2012-08-31T21:32:42.283
null
null
21286
1
null
2011-01-12T23:07:00.597
7
3214
<p>I'm running on UPS power and would like to prevent the laptop's battery from charging, to increase the amount of power available to other devices. Is there a way to do this?</p> <h3>update</h3> <p>The machine is a Dell Latitude D400. If people want more details, just ask.</p> <p>Also, I'm gathering that I need to explain my desired setup a little better. I've gotten a bunch of suggestions about taking the battery out. I'm not sure if people are suggesting to take the battery out while the machine is running — this, as I understand, is not a good idea with most laptops — or to just remove the battery altogether.</p> <p>The latter option is not optimal, because ideally I'd like to use the 30-60 minutes of power in the laptop battery and then switch over to UPS power. The details of the switch-over may constitute a separate question, but if I can't find a way to keep the laptop battery from charging, then removing the battery from the machine altogether may be the best way to do this. I'm not sure yet if this machine will run without a battery, but I'll check that out.</p> <p>Other than the laptop, the UPS is just supporting a cable modem and router and a USB hub.</p> <p>Again in the idealized version of this setup, all the power management changes would be automated, i.e. not require replugging anything or pressing Fn-keys. I'd like the machine to start using laptop battery power when apcupsd indicates that the UPS A/C is out, and then start using UPS power, but not charging the battery, when the battery is almost depleted.</p>
3865
-1
2020-06-12T14:37:07.210
2011-12-13T01:46:07.373
How to prevent battery from charging while on UPS
[ "power-management", "dell", "battery", "ups" ]
2
7
CC BY-SA 3.0
[ { "creationDate": "2011-01-12T23:08:26.303", "id": "22896", "postId": "21286", "score": "1", "text": "[cross-posted on Unix and Linux](http://unix.stackexchange.com/questions/5762/preventing-battery-from-charging)", "userDisplayName": null, "userId": "3865" }, { "creationDate": "...
null
[ { "accepted": null, "body": "<p>At least some Dell laptops have a key that you can hit to disable battery charging. I think it was Fn-F2 or so. The key has a little blue battery icon on it.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-01-13T08:12:52.350", ...
null
null
null
null
null
21287
1
null
2011-01-12T23:16:10.260
2
1527
<p>I have Ubuntu 10.10 (upgraded from 10.04)<br> I was browsing in Firefox yesterday, then the PC suddenly did a reset</p> <p>Once it restarted, everything went normal until gdm begun showing. Then everything froze and locked when userlist showed. <strong>I can't move mouse pointer nor do anything with keyboard at this point (just after userlist shows in gdm)</strong>.</p> <p>PS: Both, mouse and keyboard work fine, because this Ubuntu is dual-booting with a Windows XP install which loads/works fine.</p> <p><strong>Here is my .xsession-errors file, but I don't have a clue what may be wrong. Thanks</strong></p> <p><a href="http://pastebin.com/GVtneEAF" rel="nofollow">http://pastebin.com/GVtneEAF</a></p>
5933
null
null
2015-03-22T03:34:14.243
Ubuntu freezes when gdm starts
[ "boot", "xorg", "gdm", "startup", "freeze" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2011-02-25T12:57:35.280", "id": "31057", "postId": "21287", "score": "0", "text": "Same problem with kernel 2.6.38-4-generic on natty. All was working fine before this upgrade.", "userDisplayName": null, "userId": "11455" }, { "creationDate": "2011-01-17T19:30:...
null
[ { "accepted": null, "body": "<p>Similar things started happening to me after I upgraded to the 2.6.35-25 kernel. That may not be the cause of your problem, but try when you boot selecting the previous kernel version instead (2.6.35-24) and see if the problems go away.</p>\n\n<p>Here's a related bug report:...
null
null
2012-05-16T19:08:41.613
null
null
21290
1
null
2011-01-12T23:35:12.233
23
12146
<p>Since first becoming an Ubuntu user I have developed a growing list of aliases, and there are some that I cannot imagine being without. This makes me think that there are probably still tons of aliases that I haven't thought to use which could make the lives of me and fellow ubuntu users easier. </p> <p>What aliases do you guys use which are:<br> general - they apply to lots of users<br> helpful - you use them often or they save a lot of time when you do use them</p>
4049
3037
2011-02-11T16:25:23.573
2016-12-21T18:51:49.590
Which aliases do you find most useful or helpful to your Ubuntu experience?
[ "command-line", "alias" ]
10
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-12T23:35:48.003", "id": "22898", "postId": "21290", "score": "0", "text": "Apologies in advance if this is considered too subjective. I think it could become a good resource so I figured its worth trying.", "userDisplayName": null, "userId": "4049" }, { ...
null
[ { "accepted": null, "body": "<p>Here are some that I like:</p>\n\n<pre><code>#Opens current directory in a file explorer\nalias explore='nautilus .'\n\n#Opens current directory in a file explorer with super user privileges\nalias suexplore='sudo nautilus .'\n\n#Opens current directory in Ubuntu's Disk Usage...
2011-01-12T23:52:18.307
null
null
null
null
21295
1
22817
2011-01-13T00:31:56.447
10
5096
<p>i have last ubuntu installed (10.10), but from an year and thousand updates, video drivers updates, an hundreds of tricks, the mouse pointer is showed like an UGLY square... </p> <p>These are the screenshots:</p> <p><img src="https://i.stack.imgur.com/qOFaZ.jpg" alt="alt text"><br> <img src="https://i.stack.imgur.com/jowRj.jpg" alt="alt text"></p> <p>I have no idea what to do to solve this problem. Anyone of you have an idea to solve it?</p> <p>Edit: <strong>this problem was encountered from 8.10+!</strong></p> <p>Edit 2, Video card specifications:</p> <pre><code>paska@ubuntu:~$ hwinfo --gfxcard 35: PCI 100.0: 0300 VGA compatible controller (VGA) [Created at pci.318] UDI: /org/freedesktop/Hal/devices/pci_1106_3230 Unique ID: VCu0.QX54AGQKWeE Parent ID: vSkL.CP+qXDDqow8 SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 SysFS BusID: 0000:01:00.0 Hardware Class: graphics card Model: "VIA K8M890CE/K8N890CE [Chrome 9]" Vendor: pci 0x1106 "VIA Technologies, Inc." Device: pci 0x3230 "K8M890CE/K8N890CE [Chrome 9]" SubVendor: pci 0x1043 "ASUSTeK Computer Inc." SubDevice: pci 0x81b5 Revision: 0x11 Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable) Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable) Memory Range: 0xfbcf0000-0xfbcfffff (ro,prefetchable,disabled) IRQ: 16 (10026 events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: "pci:v00001106d00003230sv00001043sd000081B5bc03sc00i00" Driver Info #0: Driver Status: viafb is not active Driver Activation Cmd: "modprobe viafb" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #17 (PCI bridge) Primary display adapter: #35 paska@ubuntu:~$ </code></pre> <p>thanks,<br> A</p>
8802
29112
2011-12-04T21:32:35.890
2011-12-04T23:39:05.533
Mouse pointer strange problem
[ "10.10", "drivers", "video", "pointers", "via" ]
2
6
CC BY-SA 2.5
[ { "creationDate": "2011-01-13T00:55:01.117", "id": "22906", "postId": "21295", "score": "0", "text": "Do you have ATI graphics? This is a problem with ATI graphics drivers that is known, and if I remember correctly there is a fix for it.", "userDisplayName": null, "userId": "1992" }, ...
{ "accepted": true, "body": "<p>You have a VIA graphics card, it's one of the worst supported graphics chipsets.</p>\n\n<p>What is happening is that the hardware cursor (that's a special part of the graphic card capability that produces a nice smooth cursor) has been corrupted. Normally this is because all of your video memory has been used.</p>\n\n<p>If you can go into the bios and increase the amount of RAM given to the onboard video device. This may solve the issue for you.</p>\n\n<p>It may still be a driver issue, as I said at the start, VIA isn't well supported so you may want to upgrade to an nvidia, intel or ati graphics card.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-22T22:08:39.120", "id": "22817", "lastActivityDate": "2011-01-22T22:08:39.120", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "132", "parentId": "21295", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>You have a VIA graphics card, it's one of the worst supported graphics chipsets.</p>\n\n<p>What is happening is that the hardware cursor (that's a special part of the graphic card capability that produces a nice smooth cursor) has been corrupted. Normally this is because all ...
null
null
null
null
null
21297
1
21299
2011-01-13T00:39:15.443
2
365
<p>The ubuntu-desktop in synaptic is removed on my system. And when I start the machine, I cannot login ,the mouse and keyboard cannot be used also. How to fix it? How to enter the text mode of ubuntu? </p>
null
449
2011-01-18T09:57:31.570
2011-01-18T09:57:31.570
How do I install ubuntu-desktop?
[ "data-recovery" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Select the recovery mode in the grub screen (if it doesn't show up, keep pressed the shift key during boot). Then if you can login as root, try to install again ubuntu-desktop (this may install missing packages). If only \"ubuntu-desktop\" package was removed, then it should be other problem, as it is a meta-package which is not essential (can be removed safety). </p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-13T01:36:42.033", "id": "22911", "postId": "21299", "score": "0", "text": "I cant login as root in that mode. The system stop there when inits..Is there any other method?", "userDisplayName": "user8260", "userId": null }, { "creationDate": "2011-01-13T03:54:41.460", "id": "22918", "postId": "21299", "score": "0", "text": "@Jinx: Does the grub menu shows? What happen if you use the Live CD? does it works? If you don't have any special files to recover, I suggest you to reinstall the system (could be faster). If you need to recover files, enter with the Live CD and mount your drive, then copy your files into a USB or something. If you want to fix the installation, then Other way is to use the Alternate CD of the same version you have installed (you can find it here:http://www.ubuntu.com/desktop/get-ubuntu/alternative-download), then choose the bootup option \"rescue a broken system.\". Hope it helps.", "userDisplayName": null, "userId": "8747" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-13T00:51:24.443", "id": "21299", "lastActivityDate": "2011-01-13T00:51:24.443", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8747", "parentId": "21297", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>Select the recovery mode in the grub screen (if it doesn't show up, keep pressed the shift key during boot). Then if you can login as root, try to install again ubuntu-desktop (this may install missing packages). If only \"ubuntu-desktop\" package was removed, then it should ...
null
null
null
null
user8260
21301
1
21302
2011-01-13T01:10:27.817
19
14218
<p>How to remove duplicate tracks from Banshee?</p>
3905
4776
2011-01-13T01:14:15.320
2019-09-21T09:33:48.887
How to remove duplicate tracks from Banshee?
[ "banshee", "duplicate-files" ]
4
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-28T18:48:56.377", "id": "25739", "postId": "21301", "score": "0", "text": "Also please see this thread: http://askubuntu.com/questions/4323/how-can-i-find-duplicate-songs", "userDisplayName": null, "userId": "8844" }, { "creationDate": "2012-01-25T00:53...
{ "accepted": true, "body": "<p>It is <a href=\"https://bugzilla.gnome.org/show_bug.cgi?id=632465\" rel=\"nofollow noreferrer\">a known bug</a> that has been fixed in the newer versions of Banshee.</p>\n\n<p>You can use the latest version of Banshee from the <a href=\"https://launchpad.net/~banshee-team/+archive/ppa\" rel=\"nofollow noreferrer\">Banshee PPA</a>:</p>\n\n<pre><code>sudo add-apt-repository ppa:banshee-team/ppa\nsudo apt-get update &amp;&amp; sudo apt-get upgrade\n</code></pre>\n\n<p><a href=\"https://askubuntu.com/questions/20119/how-do-i-subscribe-to-a-bug\">How do I subscribe to a bug?</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-28T18:00:52.803", "id": "25717", "postId": "21302", "score": "1", "text": "I wasn't under the impression that this question was specifically referring to that bug. You can end up with duplicate tracks in your library even if you never run into that importing/rescanning bug, and I'm not sure of any way to automatically remove them now that the option is no longer available in the Mirage extension.", "userDisplayName": null, "userId": "2079" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-01-13T01:29:39.707", "id": "21302", "lastActivityDate": "2019-09-21T09:33:48.887", "lastEditDate": "2019-09-21T09:33:48.887", "lastEditorDisplayName": null, "lastEditorUserId": "837532", "ownerDisplayName": null, "ownerUserId": "4776", "parentId": "21301", "postTypeId": "2", "score": "7" }
[ { "accepted": true, "body": "<p>It is <a href=\"https://bugzilla.gnome.org/show_bug.cgi?id=632465\" rel=\"nofollow noreferrer\">a known bug</a> that has been fixed in the newer versions of Banshee.</p>\n\n<p>You can use the latest version of Banshee from the <a href=\"https://launchpad.net/~banshee-team/+ar...
null
null
null
null
null
21303
1
31993
2011-01-13T01:30:25.860
22
78227
<p>I'm trying to create a bootable USB image to install Ubuntu on a new computer.</p> <p>I have done this before following the "<a href="http://www.ubuntu.com/server/get-ubuntu/download" rel="nofollow noreferrer">create USB drive</a>" instructions for Ubuntu desktop, but I don't have an Ubuntu desktop available.</p> <p>How can I do the same using only the command line?</p> <p>Things I've tried:</p> <ul> <li>Create bootable USB on Mac OS X following the ubuntu.com "create USB drive" instructions for Mac: Doesn't boot.</li> <li><a href="https://help.ubuntu.com/community/Installation/FromUSBStick" rel="nofollow noreferrer"><code>usb-creator</code></a>: According to <code>apt-cache search usb-creator</code> and Wikipedia usb-creator only exists as a graphical tool.</li> <li><a href="https://help.ubuntu.com/community/Installation/FromUSBStick#Create%20Bootable%20USB%20Manually" rel="nofollow noreferrer">"Create manually" instructions</a> at help.ubuntu.com: None of the files and directories described (e.g. <code>casper</code>, <code>filesystem.manifest</code>, <code>menu.lst</code>) exist in the ISO image, and I don't know what has replaced them.</li> <li><a href="http://sourceforge.net/apps/trac/unetbootin/wiki/commands" rel="nofollow noreferrer">unetbootin scripting</a>: Requires X server (graphics support) to run, even when fully scripted. (The command <code>sudo unetbootin lang=en method=diskimage isofile=~/ubuntu-10.10-server-amd64.iso installtype=USB targetdrive=/dev/sdg1 autoinstall=yes</code> gives an error message <code>unetbootin: cannot connect to X server</code>.)</li> </ul> <p><strong>Update</strong></p> <p>Also tried GRUB fiddling: Merging information from </p> <ul> <li><a href="http://www.pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/" rel="nofollow noreferrer">pendrivelinux.com</a></li> <li>a <a href="https://unix.stackexchange.com/questions/665/installing-grub-2-on-a-usb-flash-drive">related question on the Linux Stackexchange</a> </li> <li>and a <a href="http://www.panticz.de/MultiBootUSB" rel="nofollow noreferrer">grub configuration example</a> </li> </ul> <p>I was able to get halfway there - it booted from USB, displayed the grub menu and started the installation, but the installation did not complete.</p> <p>For reference, this is the closest I got:</p> <pre><code>sudo su # mount USB pen mount /dev/sd[X]1 /media/usb # install GRUB grub-install --force --no-floppy --root-directory=/media/usb /dev/sd[X] # copy ISO image to USB cp ~/ubuntu-10.10-server-amd64.iso /media/usb # mount ISO image, copy existing grub.cfg mount ~/ubuntu-10.10-server-amd64.iso /media/iso/ -o loop cp /media/iso/boot/grub/grub.cfg /media/usb/boot/grub/ </code></pre> <p>I then edited <code>/media/usb/boot/grub.cfg</code> to add an .iso loopback, example grub entry:</p> <pre><code>menuentry "Install Ubuntu Server" { set gfxpayload=keep loopback loop /ubuntu-10.10-server-amd64.iso linux (loop)/install/vmlinuz file=(loop)/preseed/ubuntu-server.seed iso-scan/filename=/ubuntu-10.10-server-amd64.iso quiet -- initrd (loop)/install/initrd.gz } </code></pre> <p>When booting from USB, this would give me the Grub boot menu and start the installer, but the installer gave up after a couple of screens complaining that it couldn't find the CD-ROM drive. (Naturally, as the box I'm installing on doesn't have an optical drive.)</p> <p>I resolved this particular issue by giving up and doing the "create USB drive" routine using the Ubuntu Live desktop CD (on a computer that does have an optical drive), then the USB install works.</p> <p>But I expect that there is some way to do this from the command line of an Ubuntu system without X server and without an optical drive, so the question still stands.</p> <p>Does anyone know how?</p>
2337
-1
2017-04-13T12:37:19.757
2016-07-16T20:59:34.850
Create USB installer to install Ubuntu from the command line?
[ "boot", "command-line", "server", "system-installation", "live-usb" ]
7
7
CC BY-SA 3.0
[ { "creationDate": "2011-01-13T01:33:27.620", "id": "22910", "postId": "21303", "score": "0", "text": "try unetbootin.", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-01-13T02:02:50.413", "id": "22912", "postId": "21303", "score": "0", "text"...
{ "accepted": true, "body": "<blockquote>\n <p>When booting from USB, this would give me the Grub boot menu and start the installer, but the installer gave up after a couple of screens complaining that it couldn't find the CD-ROM drive.</p>\n</blockquote>\n\n<p>This is a known bug with ubuntu server iso (desktop iso works just fine), but there is a fix to get the packages from the iso on the usb drive:\nonce on the installer, Ctrl+Alt+f2 to open a tty and in the terminal:</p>\n\n<pre><code>mount -t vfat /dev/sdX1 /mnt\nln -sf /mnt/ubuntu-server.iso /dev/sr0\n</code></pre>\n\n<p>Then switch back to installer and retry to scan cd for packages. It should work.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-03-26T16:33:44.590", "id": "35970", "postId": "31993", "score": "0", "text": "I don't have a system to try it out on at the moment, but yeah - it sounds like it should work :) Thanks!", "userDisplayName": null, "userId": "2337" }, { "creationDate": "2014-04-30T14:46:10.603", "id": "603201", "postId": "31993", "score": "0", "text": "I found that the \"Detect and mount CD-ROM\" menu option would revert `/dev/sr0`, undoing the `ln` and returning it to its original (broken) state. However, if I waited at the \"Retry mounting the CD-ROM?\" prompt, did the `ln` in tty2, and then returned to press \"Yes\", it did work. (That \"Retry?\" dialog would only appear once the `mount` command had been given, though.)", "userDisplayName": null, "userId": "12150" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-03-25T14:32:00.097", "id": "31993", "lastActivityDate": "2011-09-11T15:33:49.353", "lastEditDate": "2011-09-11T15:33:49.353", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "12999", "parentId": "21303", "postTypeId": "2", "score": "9" }
[ { "accepted": null, "body": "<p>You can install a command line (CLI) Ubuntu using the Alternate Install or Mini iso (which should fit on your 512mb stick)</p>\n\n<p>Then install Crunchbang using the alternate method: <a href=\"http://crunchbanglinux.org/forums/topic/26/crunchbang-linux-81001-alternative-ins...
null
null
null
null
null