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
20306
1
null
2011-01-06T15:31:56.983
3
587
<p>The title says it all really!</p> <ul> <li><p>I have full connection.</p></li> <li><p>I have synced 2 AOL accounts and a Zoho account via Evolution Mail.</p></li> <li><p>I have switched off all filters in all accounts so everything gets filtered through my desktop.</p></li> <li><p>I have checked the accounts directly to see if anything is amiss.</p></li> </ul> <p>I'm at a loss! ... help?</p>
8448
196255
2015-01-27T00:45:52.717
2015-01-27T00:48:28.353
I haven't received my verification code from Ubuntu One & tried 3 e-mail addresses!
[ "ubuntu-one", "single-sign-on" ]
1
3
CC BY-SA 3.0
[ { "creationDate": "2011-01-06T16:52:46.193", "id": "21887", "postId": "20306", "score": "0", "text": "This is about the verification code for Ubuntu Single Sign On, right?", "userDisplayName": null, "userId": "711" }, { "creationDate": "2011-01-06T18:29:36.060", "id": "21901"...
null
[ { "accepted": null, "body": "<p>Have you tried <a href=\"https://forms.canonical.com/sso-support/\" rel=\"nofollow\">submitting a support request</a> on the login support form? </p>\n\n<p>They may be able to help you out.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "20...
null
null
null
null
null
20313
1
20365
2011-01-06T16:33:42.430
15
17796
<p>Is there an easy way to allow my other computers to resolve my hostname over the network without having them edit their hosts files or their DNS settings? Some of the computers are on Windows.</p>
2331
67558
2013-09-06T02:12:00.773
2017-02-22T07:46:17.423
Name resolution on home LAN?
[ "networking", "dns", "hostname" ]
4
2
CC BY-SA 3.0
[ { "creationDate": "2011-01-06T21:07:56.767", "id": "21931", "postId": "20313", "score": "1", "text": "I was under the impression that most commercially available home routers do this for you, provided that you use the built-in DNS proxy as the DHCP/static DNS server for your network.", "user...
{ "accepted": true, "body": "<p>To resolve <a href=\"http://en.wikipedia.org/wiki/Avahi_(software)\" rel=\"nofollow noreferrer\">Avahi</a> hostnames, other computers should have <a href=\"http://packages.ubuntu.com/libnss-mdns\" rel=\"nofollow noreferrer\">libnss-mdns</a> installed.</p>\n\n<p>Another option, if you are the network administrator is to distribute a private DNS address by DHCP (I your computers are configured by DHCP). For a small network, <a href=\"http://packages.ubuntu.com/dnsmasq\" rel=\"nofollow noreferrer\">dnsmasq</a> is good combined package (DNS+DHCP). It allows you to serve simply your <code>/etc/hosts</code> to the network.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2014-07-14T15:48:42.713", "id": "666579", "postId": "20365", "score": "0", "text": "`sudo apt-get install libnss-mdns` on the (Ubuntu) computer that you want to share. This will start the 'Avahi mDNS/DNS-SD Daemon: avahi-daemon' and enable discovery by (hostname).local on computers with compatible client software.", "userDisplayName": null, "userId": "11522" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-06T20:07:15.597", "id": "20365", "lastActivityDate": "2017-02-22T07:46:17.423", "lastEditDate": "2017-02-22T07:46:17.423", "lastEditorDisplayName": null, "lastEditorUserId": "527764", "ownerDisplayName": null, "ownerUserId": "6475", "parentId": "20313", "postTypeId": "2", "score": "10" }
[ { "accepted": null, "body": "<p>In mixed network environments you can do this with name resolutions from <a href=\"https://help.ubuntu.com/community/HowToZeroconf\" rel=\"nofollow noreferrer\">Avahi/Zeroconfig</a> that would resolve in Mac-OS as well as in Windows (when <a href=\"http://en.wikipedia.org/wik...
null
null
null
null
null
20314
1
20316
2011-01-06T16:40:56.463
3
3644
<p>I am moving from Ubuntu 8.04 to 10.4 (yeah... :)) and I would like to copy quite a few useful launchers I created over the years.</p> <p>Where are they located in 8.04?</p>
8018
null
null
2011-01-10T13:03:00.003
Where are panel launchers located?
[ "gnome", "gnome-panel", "launcher", "8.04" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>OK, after some snooping I think that I found the answer (a hidden directory):</p>\n\n<pre><code>$HOME/.gnome2/panel2.d/default/launchers\n</code></pre>\n\n<p><strong>Update</strong>: The above path was only half of the answer. Thanks to @DoR's reply <a href=\"https://askubuntu.com/questions/20326/why-dont-8-04-panel-launchers-work-on-10-04\">here</a>, it seems that panel launchers also need to register at:</p>\n\n<pre><code>$HOME/.gconf/apps/panel/objects/\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T16:44:36.523", "id": "20316", "lastActivityDate": "2011-01-10T13:03:00.003", "lastEditDate": "2017-04-13T12:23:28.223", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "8018", "parentId": "20314", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>OK, after some snooping I think that I found the answer (a hidden directory):</p>\n\n<pre><code>$HOME/.gnome2/panel2.d/default/launchers\n</code></pre>\n\n<p><strong>Update</strong>: The above path was only half of the answer. Thanks to @DoR's reply <a href=\"https://askubunt...
null
null
null
null
null
20315
1
20361
2011-01-06T16:43:00.830
9
54329
<p>I currently manage the domains of many clients and would like to setup a BIND server so I can all manage them from one place. Now, I'm looking for a web interface to BIND that would let my clients manage their domains by themselves in case they wanted to. What web apps would be well suited for this? I'm looking for something that will only do DNS management, not something more complete like Webmin.</p>
2331
null
null
2020-04-24T10:00:50.047
Looking for BIND web interface
[ "gui", "bind", "webapps" ]
5
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-06T16:45:28.413", "id": "21885", "postId": "20315", "score": "2", "text": "I don't know of any good ones. I ended up writing my own.", "userDisplayName": null, "userId": "41" } ]
{ "accepted": true, "body": "<p>ProBIND is a Web application for administrating one or more BIND servers\nDownload at <a href=\"http://probind.sourceforge.net/\" rel=\"nofollow\">http://probind.sourceforge.net/</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T19:40:38.833", "id": "20361", "lastActivityDate": "2011-01-06T19:40:38.833", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "7448", "parentId": "20315", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>I've never used a web interface other than webmin.</p>\n<p>But, here's a list I found at Debian Help:<br />\n<a href=\"http://www.debianhelp.co.uk/bindweb.htm\" rel=\"nofollow noreferrer\">http://www.debianhelp.co.uk/bindweb.htm</a></p>\n", "commentCount": "0", "comme...
null
null
null
null
null
20317
1
20321
2011-01-06T16:47:08.353
1
413
<p>How do I place a SpinButton widget on a Toolbar using GTK, or GTKmm?</p>
705
9781
2011-10-10T17:31:57.617
2011-10-10T17:31:57.617
Gtk SpinButtion in a Toolbar
[ "gnome", "programming", "gtk", "application-development" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>A gtkToolbar accept any gktWidget, like any other container. An example in python:\n<code><pre>import gtk<br>\nroot = gtk.Window()\ntoolbar = gtk.Toolbar()\nroot.add(toolbar)<br>\n<b>spinbutton = gtk.SpinButton()\ntoolbar.add(spinbutton)</b><br>\nroot.show_all()\ngtk.main()</pre></code>\n<img src=\"https://i.stack.imgur.com/HRGv9.png\" alt=\"alt text\"></p>\n\n<p>So this works just like adding the GtkToolbar to the GtkWindow. </p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-01-06T17:01:56.663", "id": "21890", "postId": "20321", "score": "0", "text": "Oh, sure, it inherits from gtk.Container. Thanks for quick tip!", "userDisplayName": null, "userId": "705" }, { "creationDate": "2011-01-06T17:03:23.137", "id": "21891", "postId": "20321", "score": "0", "text": "By the way, is it possible to add it using gtk.UIManager?", "userDisplayName": null, "userId": "705" }, { "creationDate": "2011-01-06T17:15:59.120", "id": "21892", "postId": "20321", "score": "0", "text": "I *think* it's not possible, but I don't know - I always use GtkBuilder and Glade instead.", "userDisplayName": null, "userId": "1067" }, { "creationDate": "2011-01-07T20:36:01.053", "id": "22087", "postId": "20321", "score": "0", "text": "Whoops. That does not work. It does compile, but running the application results with an error message in the stdio, stating that this is ToolBar's deprecated API.", "userDisplayName": null, "userId": "705" }, { "creationDate": "2011-01-08T20:47:24.083", "id": "22208", "postId": "20321", "score": "0", "text": "Oh, got it to work. Had to add a ToolItem into the tooblar, then call toolitem.add(spinbutton).", "userDisplayName": null, "userId": "705" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T16:57:22.323", "id": "20321", "lastActivityDate": "2011-01-06T16:57:22.323", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "20317", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>A gtkToolbar accept any gktWidget, like any other container. An example in python:\n<code><pre>import gtk<br>\nroot = gtk.Window()\ntoolbar = gtk.Toolbar()\nroot.add(toolbar)<br>\n<b>spinbutton = gtk.SpinButton()\ntoolbar.add(spinbutton)</b><br>\nroot.show_all()\ngtk.main()</...
null
null
null
null
null
20318
1
20345
2011-01-06T16:49:02.273
6
9603
<p>I try to set up my printer under Ubuntu. So far it worked that I succeed to install the drivers. But Ubuntu says: No driver available for this model. This is the problem that Ubuntu doesn't recognize the right model, so I have to add and the choose the right driver manually. No problem I thought. But when I try to add a printer, I'm prompted to provide a root password although I didn't set up one? So i'm not able to confirm the dialog and add my printer, what's the reason?</p> <p><img src="https://i.stack.imgur.com/ae0jU.png" alt="alt text"></p> <p><img src="https://i.stack.imgur.com/NRvqw.png" alt="alt text"></p>
7155
208574
2015-12-14T00:11:15.267
2015-12-14T00:11:15.267
"Adding Printer" dialog asks for root password?
[ "printing" ]
3
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Try to set a root password, if you realy want to log as root. In terminal type: \"sudo passwd root\" (without quotes).</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-06T19:10:26.407", "id": "21908", "postId": "20345", "score": "1", "text": "Thanks, this worked so far as a workaround. It was also mentioned here.https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/387970", "userDisplayName": null, "userId": "7155" }, { "creationDate": "2012-10-29T11:12:01.980", "id": "258649", "postId": "20345", "score": "0", "text": "Setting a root password is considered a bad idea, also mentioned in the bug report. The gksudo solution mentioned is better.", "userDisplayName": null, "userId": "101876" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T18:19:36.203", "id": "20345", "lastActivityDate": "2011-01-06T18:19:36.203", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8455", "parentId": "20318", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>Use your normal password - the root password is disabled in ubuntu.</p>\n\n<p>Normally when su is required use sudo.</p>\n\n<p>You can if needed get a root shell with sudo -i</p>\n\n<p><a href=\"https://wiki.ubuntu.com/RootSudo\" rel=\"nofollow\">https://wiki.ubuntu.com/RootS...
null
null
null
null
null
20319
1
193409
2011-01-06T16:52:44.687
10
17249
<p>I started the video and it says it has no codex and it can search for it(it looked cool) and it has downloaded them and video works great, but for some reason all the faces on videos I'm watching are blue, how to make them not blue?(I bet its a common problem).</p> <p>P.S. I'm not prejudiced against aliens, I just don't like them.</p>
8436
235
2011-10-23T18:18:27.157
2013-08-19T21:54:36.560
Videos have blue faces when I play them
[ "video", "video-player" ]
9
3
CC BY-SA 3.0
[ { "creationDate": "2011-01-17T12:27:01.943", "id": "23701", "postId": "20319", "score": "0", "text": "wich media player are you using ?\r\nDId you try for example play the video in VLC ? ( `sudo apt-get install vlc` ) or mplayer ?", "userDisplayName": null, "userId": "6586" }, { ...
{ "accepted": true, "body": "<p>I'm running 12.04 LTS with a Nvidea GeForce 8400M GS (512 MB). SMPlayer (vers. 0.81) is my default playback app. &amp; Totem Movie Player 3.0.1 (Movie Player using GStreamer 0.10.36)</p>\n\n<p>All movies opened from hdd show \"blue faces\".\nYet sometimes when opening \"Nvidea XServer Settings\", the next video I play is in normal colors. (only once...opening the same movie again will show blue faces again)</p>\n\n<p>FIX :</p>\n\n<p>Download and install \"Sysinfo\" app. and open it.\nSelect \"Nvidea\" - \"Nvidea Display Settings\".\nUnder \"X Screen 0\" select \"X Server Xvideo Settings\".\nSlide the \"Hue\" controller all the way down to zero.</p>\n\n<p>If this didn't help (in my case no option to save this setting, but only the option to \"quit\" Nvidea XServer Settings\"), open Totem Movie Player ;</p>\n\n<p>Open the video and check for \"blue faces\". Let the video continue playing.\nGo to \"edit\", \"Preferences\", \"Display\" : Slide the \"Hue\" controller to zero.\nWhile you're sliding the Hue down, you will see the colors change to normal.</p>\n\n<p>In my case the changes made in Totem Movie Player where also adapted in the SMPlayer and all videos are playing in normal colors now.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-11-23T09:41:10.837", "id": "272733", "postId": "193409", "score": "0", "text": "Thank you so much for this. I did the nvidea hue setting and it fixed it for me!", "userDisplayName": null, "userId": "110122" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2012-09-27T00:30:55.313", "id": "193409", "lastActivityDate": "2012-09-27T01:54:57.890", "lastEditDate": "2012-09-27T01:54:57.890", "lastEditorDisplayName": null, "lastEditorUserId": "92755", "ownerDisplayName": null, "ownerUserId": "92755", "parentId": "20319", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>From <a href=\"https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/395476\" rel=\"nofollow\">https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/395476</a>:</p>\n\n<ol>\n<li>open totem via Applications > Sound &amp; Video > Movie Player</li>\n<li>open th...
null
null
null
null
null
20320
1
null
2011-01-06T16:57:19.703
1
390
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/33471/gnome-panels-not-visible">Gnome Panels not Visible</a> </p> </blockquote> <p>I installed the netbook version on my notebook and now I can't see taskbar or panel. If I switch to the desktop version everything is normal.</p>
null
-1
2017-04-13T12:24:13.310
2011-06-10T04:43:00.690
Ubuntu Netbook - I can't see panels
[ "ubuntu-netbook", "gnome-panel", "panel" ]
0
0
CC BY-SA 2.5
[]
null
[]
null
0
2011-06-10T11:55:22.147
null
filip
20322
1
20389
2011-01-06T17:03:15.557
3
82
<p>Several of my friends are in bands and looking at different means to distribute their music. What's the procedure for getting an Artist added to the Ubuntu One Music store? Costs, exclusiveness, contracts, profit sharing, etc?</p> <p>Is there a minimum price for a song or is that up to the artist/label?</p>
41
null
null
2011-01-06T23:14:35.593
How do I add artists to the Ubuntu One store?
[ "ubuntu-one" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>7digital manages the catalogue of songs. As far as I know, past the branding and sales kickbacks, Canonical has very little to do with its running.</p>\n\n<p>If you want something adding, you'll needed it added to 7digital's main catalogue. To do that you'll need to contact 7digital's business arm and work out a deal (where you can also get answers for your other sub-questions).</p>\n\n<p>They have a separate contact page (and website for that matter) for business-related queries here:</p>\n\n<p><a href=\"http://about.7digital.net/Contacts\" rel=\"nofollow\">http://about.7digital.net/Contacts</a></p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T23:14:35.593", "id": "20389", "lastActivityDate": "2011-01-06T23:14:35.593", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "449", "parentId": "20322", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>7digital manages the catalogue of songs. As far as I know, past the branding and sales kickbacks, Canonical has very little to do with its running.</p>\n\n<p>If you want something adding, you'll needed it added to 7digital's main catalogue. To do that you'll need to contact 7...
null
null
null
null
null
20323
1
null
2011-01-06T17:12:03.050
5
1526
<p>I'm trying to reduce used space after running disk usage analyser, since I'm using a 40GB SSD. The icons use quite a bit of space! Could I delete those that I don't use, such as humanity? (I use Faenza-Dark) </p> <p>If it is possible, what would be the best way to this? as when I attempt to remove humanity in the Software Centre it says the software-centre itself must be removed. Similar problems arise with synaptic package manager.</p> <p>I was wary of just deleting the unused directories in usr/share/icons/.</p> <p>Thanks for the help!</p>
null
null
null
2011-04-07T00:39:38.127
Can you delete the Humanity icon theme safely?
[ "themes", "delete", "icons", "cleanup" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Well, first switch to an icon theme other than Humanity?</p>\n\n<pre><code>System-Preferences-&gt;Appearence-&gt;Customize-&gt;Icons\n</code></pre>\n\n<p>And then maybe remove the package instead of just deleting them:</p>\n\n<pre><code>sudo apt-get remove humanity-icon-theme...
null
null
null
null
Alex
20326
1
20401
2011-01-06T17:21:11.280
3
377
<p>I copied my panel launchers verbatim from 8.04 to 10.04, residing in both systems in the same path:</p> <pre><code>$HOME/.gnome2/panel2.d/default/launchers </code></pre> <p>However, for some reason, they are not visible on 10.04's GNOME panel.</p> <p>Why?</p> <p><strong>Update 1</strong>: In my attempts to troubleshoot the problem I:</p> <ol> <li>Verified that copied 8.04 launchers have same permissions as manually created 10.04 launchers (-rwxr-xr-x).</li> <li>Added the first line as: #!/usr/bin/env xdg-open</li> <li>Logged off, then logged on.</li> <li>Rebooted.</li> </ol> <p><strong>Update 2</strong>: I manually created a new launcher which would duplicate the functionality of a copied one. This one of course shows up and so I went ahead and compared the two, step-by-step bringing them to being <strong>identical</strong>! (copied icon paths, then removed the 'Encoding=UTF-8' line, etc.).</p> <p>None of the above helped. So the question remains: Why?</p> <p>Is there some type of "registry" out there?</p>
8018
8018
2011-01-06T18:26:17.947
2017-05-13T20:40:19.180
Why don't 8.04 panel launchers work on 10.04
[ "10.04", "gnome-panel", "launcher", "8.04" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The launchers are registered in subfolders of <code>/apps/panel/objects</code> in the <a href=\"https://help.ubuntu.com/community/GConfEditor\" rel=\"nofollow noreferrer\">GConf settings database</a>:</p>\n\n<p><a href=\"https://i.stack.imgur.com/XsoWA.png\" rel=\"nofollow noreferrer\"><img src=\"https://i.stack.imgur.com/XsoWA.png\" alt=\"Configuration Editor showing gnome-terminal launcher registration\"></a></p>\n\n<p>To backup all your panel launchers, you will need to copy both the launchers and their registrations:</p>\n\n<ol>\n<li>launchers: <code>$HOME/.gnome2/panel2.d/default/launchers/</code></li>\n<li>registrations: <code>$HOME/.gconf/apps/panel/objects/</code></li>\n</ol>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T01:28:28.160", "id": "20401", "lastActivityDate": "2017-05-13T20:40:19.180", "lastEditDate": "2017-05-13T20:40:19.180", "lastEditorDisplayName": null, "lastEditorUserId": "647868", "ownerDisplayName": null, "ownerUserId": "114", "parentId": "20326", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>The launchers are registered in subfolders of <code>/apps/panel/objects</code> in the <a href=\"https://help.ubuntu.com/community/GConfEditor\" rel=\"nofollow noreferrer\">GConf settings database</a>:</p>\n\n<p><a href=\"https://i.stack.imgur.com/XsoWA.png\" rel=\"nofollow no...
null
null
null
null
null
20330
1
20353
2011-01-06T17:49:35.720
101
278083
<p>I have a script in file <code>bla.sh</code> and it is executable. When I <strong>click</strong> on it, the script is executed and the window is closed. I'd like <strong>the window to stay open</strong>.</p> <p>Something like command <code>cmd /k** command</code> in Windows.</p> <p>P.S. I <strong>don't</strong> want to use <code>pause</code>, but I want to able to write more commands after the script was executed.</p>
8436
null
2013-01-29T10:02:39.113
2023-09-11T14:48:27.123
How to run a script without closing the terminal?
[ "command-line" ]
9
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Put <code>$SHELL</code> at the end of your script:</p>\n\n<p><img src=\"https://i.stack.imgur.com/FVWqG.png\" alt=\"alt text\"></p>\n\n<p>A small flaw: since <code>gnome-terminal</code> isn't running the <code>bash</code> as it's shell, it will regard it as an application and <em>display a warning</em> about it when you try to close the terminal:</p>\n\n<pre><code>There is still a process running in this terminal\nClosing the terminal will kill it.\n</code></pre>\n\n<p>I've found no nice way to hide this warning. If you want, you can disable it entirely by running:</p>\n\n<pre><code>gconftool --set /apps/gnome-terminal/global/confirm_window_close --type boolean false\n</code></pre>\n\n<p>This doesn't happen if you're using <code>xterm</code> instead of gnome-terminal; should it bother you.</p>\n", "commentCount": "6", "comments": [ { "creationDate": "2013-01-29T10:54:58.483", "id": "309847", "postId": "20353", "score": "28", "text": "You can use `exec $SHELL` instead of just `$SHELL` to make the warning go away without changing settings.", "userDisplayName": null, "userId": "2979" }, { "creationDate": "2016-09-05T10:26:40.607", "id": "1245942", "postId": "20353", "score": "3", "text": "But this solution creates an extra shell / process. Can this be avoided?", "userDisplayName": null, "userId": "305412" }, { "creationDate": "2016-09-05T12:04:54.817", "id": "1245984", "postId": "20353", "score": "0", "text": "I don't know of a way to do this, no. The problem is that you lose your handle on standard IO once the first bash process is finished, so you would have to do some trickery with a daemon that passes on these handles, which would then be more error-prone and annoying.", "userDisplayName": null, "userId": "1067" }, { "creationDate": "2020-02-11T22:51:22.810", "id": "2031510", "postId": "20353", "score": "0", "text": "On my system, `echo $SHELL` shows that the SHELL variable contains `/bin/bash`. Therefore, using `bash` in place of `$SHELL` is identical. Also, I've determined that all 3 of these at the end will keep the terminal open: `bash`, `eval bash`, `exec bash`, but only the latter, `exec bash`, will then allow you to close the terminal without it warning you a process is still running. Therefore, the best to use is `exec bash` or `exec $SHELL`, as @AndreaCorbellini says in his comment above.", "userDisplayName": null, "userId": "327339" }, { "creationDate": "2020-02-11T23:02:17.470", "id": "2031514", "postId": "20353", "score": "0", "text": "I made this an answer, since it should stand on its own as an answer: https://askubuntu.com/questions/20330/how-to-run-a-script-without-closing-the-terminal/1209836#1209836.", "userDisplayName": null, "userId": "327339" }, { "creationDate": "2023-09-11T11:24:58.617", "id": "2601215", "postId": "20353", "score": "0", "text": "It helped, caused to open a configuration window offering a combo to keep open.", "userDisplayName": null, "userId": "217777" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T18:51:44.043", "id": "20353", "lastActivityDate": "2011-01-06T20:01:18.400", "lastEditDate": "2011-01-06T20:01:18.400", "lastEditorDisplayName": null, "lastEditorUserId": "1067", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "20330", "postTypeId": "2", "score": "118" }
[ { "accepted": true, "body": "<p>Put <code>$SHELL</code> at the end of your script:</p>\n\n<p><img src=\"https://i.stack.imgur.com/FVWqG.png\" alt=\"alt text\"></p>\n\n<p>A small flaw: since <code>gnome-terminal</code> isn't running the <code>bash</code> as it's shell, it will regard it as an application and...
null
null
null
user25656
null
20343
1
null
2011-01-06T18:13:58.830
4
199
<p>I'm trying to create a new UbuntuOne account, and getting this: <img src="https://i.stack.imgur.com/qlsC1.png" alt="alt text"></p> <p>The email addresses are the same in both fields, and the password meets the criteria set. What exactly do the triangle icons mean? There's no alt text when I mouse over them, so I have no idea what it thinks is wrong with the new account setup information I'm providing.</p>
2664
866
2012-05-10T10:24:48.550
2012-05-10T10:24:48.550
What does this icon mean in the UbuntuOne sign up screen?
[ "ubuntu-one", "single-sign-on" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>I'm sorry it isn't working for you. You <em>should</em> have an “on hover” text for those alert icons; in fact, I can see them right now. However, the only thing I can think of that would produce the alert in your case is that you <em>already</em> have an SSO account with tha...
null
null
null
null
null
20350
1
20360
2011-01-06T18:43:42.340
2
229
<p>I remember that in old linux <strong>before closing system</strong> I had to <strong>manually unmount</strong> other partitions(<strong>ntfs/fat32</strong>). Do I have to do that in Ubuntu or is it magically <strong>umounted before shutdown</strong> by the system?</p>
8436
null
null
2011-01-07T19:19:00.203
Do I have to unmount not-linux partitions?
[ "wubi" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>No, all filesystems which reside in the <code>/etc/fstab</code> file, will be automatically unmounted before the system shuts down.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T19:26:01.780", "id": "20360", "lastActivityDate": "2011-01-07T19:19:00.203", "lastEditDate": "2011-01-07T19:19:00.203", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "7448", "parentId": "20350", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>No, you don't, all mounted partitions are unmounted before shutdown.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T18:49:55.853", "id": "20352", "lastActivityD...
null
null
null
null
null
20355
1
20357
2011-01-06T19:02:29.463
10
28294
<p>By mistake I have installed 64-bit linux(hey! it happens to every1!). How can I run 32-bit app under that linux?</p>
8436
null
null
2014-01-02T19:31:21.733
Running 32-bit app under 64-bit linux
[ "64-bit", "32-bit" ]
3
4
CC BY-SA 2.5
[ { "creationDate": "2011-01-06T19:20:17.953", "id": "21911", "postId": "20355", "score": "0", "text": "which application are you trying to run ?", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-06T19:30:07.700", "id": "21912", "postId": "20355", ...
{ "accepted": true, "body": "<p>Most applications (Well, all applications) that are in the repo will work with 64bit versions of Ubuntu. So things like Firefox, Gedit, Chromium, etc. The majority of applications that are only i386/x86_32bit <em>only</em> will still install and run without any additional changes needed. Even less will have issues with linked or shared system libraries. You can install the <code>ia32-libs</code> package which will install most needed 32bit shared libraries needed for 32bit software to work.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2013-01-24T11:44:29.440", "id": "307114", "postId": "20357", "score": "3", "text": "This is a bit outdated as `ia32-libs` is before the Mutliarch feature in APT appeared. See [this answer](http://askubuntu.com/questions/238006/why-does-my-64-bit-system-look-for-32-bit-repos/238043#238043) for more information.", "userDisplayName": null, "userId": "88802" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T19:10:38.117", "id": "20357", "lastActivityDate": "2011-01-06T19:10:38.117", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "41", "parentId": "20355", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>Most applications (Well, all applications) that are in the repo will work with 64bit versions of Ubuntu. So things like Firefox, Gedit, Chromium, etc. The majority of applications that are only i386/x86_32bit <em>only</em> will still install and run without any additional cha...
null
null
2015-04-22T15:58:10.087
null
null
20356
1
20527
2011-01-06T19:06:14.787
3
2036
<p>i tried to setup my printer in Ubuntu 10.10. I had to use special guide to install because Canon used libcupsys2 in its packages and ubuntu expects libscupsys i followed this <a href="http://www.viilinux.de/2010/08/canon-pixma-mp540-unter-ubuntu/" rel="nofollow noreferrer">guide</a> in reference to this <a href="http://ubuntuforums.org/showpost.php?p=8191956&amp;postcount=1" rel="nofollow noreferrer">advice</a>.</p> <p>The first problem was this <a href="https://askubuntu.com/questions/20318/adding-printer-dialog-asks-for-root-password">one</a> (the ubuntu "add printer dialog asked for root credentials". The suggested workarout in <a href="https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/387970" rel="nofollow noreferrer">Launchpad</a> to create a root password worked.</p> <p>Now i added the printer. It's available for printing. Then i got an error message "cups insecure filter" which prevented me from printing. That could be solved by setting the need root rights in the /usr/lib/cups/filter/ directory. The error message disappeared after restarting cups service. Now it should work but it doesn't.</p> <p><strong>The main problem is now, the printer seems to be proper setup but when i try to print a document, the printer icon appears for short time in gnomepanel. There's a printing job in Queue which got completed, but the printer doesn't print.</strong></p> <p>I attached the Debuglog provided by printer error control, had to upload to another site, since it was to big in the question body here. Perhaps someone can identify the problem with it?</p> <p>Note: i know that it once worked fine with an older release of Ubuntu, but not sure which version this was.</p>
7155
10616
2020-03-16T14:20:59.603
2020-03-16T14:20:59.603
Printer Canon MP540 succesfully added finally but doesn't print? (Attached Debug log)
[ "printing", "canon" ]
1
0
CC BY-SA 4.0
[]
{ "accepted": true, "body": "<p>Ok, i tried several ways to get the printer running.</p>\n\n<p>One way was to install the libcupsys transitional package, it let me install the debian drivers version 3.0 for mp540. - the printer didn't work</p>\n\n<p>The other way was to customize the packages to work with libcupsys as described in the linked guide above - this also wasn't succesful - the printer didn't work.</p>\n\n<p>The last idea, since the printer of the mp series seems to be very similar, was to try the drivers for the mp550 instead. the debian version was 3.2 (from 2010) as the mp540 debian drivers were 3.0 (from 2008). - They work perfectly. Same advice for the scan drivers. i used the linux scangear drivers 1.4 for mp550 (from 2010) and they work as a charme. So perhaps, if someone has the same problem use this drivers and it should work. Perhaps you could also need to install the <a href=\"http://security.ubuntu.com/ubuntu/pool/universe/c/cups/\" rel=\"nofollow\">libcupsys2_1.3.9-17ubuntu3.9_all.deb</a> transitional package, i tested this not extra since i had it installed.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T21:27:59.707", "id": "20527", "lastActivityDate": "2011-01-07T21:35:00.087", "lastEditDate": "2011-01-07T21:35:00.087", "lastEditorDisplayName": null, "lastEditorUserId": "7155", "ownerDisplayName": null, "ownerUserId": "7155", "parentId": "20356", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>Ok, i tried several ways to get the printer running.</p>\n\n<p>One way was to install the libcupsys transitional package, it let me install the debian drivers version 3.0 for mp540. - the printer didn't work</p>\n\n<p>The other way was to customize the packages to work with l...
null
null
null
null
null
20370
1
20386
2011-01-06T20:46:33.657
1
1319
<p>I need to change video codec, because of <a href="http://ubuntuforums.org/showthread.php?t=1471156#post9227044" rel="nofollow">this</a></p> <p>I'm new to ubuntu. How to do it?</p>
8436
null
null
2011-01-06T22:43:48.840
How to change video codec that is being use for videos?
[ "video", "codecs" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2016-06-03T16:41:26.033", "id": "1170589", "postId": "20370", "score": "0", "text": "I'm not clear on what you are looking for here. It's clear that you think you need to change a media files codec, but that's highly unlikely it's far more likely that you need to install a cod...
{ "accepted": true, "body": "<p>Download SMplayer - look it up how to install software in ubuntu if you haven't done that before. In SMplayer in settings you can choose which codec to use if SMplayer won't resolve your problem on it's own.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-06T22:43:48.840", "id": "20386", "lastActivityDate": "2011-01-06T22:43:48.840", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8392", "parentId": "20370", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>Download SMplayer - look it up how to install software in ubuntu if you haven't done that before. In SMplayer in settings you can choose which codec to use if SMplayer won't resolve your problem on it's own.</p>\n", "commentCount": "0", "comments": [], "communityO...
null
null
null
null
null
20372
1
20884
2011-01-06T21:13:16.383
1
1414
<p>I am trying to install VMWare Workstation 6.5.5 (64-bit) on Ubuntu 10.04 (64-bit), but at about 2/3 of the progress bar, it freezes where it says:</p> <pre><code>Installing VMWare Player 2.5.5 Configuring... </code></pre> <p>Interestingly, it is so frozen, that even after I hit cancel, it is still stuck.</p> <p>CPU consumption is at 0% and the command with which I launched the installer is:</p> <pre><code>sudo sh VMware-Workstation-6.5.5-328052.x86_64.bundle </code></pre> <p>Anyone has seen this before?</p> <p>Any idea why this is happening and how to solve this?</p>
8018
235
2011-01-10T15:02:50.227
2012-02-19T16:16:42.937
VMWare Workstation 6.5.5 Install Freezes
[ "10.04", "64-bit", "vmware" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Problem solved. A full description of the tricky steps needed to accomplish that can be found <a href=\"http://www.linuxquestions.org/questions/linux-virtualization-90/vmware-workstation-6-5-5-on-ubuntu-10-04-install-freezes-854709/#post4218918\" rel=\"nofollow\">here</a>.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-10T12:57:29.133", "id": "20884", "lastActivityDate": "2011-01-10T12:57:29.133", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8018", "parentId": "20372", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>Problem solved. A full description of the tricky steps needed to accomplish that can be found <a href=\"http://www.linuxquestions.org/questions/linux-virtualization-90/vmware-workstation-6-5-5-on-ubuntu-10-04-install-freezes-854709/#post4218918\" rel=\"nofollow\">here</a>.</p...
null
null
null
null
null
20377
1
20378
2011-01-06T21:32:42.127
54
23286
<p>What are transitional packages and what exact purpose do they have?</p>
7155
618353
2023-09-07T15:36:49.053
2023-09-07T15:36:49.053
What exact purpose do transitional packages have?
[ "package-management" ]
1
0
CC BY-SA 4.0
[]
{ "accepted": true, "body": "<p>They simplify the transition if a package gets renamed:</p>\n<p>Let's say we have a package called <code>mypackage</code> in the current release. Now for some reasons this packages gets renamed <code>mynewpackage</code> in the next release. As the package manager doesn't know anything about renaming packages it will treat <code>mypackage</code> and <code>mynewpackage</code> as different packages so that on upgrade users who have <code>mypackage</code> not get <code>mynewpackage</code> installed but stay with the old <code>mypackage</code> (if the dependencies allow that).</p>\n<p>To avoid this, the package maintainer simply creates a transitional package <code>mypackage</code> in the new release that doesn't have any files but just a depends on <code>mynewpackage</code> (this kind of package is called a &quot;<em>meta package</em>&quot;).</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-01-06T22:12:19.907", "id": "21939", "postId": "20378", "score": "1", "text": "is it like a pointer or a link that shows from the transitional package on the successor or did i misunderstand this? the old mypackage is completely removed and the new one is just available? i ask mainly because i have a driver problem with my printer, libcupsys was deprecated and libcups seems to be the successor, but the only drivers available from canon base on the old libcupsys. so how could such a transitional package help me in this case?", "userDisplayName": null, "userId": "7155" }, { "creationDate": "2011-01-07T20:49:43.963", "id": "22090", "postId": "20378", "score": "1", "text": "It's similar to a pointer but thinking this way may be misleading in some aspects as a transitional package is still a normal package except it doesn't contain any files but just metadata. What exactly is the problem with your printer driver? Since karmic libcupsys is a virtual package that is provided by libcups, so there shouln'd be dependency problems if the driver depends on libcupsys.", "userDisplayName": null, "userId": "2369" }, { "creationDate": "2019-10-15T21:05:56.713", "id": "1973237", "postId": "20378", "score": "0", "text": "I would upvote this answer if it linked to the page that specifically tells maintainers to do this: https://wiki.debian.org/RenamingPackages .", "userDisplayName": null, "userId": "45375" }, { "creationDate": "2021-07-08T11:47:48.933", "id": "2309147", "postId": "20378", "score": "0", "text": "To avoid what? Also, are transitional packages only for one transition? Let's say I have Ubuntu 20.04 and `mypackage`. I upgrade to 20.10, and I now I have `mypackage` (which becomes transitional) and (which depends on) `mynewpackage`. And then I upgrade to 21.04 and it fails because 21.04 doesn't have `mypackage`? Meaning, when does `mypackage` get deleted? Do I have to delete it by hand? Does it happen automatically at some point?", "userDisplayName": null, "userId": "186999" }, { "creationDate": "2022-05-09T06:57:11.083", "id": "2444855", "postId": "20378", "score": "0", "text": "@x-yuri To avoid users with the original package not getting the renamed version.", "userDisplayName": null, "userId": "39694" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-01-06T21:53:51.740", "id": "20378", "lastActivityDate": "2023-09-07T15:36:16.780", "lastEditDate": "2023-09-07T15:36:16.780", "lastEditorDisplayName": null, "lastEditorUserId": "618353", "ownerDisplayName": null, "ownerUserId": "2369", "parentId": "20377", "postTypeId": "2", "score": "50" }
[ { "accepted": true, "body": "<p>They simplify the transition if a package gets renamed:</p>\n<p>Let's say we have a package called <code>mypackage</code> in the current release. Now for some reasons this packages gets renamed <code>mynewpackage</code> in the next release. As the package manager doesn't kno...
null
null
null
null
null
20379
1
null
2011-01-06T22:09:26.930
2
862
<p>On Karmic (9.10), my system time is currently off by 17 minutes, e.g. when I type date on the terminal I get <code>Thu Jan 6 16:22:29 CST 2011</code> while the correct time is 16:05pm. I went through the standard time set and cannot fix this.</p> <p>If it were off by a multiple of an hour I would blame timezone or daylight savings time settings, but 17 minutes, I have no idea.</p> <p>Thanks</p>
8466
1067
2011-01-06T22:13:09.407
2011-01-07T03:58:01.683
System time off by a small amount
[ "time" ]
2
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-06T22:14:05.677", "id": "21940", "postId": "20379", "score": "0", "text": "What happens when you try to set the time?", "userDisplayName": null, "userId": "1067" }, { "creationDate": "2011-01-06T22:26:33.773", "id": "21942", "postId": "20379", ...
null
[ { "accepted": null, "body": "<p>It may be your BIOS time.\n\"Your computer has two timepieces; a battery-backed one that is always running (the hardware, BIOS, or CMOS clock), and another that is maintained by the operating system currently running on your computer (the system clock). The hardware clock is ...
null
null
null
null
null
20380
1
20420
2011-01-06T22:15:07.157
3
1104
<p>I just switched from Arch Linux to Ubuntu 10.10. I'm running the Fluxbox window manager, and I use xlockmore to lock my screen with the following key shortcut:</p> <pre><code>192 :Exec xlock-mode marquee +usefirst -icongeometry 240x240 -message "back in a minute..." </code></pre> <p>The problem I'm having is that xlock is definitely <em>not</em> using my first key as part of my password. Instead, it uses some randomized fade pattern to fade to the password screen. I find this highly annoying, as when I get back to my desk and start entering my password it doesn't register password characters until the fade pattern is complete.</p> <p>I've also tried the following modifications with no difference:</p> <pre><code>192 :Exec xlock -mode marquee -usefirst -icongeometry 240x240 -message "back in a minute..." 192 :Exec xlock -mode marquee -icongeometry 240x240 -message "back in a minute..." </code></pre> <p>The first example worked flawlessly on Arch. Does Ubuntu have some sort of system default that you can't override on the command-line?</p>
8467
711
2011-01-08T03:13:31.360
2011-01-08T03:13:31.360
How to make xlock use the first key I hit as a part of my password
[ "10.10", "screensaver", "lock-screen", "unlock" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I've just tried both your first example (the one with <code>+usefirst</code>) and the second one (the one with <code>-usefirst</code>); the first one didn't use the first key, but the second one did. This is in 11.04, which has version 1:5.31-1, so maybe it's that; just in case, I dumped it into my junk ppa (<code>ppa:chipaca/junk</code>) and it's building for maverick right now.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-07T20:49:01.660", "id": "22089", "postId": "20420", "score": "0", "text": "Let me know if that works out. I'm not averse to building from source. And I didn't check versions or anything, but it's highly likely that the version I got from Arch was newer than what 10.10 is using...", "userDisplayName": null, "userId": "8467" }, { "creationDate": "2011-01-08T03:13:06.040", "id": "22124", "postId": "20420", "score": "0", "text": "@alesplin the .deb built, so please go ahead and test it on Maverick. If you'd rather not add the ppa, [download the packages manually](https://launchpad.net/~chipaca/+archive/junk/+packages).", "userDisplayName": null, "userId": "711" }, { "creationDate": "2011-01-08T23:41:22.627", "id": "22224", "postId": "20420", "score": "0", "text": "thanks. I'll install it first thing when I get to work on Monday.", "userDisplayName": null, "userId": "8467" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T04:43:23.043", "id": "20420", "lastActivityDate": "2011-01-07T04:43:23.043", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "711", "parentId": "20380", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>I've just tried both your first example (the one with <code>+usefirst</code>) and the second one (the one with <code>-usefirst</code>); the first one didn't use the first key, but the second one did. This is in 11.04, which has version 1:5.31-1, so maybe it's that; just in ca...
null
null
null
null
null
20384
1
43819
2011-01-06T22:32:27.377
3
755
<p><img src="https://i.stack.imgur.com/eYtAN.png" alt="alt text"></p> <p>Well i really don't know how is it called but i'd like to know if i can change the position where it shows (top right corner), since i no longer have GNOME panels anywhere i don`t like that popup being there.</p>
4203
235
2011-01-06T22:37:24.900
2011-05-19T09:33:07.457
How to change the position of the volume up/down/mute notification popup?
[ "10.10", "gnome", "notify-osd" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>PATCHED NOTIFYOSD UPDATES: OPTION TO PLACE THE NOTIFICATIONS IN DIFFERENT SCREEN CORNERS, TIMEOUT FIX</p>\n\n<p><strong>install NotifyOSD</strong></p>\n\n<pre><code> sudo add-apt-repository ppa:leolik/leolik\n sudo apt-get update &amp;&amp; sudo apt-get upgrade\n</code></pre>\n\n<p><strong>Then restart it</strong> </p>\n\n<pre><code> pkill notify-osd\n</code></pre>\n\n<p>Now, to place the notification bubbles in a different screen corner, use the following command in a terminal:</p>\n\n<pre><code> gconftool-2 -s /apps/notify-osd/gravity --type=int [number]\n</code></pre>\n\n<p>where is [number] can be:\n1 - top-right corner\n2 - middle-right\n3 - bottom-right corner\n4 - bottom-left corner\n5 - middle-left\n6 - top-left corner</p>\n\n<p><a href=\"http://www.webupd8.org/2010/07/patched-notifyosd-updates-option-to.html\" rel=\"nofollow\">Source</a></p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-05-19T09:33:42.137", "id": "48037", "postId": "43819", "score": "0", "text": "this is more or less what i wanted to do", "userDisplayName": null, "userId": "4203" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-05-19T09:33:07.457", "id": "43819", "lastActivityDate": "2011-05-19T09:33:07.457", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "4203", "parentId": "20384", "postTypeId": "2", "score": "0" }
[ { "accepted": null, "body": "<p>NotifyOSD Config is your solution :) You can read up more here:</p>\n\n<p><a href=\"http://www.omgubuntu.co.uk/2010/06/customize-the-ubuntu-notification-bubbles/\" rel=\"nofollow\">http://www.omgubuntu.co.uk/2010/06/customize-the-ubuntu-notification-bubbles/</a></p>\n", "...
null
null
null
null
null
20385
1
20415
2011-01-06T22:38:49.210
4
461
<p>LibreOffice and Banshee are set to replace OpenOffice and Rhythmbox as we move from 10.10 to 11.04. Doing a fresh install obviously makes these new applications the default ones.</p> <p>However, if I choose to upgrade via the update manager, will the old applications be uninstalled and the new ones installed automatically as replacement, or do I have to do these manually so that I get the same experience as a fresh install?</p>
null
null
2011-05-26T20:44:48.600
2012-06-12T14:13:45.233
Change of default applications during upgrade
[ "upgrade" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Upgrading will give you the new default applications but will not remove the old defaults because many people may not want the old applications to go away. For instance, Gimp used to be in the default install. Those that don't want the old applications are free to remove them manually.</p>\n\n<p>The exception to this is if new tools conflict with previous tools, then the previous tools will be removed, but this shouldn't be the case with apps like music players or photo editors.</p>\n\n<p>LibreOffice as far as I can see is replacing OpenOffice.org. The version of OpenOffice.org that Ubuntu and most other Linux distributions were shipping had several patches from Novell that Sun/Oracle never accepted but are now included in LibreOffice. I don't even think there will be a 3.3 build of OpenOffice.org in the Ubuntu repositories and trying to keep both installed isn't really useful.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-07T04:49:38.200", "id": "21962", "postId": "20415", "score": "2", "text": "just adding tou your answer, installing libreoffice will completely remove openoffice", "userDisplayName": null, "userId": "4203" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T04:21:41.737", "id": "20415", "lastActivityDate": "2011-01-07T04:21:41.737", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1579", "parentId": "20385", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>I always setup a second user on a new system. \nThen I log into that new user account to see what changes there are in comparison to my old user account which kept my settings (including my defaults!). \nSometimes it's quite nice to see some changes for the good. </p>\n\n<p>A...
null
null
null
user7182
user7182
20390
1
20549
2011-01-06T23:24:14.673
10
7387
<p>How can I enable the root account? I know it is not usually recommended but I'd like to setup a non-interactive script to backup my server using rsync. I could use <code>--rsync-path="sudo rsync"</code> but then I would need to store my sudo password in clear which seems much worse than enabling the root account.</p>
2331
169736
2014-04-07T19:01:21.983
2014-04-07T19:01:21.983
Should I enable root account for rsync?
[ "rsync", "user-management" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ol>\n<li>Create new, separate <code>mybackup</code> user accounts on the client and server</li>\n<li>Lock the passwords with <code>sudo passwd -l mybackup</code> for these accounts to prevent direct login</li>\n<li>Allow, via <code>sudo</code>, those new accounts to run a very specific <code>/usr/bin/rsync/ --some-long-command /from/here /to/there</code> command as root with <code>NOPASSWD:</code> in <code>/etc/sudoers</code> using <code>sudo visudo</code></li>\n<li>Create new passwordless SSH keys for the local to the remote host using <code>sudo -u mybackup ssh-keygen</code></li>\n<li>Add to <code>sudo -u crontab -e</code> on one or other end to run the remote <code>rsync</code> using <code>ssh</code> and the keys as the transport</li>\n</ol>\n\n<p>This way the only command that <em>can</em> be run as root is the one that you have explicitly allowed, and the only remote user that can activate it is the holder of the other half of the installed ssh keypair, which because it also has the password locked can only be somebody with sudo access themselves, or the crontab you set up.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-08T17:02:32.427", "id": "22176", "postId": "20549", "score": "0", "text": "That's exactly what I didn't think of allowing a very specific command in sudoers (I allowed 'rsync'). Great suggestion!", "userDisplayName": null, "userId": "2331" }, { "creationDate": "2013-06-05T20:38:43.877", "id": "383347", "postId": "20549", "score": "2", "text": "+1 for noting \"a very specific ... command\". Otherwise, giving a user the right to run `sudo rsync` and allowing the user to choose the options passed to rsync means that the user can use rsync to read/write the `/etc/sudoers` file for example, and grant himself full sudo access.", "userDisplayName": null, "userId": "78471" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T01:23:27.867", "id": "20549", "lastActivityDate": "2011-01-08T01:23:27.867", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "7702", "parentId": "20390", "postTypeId": "2", "score": "10" }
[ { "accepted": null, "body": "<p>You could (but should not) give the root user a password with</p>\n\n<pre><code>sudo passwd root\n</code></pre>\n\n<p>Edit: Setuid bit does not work for scripts.\nOtherwise, you could use the setuid bit on the backup program.</p>\n\n<pre><code>sudo chown root backup\nsudo chm...
null
null
null
null
null
20393
1
20439
2011-01-06T23:46:20.447
75
192953
<p>My laptop has recently started to become a bit unreliable, and for some reason I started to suspect that my HDD was starting to fail. After a bit of hunting on the internet, I found Ubuntu's Disk Utility in the System menu and ran the long SMART diagnostics from this.</p> <p>However, since the documentation for Disk Utility is very poor (<code>palimpsest</code>?), I'm not sure how to interpret the results:</p> <p><img src="https://i.stack.imgur.com/Og389.png" alt="Value over 50 million for a read-error rate, yet the test is good?!"></p> <p>For example, the <em>Read Error Rate</em> is over 50 million (!), yet the Assessment is rated "Good". </p> <p>So would someone mind explaining to me how to interpret the results of these tests (especially the Normalized, Worst, Threshold and Value numbers)? And maybe tell me what they think of the results I got for my HDD? (Thanks) </p>
128
null
null
2023-02-04T19:46:14.860
How Do I interpret HDD S.M.A.R.T Results?
[ "hard-drive", "smart" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T08:47:04.167", "id": "21979", "postId": "20393", "score": "1", "text": "Has the \"Hardware ECC recovered\" same value as \"Read error rate\"? My disk has 676 power cycles, was powered on 285 days, and has 193M errors. Compared to mine, your disk has way too much err...
{ "accepted": true, "body": "<p>You have a good description of how SMART works on <a href=\"https://en.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology\" rel=\"nofollow noreferrer\">wikipedia</a>. But a quick intro:</p>\n<ul>\n<li><p>Value: This is the raw value that the controller reports. Usually it's an easy to understand value (like power on hours or temperature), but sometimes it isn't (like the read error rate). Different manufacturers can use different structures and meanings for this data.</p>\n</li>\n<li><p>Normalized: This is the above value normalized so a higher value is always better. So a 114 in read/error rates is better than 113. Again, how your hard drive converts raw data to normalized value is vendor specific.</p>\n</li>\n<li><p>Worst: The worst <em>normalized</em> value that your drive had in the past (where 99 is likely the factory setting).</p>\n</li>\n<li><p>Threshold: When the <em>normalized</em> value is <em>lower</em> than this value the drive is likely to fail.</p>\n</li>\n</ul>\n<p>So, your hard disk seem to be ok. The value of the read error rate is not the times that your drive failed, but some data struct that depends on your disk manufacturer.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2019-04-08T05:18:36.833", "id": "1875560", "postId": "20439", "score": "0", "text": "if a particular drive is not reporting a *normalized* value, then does that mean *worst* and *threshold* will be reported in terms or do all drives use normalized values and only some choose to label them as just \"value\"?", "userDisplayName": null, "userId": "645247" }, { "creationDate": "2022-04-16T10:25:57.980", "id": "2435473", "postId": "20439", "score": "0", "text": "When it comes to error rates, surely lower numbers are better than higher numbers, right? (More errors per second) Why would a higher number be better here?", "userDisplayName": null, "userId": "2355" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 4.0", "creationDate": "2011-01-07T08:38:08.740", "id": "20439", "lastActivityDate": "2023-02-04T19:46:14.860", "lastEditDate": "2023-02-04T19:46:14.860", "lastEditorDisplayName": null, "lastEditorUserId": "39452", "ownerDisplayName": null, "ownerUserId": "211", "parentId": "20393", "postTypeId": "2", "score": "75" }
[ { "accepted": true, "body": "<p>You have a good description of how SMART works on <a href=\"https://en.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology\" rel=\"nofollow noreferrer\">wikipedia</a>. But a quick intro:</p>\n<ul>\n<li><p>Value: This is the raw value that the controller repo...
null
null
null
null
null
20397
1
null
2011-01-07T01:09:32.470
1
1320
<p>How to synchronize an already converted video for the ipod touch to an ipod touch that hasn't been jailbroken? I have an unjailbroken ipod and i want to put videos to it. I have no problem adding music files to it. The version is 4.1 and Ubuntu is 10.04.1 Also, i want to know how to add games to it without using wifi but using Ubuntu.</p>
8477
1067
2011-01-17T16:05:50.607
2013-03-25T09:25:36.030
How to sync an already converted video to ipod touch 4.1
[ "ipod" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T01:55:01.570", "id": "21954", "postId": "20397", "score": "0", "text": "@user8477: Could you remove the \"Also how...add games...\" part and ask it as a separate question?", "userDisplayName": null, "userId": "4776" }, { "creationDate": "2011-01-07T1...
null
[ { "accepted": null, "body": "<p><a href=\"http://www.youtube.com/watch?v=Wfa025b6cos&amp;feature=related\" rel=\"nofollow\">http://www.youtube.com/watch?v=Wfa025b6cos&amp;feature=related</a> this might help you</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-07T21...
null
null
null
null
null
20399
1
20440
2011-01-07T01:24:45.080
12
920
<p>I have set up 3x3 workspace switcher, and I want my position to be on the central one by default. Is it possible?</p>
1119
527764
2017-02-22T07:47:55.967
2017-02-22T07:48:56.323
Position at central workspace on login
[ "compiz", "workspaces" ]
5
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Thanks to Marco, I have figured out a way using <code>wmctrl</code>. </p>\n\n<p>Because compiz workspaces are actually viewport of a single desktop, so the solution is to move the current viewport to cover the center region of the desktop. </p>\n\n<p>First, call <code>wmctrl -d</code> to get the information of current desktop: </p>\n\n<pre><code>read desktop_id _ast \\\n DG_ geometry \\\n VP_ viewport \\\n WA_ wa_off wa_size \\\n title \\\n &lt; &lt;(LANG=C wmctrl -d | grep '*')\n\ngeom_w=${geometry%x*}\ngeom_h=${geometry#*x}\n\n# The workarea size isn't accurate, because the top/bottom panel is excluded. \nviewport_w=${wa_size%x*}\nviewport_h=${wa_size#*x}\n\nrows=$((geom_w / viewport_w))\ncols=$((geom_h / viewport_h))\n\n# Fix the viewport size\nviewport_w=$((geom_w / rows))\nviewport_h=$((geom_h / cols))\n</code></pre>\n\n<p>Then, calculate the origin of the center viewport: </p>\n\n<pre><code>center_row=$((rows / 2))\ncenter_col=$((cols / 2))\n\ncenter_x=$((center_col * viewport_w))\ncenter_y=$((center_row * viewport_h))\n\ncenter_viewport=$center_x,$center_y\n</code></pre>\n\n<p>And move the viewport there: </p>\n\n<pre><code>wmctrl -o $center_viewport\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T08:42:22.540", "id": "20440", "lastActivityDate": "2011-01-07T08:42:22.540", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1119", "parentId": "20399", "postTypeId": "2", "score": "7" }
[ { "accepted": null, "body": "<p>Yes: install <a href=\"http://packages.ubuntu.com/wmctrl\" rel=\"nofollow noreferrer\">wmctrl</a></p>\n\n<pre><code>sudo apt-get install wmctrl\n</code></pre>\n\n<p>and create a file in <code>~/.config/autostart/wmctrl.desktop</code> with the following:</p>\n\n<pre><code>[Des...
null
null
null
null
null
20402
1
20410
2011-01-07T01:53:41.770
5
112
<p>I know there are lists of Ubuntu Members and rankings of people contributing to the 5-a-day project, but I was wondering if there is a record of signatories of the Canonical Contributor Agreement.</p>
null
235
2011-01-07T03:32:08.263
2011-01-07T03:42:38.413
Is there a public list anywhere of people who have signed the Canonical Contributor Agreement?
[ "canonical" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p><a href=\"https://launchpad.net/~contributor-agreement-canonical/+members#active\" rel=\"nofollow\">Yes</a>; people who have gone through the <a href=\"http://www.canonical.com/contributors\" rel=\"nofollow\">contributor agreement process</a> are active members of that group.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T03:35:49.403", "id": "20410", "lastActivityDate": "2011-01-07T03:42:38.413", "lastEditDate": "2011-01-07T03:42:38.413", "lastEditorDisplayName": null, "lastEditorUserId": "711", "ownerDisplayName": null, "ownerUserId": "711", "parentId": "20402", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p><a href=\"https://launchpad.net/~contributor-agreement-canonical/+members#active\" rel=\"nofollow\">Yes</a>; people who have gone through the <a href=\"http://www.canonical.com/contributors\" rel=\"nofollow\">contributor agreement process</a> are active members of that group....
null
null
null
null
user2405
20403
1
20409
2011-01-07T01:54:45.000
3
161
<p>Is it possible? or it's just a KDE specific feature?</p>
4203
4776
2011-01-07T02:08:49.630
2011-01-07T03:14:21.253
Can i Install new emoticons on Ubuntu as in Kubuntu?
[ "10.10", "gnome", "kde" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>What you are referring to specifically is a KDE specific feature, so no, you cannot do the same on Ubuntu.</p>\n\n<p>Pidgin and emesene support emoticon themes, so maybe you can give one of these two a try.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-07T03:39:34.440", "id": "21959", "postId": "20409", "score": "0", "text": "yeah, i was hoping i could do the same :(", "userDisplayName": null, "userId": "4203" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T03:14:21.253", "id": "20409", "lastActivityDate": "2011-01-07T03:14:21.253", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1992", "parentId": "20403", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>What you are referring to specifically is a KDE specific feature, so no, you cannot do the same on Ubuntu.</p>\n\n<p>Pidgin and emesene support emoticon themes, so maybe you can give one of these two a try.</p>\n", "commentCount": "1", "comments": [ { "c...
null
null
null
null
null
20405
1
null
2011-01-07T02:29:13.003
2
113
<p>I've been using a external 21.5' monitor for my laptop of 12.1' monitor, and moved my top panel to the right and add a new panel to the bottom edge of the screen. A screenshot of the right part of my desktop: </p> <p><a href="https://i.stack.imgur.com/kOHwT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kOHwT.png" alt="alt text"></a></p> <p>As you see, The window of the calender is out of the screen. The alt+left mouse button did not work. How do you move the calender window?</p> <p>update: I managed to come up with a solution to get the window or panel of cal in the screen. Just remove the panel of clock and re-add it. But unfortunately, the preferences are lost. You have to reset the preferences, such as locations...</p> <p>but after re-adding 2 locations, the window of cal panel was just shown as the same of the previous screenshot before.</p>
8478
114
2011-02-20T20:13:03.633
2011-05-30T22:04:32.360
The window of calender is out of the screen
[ "panel" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Right Click on the Date/Time, and Move. Now the Popup will come to the location where you have put your date/time. </p>\n\n<p><img src=\"https://i.stack.imgur.com/dYRxg.png\" alt=\"https://i.stack.imgur.com/dYRxg.png\"></p>\n", "commentCount": "1", "comments": [ ...
null
null
null
null
null
20406
1
null
2011-01-07T02:42:56.347
2
3817
<p>My server time seems to be off on my Apache2 install, how do i fix this? Just running purely "date" in terminal returns the right time but im not sure how to login to apache2 and change it? This is on my local Desktop LAMP stack btw...</p>
2490
235
2011-10-11T21:15:07.717
2011-10-11T21:15:07.717
Clock in Apache doesn't match system time
[ "10.10", "configuration", "apache2", "time" ]
1
2
CC BY-SA 3.0
[ { "creationDate": "2011-01-07T16:51:06.843", "id": "22050", "postId": "20406", "score": "0", "text": "What time is apache showing? Is it showing UTC? Which Ubuntu version are you using?", "userDisplayName": null, "userId": "1579" }, { "creationDate": "2011-01-07T16:51:58.403", ...
null
[ { "accepted": null, "body": "<p>PHP by default reports the current time in UTC (GMT) but in Debian &amp; Ubuntu, it should instead be using the system time. Try running the phpinfo script by saving this text in <code>var/www/phpinfo.php</code> and then accessing <a href=\"http://localhost/phpinfo.php\" rel=...
null
null
null
null
null
20414
1
20416
2011-01-07T04:10:13.057
928
1980230
<p>How can I find and replace specific words in a text file using command line?</p>
4455
208574
2014-09-05T20:24:45.930
2023-02-03T23:27:12.483
Find and replace text within a file using commands
[ "command-line", "text-processing" ]
8
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<pre><code>sed -i 's/original/new/g' file.txt\n</code></pre>\n\n<p>Explanation:</p>\n\n<ul>\n<li><code>sed</code> = Stream EDitor</li>\n<li><code>-i</code> = in-place (i.e. save back to the original file)</li>\n<li><p>The command string:</p>\n\n<ul>\n<li><code>s</code> = the substitute command</li>\n<li><code>original</code> = a regular expression describing the word to replace (or just the word itself)</li>\n<li><code>new</code> = the text to replace it with</li>\n<li><code>g</code> = global (i.e. replace all and not just the first occurrence)</li>\n</ul></li>\n<li><p><code>file.txt</code> = the file name </p></li>\n</ul>\n", "commentCount": "19", "comments": [ { "creationDate": "2014-11-28T13:43:24.460", "id": "760602", "postId": "20416", "score": "0", "text": "How do you incorporate regex with this?", "userDisplayName": null, "userId": "253579" }, { "creationDate": "2014-11-28T17:38:57.687", "id": "760741", "postId": "20416", "score": "5", "text": "@Akiva If you include [regex special characters](https://www.gnu.org/software/sed/manual/html_node/Regular-Expressions.html#Regular-Expressions) in your search `sed` will match them. Add a `-r` flag if you want to use extended REs instead.", "userDisplayName": null, "userId": "194" }, { "creationDate": "2015-08-12T07:07:36.863", "id": "950866", "postId": "20416", "score": "1", "text": "Can I use the \"sed -i\" command when the strings \"original\" and \"new\" contain special characters like \"/\" or similar?", "userDisplayName": null, "userId": "380330" }, { "creationDate": "2015-08-12T18:34:18.247", "id": "951263", "postId": "20416", "score": "39", "text": "@mcExchange If it's specifically the `/` character that you need to match, you can just use some other character as the separator (e.g. `'s_old/text_new/text_g'`). Otherwise, you can put a `\\ ` before any of `$ * . [ \\ ^` to get the literal character.", "userDisplayName": null, "userId": "194" }, { "creationDate": "2015-10-20T11:59:44.203", "id": "1002633", "postId": "20416", "score": "0", "text": "I just tried this on a Unix (non-Linux) system and it somehow deleted the permissions on the file!?!", "userDisplayName": null, "userId": "185788" }, { "creationDate": "2015-10-21T17:39:32.940", "id": "1003847", "postId": "20416", "score": "4", "text": "@BrianZ As far as the file system is concerned the output of sed is a new file with the same name. It's one of the [commonly reported bugs that are not bugs](https://www.gnu.org/software/sed/manual/sed.html#Reporting-Bugs)", "userDisplayName": null, "userId": "194" }, { "creationDate": "2016-11-20T18:54:40.833", "id": "1309051", "postId": "20416", "score": "2", "text": "You may want `s/\\boriginal\\b/new/g` instead of `s/original/new/g` (`\\b` matches at a word boundary) to only replace whole words.", "userDisplayName": null, "userId": "333663" }, { "creationDate": "2016-12-06T18:16:21.283", "id": "1321637", "postId": "20416", "score": "27", "text": "The OSX command `sed -i '.bak' 's/original/new/g' file.txt` can also be run with a zero-length extension `sed -i '' 's/original/new/g' file.txt`, which will generate no backup.", "userDisplayName": null, "userId": "627873" }, { "creationDate": "2017-05-29T09:44:40.663", "id": "1452419", "postId": "20416", "score": "29", "text": "MacOS users will have to add ''\" after -i as a parameter for -i https://ed.gs/2016/01/26/os-x-sed-invalid-command-code/ so that the file will be overwritten.", "userDisplayName": null, "userId": "377594" }, { "creationDate": "2017-10-22T12:41:31.553", "id": "1549312", "postId": "20416", "score": "0", "text": "@cscarney I want to replace all `original` with `new` except `original.txt`. How can I do this?", "userDisplayName": null, "userId": "487981" }, { "creationDate": "2017-11-16T04:04:09.007", "id": "1568113", "postId": "20416", "score": "2", "text": "Not sure if this used to be correct, but I just tried this on the Mac and had to add `-e` before the regexp/replace statement (e.g. `sed -i -e 's/orig/new/g' file.txt`", "userDisplayName": null, "userId": "571286" }, { "creationDate": "2018-04-21T16:52:42.820", "id": "1669278", "postId": "20416", "score": "0", "text": "**if your regex is failing, try with** `-r` **aka** `--regexp-extended` **flag**. My simple pattern was failing without this. From the manual pages: *\"POSIX.2 BREs should be supported, but they aren't completely because of performance problems. The \\n sequence in a regular expression matches the newline character, and similarly for \\a, \\t, and other sequences.\"*", "userDisplayName": null, "userId": "473869" }, { "creationDate": "2019-03-03T12:56:49.897", "id": "1856819", "postId": "20416", "score": "0", "text": "What if it's multiline to multiline??", "userDisplayName": null, "userId": "307184" }, { "creationDate": "2020-05-01T13:31:41.597", "id": "2077060", "postId": "20416", "score": "0", "text": "Anyway to disable the `RegEx` mode and have them as strings only?", "userDisplayName": null, "userId": "712598" }, { "creationDate": "2021-01-29T19:15:39.967", "id": "2233194", "postId": "20416", "score": "0", "text": "What if I have to replace all occurrences in all files of any extension in the current dir?", "userDisplayName": null, "userId": "1067673" }, { "creationDate": "2021-01-30T20:13:35.597", "id": "2233619", "postId": "20416", "score": "1", "text": "@Maseed you can use a glob (e.g. `*`, `*.txt`) in place of a file name", "userDisplayName": null, "userId": "194" }, { "creationDate": "2021-12-02T09:15:16.540", "id": "2375982", "postId": "20416", "score": "0", "text": "is it possible to replace the text but the text I am going to replace it with is coming from another file", "userDisplayName": null, "userId": "803774" }, { "creationDate": "2021-12-03T16:18:30.440", "id": "2376619", "postId": "20416", "score": "0", "text": "@NeonWarge https://askubuntu.com/questions/540532/replacing-a-string-by-a-file-using-sed", "userDisplayName": null, "userId": "194" }, { "creationDate": "2022-01-05T18:54:41.067", "id": "2390983", "postId": "20416", "score": "0", "text": "In case you are trying to replace paths containing the `/` char, you must use a different char in the `sed` command. It allows any char to be used there I believe, so I recommend `|`, like this: `sed -i 's|original|new|g' file.txt`", "userDisplayName": null, "userId": "327339" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T04:23:29.613", "id": "20416", "lastActivityDate": "2014-01-17T23:02:45.600", "lastEditDate": "2014-01-17T23:02:45.600", "lastEditorDisplayName": null, "lastEditorUserId": "176889", "ownerDisplayName": null, "ownerUserId": "194", "parentId": "20414", "postTypeId": "2", "score": "1488" }
[ { "accepted": true, "body": "<pre><code>sed -i 's/original/new/g' file.txt\n</code></pre>\n\n<p>Explanation:</p>\n\n<ul>\n<li><code>sed</code> = Stream EDitor</li>\n<li><code>-i</code> = in-place (i.e. save back to the original file)</li>\n<li><p>The command string:</p>\n\n<ul>\n<li><code>s</code> = the sub...
null
null
null
null
null
20419
1
null
2011-01-07T04:35:44.347
4
516
<p>Whats common among Skype, Opera, OpenOffice in Ubuntu ? Whenever I open these applications I get logged off and shows back me the login screen. This started happening since the 10.10 upgrade.</p> <p>Forgot to mention :</p> <ol><li>Yes, its x64.</li><li>Each time I open these applications, the UI shows and <i>then</i> crashes.</li></ol> <p>I started each app &amp; logged the last few lines of /var/log/syslog after each crash. Looks like something to do with sound drivers ?</p> <p><b>Opera :</b><pre>Jan 8 09:33:20 al-ubuntu pulseaudio[11532]: pid.c: Daemon already running. Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 8. Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: snd_pcm_dump(): Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: Soft volume PCM Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: Control: PCM Playback Volume Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: min_dB: -51 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: max_dB: 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: resolution: 256 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: Its setup is: Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: stream : CAPTURE Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: access : MMAP_INTERLEAVED Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: format : S16_LE Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: subformat : STD Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: channels : 2 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: rate : 44100 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: exact rate : 44100 (44100/1) Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: msbits : 16 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: buffer_size : 88192 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_size : 44096 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_time : 999909 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: tstamp_mode : ENABLE Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_step : 1 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: avail_min : 87310 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_event : 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: start_threshold : -1 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: stop_threshold : 6205960286516543488 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: silence_threshold: 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: silence_size : 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: boundary : 6205960286516543488 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: Its setup is: Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: stream : CAPTURE Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: access : MMAP_INTERLEAVED Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: format : S16_LE Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: subformat : STD Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: channels : 2 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: rate : 44100 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: exact rate : 44100 (44100/1) Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: msbits : 16 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: buffer_size : 88192 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_size : 44096 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_time : 999909 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: tstamp_mode : ENABLE Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_step : 1 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: avail_min : 87310 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: period_event : 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: start_threshold : -1 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: stop_threshold : 6205960286516543488 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: silence_threshold: 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: silence_size : 0 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: boundary : 6205960286516543488 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: appl_ptr : 87320 Jan 8 09:33:21 al-ubuntu pulseaudio[11429]: alsa-util.c: hw_ptr : 87320 Jan 8 09:33:22 al-ubuntu kernel: [ 4962.078306] opera[11036]: segfault at 261 ip 0000000000000261 sp 00007fffed7cd9a8 error 14 in opera[400000+122b000] anjanesh@al-ubuntu:~$</pre></p> <p><b>Skype</b><pre>Jan 8 09:40:21 al-ubuntu pulseaudio[12602]: pid.c: Daemon already running. Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 8. Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: snd_pcm_dump(): Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: Soft volume PCM Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: Control: PCM Playback Volume Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: min_dB: -51 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: max_dB: 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: resolution: 256 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: Its setup is: Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: stream : CAPTURE Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: access : MMAP_INTERLEAVED Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: format : S16_LE Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: subformat : STD Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: channels : 2 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: rate : 44100 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: exact rate : 44100 (44100/1) Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: msbits : 16 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: buffer_size : 88192 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_size : 44096 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_time : 999909 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: tstamp_mode : ENABLE Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_step : 1 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: avail_min : 87310 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_event : 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: start_threshold : -1 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: stop_threshold : 6205960286516543488 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: silence_threshold: 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: silence_size : 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: boundary : 6205960286516543488 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: Its setup is: Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: stream : CAPTURE Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: access : MMAP_INTERLEAVED Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: format : S16_LE Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: subformat : STD Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: channels : 2 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: rate : 44100 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: exact rate : 44100 (44100/1) Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: msbits : 16 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: buffer_size : 88192 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_size : 44096 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_time : 999909 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: tstamp_mode : ENABLE Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_step : 1 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: avail_min : 87310 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: period_event : 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: start_threshold : -1 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: stop_threshold : 6205960286516543488 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: silence_threshold: 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: silence_size : 0 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: boundary : 6205960286516543488 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: appl_ptr : 87312 Jan 8 09:40:23 al-ubuntu pulseaudio[12485]: alsa-util.c: hw_ptr : 87312 anjanesh@al-ubuntu:~$</pre></p> <p><b>Open Office</b><pre>Jan 8 09:43:46 al-ubuntu pulseaudio[13157]: pid.c: Daemon already running. Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: snd_pcm_avail_delay() returned strange values: delay 0 is less than avail 16. Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: snd_pcm_dump(): Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: Soft volume PCM Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: Control: PCM Playback Volume Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: min_dB: -51 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: max_dB: 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: resolution: 256 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: Its setup is: Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: stream : CAPTURE Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: access : MMAP_INTERLEAVED Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: format : S16_LE Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: subformat : STD Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: channels : 2 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: rate : 44100 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: exact rate : 44100 (44100/1) Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: msbits : 16 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: buffer_size : 88192 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_size : 44096 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_time : 999909 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: tstamp_mode : ENABLE Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_step : 1 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: avail_min : 87310 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_event : 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: start_threshold : -1 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: stop_threshold : 6205960286516543488 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: silence_threshold: 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: silence_size : 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: boundary : 6205960286516543488 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: Its setup is: Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: stream : CAPTURE Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: access : MMAP_INTERLEAVED Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: format : S16_LE Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: subformat : STD Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: channels : 2 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: rate : 44100 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: exact rate : 44100 (44100/1) Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: msbits : 16 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: buffer_size : 88192 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_size : 44096 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_time : 999909 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: tstamp_mode : ENABLE Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_step : 1 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: avail_min : 87310 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: period_event : 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: start_threshold : -1 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: stop_threshold : 6205960286516543488 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: silence_threshold: 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: silence_size : 0 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: boundary : 6205960286516543488 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: appl_ptr : 87320 Jan 8 09:43:48 al-ubuntu pulseaudio[13064]: alsa-util.c: hw_ptr : 87320 anjanesh@al-ubuntu:~$</pre></p>
8481
10616
2011-03-18T23:05:21.163
2011-08-30T21:05:11.557
Opening Skype, Opera, OpenOffice logs me off
[ "10.10", "skype", "opera" ]
3
8
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T05:10:08.047", "id": "21964", "postId": "20419", "score": "0", "text": "I have a similar problem - but only with Skype, and it's random.", "userDisplayName": null, "userId": "1992" }, { "creationDate": "2011-01-07T05:43:15.370", "id": "21966", ...
null
[ { "accepted": null, "body": "<p>When you are presented with the login screen, it means your X-session crashed. You should investigate your logging, maybe it is a conflict with another package.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-08T10:51:11.663", ...
null
null
2012-02-04T01:34:39.727
null
null
20422
1
20441
2011-01-07T05:04:59.543
2
143
<p>Is there a way where I can get information about a package which is in Ubuntu Software Center, such as package-title package-size package-logos etc. through php or javascript?</p>
10051
235
2011-01-07T20:50:10.737
2011-01-07T20:50:10.737
How to get USC-package-info through php or javascript?
[ "software-center" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>To get packages information you would need to fetch it from the repository and import to your own datasource.</p>\n\n<p>To find the packages indexes which include title's, sisz'es you use:\n<a href=\"http://archive.ubuntu.com/ubuntu/dists/release/\" rel=\"nofollow\">http://archive.ubuntu.com/ubuntu/dists/release/</a> # each directory here is a repository section\n#\n<a href=\"http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz\" rel=\"nofollow\">http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz</a> # Select the desired arechitcture with binary-i386 or binary-amd64\nThe file containing the information is:\n<a href=\"http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.bz2\" rel=\"nofollow\">http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.bz2</a></p>\n\n<p>To get the thumbnail for a specific package:</p>\n\n<p><a href=\"http://screenshots.ubuntu.com/thumbnail/packagename\" rel=\"nofollow\">http://screenshots.ubuntu.com/thumbnail/packagename</a></p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-07T12:18:26.600", "id": "22002", "postId": "20441", "score": "0", "text": "Don't forget to set the the question as answered later :)", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-07T12:50:02.897", "id": "22007", "postId": "20441", "score": "0", "text": "But how do I get the logo of a package not the screenshots?", "userDisplayName": null, "userId": "10051" }, { "creationDate": "2011-01-07T13:27:43.727", "id": "22017", "postId": "20441", "score": "0", "text": "The icons are available from the app-install-data package, once installed the icons are available on your system at: /usr/share/app-install/icons/ .", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-07T20:33:07.400", "id": "22085", "postId": "20441", "score": "0", "text": "Many thanks.. faster response time than through a normal commercial support page .. really nice João ;)", "userDisplayName": null, "userId": "10051" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T08:57:50.883", "id": "20441", "lastActivityDate": "2011-01-07T08:57:50.883", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "742", "parentId": "20422", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>To get packages information you would need to fetch it from the repository and import to your own datasource.</p>\n\n<p>To find the packages indexes which include title's, sisz'es you use:\n<a href=\"http://archive.ubuntu.com/ubuntu/dists/release/\" rel=\"nofollow\">http://ar...
null
null
null
null
null
20423
1
null
2011-01-07T05:11:26.533
7
3696
<p>In order to lengthen the lifespan of my machine I am replacing the weakest link, the hard drive and installing a new OS.</p> <p>I had planned on using xp pro as my virtualbox host and ubuntu as guest.</p> <p>After messing with ubuntu desktop and server I am really impressed and am thinking of reversing the virtualbox setup; ubuntu host xp guest.</p> <p>I would use XP for Adobe Fireworks, Netflix, and iTunes (maybe) that's pretty much it.</p> <p>Any reason not to do ubuntu host with xp guest? I know the xp vbox will run slower as a guest but really how much slower?</p> <p>It's a desktop. 4gb ram, 500gb disk, Pent D 3.2 ghz</p>
8483
1067
2011-01-07T10:29:52.640
2012-03-09T17:37:18.697
VirtualBox host: Ubuntu vs. Windows XP
[ "virtualbox", "windows-xp" ]
8
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T15:10:57.373", "id": "22035", "postId": "20423", "score": "0", "text": "is there any particular reason why you use ubuntu? maybe cygwin is enough to server your purpose. if you just need the power of a nix terminal.", "userDisplayName": null, "userId": "8498...
null
[ { "accepted": null, "body": "<p>Just go ahead. You will be fine. </p>\n\n<blockquote>\n <p>4gb ram, 500gb disk, Pent D 3.2 ghz</p>\n</blockquote>\n\n<p>Pretty enough to run windows or any other os as Virtual Machine.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, ...
null
null
null
null
null
20424
1
20426
2011-01-07T05:20:21.090
-1
290
<p>I have install Sun Java 6 on an Ubuntu server and set an environment variable in the default profile as per the instructions at <a href="http://www.edugate.ie/workshop-guides/shibboleth-2-identity-provider-installation-linux-debian-or-ubuntu" rel="nofollow">http://www.edugate.ie/workshop-guides/shibboleth-2-identity-provider-installation-linux-debian-or-ubuntu</a></p> <p>I then try to run an installer for a Java servlet - but when I run it as myself, it cannot create the required directory in /opt. When I run it as sudo, I am told that JAVA_HOME is not correct and it doesn't even start the installer - shouldn't this be coming from /etc/profile like it is for my normal user?</p>
5826
null
null
2011-05-09T10:03:21.703
Installed Sun Java 6 - configuration problem when running as sudo
[ "10.04", "java" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>instead of running it via sudo, run it in a root shell...<br>\nsudo su<br>\nthen check your environment variables and fix as necessary\necho $JAVA_HOME<br>\nthen run the installer or set the variable if it needs setting</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-07T06:12:49.933", "id": "21967", "postId": "20426", "score": "0", "text": "ok - how do I check and fix?", "userDisplayName": null, "userId": "5826" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T05:46:11.183", "id": "20426", "lastActivityDate": "2011-01-07T06:16:26.357", "lastEditDate": "2011-01-07T06:16:26.357", "lastEditorDisplayName": null, "lastEditorUserId": "5768", "ownerDisplayName": null, "ownerUserId": "5768", "parentId": "20424", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>instead of running it via sudo, run it in a root shell...<br>\nsudo su<br>\nthen check your environment variables and fix as necessary\necho $JAVA_HOME<br>\nthen run the installer or set the variable if it needs setting</p>\n", "commentCount": "1", "comments": [ ...
null
null
null
null
null
20431
1
20645
2011-01-07T06:50:26.427
7
11175
<p>I was wondering if there was a simple way to close Teamviewer to the notification area like I would close Skype?</p> <p><strong>EDIT:</strong></p> <p>Just to clarify my initial post, I want to enable Teamviewer in the notification area so that I can close it in my open programs bar (click on x), and it would still be running in the notification area (Skype does that, I can option Banshee and Rhythmbox to do that, and Transmission does this too). All Tray puts it into the notification area, but the x still closes Teamviewer completely, and I have not found an optional setting in Teamviewer either.</p> <p>Thanks for the answer though Karni! ;)</p>
7983
44179
2013-04-15T19:13:02.667
2023-12-15T12:54:37.413
Teamviewer in notification area only
[ "notification-area" ]
4
1
CC BY-SA 3.0
[ { "creationDate": "2011-01-30T02:56:41.087", "id": "25965", "postId": "20431", "score": "0", "text": "It'll probably not be exactly what you want if I understand correctly, but have you seen http://askubuntu.com/q/20989/9656 ?", "userDisplayName": null, "userId": "9656" } ]
{ "accepted": true, "body": "<p>It's an application-specific behavior - you'd need to get the app makers to change it. However, moving it to another desktop will also cause it not to be an eyesore, while alltray as Karni suggested would fill the tray part.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-09T00:03:22.987", "id": "22225", "postId": "20645", "score": "0", "text": "Thanks Vadi, this has been my easyfix for a while now, I'll stick to it and whenever possible, suggest this feature to the app makers ;). Have a nice weekend!", "userDisplayName": null, "userId": "7983" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T18:21:21.247", "id": "20645", "lastActivityDate": "2011-01-08T18:32:11.607", "lastEditDate": "2011-01-08T18:32:11.607", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "4918", "parentId": "20431", "postTypeId": "2", "score": "3" }
[ { "accepted": null, "body": "<p>Sure, you can use alltray for that :)</p>\n\n<p>Look it up in Applications -> Ubuntu Software Center, or use this command:</p>\n\n<pre><code>sudo apt-get install alltray\n</code></pre>\n\n<p>EDIT\nTo minimize the program, run alltray and point to the Window of it. It will hid...
null
null
null
null
null
20432
1
20733
2011-01-07T07:07:23.547
1
10851
<p>Has anyone tried this external usb sound blaster on ubuntu.<br> <a href="http://us.store.creative.com/Sound-Blaster-XFi-Surround-5.1-Pro/M/B0044DEDCA.htm" rel="nofollow">http://us.store.creative.com/Sound-Blaster-XFi-Surround-5.1-Pro/M/B0044DEDCA.htm</a>.</p> <p>I have bought M-Audio Bx5a deluxe Studio Monitors for my T61. I think the onboard Intel HD sound card will not do any justice to these speakers. So I am looking for an external sound interface. I particularly liked this one as it is not very expensive and it has a volume control (speaker lack a central-front volume knob). Has anyone been able to use this on ubuntu.<br> Also, if anyone would like to recommend me another option?</p>
5924
null
null
2014-10-20T18:08:43.810
Has anyone got "Creative Soundblaster X-Fi Surround 5.1 Pro" - (usb Interface) installed?
[ "drivers", "multimedia", "soundcard", "sound-blaster" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I use this sound card. It works out of the box (but I cannot test >2.0) in Ubuntu 10.10 (and it is working in Gentoo, Arch). But it doesn't works with Flash (YouTube,..) out of the box (because it uses ALSA instead of Pulseaudio).\n<br/>It is also even possible somehow to get it work with OSS4 (used in *BSD, Solaris; available for Linux).</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-10T11:21:36.053", "id": "22422", "postId": "20733", "score": "0", "text": "Thanks for answering. I did buy this card and later returned it. The volume knob didnot work for me, even the remote didnot work for me. I then tried to install it on windows 7, first i used default drivers the card worked, it played the songs even flash videos, then i tried to install creative suite ( utility/driver CD), it didnot install. But the volume knob didnot work in both the cases. So my question is does the volume knob and remote works in Ubuntu, as i think this volume control feature is not dependent on driver or utility cd.", "userDisplayName": null, "userId": "5924" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-09T13:11:44.540", "id": "20733", "lastActivityDate": "2011-01-09T13:11:44.540", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8594", "parentId": "20432", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>I use this sound card. It works out of the box (but I cannot test >2.0) in Ubuntu 10.10 (and it is working in Gentoo, Arch). But it doesn't works with Flash (YouTube,..) out of the box (because it uses ALSA instead of Pulseaudio).\n<br/>It is also even possible somehow to get...
null
null
null
null
null
20442
1
20477
2011-01-07T09:40:30.837
4
5607
<p>I'd like to know what I need to do to enable a user to modify values in <code>/sys</code>. As it's a sysfs, changing file permissions is not an option (and I don't like to do it on every boot).</p>
3037
null
null
2011-01-07T15:35:22.480
How can a user get write access to "/sys"?
[ "permissions" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T12:05:07.043", "id": "22000", "postId": "20442", "score": "0", "text": "I don't think it can be done, cpufreq does not change it with a regular user, it communicates with a power daemon (which runs as root) via DBUS, it's the root process doing the change, not an us...
{ "accepted": true, "body": "<p>I found a simple python/dbus/polkit example on the <a href=\"http://ubuntuforums.org/showthread.php?t=1359397\" rel=\"nofollow\">Ubuntuforums</a> and changed the PolicyKit policy file defaults from</p>\n\n<pre><code>&lt;defaults&gt;\n &lt;allow_any&gt;auth_admin_keep&lt;/allow_any&gt;\n &lt;allow_inactive&gt;auth_admin_keep&lt;/allow_inactive&gt;\n &lt;allow_active&gt;auth_admin_keep&lt;/allow_active&gt;\n&lt;/defaults&gt;\n</code></pre>\n\n<p>to</p>\n\n<pre><code>&lt;defaults&gt;\n &lt;allow_any&gt;no&lt;/allow_any&gt;\n &lt;allow_inactive&gt;no&lt;/allow_inactive&gt;\n &lt;allow_active&gt;yes&lt;/allow_active&gt;\n&lt;/defaults&gt;\n</code></pre>\n\n<p>With this change, an unprivileged user now can communicate with the service (running as root, thus being able to write to <code>/sys</code>) without having to type a password (possible risks?).</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T15:05:08.333", "id": "20477", "lastActivityDate": "2011-01-07T15:05:08.333", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "3037", "parentId": "20442", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>You should clarify what do you want to obtain.\nMaybe you want to modify <code>/etc/sysctl.conf</code>, see <code>man sysctl</code> and <code>man sysctl.conf</code></p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-07T10:36:40.680", ...
null
null
null
null
null
20443
1
null
2011-01-07T10:03:37.087
3
623
<p>I have certain applications pinned to my desktop. such as </p> <ul> <li>Rainlendar (1), which offers this option in the settings window</li> <li>conky (2), with "own_window_type normal" in my ~/.conkyrc</li> <li>Rhythmbox's Desktop Cover Art plugin (3), a python plugin sticked to the desktop.</li> </ul> <p>They all hide nicely below all other Windows. I set Compiz to not minimize them on "show desktop" command using "window rules".</p> <p>I also use <a href="http://code.google.com/p/osd-lyrics" rel="nofollow noreferrer">osd-lyrics</a> to display music lyrics. It's default behaviour is to stick always on top, which is irritating sometimes and, in my case, looks rather fugly. (4) See screenshot: </p> <p><a href="https://i.stack.imgur.com/ie16K.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ie16K.jpg" alt="alt text"></a></p> <p>Now how can I tell Compiz to pin the osd-lyrics bar to the desktop below all other windows and not minimize it? I tried all sorts of window rules and exceptions, e.g. using "class=osd-lyrics", "title=osd-lyrics" but the OSD doesn't seem to match any of these. </p> <p>Any ideas?</p> <p><strong>Running:</strong> Ubuntu 10.10 Maverick Meerkat, Compiz 0.8.6, osd-lyrics 0.3 from </p>
8488
114
2011-01-21T18:02:43.453
2011-03-29T14:12:45.640
How can I pin osd-lyrics to the Desktop?
[ "10.10", "gnome", "compiz" ]
0
1
CC BY-SA 2.5
[ { "creationDate": "2012-02-19T20:11:13.370", "id": "122689", "postId": "20443", "score": "0", "text": "Hello, this question has no information and activity for a very long time. I am closing it for now. If by any reason you think this question is still viable or useful in anyways or that there i...
null
[]
null
null
2012-02-19T20:11:20.720
null
null
20449
1
null
2011-01-07T12:33:37.137
8
1131
<p>Window previews are ugly on my computer:</p> <p><img src="https://i.stack.imgur.com/K4kzO.png" alt="compiz"></p> <p>Is there any solution to make them smooth? BTW window previews in Metacity with composition enabled (<code>/apps/metacity/general/compositing_manager</code>) are looking much better than in Compiz.</p> <p><img src="https://i.stack.imgur.com/wjtmA.png" alt="metacity"></p> <p>I am using the open source radeon driver, so I can't configure my videocard preferences via AMD's GUI, and I've tried all options like a texture filter, bicubic filter or mipmapping I found in ccsm with no result.</p> <p>How to make window previews in Compiz be as smooth as they are in Metacity?</p> <p>And sorry, my English sucks just like these window thumbnails in Compiz.</p>
8490
394896
2016-05-25T00:13:19.587
2016-05-25T00:13:19.587
Compiz antialiasing with xserver-xorg-video-radeon?
[ "compiz", "metacity", "amd-graphics", "antialiasing" ]
1
9
CC BY-SA 3.0
[ { "creationDate": "2011-01-07T12:52:13.243", "id": "22008", "postId": "20449", "score": "0", "text": "you might wanna attach screenshots the rest of us can all go get disgusted of how ugly it was before it got pretty", "userDisplayName": null, "userId": "2591" }, { "creationDate"...
null
[ { "accepted": null, "body": "<p>I think that this is an internal compiz issue - not necessarily one of aliasing. The window buffer is sent to this little window preview and scaled down, giving it that crunchy feel. Perhaps you should report a bug dealing with that plugin.</p>\n", "commentCount": "1", ...
null
0
2013-01-01T20:43:12.167
null
null
20450
1
20453
2011-01-07T12:41:26.660
53
113126
<p>I was asked for root credentials to setup my printer in Ubuntu. This seemed to be caused by a bug. And the suggested workaround is to create a root password. Since it is default that no root password is used in Ubuntu, i wonder how i could revert this changes.</p> <p>Once i have set a password for root, is there a method to disable it again?</p>
7155
null
null
2016-06-07T16:35:47.420
Disable root account in Ubuntu?
[ "root", "password" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>According to Ubuntu online help</p>\n\n<blockquote>\n <p>Ubuntu developers made a conscientious\n decision to disable the administrative\n root account by default in all Ubuntu\n installations. This does not mean that\n the root account has been deleted or\n that it may not be accessed. It merely\n has been given a password which\n matches no possible encrypted value,\n therefore may not log in directly by\n itself.</p>\n</blockquote>\n\n<p>If you want to enable root account simply give it some password using</p>\n\n<pre><code>sudo passwd\n</code></pre>\n\n<p>When you enter this command you will be asked for new password. The password you enter will be the password for root account so be careful and choose a strong password.</p>\n\n<p>To disable the root login use</p>\n\n<pre><code>sudo passwd -l root\n</code></pre>\n\n<p>This will disable the login using root user name i.e your system will be back to previous state.</p>\n\n<p>If you want more information on Ubuntu user management read the <a href=\"https://help.ubuntu.com/14.04/serverguide/user-management.html\">official documentation</a>.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2015-06-22T10:07:38.420", "id": "914347", "postId": "20453", "score": "17", "text": "Use `sudo passwd -S root` to check if locked or not (will have L in output instead of P).", "userDisplayName": null, "userId": "233134" }, { "creationDate": "2018-01-12T22:00:12.020", "id": "1606932", "postId": "20453", "score": "1", "text": "Which version did they make this change on?", "userDisplayName": null, "userId": "707299" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T12:53:35.270", "id": "20453", "lastActivityDate": "2014-06-29T18:05:55.030", "lastEditDate": "2014-06-29T18:05:55.030", "lastEditorDisplayName": null, "lastEditorUserId": "25082", "ownerDisplayName": null, "ownerUserId": "6713", "parentId": "20450", "postTypeId": "2", "score": "95" }
[ { "accepted": null, "body": "<pre><code>sudo usermod -p '!' root\n</code></pre>\n\n<p>That will set the root account to have an unusable password.</p>\n\n<p>You can also lock the account to stop people logging in.</p>\n\n<pre><code>sudo passwd -l root\n</code></pre>\n\n<p>Either approach should do what you ...
null
null
null
null
null
20455
1
20470
2011-01-07T13:23:42.020
11
34249
<p>In order to run cron in the night at 4am, do I need to write <code>4 * * * *</code>?</p> <p>And to run at 4pm o'clock, should it be <code>16 * * * *</code>?</p>
5136
420786
2016-08-04T04:58:19.240
2018-09-18T10:19:49.760
Cron scheduling: Is the hour argument in 24h format?
[ "cron" ]
2
2
CC BY-SA 3.0
[ { "creationDate": "2016-01-09T17:47:02.467", "id": "1063103", "postId": "20455", "score": "0", "text": "Since Google is still serving up this topic, new visitors might like to know about www.cronsandbox.com where you can experiment with the different timing values and see a schedule.", "user...
{ "accepted": true, "body": "<p>No. This would run at the 4th and 16th <strong>minute</strong> of every hour.</p>\n\n<p>You're looking for:</p>\n\n<pre><code>0 4,16 * * * command\n</code></pre>\n\n<p>That will run at both 4am and 4pm.</p>\n\n<p>Or if the two commands are different:</p>\n\n<pre><code>0 4 * * * command\n0 16 * * * another_command\n</code></pre>\n\n<ol>\n<li><p>The first column sets the minutes. In these examples, I'm setting it at 0 so the event happens on the hour.</p></li>\n<li><p>The in the next column we set the hour you want it to run. We use absolute values but you can use <code>*/2</code> for \"every other hour\", etc.</p></li>\n<li><p>The next column says that we want this to happen every day of the month.</p></li>\n<li><p>The next column denotes the months that this should trigger on (all in this case).</p></li>\n<li><p>The last column says which days of the week this is allowed to trigger on. 0-7 (where both 0 and 7 are Sunday). <code>*</code> means it can trigger on any day of the week.</p></li>\n</ol>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-07T17:11:59.833", "id": "22056", "postId": "20470", "score": "0", "text": "thanks, complete answer. I've also found this article that really helped me: http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/", "userDisplayName": null, "userId": "5136" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T14:45:03.623", "id": "20470", "lastActivityDate": "2011-01-07T14:50:30.937", "lastEditDate": "2011-01-07T14:50:30.937", "lastEditorDisplayName": null, "lastEditorUserId": "449", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "20455", "postTypeId": "2", "score": "17" }
[ { "accepted": true, "body": "<p>No. This would run at the 4th and 16th <strong>minute</strong> of every hour.</p>\n\n<p>You're looking for:</p>\n\n<pre><code>0 4,16 * * * command\n</code></pre>\n\n<p>That will run at both 4am and 4pm.</p>\n\n<p>Or if the two commands are different:</p>\n\n<pre><code>0 4 * *...
null
null
null
null
null
20460
1
20481
2011-01-07T13:56:19.203
10
11151
<p>I currently have one hd with these partitions:</p> <pre><code>/dev/sdb1 / /dev/sdb2 swap /dev/sdb3 /home </code></pre> <p>I'm thinking about buying a ssd for my <code>/</code> partition.</p> <p>Now my question is: Is it possible to move/convert my current configuration to the new one (two disks, /home remains)? Prefarably from within the running system?</p>
2354
null
null
2017-02-22T07:53:06.243
Move Installation to new disk
[ "partitioning" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I recommend against using <code>dd</code>. It just does a dumb sector by sector copy, which means it will fail if the destination partition is smaller, and wastes a lot of time copying free space, and if the destination partition is larger, the additional space will not be available until you run <code>resize2fs</code> to expand the filesystem.</p>\n\n<p>It is best to do this from a live CD because if you copy files while they are being modified, you will end up with corrupt results. </p>\n\n<p>Format the ssd and get both the new ssd partition and the original root partition mounted, then just run <code>sudo cp -ax /media/old-partition/* /media/new-partition</code>, where old-partition and new-partition are replaced with their actual mount points. That will copy every file over, preserving ownership, permissions, and timestamps. </p>\n\n<p>Then run <code>sudo grub-install --root-directory=/media/new-partition /dev/SSD_DEVICE</code>, after substituting correct values for new-partition and SSD_DEVICE. That will install grub, making the disk bootable.</p>\n\n<p>Once you reboot (making sure your bios is configured to boot from the ssd instead of the old drive ), make sure that you are running from the ssd and not from the old drive by checking the output of <code>df</code> and/or <code>mount</code>, and you should be good to blow away the old partition.</p>\n\n<p>Oh, and you will want to edit the <code>/etc/fstab</code> file on the new partition after copying and updating the UUID of the root partition to match the UUID of the new SSD partition instead of the old one. You can find that UUID by running <code>sudo blkid</code>.</p>\n\n<p>Edit: added /* in copy above, but needed edit to be more than 6 characters. Now it's 101 characters!</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-10-10T20:15:13.343", "id": "74881", "postId": "20481", "score": "1", "text": "I assume that worked?", "userDisplayName": null, "userId": "12824" }, { "creationDate": "2012-05-09T09:58:19.850", "id": "159741", "postId": "20481", "score": "2", "text": "I had problems installing grub using method above. Eventually I did what this thread suggests: http://askubuntu.com/a/3409/8152 in order to setup and install grub to the other disk. The rest of the answer worked great.", "userDisplayName": null, "userId": "8152" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T15:18:46.840", "id": "20481", "lastActivityDate": "2013-01-16T10:12:15.577", "lastEditDate": "2013-01-16T10:12:15.577", "lastEditorDisplayName": "user25656", "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "20460", "postTypeId": "2", "score": "11" }
[ { "accepted": null, "body": "<p>This command:</p>\n\n<pre><code>dd if=/dev/sdb1 of=DEVICE_PATH_OF_SSD_DRIVE\n</code></pre>\n\n<p>should work for cloning the <code>/</code> partition to the SSD drive. </p>\n\n<p><strong>EDIT: this will only work if your partition is the same size as the drive.</strong> If th...
null
null
null
null
null
20461
1
20465
2011-01-07T14:09:40.200
2
1753
<p>Would you recommend to install libcupsys2_1.3.9-17ubuntu3.9_all.deb in Ubuntu 10.10?</p> <p>For getting my printer to work with Ubuntu 10.10 i've read many threads about a suggested workaround.<a href="http://ubuntuforums.org/showpost.php?p=10111593&amp;postcount=3" rel="nofollow">there</a> it's suggested to install <a href="http://security.ubuntu.com/ubuntu/pool/universe/c/cups/" rel="nofollow">libcupsys2_1.3.9-17ubuntu3.9_all.deb</a> so that the canon driver should again do it's work with ubuntu.</p> <p>But i can't figure out what this package exactly is and like to understand what i do before i install it. in some thread they call it a dummy package, in others it's called a transitional package. However there should have been a reason why the ubuntu developers had deprecated libcupsys. So would you recommend it?</p>
7155
60294
2014-06-14T12:04:12.603
2014-06-14T12:04:12.603
Would you recommend to install libcupsys2_1.3.9-17ubuntu3.9_all.deb?
[ "10.10", "printing", "canon" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>This package doesn't do anything. It doesn't install any files, it just marks libcupssys2 as installed so that the canon package doesn't complain.</p>\n\n<p>All the required files all already installed by the libcups2 package.</p>\n\n<p>BTW, in my last system (10.04) I've been able to install Canon drivers without need to do this trick. Please check the canon site, as it's likely that the last drivers work without it.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-07T14:48:10.493", "id": "22030", "postId": "20465", "score": "0", "text": "thanks for the answer. the drivers are from 2008 without this libcupsys package they won't install, with it they do. but although it doesn't print. it's curious because i know the printer worked with ubuntu once and the minimum release is used there was 9.10.", "userDisplayName": null, "userId": "7155" }, { "creationDate": "2011-01-07T14:52:30.600", "id": "22032", "postId": "20465", "score": "0", "text": "@Oli: oh, that double negative thing. English speaking people are weird ;).", "userDisplayName": null, "userId": "211" }, { "creationDate": "2011-01-07T19:12:50.353", "id": "22073", "postId": "20465", "score": "0", "text": "bad habit ;)", "userDisplayName": null, "userId": "7155" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T14:30:45.807", "id": "20465", "lastActivityDate": "2011-01-07T14:50:29.307", "lastEditDate": "2011-01-07T14:50:29.307", "lastEditorDisplayName": null, "lastEditorUserId": "211", "ownerDisplayName": null, "ownerUserId": "211", "parentId": "20461", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>This package doesn't do anything. It doesn't install any files, it just marks libcupssys2 as installed so that the canon package doesn't complain.</p>\n\n<p>All the required files all already installed by the libcups2 package.</p>\n\n<p>BTW, in my last system (10.04) I've bee...
null
null
null
null
null
20463
1
20468
2011-01-07T14:19:43.463
99
139408
<p>I want to download a whole website (with sub-sites). Is there any tool for that?</p>
8436
146105
2016-06-24T20:14:46.413
2019-08-02T05:49:51.040
How can I download an entire website?
[ "software-recommendation" ]
8
2
CC BY-SA 3.0
[ { "creationDate": "2011-01-07T14:26:34.557", "id": "22027", "postId": "20463", "score": "1", "text": "what exactly are you trying to achieve? the title and the content of your question are not related, and the content is not specific.", "userDisplayName": null, "userId": "1992" }, { ...
{ "accepted": true, "body": "<p>Try example 10 from <a href=\"http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/\">here</a>:</p>\n\n<pre><code>wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL\n</code></pre>\n\n<ul>\n<li><p><code>–mirror</code> : turn on options suitable\nfor mirroring.</p></li>\n<li><p><code>-p</code> : download all files that are necessary to properly display a given\nHTML page. </p></li>\n<li><p><code>--convert-links</code> : after the\ndownload, convert the links in\ndocument for local viewing.</p></li>\n<li><code>-P ./LOCAL-DIR</code> : save all the files and directories to the specified\ndirectory.</li>\n</ul>\n", "commentCount": "6", "comments": [ { "creationDate": "2013-02-18T09:16:29.013", "id": "321495", "postId": "20468", "score": "0", "text": "is there any way to download only certain pages (for instance, several parts of an articles that is spread over several html documents)?", "userDisplayName": null, "userId": "115155" }, { "creationDate": "2013-04-10T22:00:55.947", "id": "351850", "postId": "20468", "score": "0", "text": "@Private Yes, although it's probably easier to use python or something to get the pages (depending on the layout/url). If the url of the pages differs by a constantly growing number or you have a list of the pages, you could probably use wget in a bash script.", "userDisplayName": null, "userId": "91200" }, { "creationDate": "2014-02-07T21:27:33.870", "id": "538623", "postId": "20468", "score": "2", "text": "You might consider using the `--wait=seconds` argument if you want to be more friendly to the site ; it will wait the specified number of seconds between retrievals.", "userDisplayName": null, "userId": "8844" }, { "creationDate": "2017-04-19T18:36:04.040", "id": "1424123", "postId": "20468", "score": "0", "text": "the above works, but for joomla the parameterized url creates files that are not linked locally.\nThe one worked for me is wget -m -k -K -E http://your.domain.com \nfrom here: https://vaasa.hacklab.fi/2013/11/28/howto-make-a-static-copy-of-joomla-site-with-wget/", "userDisplayName": null, "userId": "397354" }, { "creationDate": "2017-12-09T01:45:43.783", "id": "1584038", "postId": "20468", "score": "2", "text": "Also `--no-parent` to \"never ascend to the parent directory\" taken from [here](https://superuser.com/a/487206/372305).", "userDisplayName": null, "userId": "298314" }, { "creationDate": "2018-03-20T12:34:21.733", "id": "1651157", "postId": "20468", "score": "2", "text": "Gotta love stackoverflow's oneliner accepted answers <3", "userDisplayName": null, "userId": "262022" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T14:34:35.397", "id": "20468", "lastActivityDate": "2016-05-17T11:48:10.083", "lastEditDate": "2016-05-17T11:48:10.083", "lastEditorDisplayName": null, "lastEditorUserId": "29595", "ownerDisplayName": null, "ownerUserId": "6475", "parentId": "20463", "postTypeId": "2", "score": "172" }
[ { "accepted": null, "body": "<p><a href=\"https://i.stack.imgur.com/dwBxA.jpg\" rel=\"noreferrer\"><img src=\"https://i.stack.imgur.com/dwBxA.jpg\" alt=\"HTTrack for Linux copying websites in offline mode\"></a></p>\n\n<p><a href=\"http://packages.ubuntu.com/httrack\" rel=\"noreferrer\">httrack</a> is the t...
null
null
null
null
null
20472
1
20476
2011-01-07T14:54:20.627
2
463
<p>I uninstalled the transformation pack, but the bootsplash didn't reverted back to default Ubuntu. T_T</p> <p>I tried to do the manual terminal changing of it, and it worked halfway. The bootscreen when booting is still the (although awesome, I need to change) windows logo. But when shutting down or restarting, it worked.</p>
5606
5606
2011-01-08T00:36:37.130
2011-01-08T00:36:37.130
Win 2-7 Plymouth Bootsplash problem
[ "plymouth" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You have to change default plymouth theme manually. You can do this by typing <code>sudo update-alternatives --config default.plymouth</code> in terminal and choose the number, where the <code>/lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth</code> is(this is the default ubuntu plymouth theme). Now type <code>sudo update-initramfs -u</code> in terminal and you have the default plymouth theme back.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-08T00:37:58.907", "id": "22115", "postId": "20476", "score": "0", "text": "I tried that, to no avail, the bootscreen is still the windows animation, but when shutting down, it did changed.", "userDisplayName": null, "userId": "5606" }, { "creationDate": "2011-01-08T00:44:33.690", "id": "22116", "postId": "20476", "score": "1", "text": "Hm, try `sudo update-initramfs -c -k all`.", "userDisplayName": null, "userId": "3037" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T15:02:40.587", "id": "20476", "lastActivityDate": "2011-01-07T15:02:40.587", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1843", "parentId": "20472", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>You have to change default plymouth theme manually. You can do this by typing <code>sudo update-alternatives --config default.plymouth</code> in terminal and choose the number, where the <code>/lib/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth</code> is(this is the default...
null
null
null
null
null
20473
1
20475
2011-01-07T14:54:50.643
13
16186
<p>I have two identical folders, but the are not identical(for example Java installation dir). One dir has one extra file and one file has been changed.</p> <p>Is there any easy to use tool to check that or do I have to write complicated bash script for that?</p> <p>P.S. I'm looking for command-line tool, but if you know any GUI tools please share the knowledge.</p>
8436
null
null
2012-08-08T15:03:33.087
Diffrence between two dirs?
[ "command-line", "tools", "diff" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<pre><code>diff -qr dir1 dir2 | sort\n</code></pre>\n\n<p>That will compare files in two directories.</p>\n\n<p>If you're a sadist you can drop the <code>q</code> argument (and the <code>| sort</code> pipe) and you'll see all the differences between all the files... But the output is pretty hard to interpret like that.</p>\n\n<p>If you do have a lot to handle, perhaps piping through <code>less</code> (just add <code>| less</code> to the command) will let you view it a little easier.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T15:00:41.690", "id": "20475", "lastActivityDate": "2011-01-07T15:00:41.690", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "449", "parentId": "20473", "postTypeId": "2", "score": "27" }
[ { "accepted": true, "body": "<pre><code>diff -qr dir1 dir2 | sort\n</code></pre>\n\n<p>That will compare files in two directories.</p>\n\n<p>If you're a sadist you can drop the <code>q</code> argument (and the <code>| sort</code> pipe) and you'll see all the differences between all the files... But the outp...
null
null
null
null
null
20483
1
20548
2011-01-07T15:23:42.453
1
341
<p>I share my desktop with VirtualBox. It allows me to work on current files in a nice easy way. I have quite a few utility launchers on my desktop. It's only a dozen or so at peak time but it makes navigating the list of real files a little harder when I'm working from Windows.</p> <p>I was wondering if there was a way of excluding the files from the share. Either at VirtualBox (I've no idea where it keeps its samba configuration -- or if it actually uses samba at all for that matter) or in Windows.</p>
449
null
null
2011-01-08T01:18:57.470
Hide .desktop files from shares in VirtualBox
[ "virtualbox", "samba", "share" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T23:08:39.763", "id": "22109", "postId": "20483", "score": "0", "text": "Without a *decission* layer in betwean (e.g. samba) it's not possible. Linux files starting with a . (dot) at the beginning are also marked as hidden for Windows (VirtualBox). But for me you sho...
{ "accepted": true, "body": "<p>Reading the VirtualBox documentation, it's clear that this isn't possible directly. But I have an idea which will work.</p>\n\n<p>Using a Warren Falk's picfs fuse mount, you remount your Desktop under a hidden directory, say <code>.VirtualBox/shared/Desktop</code> and point virtual box at that. Then in the fuse mount configuration, you simply specify which files should be ignored.</p>\n\n<p>See here for more details: <a href=\"http://www.warrenfalk.com/blog/2009/07/09/picsfs-fuse-filesystem/\" rel=\"nofollow\">http://www.warrenfalk.com/blog/2009/07/09/picsfs-fuse-filesystem/</a></p>\n\n<p>Using this, your Desktop will be exactly the same to Linux, but your VirtualBox will see a controlled directory. The fuse code is even in python, so it's easy to modify. Let me know if you want instructions.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-10T23:30:39.470", "id": "22533", "postId": "20548", "score": "0", "text": "That's very cunning.", "userDisplayName": null, "userId": "449" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T01:18:57.470", "id": "20548", "lastActivityDate": "2011-01-08T01:18:57.470", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "132", "parentId": "20483", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>Reading the VirtualBox documentation, it's clear that this isn't possible directly. But I have an idea which will work.</p>\n\n<p>Using a Warren Falk's picfs fuse mount, you remount your Desktop under a hidden directory, say <code>.VirtualBox/shared/Desktop</code> and point v...
null
null
null
null
null
20484
1
20505
2011-01-07T15:24:15.007
3
396
<p>How can I get a html code from some site(e.g. www.google.com) using vala(gtk)?</p>
1843
9781
2011-10-10T15:54:16.523
2011-10-10T15:54:16.523
How can I get html code from the web with vala(gtk)?
[ "gtk", "application-development", "html", "vala" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T17:17:09.373", "id": "22058", "postId": "20484", "score": "2", "text": "stackoverflow is a better site for programming questions.", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-07T18:24:38.057", "id": "22068", "postI...
{ "accepted": true, "body": "<p>Use the Vala GIO File open shown here <a href=\"http://live.gnome.org/Vala/GIOSamples\" rel=\"nofollow\">http://live.gnome.org/Vala/GIOSamples</a></p>\n\n<p><code>var web_page = File.new_for_uri (\"http://live.gnome.org/Vala\");</code></p>\n\n<p>This is the standard method of grabbing files and web pages and you can use the uri syntax for a number of supported protocols such as ssh, ftp, etc.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T18:33:58.823", "id": "20505", "lastActivityDate": "2011-01-18T13:15:53.897", "lastEditDate": "2011-01-18T13:15:53.897", "lastEditorDisplayName": null, "lastEditorUserId": "132", "ownerDisplayName": null, "ownerUserId": "132", "parentId": "20484", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>Use the Vala GIO File open shown here <a href=\"http://live.gnome.org/Vala/GIOSamples\" rel=\"nofollow\">http://live.gnome.org/Vala/GIOSamples</a></p>\n\n<p><code>var web_page = File.new_for_uri (\"http://live.gnome.org/Vala\");</code></p>\n\n<p>This is the standard method of...
null
null
null
null
null
20485
1
20487
2011-01-07T15:26:41.517
3
184
<p>I just upgraded from Lucid to Maverick, and as expected, all my PPAs were disabled. I have re-enabled most of the ones that I want, but I would like to get a list of all packages that I installed from PPAs that I no longer have enabled. I feel that the best way to do this would be to search for all packages where the currently installed version of that package does not match any version from a currently-enabled repository. Is there an easy way to search for such packages. </p> <p>Command-line solutions welcome.</p>
880
null
null
2011-01-07T15:33:10.510
Tool to search for packages whose installed version does not match any version from a repository?
[ "package-management", "ppa", "versions" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Try <code>aptitude search ~o</code> or longer version <code>aptitude search ?obsolete</code>. From documentation, it \"<em>match installed packages that cannot be downloaded</em>\".</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-07T15:34:25.250", "id": "22037", "postId": "20487", "score": "1", "text": "This will also show things you download manually as .deb files, things that you build and package yourself and things that are no longer in a repository... But it should give you a rough idea.", "userDisplayName": null, "userId": "449" }, { "creationDate": "2011-01-07T16:02:28.817", "id": "22041", "postId": "20487", "score": "0", "text": "Cool. I realize that manually-downloaded debs and suchlike will also appear, but if I manually installed it, I can manually sift through it, so that's not a problem.", "userDisplayName": null, "userId": "880" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T15:33:10.510", "id": "20487", "lastActivityDate": "2011-01-07T15:33:10.510", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "6475", "parentId": "20485", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>Try <code>aptitude search ~o</code> or longer version <code>aptitude search ?obsolete</code>. From documentation, it \"<em>match installed packages that cannot be downloaded</em>\".</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-07...
null
null
null
null
null
20486
1
null
2011-01-07T15:24:04.083
3
1926
<p>Ubuntu 8 version nVidia card with driver 96.43.10-0ubuntu1</p> <p><code>/etc/X11/xorg.conf</code></p> <pre><code>Section "Screen" Identifier "Television Screen" Device "Television Device" Monitor "Television" DefaultDepth 24 Option "TVOutFormat" "COMPONENT" Option "TVStandard" "PAL-B" SubSection "Display" Depth 24 Modes "640x480@40" EndSubSection EndSection Section "Module" Load "glx" Disable "dri2" EndSection Section "Device" Identifier "Default Device" Driver "nvidia" EndSection </code></pre> <p>Television is Sharp FlatX Standard TV, its specifications can be found at <a href="http://rads.stackoverflow.com/amzn/click/B0000AKVAV" rel="nofollow noreferrer">http://www.amazon.com/Sharp-X-Flat-32F630-Flat-Screen-32/dp/B0000AKVAV</a></p> <p>There were other screen sections which I removed. The TV shows a distorted image with particles of different colors.</p> <p>I tried different resolutions but couldn't figure it out. Kindly help me set up TV with Ubuntu.</p>
8526
527764
2017-03-14T10:36:15.593
2017-03-14T10:36:31.707
How to configure Ubuntu with Standard TV?
[ "nvidia", "tv", "8.10" ]
2
0
CC BY-SA 3.0
[]
null
[ { "accepted": null, "body": "<p>Have you tried <a href=\"http://packages.ubuntu.com/nvidia-settings\" rel=\"nofollow noreferrer\">nvidia-settings</a> <a href=\"http://apt.ubuntu.com/p/nvidia-settings\" rel=\"nofollow noreferrer\"><img src=\"https://hostmar.co/software-large\" alt=\"Install nvidia-settings\"...
null
null
null
null
Ryan Wyan
20489
1
20491
2011-01-07T15:45:36.413
4
1300
<p>I'm new to Ubuntu and I have downloaded a game called Vendetta Online , and it seems to have a .sh extension. When I double click it, it opens a text editor saying : can't open the file. <br> What is the problem here and how do I fix this ? <br> Is there a way to run a .sh in linux ? </p> <p>I use HP notebook computer with amd64x processor and Ubuntu 10.10 </p>
8503
721
2011-03-22T21:40:42.343
2011-03-22T21:40:42.343
How to install Vendetta Online?
[ "games" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You need to set the file as executable to run it.</p>\n\n<p>To do this, right click the file, click properties, and then click the permissions tab.\nThere, enable the executable bit.\n<img src=\"https://i.stack.imgur.com/oWNIG.jpg\" alt=\"alt text\"></p>\n\n<p>Then all you have to do is double click the file, click run (when prompted), and follow what ever instructions the game has. You could also use run in terminal (if you are comfortable with the command line), as this could give useful output during the installation process, and the program may require it in any case.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T15:50:05.283", "id": "20491", "lastActivityDate": "2011-01-07T15:50:05.283", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1992", "parentId": "20489", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>You need to set the file as executable to run it.</p>\n\n<p>To do this, right click the file, click properties, and then click the permissions tab.\nThere, enable the executable bit.\n<img src=\"https://i.stack.imgur.com/oWNIG.jpg\" alt=\"alt text\"></p>\n\n<p>Then all you ha...
null
null
null
null
null
20496
1
20498
2011-01-07T16:04:16.613
2
1091
<p>The Firefox plugin for Totem works for DivX streaming videos, but the GNOME MPlayer one does not, for example for the videos on stagevu.com. What could be wrong here?</p>
null
null
2011-05-23T15:47:59.907
2011-05-23T15:47:59.907
GNOME MPlayer DivX plugin does not work
[ "mplayer" ]
1
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>I guess because of codecs. Follow <a href=\"http://ubuntuforums.org/showthread.php?t=766683\" rel=\"nofollow\">this tutoria</a>l and will be able to play everything.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-01-07T17:41:43.457", "id": "22064", "postId": "20498", "score": "0", "text": "Hmm, probably not, already installed medibuntu.", "userDisplayName": "user7182", "userId": null }, { "creationDate": "2011-01-09T00:37:59.197", "id": "22226", "postId": "20498", "score": "0", "text": "Can you provide a link to a video so I can test it?", "userDisplayName": null, "userId": "2950" }, { "creationDate": "2011-01-09T07:20:40.383", "id": "22247", "postId": "20498", "score": "0", "text": "Try stagevu.com, thanks. This problem seems to be quite common when I did an online search. It could be the version of the divx plugin or something like that. In the meantime I'll just use the totem one.", "userDisplayName": "user7182", "userId": null }, { "creationDate": "2011-01-09T21:34:03.787", "id": "22352", "postId": "20498", "score": "0", "text": "Works fine here in Firefox 4 and Opera 11.", "userDisplayName": null, "userId": "2950" }, { "creationDate": "2011-01-09T21:56:19.500", "id": "22356", "postId": "20498", "score": "0", "text": "Then maybe it is related to my hardware. Thanks a lot for your time!", "userDisplayName": "user7182", "userId": null } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T17:24:40.333", "id": "20498", "lastActivityDate": "2011-01-07T17:24:40.333", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2950", "parentId": "20496", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>I guess because of codecs. Follow <a href=\"http://ubuntuforums.org/showthread.php?t=766683\" rel=\"nofollow\">this tutoria</a>l and will be able to play everything.</p>\n", "commentCount": "5", "comments": [ { "creationDate": "2011-01-07T17:41:43.457", ...
null
null
null
user7182
user7182
20500
1
20501
2011-01-07T17:29:18.540
19
17230
<p>I don't believe in Trash Bin and when I delete something I want it to be gone forever, how to turn off the Trash?</p> <p>P.S. When I delete files from the console do they also go to Trash?</p>
8436
1992
2011-06-02T20:24:35.173
2022-06-13T09:37:46.507
How to turn off trash?
[ "trash" ]
8
1
CC BY-SA 3.0
[ { "creationDate": "2017-07-29T05:28:47.957", "id": "1493554", "postId": "20500", "score": "0", "text": "It is really easy to shut off in Raspbian - a simple preference. But in Ubuntu they have kept it this way for a LONG time. Nobody has ever explained why. In any case, 6 years after this questi...
{ "accepted": true, "body": "<p>You can add a delete action as described at\n<a href=\"https://askubuntu.com/questions/18863/how-to-delete-files-bypassing-trash\">How to delete files bypassing trash</a> .\nFiles deleted from the console are immediately removed, but please note that under some circumstances they can still be recovered, if you want to securely delete files use the \"wipe\" command.</p>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-07T18:06:22.720", "id": "22065", "postId": "20501", "score": "1", "text": "I just dont want to think about empting the trash, thx.", "userDisplayName": null, "userId": "8436" }, { "creationDate": "2011-01-07T18:13:00.767", "id": "22066", "postId": "20501", "score": "2", "text": "There is no option to disable the trash entirely, see bug https://bugs.launchpad.net/nautilus/+bug/118988, what you can do is to enable the delete files option and remap the DEL key to invoke it. In practice this will disable the trash bin from the file manager.", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-07T20:24:34.893", "id": "22083", "postId": "20501", "score": "0", "text": "Wont get rid of the trash from Unity Laucnher though", "userDisplayName": null, "userId": "7528" }, { "creationDate": "2012-09-17T19:38:45.027", "id": "235455", "postId": "20501", "score": "0", "text": "@KyleClarke Right. It's [currently not possible to remove Trash from the Unity launcher](http://askubuntu.com/a/80399/18612), as this is by design, and would require modifying Unity's source code and recompiling.", "userDisplayName": null, "userId": "18612" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T17:37:00.863", "id": "20501", "lastActivityDate": "2011-01-07T18:20:53.837", "lastEditDate": "2017-04-13T12:24:43.743", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "742", "parentId": "20500", "postTypeId": "2", "score": "10" }
[ { "accepted": true, "body": "<p>You can add a delete action as described at\n<a href=\"https://askubuntu.com/questions/18863/how-to-delete-files-bypassing-trash\">How to delete files bypassing trash</a> .\nFiles deleted from the console are immediately removed, but please note that under some circumstances ...
null
null
null
null
null
20502
1
344952
2011-01-07T18:20:30.943
6
99277
<p>I'm running Ubuntu off a USB drive and I can't install it to the hard-drive yet. Is there a way for me to install more applications on the USB drive so that everytime I boot I can use them without re-installing?</p>
null
8844
2011-02-26T22:09:19.813
2014-04-01T00:46:52.163
Install applications on LiveCD/USB
[ "installation", "package-management", "live-usb" ]
5
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I can say that <em>yes</em> it is possible to run Ubuntu from a usb in that fashion, but I would not suggest it.</p>\n\n<p>Flash drives have a set number of writes, hundred of thousands in some cases, and that sounds large but for an OS saving and reading files constantly, it wont take long before that pen drive reaches its limit.</p>\n\n<p><strong>Short answer</strong>: yes, its possible and as an experiment interesting. As a permanent solution no.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2013-09-13T03:47:26.320", "id": "344952", "lastActivityDate": "2013-09-13T05:46:38.360", "lastEditDate": "2013-09-13T05:46:38.360", "lastEditorDisplayName": null, "lastEditorUserId": "169736", "ownerDisplayName": null, "ownerUserId": "192512", "parentId": "20502", "postTypeId": "2", "score": "9" }
[ { "accepted": null, "body": "<p>There is a way to have a portion of the usb disk dedicated to new files on the livecd desktop. When you make the live usb via the \"Startup Disk Creator\" you need to select \"Stored in reserved space\", I'm not sure if this only effects the docs and settings and not new apps...
null
null
null
null
user5245
20507
1
20514
2011-01-07T19:04:21.727
68
73083
<p>As it was suggested <a href="https://askubuntu.com/questions/9168/joining-mp3-files-losslessly/9180#9180">here</a> I am using <code>cat</code> command to concatenate several .mp3 files into one .mp3 file.</p> <p>Imagine, I have following .mp3 files in the current folder:</p> <pre><code>001001.mp3 001002.mp3 001003.mp3 001004.mp3 001005.mp3 </code></pre> <p>or, like this:</p> <pre><code>096001.mp3 096002.mp3 096003.mp3 096004.mp3 </code></pre> <p>I need to concatenate these .mp3 files in there ascending sequence, i.e. <code>001001.mp3+001002.mp3+001003.mp3+etc.</code></p> <p>In order to join these .mp3 files into one I am executing following command in the current folder:</p> <pre><code>cat *.mp3 &gt; final.mp3 </code></pre> <p>I tested the final .mp3 file and it is what I am expected, but I need to be <strong>sure</strong> that above command picks files in there ascending sequence.</p> <p>Can I be sure that above command always concatenates files in the ascending sequence?</p> <p>Thank you <em>Sir</em>!</p>
161
-1
2020-06-12T14:37:07.210
2023-01-02T21:36:28.193
Concatenating several .mp3 files into one .mp3
[ "command-line", "bash", "files" ]
9
1
CC BY-SA 2.5
[ { "creationDate": "2022-04-24T00:06:21.220", "id": "2438354", "postId": "20507", "score": "0", "text": "Would you say why you want to do this? If it is to create a single-file audiobook, you should check out https://github.com/sandreas/m4b-tool", "userDisplayName": null, "userId": "2273"...
{ "accepted": true, "body": "<p><code>cat</code> is not the right tool for this job. The MP3 format has all sorts of junk that can lurk at the front and end of the file and this needs to be strippe out. <code>mp3wrap</code> is what you want. It will exclude any metadata in the files and stick the audio together.</p>\n\n<pre><code>sudo apt-get install mp3wrap\nmp3wrap output.mp3 *.mp3\n</code></pre>\n\n<p>Before you do that, run <code>ls *.mp3</code> to check that they're in the correct order. When I originally wrote this answer (over six years ago!) wildcard globs apparently didn't behave well but I think they do now.</p>\n\n<p>You might need to rename the files if for example, they are numbered but aren't zero-padded, <code>{1-11}.mp3</code> would be sorted by <code>1 10 11 2 3 4 5 6 7 8 9</code>. <a href=\"https://askubuntu.com/a/473355/449\">This can be fixed easily</a>.</p>\n", "commentCount": "9", "comments": [ { "creationDate": "2011-01-08T01:25:26.307", "id": "22118", "postId": "20514", "score": "2", "text": "Right - cat will mangle the mp3 file format by \"creating an array\" (as it were) of mp3 files within a single mp3 file. But it seems to work if the player software is smart enough.", "userDisplayName": "user8290", "userId": null }, { "creationDate": "2014-07-31T01:25:05.860", "id": "679823", "postId": "20514", "score": "1", "text": "This worked better for me, because it handles mp3s with spaces in the filename: `find . -maxdepth 1 -iname '*.mp3' -print0 | sort -z | xargs -0 mp3wrap output.mp3`", "userDisplayName": null, "userId": "18665" }, { "creationDate": "2014-07-31T07:49:08.387", "id": "679973", "postId": "20514", "score": "1", "text": "@bmaupin A fair point but I'm not sure why I wasn't just using Bash's wildcard expansion. `*.mp3` should suffice (and works with spaces).", "userDisplayName": null, "userId": "449" }, { "creationDate": "2016-04-04T16:14:36.277", "id": "1124552", "postId": "20514", "score": "0", "text": "Available for mac from *brew* package manager! `$ brew install mp3wrap`.", "userDisplayName": null, "userId": "110424" }, { "creationDate": "2016-07-23T17:48:18.110", "id": "1210501", "postId": "20514", "score": "1", "text": "In bash, `*.mp3` is guaranteed to preserve alphabetical order. If your files are named `09.mp3`, `10.mp3`, `11.mp3`, that's probably what you want. If your files are named `9.mp3`, `10.mp3`, `11.mp3`, that's probably not what you want, but you can do `\\`ls *.mp3 | sort -n\\``.", "userDisplayName": null, "userId": "33207" }, { "creationDate": "2017-10-26T23:10:28.520", "id": "1553143", "postId": "20514", "score": "0", "text": "With 295 files, I get:\n\n`\nmp3wrap output.mp3 *.mp3\nMp3Wrap Version 0.5 (2003/Jan/16). See README and COPYING for more!\nWritten and copyrights by Matteo Trotta - <matteo.trotta@lib.unimib.it>\nTHIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!\nError: too many files to wrap!` Solution seems to be to go hierarchical: http://mp3wrap.sourceforge.net/faq.html#q6", "userDisplayName": null, "userId": "24458" }, { "creationDate": "2017-12-23T01:44:58.953", "id": "1593425", "postId": "20514", "score": "0", "text": "@vishvAsvAsuki With that error (`Error: too many files to wrap!`), you could try building it up in chunks. Maybe concatenate chunks of 10 mp3 files, then concatenate those together.", "userDisplayName": null, "userId": "301745" }, { "creationDate": "2017-12-23T01:54:45.643", "id": "1593427", "postId": "20514", "score": "0", "text": "Regarding sorting, if you know the filenames, you could use brace expansion, e.g: `mp3wrap output.mp3 {1..11}.mp3`", "userDisplayName": null, "userId": "301745" }, { "creationDate": "2019-06-24T11:24:45.390", "id": "1918374", "postId": "20514", "score": "0", "text": "awesome solution. anyway to normalize the songs too?", "userDisplayName": null, "userId": "388467" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T19:36:14.543", "id": "20514", "lastActivityDate": "2017-08-17T09:59:01.013", "lastEditDate": "2017-08-17T09:59:01.013", "lastEditorDisplayName": null, "lastEditorUserId": "449", "ownerDisplayName": null, "ownerUserId": "449", "parentId": "20507", "postTypeId": "2", "score": "81" }
[ { "accepted": null, "body": "<p>It does an alphabetical sort based on single characters. That means that \"01\" comes before \"1\", since nought has a lower value than one.</p>\n\n<p>Here's an example. I've got a directory with files named 1, 2, 3, 04, 05, and 06. They are text files that contain their own ...
null
null
null
null
null
20508
1
null
2011-01-07T19:09:12.643
4
17136
<p>I'd like to run the following incomplete script weekly in as a cron job to backup my home directory to an external drive mounted as /mnt/backups</p> <pre><code>#!/bin/bash # TIMEDATE=$(date +%b-%d-%Y-%k:%M) LASTBACKUP=pathToDirWithLastBackup rsync -avr --numeric-ids --link-dest=$LASTBACKUP /home/myfiles /mnt/backups/myfiles$TIMEDATE </code></pre> <p>My first question is how do I correctly set LASTBACKUP to the the the directory in /backs most recently created? </p> <p>Secondly, I'm under the impression that using --link-desk will mean that files in previous backups will not will not copied in later backups if they still exist but will rather symbolically link back to the originally copied files? However, I don't want to retain old files forever. What would be the best way to remove all the backups before a certain date without losing files that may think linked in those backups by currents backups? Basically I'm looking to merge all the files before a certain date to a certain date if that makes more sense than the way I initially framed the question :). Can --link-dest create hard links, and if so, just deleting previous directories wouldn't actually remove linked file?</p> <p>Finally I'd like to add a line to my script that compresses each newly created backup folder (/mnt/backups/myfiles$TIMEDATE). Based on <a href="https://serverfault.com/questions/52725/rsync-to-compressed-archive-of-file">reading this question</a>, I was wondering if I could just use this line </p> <pre><code>gzip --rsyncable /backups/myfiles$TIMEDATE </code></pre> <p>after I run rsync so that sequential rsync --link-dest executions would find already copied and compressed files? </p> <p>I know that's a lot, so many thanks in advance for your help!!</p>
4500
-1
2017-04-13T12:14:52.490
2011-11-16T14:40:05.667
Script for an incremental file system backup
[ "bash", "backup", "scripts", "rsync" ]
4
0
CC BY-SA 3.0
[]
null
[ { "accepted": null, "body": "<p>One question at a time please, I'm only going to answer the first question and you can post the others to another question:</p>\n\n<p>In order to know what was the last backup dir, you simply add:</p>\n\n<pre><code>echo /mnt/backups/myfiles$TIMEDATE &gt; /mnt/backups/last.dir...
null
null
null
null
null
20516
1
null
2011-01-07T20:00:31.810
2
302
<p>I have a package that is extremely complicated and uses libraries not included in any of the default repos.</p> <p>Can I upload a 'source' archive that contains the source and a pre-compiled binary? The build script would simply copy the binary to the package being built.</p> <p>Is this acceptable or will I run into trouble?</p> <p><strong>Note:</strong> <a href="https://launchpad.net/chromify-osd" rel="nofollow">This</a> is the project page.</p>
5
null
null
2011-01-07T21:35:16.253
Is it okay to upload a binary 'source' archive to Launchpad for building?
[ "ppa", "launchpad", "binary" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T02:04:57.830", "id": "22119", "postId": "20516", "score": "0", "text": "just something to think about...to address compilation woes like this, one project I am aware of(not in PPA) mplayer, places the build requirements in subdirectories of the source package and le...
null
[ { "accepted": null, "body": "<p>No. You need to package and upload the libraries first then.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-07T20:33:31.973", "id": "22086", "postId": "20520", "score": "0", "text": "Sigh... this is...
null
null
null
null
null
20519
1
null
2011-01-07T20:29:00.180
5
2304
<p>Installed LibreOffice, no problems but when I click on LibreWriter it takes 30 seconds before it's ready to go. I played with Memory in Options, no improvement. I unchecked Java, no improvement.</p>
null
235
2012-10-12T13:22:03.573
2019-03-02T21:39:07.063
LibreOffice takes 30 seconds to start. OO started almost immediately
[ "libreoffice" ]
4
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-07T20:45:37.147", "id": "22088", "postId": "20519", "score": "0", "text": "Was that the first time you opened the application? Sometimes it is slow only during the first time, or immediately after some update.", "userDisplayName": "user7182", "userId": null }...
null
[ { "accepted": null, "body": "<h2>Only applicable to older versions (pre-6.x)</h2>\n<p>Try using the systray quickstarter. Openoffice most likely is, and that is why it starts immediately.\n<img src=\"https://i.stack.imgur.com/oEsic.png\" alt=\"alt text\" /></p>\n", "commentCount": "0", "comments": [...
null
null
2019-03-02T21:43:00.543
null
BDWeiner
20521
1
20524
2011-01-07T20:40:16.230
2
460
<p>So with an old burned install CD of Feisty Fawn I went through the process of completely formatting the Windows OS and installing Ubuntu on an old XP laptop. I then went through the online upgrade to 10.4 LTS, only installing the gnome desktop environment package in the process.</p> <p>My (admittedly very open) question is that in this state and online, what security considerations do I have to immediately make for the default install? I understand that a lot of this swings on my intended use of the server, but just sitting there online what risks is it exposed to (this obviously goes far beyond the realm of linux, but I am not sure how these risks are accommodated in the default install). For example, I believe there is a firewall installed with Ubuntu but by default it allows all traffic. </p> <p>Any other guidelines would be much appreciated. Thanks</p>
8434
235
2011-01-07T21:30:55.210
2011-01-08T01:17:50.603
Security considerations for a default install?
[ "installation", "security", "default" ]
4
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The <a href=\"https://help.ubuntu.com/community/Security\" rel=\"nofollow\">Community Documentation's security chapter</a> is a good starting point. For a server you should read <a href=\"https://help.ubuntu.com/10.04/serverguide/C/security.html\" rel=\"nofollow\">the security chapter in the server guide</a>, too</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T21:07:37.810", "id": "20524", "lastActivityDate": "2011-01-07T21:07:37.810", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2369", "parentId": "20521", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>None.</p>\n\n<p>There is no firewall needed for a default Ubuntu system because there are no insecure services listening by default.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-07T21:09:00.647", "id": "22094", "p...
null
null
null
null
null
20530
1
20534
2011-01-07T21:59:53.487
19
11165
<p>I'm trying to write a little script to help manage my windows via keyboard shortcuts.</p> <p>In order to do what I want, I need to be able to find the current location and size of the "active" (focused) window. By location, I mean the X,Y coordinates of the window on the desktop, and by size I mean the height and width of the window.</p> <p>Is there a command line utility that can fetch this information?</p>
2114
15811
2011-08-14T08:16:28.210
2018-09-26T02:59:45.953
How can I find the location (on the desktop) of a window on the command line?
[ "gnome", "scripts" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>You can get all the info for the current active window by using this command:</p>\n\n<pre><code>xwininfo -id $(xprop -root | awk '/_NET_ACTIVE_WINDOW\\(WINDOW\\)/{print $NF}')\n</code></pre>\n\n<p>or</p>\n\n<pre><code>xwininfo -id $(xdpyinfo | grep focus | grep -E -o 0x[0-9a-f]+)\n</code></pre>\n\n<p>Just parse the output for the co-ordinates you need. Here are some useful commands when interacting with windows:</p>\n\n<ul>\n<li><strong>xwininfo</strong> will give you the relative and absolute geometry.</li>\n<li><strong>xprop</strong> will tell you a lot of info, including if the window is active, but not it's geometry</li>\n<li><strong>xdpyinfo</strong> will get you the id of the active window too, but no extra info.</li>\n<li><strong>wmctrl</strong> will get you a list of information about windows, and allow you select the active window for modification, but not information.</li>\n</ul>\n\n<hr>\n\n<p>For example to change the title of the active window to \"New Name\":</p>\n\n<pre><code>wmctrl -r :ACTIVE: -N \"New Name\"\n</code></pre>\n\n<p>Or to change the position of the active window:</p>\n\n<pre><code>wmctrl -r :ACTIVE: -e 0,20,20,200,400\n</code></pre>\n\n<p>Consider <code>wmctrl</code> if you need to just change something simple, like the window's geometry. Consider using the other scripts mentioned above only if you want to do other more complex things.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-11T02:27:04.720", "id": "22555", "postId": "20534", "score": "1", "text": "I'd just like to note that I get different results when running the second command. First one works as I'd expect.", "userDisplayName": null, "userId": "2114" }, { "creationDate": "2013-01-19T16:10:15.420", "id": "304228", "postId": "20534", "score": "1", "text": "I use Arch but it might help someone here in the future. The 1st one didn't work for me, 2nd one didn't provide correct dimensions maybe due to the WM. But the combination of the two worked. `xwininfo -id $(xprop -root | grep \"_NET_ACTIVE_WINDOW(WINDOW)\" | grep -Eo \"0x[0-9a-f]{2,}\")`", "userDisplayName": null, "userId": "124467" }, { "creationDate": "2015-02-02T15:21:48.593", "id": "803126", "postId": "20534", "score": "0", "text": "Thanks! But I agree with the first two comments. The second command, `xwininfo -id $(xdpyinfo | grep focus | grep -E -o 0x[0-9a-f]+)` shows me a child window (has no name) of my Terminal. When I just do `xdpyinfo | grep focus` I get `focus: window 0x435b877, revert to Parent`, and 0x435b877 is the id of the window returned by the first command (which does work for me). This is on Trusty 14.04.1 LTS", "userDisplayName": null, "userId": "6130" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-07T22:20:28.023", "id": "20534", "lastActivityDate": "2011-01-18T13:10:50.733", "lastEditDate": "2011-01-18T13:10:50.733", "lastEditorDisplayName": null, "lastEditorUserId": "132", "ownerDisplayName": null, "ownerUserId": "132", "parentId": "20530", "postTypeId": "2", "score": "22" }
[ { "accepted": null, "body": "<p>With \"xdotool\" you can easily interact with windows using keyboard or mouse events.</p>\n\n<p>Example of sending a <kbd>Ctrl</kbd><kbd>C</kbd> sequence to the active window:</p>\n\n<pre><code>xdotool getwindowfocus key ctrl+c # Sends CTRL+C to the current window.\n</code></...
null
null
null
null
null
20531
1
20546
2011-01-07T22:05:04.950
10
12325
<p>How can I tell which version and from which repository the <strong>Additional Drivers</strong> tool is trying to install the fglrx graphics driver?</p> <p>It says that I have a different version of the driver in use. I installed the driver from maverick/restricted and apt-cache tells me it's from a regular Ubuntu mirror. The installed version is the same as the candidate version.</p> <p>Can I get <strong>Additional Drivers</strong> to tell me what it would install if I activated the driver through it? Is it possible <strong>Additional Drivers</strong> just assumes it's a different version since it was installed by a different process?</p>
5806
null
null
2013-01-25T16:06:09.477
How to determine the version and origin of proprietary drivers installed by Additional Drivers?
[ "10.10", "package-management", "drivers", "proprietary" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The \"Additional Drivers\" (aka jockey-gui) GUI tool can't tell you much and it can be easily confused. If you've used cli commands to install the right driver then you don't need to use the gui tool.</p>\n\n<p>It sounds like you know how to use apt-cache to search for the versions available.</p>\n\n<p>So use jockey-text to find the list of drivers and the packages:</p>\n\n<pre><code>jockey-text -l\n</code></pre>\n\n<p>On my machine this looks like:</p>\n\n<pre><code>kmod:nvidia_current - nvidia_current (Proprietary, Enabled, Not in use)\npkg:sl-modem-daemon - Software modem (Proprietary, Disabled, Not in use)\n</code></pre>\n\n<p>kmod stands for kernel module, pkg is obviously an apt package. According to the code, jockey installs the latest candidate package and ignores any detectable kernel modules or blacklisted modules.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T00:57:48.057", "id": "20546", "lastActivityDate": "2011-01-08T00:57:48.057", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "132", "parentId": "20531", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p>The \"Additional Drivers\" (aka jockey-gui) GUI tool can't tell you much and it can be easily confused. If you've used cli commands to install the right driver then you don't need to use the gui tool.</p>\n\n<p>It sounds like you know how to use apt-cache to search for the ve...
null
null
null
null
null
20535
1
20552
2011-01-07T22:23:01.143
2
822
<p>I have installed wubi on one of my NTFS partions, I chose this one, because it had the most free space, but for some reason wubi does not mount it automatically, can I mount it manually?</p>
8436
235
2011-01-08T04:22:19.487
2011-01-08T04:22:19.487
Why I can't access partition on which I have installed it?
[ "wubi" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The windows fs is already mounted since it contains the loopback file you use as the root fs. You should be able to see it under /host if I am understanding this initramfs script correctly.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T01:30:20.320", "id": "20552", "lastActivityDate": "2011-01-08T01:30:20.320", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "20535", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>I'm a bit confused by your question. Wubi uses a loop file to store the Ubuntu install. You will be able to mount the loop file from Windows as long the filesystem in Ubuntu is ext3, ext4 might be more of a problem.</p>\n\n<p>Please see the following forum post for more info:...
null
null
null
null
null
20540
1
30659
2011-01-07T23:16:42.687
4
4536
<p>Originally asked on <a href="https://answers.launchpad.net/hundredpapercuts/+question/140585" rel="nofollow">One Hundred Paper Cuts Answers thread</a></p> <blockquote> <p>On the official site: <a href="http://www.ubuntu.com/netbook/get-ubuntu/download" rel="nofollow">http://www.ubuntu.com/netbook/get-ubuntu/download</a></p> <p>The instructions for creating a bootable USB key for installing Ubuntu Netbook Remix include a line saying:</p> <p>"Insert a USB stick with at least 2GB of free space"</p> <p>I recently installed UNR on a netbook -- in fact, the one I'm using right now -- and I went ahead despite only having a 1GB USB key on hand. Everything went smoothly and installed 100% correctly.</p> <p>If I had waited to go out and buy a 2GB USB key I would have spent that money unnecessarily and wouldn't have been able to use the computer in the meantime.</p> <p>I was wondering if there's a specific rationale for requiring a 2GB USB key, or if the instructions could be changed to indicate that it can be done with only 1GB.</p> <p>Thanks!</p> </blockquote>
null
null
null
2012-10-11T11:37:20.103
bootable USB / installation requirements
[ "live-usb" ]
4
1
CC BY-SA 2.5
[ { "creationDate": "2011-03-16T16:28:44.940", "id": "34369", "postId": "20540", "score": "0", "text": "Well how big was the \"installed\" ubuntu on the usb-stick? But it sounds a bit strange to me too.", "userDisplayName": null, "userId": "10698" } ]
{ "accepted": true, "body": "<p>The specific requirements for a 2GB stick is so you can install a persistent file to the USB disk so that if you require a certain package on the LiveUSB, you will have more than enough space.</p>\n\n<p>The persistent filesystem for the disk requires at least (from the experiences I've had) 500MB to efficiently operate (see the below section titled \"<strong>EDIT</strong>\" for details on this number). That is the reason for the 2GB USB stick requirement.</p>\n\n<p><strong>EDIT</strong><br />\nThe source for this information was testing I've done in the past. I have 1GB, 2GB, and 8GB sticks here, and making the bootable USB disc through the USB Startup Creator tool in 10.04, the persistent filesystem does not effectively operate at the 1GB level, works fairly well at the 2GB level, and works great at the 8GB level.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-03-16T18:05:17.210", "id": "30659", "lastActivityDate": "2011-04-15T02:18:01.977", "lastEditDate": "2011-04-15T02:18:01.977", "lastEditorDisplayName": null, "lastEditorUserId": "1992", "ownerDisplayName": null, "ownerUserId": "10616", "parentId": "20540", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>The UNR iso is under 700 meg so I would imagine it will fit on a 1GB stick, but don't quote me on that ;)</p>\n\n<p>I seem to remember using a black 1GB stick I have for doing same with an older version of UNR, but of course requirements may have changed since then.</p>\n\n<p...
null
null
null
null
user2405
20543
1
20544
2011-01-07T23:35:27.957
12
5237
<p>I purchased a <a href="http://rads.stackoverflow.com/amzn/click/B00480OSVK" rel="nofollow">Boxee Remote</a>, which is an RF remote so I don't need to mess with lirc or anything like that.</p> <p>How do I get it working in Ubuntu for use as a media center remote?</p>
235
null
null
2012-02-14T15:50:52.717
How do I get a Boxee Remote working?
[ "boxee", "xbmc" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<h3>Basic Support</h3>\n<p>The remote itself is recognized out of the box with no set up, however if you are running 10.10 the X server needs to be patched <a href=\"https://bugs.launchpad.net/xorg-server/+bug/597895\" rel=\"nofollow noreferrer\">or it crashes</a> (see below for instructions). Unfortunately there is no support at all for versions earlier than 10.10, which includes older versions of XBMC Live.</p>\n<p>If you use 11.04 and later all you need to do is remap the keys:</p>\n<h3>Remapping the keys</h3>\n<p><a href=\"http://forum.xbmc.org/showpost.php?p=656309&amp;postcount=32\" rel=\"nofollow noreferrer\">This post</a> on the XBMC forum has information on how to remap the buttons to be more effective.</p>\n<blockquote>\n<p>I set the menu key to ParentDir. I also frequently use the context menu, so I remapped it to the A key on the back.</p>\n</blockquote>\n<p>Create a <code>$home/.xbmc/userdata/keymaps/keyboard.xml</code> with the following:</p>\n<pre><code>&lt;keymap&gt;\n &lt;global&gt;\n &lt;keyboard&gt;\n &lt;key id=&quot;61467&quot;&gt;ParentDir&lt;/key&gt;\n &lt;key id=&quot;61505&quot;&gt;ContextMenu&lt;/key&gt;\n &lt;/keyboard&gt;\n &lt;/global&gt;\n&lt;/keymap&gt;\n</code></pre>\n<p>Then restart XBMC. I also found it useful to turn off mouse support in XBMC's settings.</p>\n<h3>Support for 10.10:</h3>\n<p>There are 10.10 packages for this <a href=\"https://launchpad.net/%7Eken-vandine/+archive/boxee\" rel=\"nofollow noreferrer\">in this PPA</a>. Instructions on how to use PPAs <a href=\"https://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them\">are here</a>.</p>\n<p>Here's the short version:</p>\n<pre><code>sudo add-apt-repository ppa:ken-vandine/boxee\nsudo apt-get update\nsudo apt-get upgrade\n</code></pre>\n<p>Then either restart X or reboot.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-07T23:38:45.877", "id": "20544", "lastActivityDate": "2012-02-14T15:50:52.717", "lastEditDate": "2020-06-12T14:37:07.210", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "235", "parentId": "20543", "postTypeId": "2", "score": "16" }
[ { "accepted": true, "body": "<h3>Basic Support</h3>\n<p>The remote itself is recognized out of the box with no set up, however if you are running 10.10 the X server needs to be patched <a href=\"https://bugs.launchpad.net/xorg-server/+bug/597895\" rel=\"nofollow noreferrer\">or it crashes</a> (see below for...
null
null
null
null
null
20554
1
20617
2011-01-08T01:33:24.517
7
12071
<p>Xilinx webPack 10.1 requires 32-bit Linux. <sub>Only this old version is compatible with their boards.</sub> <a href="https://help.ubuntu.com/community/32bit_and_64bit#How_to_Make_32-bit_Applications_Work_on_a_64-bit_Operating_System" rel="nofollow">How to make 32-bit applications work on a 64-bit operating system</a> lists:</p> <ol> <li><p>Installation of 32-bit compatibility libraries (ia32-libs or Multiarch support)<br><sub>I already installed ia32-libs, and it's still not working</sub></p></li> <li><p>A 32-bit <a href="https://help.ubuntu.com/community/DebootstrapChroot" rel="nofollow">chroot</a></p></li> <li><p>Full virtualization through KVM or VirtualBox <sub>No, I don't want to be working from a vm all of next semester, that would be painful and I'd rather just reinstall my whole computer to a 32 bit os; which I don't want to do.</sub></p></li> <li><p>Another option in a pinch is getlibs getlibs <sub>It didn't sound like it was the best option based on what I've seen.</sub></p></li> </ol> <p>So I went off to do #2, and set up a chroot for 32-bit Ubuntu Lucid (10.10). Which is to say I wrote: </p> <pre><code>[hardy-i386] description=Ubuntu 8.04 Hardy for i386 directory=/srv/chroot/hardy-i386 personality=linux32 root-users=leif type=directory users=leif </code></pre> <p>to</p> <pre><code>/etc/schroot/chroot.d/hardy-i386 </code></pre> <p>I then ran: </p> <pre><code>$ sudo mkdir -p /srv/chroot/hardy_i386 $ sudo debootstrap --variant=buildd --arch i386 hardy /srv/chroot/hardy_i386 http://archive.ubuntu.com/ubuntu/ </code></pre> <p>Then I ran:</p> <pre><code>$ schroot -l </code></pre> <p>And it showed the proper chroot, but then when I run:</p> <pre><code>$ schroot -c hardy-i386 -u root </code></pre> <p>I get the following error:</p> <pre><code>E: 10mount: error: Directory '/srv/chroot/hardy-i386' does not exist E: 10mount: warning: Mount location /var/lib/schroot/mount/hardy-i386-80359697-2164-4b10-a05a-89b0f497c4f1 no longer exists; skipping unmount E: hardy-i386-80359697-2164-4b10-a05a-89b0f497c4f1: Chroot setup failed: stage=setup-start </code></pre> <p><code>/srv/chroot/hardy-i386</code> most certainly exists. I've also tried it replacing all references with hardy to lucid, to no avail. I did set up the chrome os environment: <a href="http://www.chromium.org/chromium-os/developer-guide" rel="nofollow">http://www.chromium.org/chromium-os/developer-guide</a> and it had me use something with <code>chmod</code>.</p> <p>So, can anyone figure out what the problem is?</p>
8358
246343
2014-08-11T16:09:47.917
2014-08-11T16:09:47.917
Chroot into a 32-bit version of Ubuntu from a 64-bit host
[ "64-bit", "32-bit", "chroot" ]
2
2
CC BY-SA 3.0
[ { "creationDate": "2011-01-08T02:12:11.443", "id": "22121", "postId": "20554", "score": "0", "text": "I'd back up a little. What error are you getting when you try to run the application? Most cross-arch software issues I've seen can be solved with `getlibs`", "userDisplayName": null, "u...
{ "accepted": true, "body": "<p>you may try</p>\n\n<pre><code>linux32 ./setup\n</code></pre>\n\n<p>this helps for 32Bit teamspeak on 64bit servers.</p>\n\n<p>from man: (linux32 is an setarch alias)</p>\n\n<pre><code> setarch - change reported architecture in new program environment and\n set personality flags\n</code></pre>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T15:07:30.167", "id": "20617", "lastActivityDate": "2011-01-08T15:07:30.167", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1990", "parentId": "20554", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<p>you may try</p>\n\n<pre><code>linux32 ./setup\n</code></pre>\n\n<p>this helps for 32Bit teamspeak on 64bit servers.</p>\n\n<p>from man: (linux32 is an setarch alias)</p>\n\n<pre><code> setarch - change reported architecture in new program environment and\n set personali...
null
null
null
null
null
20568
1
20570
2011-01-08T05:00:37.877
2
5855
<p>I have Docky installed on Ubuntu 10.10 64bit and noticed after a recent upgrade my 'Helpers' are no longer available. After some research I found that Dockmanager is no longer installed either.</p> <p>I am unable to install it via the Software centre or via terminal using apt-get, the following error is returned;</p> <pre><code>mark@Sonata:~$ sudo apt-get install dockmanager Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: dockmanager 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/94.4kB of archives. After this operation, 430kB of additional disk space will be used. (Reading database ... 162015 files and directories currently installed.) Unpacking dockmanager (from .../dockmanager_0.1.0~bzr83-0ubuntu1~10.10~dockers1_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/dockmanager_0.1.0~bzr83-0ubuntu1~10.10~dockers1_amd64.deb (--unpack): trying to overwrite '/usr/share/dockmanager/data/skype_invisible.svg', which is also in package faenza-icon-theme 0.8 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/dockmanager_0.1.0~bzr83-0ubuntu1~10.10~dockers1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) mark@Sonata:~$ </code></pre> <p>Can anyone advise on how to fix this?</p>
4982
169736
2014-05-20T11:36:32.527
2016-07-14T04:11:06.133
trying to overwrite '*', which is also in package faenza-icon-theme 0.8
[ "dpkg" ]
2
2
CC BY-SA 3.0
[ { "creationDate": "2011-02-05T22:16:47.377", "id": "27261", "postId": "20568", "score": "0", "text": "I'm having this same issue. I'm unable to purge the Faenza package and when I try to remove it with the software center or Synaptic, I get an error.", "userDisplayName": "user10284", "us...
{ "accepted": true, "body": "<p>What's happened is that when you updated, it tried to install an update of the dockmanager, but a theme package you installed previously has done naughty things and replaced one of the dockmanager's files.</p>\n\n<p>To fix you need to do the following:</p>\n\n<pre><code>sudo apt-get purge faenza-icon-theme\n</code></pre>\n\n<p>Then try and reinstall your dockmanager, you also need to report to the maintainer of <code>faenza-icon-theme</code> that he's made a broken package and he should fix it as soon as possible. Basically he needs to make it so that it doesn't replace files from other packages.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-08T07:53:22.603", "id": "22131", "postId": "20570", "score": "0", "text": "Can you +1 my question (press the little up arrow).", "userDisplayName": null, "userId": "132" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-08T06:44:11.390", "id": "20570", "lastActivityDate": "2011-08-05T16:47:07.577", "lastEditDate": "2011-08-05T16:47:07.577", "lastEditorDisplayName": null, "lastEditorUserId": "667", "ownerDisplayName": null, "ownerUserId": "132", "parentId": "20568", "postTypeId": "2", "score": "5" }
[ { "accepted": true, "body": "<p>What's happened is that when you updated, it tried to install an update of the dockmanager, but a theme package you installed previously has done naughty things and replaced one of the dockmanager's files.</p>\n\n<p>To fix you need to do the following:</p>\n\n<pre><code>sudo ...
null
null
null
null
null
20571
1
null
2011-01-08T07:15:26.813
8
10606
<p>Why does Ubuntu 10.10 amd64 (Maverick Meerkat) not address more of 3&nbsp;GB RAM?</p> <p>My machine is a Toshiba P205-S6287 Intel Centrino Duo 64 bits processor and 4&nbsp;GB RAM at 667&nbsp;MHz.</p> <p>According to the <a href="http://support.toshiba.com/support/staticContentDetail?contentId=1723792&amp;isFromTOCLink=false" rel="nofollow noreferrer">detailed specifications</a>, the notebook runs a 64-bit Core 2 Duo T5300 processor and has a 945GM Express chipset. </p>
null
10883
2018-10-01T05:32:24.853
2018-10-01T05:32:45.373
Why is more than 3 GB of RAM not recognised when using AMD64?
[ "64-bit", "ram", "architecture" ]
4
3
CC BY-SA 4.0
[ { "creationDate": "2011-01-08T08:08:18.293", "id": "22133", "postId": "20571", "score": "3", "text": "It's a mystery, can you report the output of `uname -a`, the output of `free -m` and also confirm that you have more than 3GB of ram active by looking at your dmidecode.", "userDisplayName":...
null
[ { "accepted": null, "body": "<p>There are several possible reasons.</p>\n\n<p>One is that you are, in fact, not running the amd64 build. Another is that your motherboard and/or BIOS are broken and not reporting the correct amount of RAM.</p>\n\n<p>Another is that you have video memory and other hardware res...
null
null
null
null
Diego
20572
1
null
2011-01-08T07:30:51.787
3
14208
<p>I want my Kubuntu to auto mount my hard disks at login without the need for password. I tried it through System settings -> removable media and checked "Enable automount removable media". But at the moment i log in Kdesudo asks for password for all the hard drive at once.</p> <p>I want it without any password. How can i do that ?</p>
7377
235
2011-01-08T15:47:39.177
2013-01-13T19:08:13.893
How to automount hard disks without the need for password at login?
[ "automount", "kubuntu" ]
4
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Download ntfs-3g config from Kpackagekit</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-08T12:51:15.217", "id": "22156", "postId": "20573", "score": "0", "text": "that helped. How did you understand ...
null
null
null
null
null
20574
1
22784
2011-01-08T08:00:09.457
6
5752
<p>I've been experimenting with <a href="http://code.google.com/p/s3ql/" rel="nofollow">s3ql</a> on Ubuntu 10.04, using it to mount Amazon S3 buckets. However, I'd really like it to mount them automatically. Does anyone know how to do that?</p> <hr> <p><strong>Solution:</strong></p> <p>Thanks to help from Nikratio of <a href="http://code.google.com/p/s3ql/" rel="nofollow">s3ql</a> I'm finally able to mount S3 buckets automatically when the system boots. You'll definitely want to look at the <a href="http://www.rath.org/s3ql-docs/index.html" rel="nofollow">manual</a>, but here's the basics of how to do it!</p> <p>The first step is to create an authinfo file. This file should be placed in a .s3ql directory within the home directory of the user who will be using it. The authinfo file contains login info allowing s3ql to mount buckets without prompting. Below is an example of what your authinfo file should look like. The first line contains your Amazon Security Credentials. The second contains the location and password for your bucket. You can add multiple bucket-lines to this file if needed, but I'm only using one in this example. At this point, the bucket password can be anything.</p> <pre><code>backend s3 machine any login YourAWSAccessKeyID password YourAWSSecretAccessKey storage-url s3://mybucket password EncryptionPasswordOfYourChoosing </code></pre> <p>The <code>encryption_password_of_your_choosing</code> is used by S3QL to encrypt/decrypt all file writes/reads from S3.</p> <p>The bucket name has to be unique across all of AWS: no two users can have the same bucket name, so its a good idea to log into Amazon Web Services and try different names until you find one that's available. One good naming scheme is to use the name of the domain+server you'll be accessing the bucket from (i.e. "staging.example.com" or "east.coast.01.example.com", or whatever is appropriate).</p> <p>To create the file system, use the command:</p> <pre><code>mkfs.s3ql s3://mybucket </code></pre> <p>It will prompt you for your encryption password. This should be the same as the bucket password in the authinfo file.</p> <p>Now that your file system is created, you can mount it using the command:</p> <pre><code>mount.s3ql s3://mybucket /mnt/s3/bucket </code></pre> <p>Of course, your bucket name and mount point will vary.</p> <p>Now, if we want to mount this bucket automatically on boot, we need to add an upstart script to /etc/init. Fortunately, s3ql comes packaged with one, s3ql.conf.</p> <p>I added "--allow-other" to the mount.s3ql command to allow users other than root to access the mounted bucket.</p> <pre><code># # This file can be placed in /etc/init. It defines an upstart job that # takes care of mounting and unmounting an S3QL file system. # description "S3QL Backup File System" author "Nikolaus Rath &lt;Nikolaus@rath.org&gt;" start on (filesystem and net-device-up IFACE=eth0) stop on runlevel [016] env BUCKET="s3://mybucket" env MOUNTPOINT="/mnt/s3/bucket" expect stop script # Redirect stdout and stderr into the system log DIR=$(mktemp -d) mkfifo "$DIR/LOG_FIFO" logger -t s3ql -p local0.info &lt; "$DIR/LOG_FIFO" &amp; exec &gt; "$DIR/LOG_FIFO" exec 2&gt;&amp;1 rm -rf "$DIR" # Check and mount file system fsck.s3ql --batch "$BUCKET" exec mount.s3ql --upstart --allow-other "$BUCKET" "$MOUNTPOINT" end script pre-stop script umount.s3ql "$MOUNTPOINT" end script </code></pre> <p>After adding this script, in theory you should be able to reboot and have your bucket automatically mounted, but this is were I ran into trouble. Mine wasn't being mounted.</p> <p>My problem was caused by the fact that upstart was running the script as root, but I'd created the file system as another user. Once I copied the .s3ql directory from the home directory of the user I'd been logged-in as to /root, the problem was solved.</p> <p>I hope this helps someone else out there. Although I haven't been using my mounted S3 bucket for long, I'm impressed with how my initial tests have gone.</p> <p>Also, this answer was written about a week after the solution was found. I think I've covered everything, but if you find I've missed a step, let me know and I'll add it. You'll also want to read the <a href="http://www.rath.org/s3ql-docs/index.html" rel="nofollow">manual</a>, its really worth reading if you intend to use s3ql.</p>
5921
14910
2012-10-14T06:13:11.033
2021-12-01T09:11:47.627
How to create a s3ql file system and mount it automatically on boot?
[ "server", "boot", "mount", "scripts" ]
3
5
CC BY-SA 3.0
[ { "creationDate": "2011-01-08T08:10:33.860", "id": "22136", "postId": "20574", "score": "1", "text": "Can you specify how you're getting this script to run at boot and weather you have correctly ordered any init.d scripts to happen after the network is up. also remember that the network may not ...
{ "accepted": true, "body": "<p>With some help from Nikratio, I'm finally able to mount my S3 bucket automatically on boot. I've updated my question with the solution.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2012-10-14T05:08:52.963", "id": "250021", "postId": "22784", "score": "2", "text": "This really is the place for the answer. Convention would suggest that you should just put the answer here. Since the \"accepted\" answer is always listed first, it will always appear immediately after the question. :)", "userDisplayName": null, "userId": "14910" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-22T18:03:40.117", "id": "22784", "lastActivityDate": "2011-01-22T18:03:40.117", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5921", "parentId": "20574", "postTypeId": "2", "score": "0" }
[ { "accepted": null, "body": "<p>Modern Ubuntu installations use the event driven upstart system for much of the boot up process, so you're best to move the start up to that. You'd have a script in /etc/init that would look something like this:</p>\n\n<pre><code>description \"S3FS\"\n\nstart on (filesyst...
null
null
null
null
null
20576
1
20577
2011-01-08T08:35:57.600
7
745
<p>My mother had an old Compaq desktop computer running Windows 98, which she used for occasional Web browsing and playing cards. Recently, a relative brought up a newer computer; it ran Windows XP.</p> <p>Unfortunately, the hard drive failed soon afterward, forcing me to reinstall the operating system. Not having the original Windows disc or product key led me to consider Ubuntu Linux. Will it work for mom?</p> <ol> <li><p>Is the hardware compatible? (Check the history of this question for the full specifications.)</p></li> <li><p>Would Ubuntu/Xubuntu suffice, or would I be better off buying a new copy of Windows?</p></li> <li><p>Is her card game (<a href="http://www.kidsdomain.com/reviews/kdr/hoylecard2001.html" rel="nofollow">Hoyle Card Games 3</a>) likely to run on Wine? I believe the minimum system requirement is Windows 95.</p></li> <li><p>Failing Wine compatibility, is running Windows 98 on VirtualBox an option on such an old computer?</p></li> <li><p>Are there any equally good card games for Linux? She plays mainly Bridge, Poker, and Solitaire.</p></li> <li><p>Is there any "Large Fonts" option for those with poor vision?</p></li> <li><p>Is it possible to use a serial mouse?</p></li> </ol>
8535
8535
2012-03-31T23:34:10.990
2012-03-31T23:34:10.990
Will Ubuntu work out on my mother's computer?
[ "hardware", "wine", "virtualbox", "games", "accessibility" ]
2
2
CC BY-SA 3.0
[ { "creationDate": "2011-01-08T22:28:42.123", "id": "22215", "postId": "20576", "score": "2", "text": "Ubuntu; invest $200 for your hardware, not your mum's machine :)", "userDisplayName": null, "userId": "7745" }, { "creationDate": "2011-01-08T23:40:09.353", "id": "22223", ...
{ "accepted": true, "body": "<p>Yes, Ubuntu is certainly the way to go. And not just because your in a situation. I believe it would probably be better in a number of ways.</p>\n\n<ol>\n<li><p>All the hardware except the mouse should work perfectly, even the printer and scanner.</p></li>\n<li><p>Ubuntu should work fine on 512MB of ram, the processor is sufficient too. But not for VirtualBox, that needs a much more powerful machine. But it doesn't look like you need it anyway.</p></li>\n<li><p>4 &amp; 5 - Card games is something there are a lot of in the Software Center. Especially poker, solitaire and bridge. The windows game will probably work, but it'd be best to try the native games first.</p></li>\n<li><p>Yes, large font themes are available by default. Check the System > Preferences > Appearance program to set the computer to high visibility and <a href=\"https://askubuntu.com/questions/19770/how-do-i-change-fonts\">increasing font sizes</a>.</p></li>\n<li><p>There is a way, but get a usb mouse as soon as possible. serial mice are a almost impossible to get working without serious work.</p></li>\n<li><p>Install the package <code>ubuntu-netbook-launcher</code> this is a UI which displays nice large icons on the desktop which my mum really likes. You may have to make a start up item so it launches on login and you should pre-fill the favourites with useful things like firefox.</p></li>\n<li><p>Set your mum up on gtalk with empathy and make sure you two are friends. That way she can ask you for help, but more importantly she can <a href=\"https://askubuntu.com/questions/11075/how-can-i-enable-the-share-desktop-feature-in-empathy\">share her desktop with you</a> and you can fix issues even if the any ssh/router configuration gets toasted.</p></li>\n</ol>\n", "commentCount": "4", "comments": [ { "creationDate": "2011-01-08T09:46:47.840", "id": "22140", "postId": "20577", "score": "0", "text": "ACK to all. Support by gtalk will not help when the machine won't boot ;)", "userDisplayName": null, "userId": "3940" }, { "creationDate": "2011-01-08T10:39:54.280", "id": "22145", "postId": "20577", "score": "0", "text": "Doctor Owens is in the house. Personally I would go with Lubuntu 10.04 less need for possible hardware upgrades (ram) I'm sure that the doc would recommend going on a healthy diet rather than having surgery :) . Just a second opinion although I Doff my cap to Martin's experience. Ps wine has a windows 95 compatibility setting and even a windows 2.0? setting didn't even know it existed.", "userDisplayName": null, "userId": "6450" }, { "creationDate": "2011-01-10T01:22:24.797", "id": "22372", "postId": "20577", "score": "0", "text": "Thanks for your answer. I managed to find the Windows XP disc and product key, but if we have any more problems with XP, I will definitely consider Ubuntu!", "userDisplayName": null, "userId": "8535" }, { "creationDate": "2011-01-10T04:34:17.087", "id": "22392", "postId": "20577", "score": "0", "text": "ok, but the sooner you make the switch, the sooner you'll not have to deal with issues.", "userDisplayName": null, "userId": "132" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T08:56:24.183", "id": "20577", "lastActivityDate": "2011-01-08T23:15:27.043", "lastEditDate": "2017-04-13T12:23:44.677", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "132", "parentId": "20576", "postTypeId": "2", "score": "17" }
[ { "accepted": true, "body": "<p>Yes, Ubuntu is certainly the way to go. And not just because your in a situation. I believe it would probably be better in a number of ways.</p>\n\n<ol>\n<li><p>All the hardware except the mouse should work perfectly, even the printer and scanner.</p></li>\n<li><p>Ubuntu shou...
null
null
null
null
null
20578
1
20584
2011-01-08T09:20:33.363
37
24096
<p>I have a small question regarding using <code>sudo</code> with output redirect <code>&gt;</code>. To enable IP forwrding, someone can use the command:</p> <pre><code>echo 1 &gt; /proc/sys/net/ipv4/ip_forward </code></pre> <p>Executing this command will give permission denied as it requires root privileges. However, executing the same command with <code>sudo</code> gives also permission denied error! It seems that output redirect <code>&gt;</code> does not inherit the permissions of the preceding command <code>echo</code>. Is this right?</p> <p>As a workaround I do:</p> <pre><code>echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward </code></pre> <p>Is this the best way to do it? Am I missing something?</p> <p>Please, note that this is an example and it applies to all commands that use output redirect.</p>
5927
169736
2014-04-25T11:08:17.503
2014-04-25T11:08:17.503
Redirect the output using `sudo`
[ "command-line", "sudo" ]
3
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>Your approach with <code>sudo tee</code> is fine. A nice consequence of using <code>sudo tee</code> is that the executed command before the pipe will not run as root. That's useful if you just need the output of a program, which does not require root privileges.</p>\n\n<p>If you don't care about the output of the program used before the pipe (<code>echo 1</code> in this case), redirect stdout to <code>/dev/null</code>:</p>\n\n<pre><code>echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward &gt; /dev/null\n</code></pre>\n\n<p>The above is equivalent to <code>sudo sh -c 'echo 1 &gt; /proc/sys/net/ipv4/ip_forward'</code> with the difference that <code>echo 1</code> is run as root.</p>\n\n<p>If you need to append to a privileged file, you can either use <code>sh -c 'echo 127.0.0.1 local.host &gt;&gt; /etc/hosts'</code> or:</p>\n\n<pre><code>echo 127.0.0.1 local.host | sudo tee -a /etc/hosts\n</code></pre>\n\n<p>Note the <code>-a</code> which is shorthand for <code>--append</code>.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 3.0", "creationDate": "2011-01-08T11:03:45.857", "id": "20584", "lastActivityDate": "2013-03-04T21:21:47.870", "lastEditDate": "2013-03-04T21:21:47.870", "lastEditorDisplayName": null, "lastEditorUserId": "1366", "ownerDisplayName": null, "ownerUserId": "6969", "parentId": "20578", "postTypeId": "2", "score": "40" }
[ { "accepted": null, "body": "<p>One solution is to use : </p>\n\n<pre><code>sudo bash -c 'echo 1 &gt; /proc/sys/net/ipv4/ip_forward'\n</code></pre>\n\n<p>but this one doesn't inherit env properties from the parent shell, so you can't use it for example with <code>echo $PATH</code> to get the same result you...
null
null
2014-09-20T14:12:28.370
null
null
20581
1
null
2011-01-08T10:29:04.840
4
772
<p>Set for television viewing tvtime, set up the remote, everything works fine. </p> <p>But I would like to set up an opportunity to pause live TV and record video, is there a function in tvtime or may be I need to install another program?</p>
8540
527764
2017-08-19T06:39:01.397
2017-08-19T06:39:01.397
How to configure TV and video recording and pausing?
[ "software-recommendation", "video-recording", "tvtime" ]
3
0
CC BY-SA 3.0
[]
null
[ { "accepted": null, "body": "<p>From <a href=\"http://tvtime.sourceforge.net/help.html#recording\" rel=\"nofollow\">http://tvtime.sourceforge.net/help.html#recording</a>:</p>\n\n<blockquote>\n <p>tvtime does not support recording or playback of recorded streams</p>\n</blockquote>\n", "commentCount": "0...
null
null
null
null
null
20585
1
20682
2011-01-08T11:13:12.087
4
6875
<p>Hy!</p> <p>I replaced gnome-screensaver with xscreensaver, it works great so far, but I can't get it to lock my session when I suspend my laptop.</p> <p>Any ideas how to do that?</p> <p>Ubuntu 10.10 Dell Vostro 1310</p> <p>Thanks!</p>
8541
7035
2011-06-07T16:53:29.350
2018-02-18T22:02:09.073
How to lock xscreensaver on suspend
[ "suspend", "screensaver", "lock-screen" ]
3
1
CC BY-SA 3.0
[ { "creationDate": "2015-06-19T10:49:45.140", "id": "912498", "postId": "20585", "score": "0", "text": "Some other options listed on the Arch Linux [wiki](https://wiki.archlinux.org/index.php/XScreenSaver#Automatically_lock_when_suspending.2Fsleeping.2Fhibernating).", "userDisplayName": null,...
{ "accepted": true, "body": "<p>Finally I found the right way of doing this combining the parts I found in /etc/acpi/sleep.sh (that seems left unused there), and Scaine pointed in /usr/lib/pm-utils...</p>\n\n<p>So the final script that works for me is:\n/usr/lib/pm-utils/sleep.d/00xscreensaver</p>\n\n<pre><code>#!/bin/sh\n\n# Lock xscreensaver on resume from a suspend.\n\n# getXuser gets the X user belonging to the display in $displaynum.\n# If you want the foreground X user, use getXconsole!\ngetXuser() {\n user=`pinky -fw | awk '{ if ($2 == \":'$displaynum'\" || $(NF) == \":'$displaynum'\" ) { print $1; exit; } }'`\n if [ x\"$user\" = x\"\" ]; then\n startx=`pgrep -n startx`\n if [ x\"$startx\" != x\"\" ]; then\n user=`ps -o user --no-headers $startx`\n fi\n fi\n if [ x\"$user\" != x\"\" ]; then\n userhome=`getent passwd $user | cut -d: -f6`\n export XAUTHORITY=$userhome/.Xauthority\n else\n export XAUTHORITY=\"\"\n fi\n export XUSER=$user\n}\n\nif pidof xscreensaver &gt; /dev/null; then\n for x in /tmp/.X11-unix/*; do\n displaynum=`echo $x | sed s#/tmp/.X11-unix/X##`\n getXuser;\n if [ x\"$XAUTHORITY\" != x\"\" ]; then\n export DISPLAY=\":$displaynum\"\n case \"$1\" in\n resume|thaw)\n sudo -u $XUSER xscreensaver-command -unthrottle\n ;;\n suspend|hibernate)\n sudo -u $XUSER xscreensaver-command -throttle\n sudo -u $XUSER xscreensaver-command -lock\n ;;\n esac\n fi\n done\nfi\n</code></pre>\n\n<p>The actual xscreensaver commands can also invoked trough su (instead of sudo) like</p>\n\n<pre><code>su $XUSER -c \"(xscreensaver-command -lock)\"\n</code></pre>\n\n<p>but that won't works for me because I use pam_mount to mount my encrypted home during login, and pam asks for my password for pam_mount in the script when I use su...</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-09T01:36:23.853", "id": "20682", "lastActivityDate": "2011-01-09T01:36:23.853", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8541", "parentId": "20585", "postTypeId": "2", "score": "4" }
[ { "accepted": null, "body": "<p>I'm no expert, but I think you could edit <code>/usr/lib/pm-utils/sleep.d/00powersave</code> to add the <code>xscreensaver-command --lock</code> command at the start.</p>\n\n<p>This will, however, execute twice - once when you suspend, then again when you resume.</p>\n\n<p>Ed...
null
null
null
null
null
20588
1
20659
2011-01-08T11:39:13.737
2
110
<p>I'm setting up the rsnapshot for backups. I've seen in the configuration file, the following backup lines are not commented by default. Should I leave them uncommented or not ?</p> <p>I'm not interested in backing up my system, just specific folders.</p> <pre><code>backup /home/ localhost/ backup /etc/ localhost/ backup /usr/local/ localhost/ </code></pre> <p>thanks</p>
5136
235
2011-10-11T21:12:05.643
2011-10-11T21:12:05.643
Should I comment out these lines in the default rsnapshot configuration?
[ "rsnapshot" ]
1
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>If you're absolutely sure which folder's you want, then yes, comment those lines out and add the specific folders you need.</p>\n\n<p>The first folder will backup everything in the /home folder, including your data and any other user's data who has an account on your system.</p>\n\n<p>The second will backup all your PC's \"settings\".</p>\n\n<p>The last folder is for any local packages you've installed.</p>\n\n<p>Remove them and replace them with specific folders to trim down the amount that you're backing up each iteration of rsnapshot.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T20:16:00.603", "id": "20659", "lastActivityDate": "2011-01-08T20:16:00.603", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "861", "parentId": "20588", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>If you're absolutely sure which folder's you want, then yes, comment those lines out and add the specific folders you need.</p>\n\n<p>The first folder will backup everything in the /home folder, including your data and any other user's data who has an account on your system.<...
null
null
null
null
null
20590
1
20597
2011-01-08T11:43:15.990
4
1199
<p>I am switching constantly between browsers (three different at the moment). So i was also switching default browsers to open my mail / new links etc...</p> <p>I also saw that with the command <code>sudo update-alternatives --config x-www-browser</code> the browsers have different priorities.</p> <p>So I had the idea that it could be possible that the default browser could be the browser/s that is/are actually open and running! And if two are running, the one with higher priority is chosen. Unluckily I did not find anything.. Is this possible? Would be really great!</p> <p>cheers dmeu</p>
7233
null
null
2011-01-08T14:13:40.550
Set default browser to OPEN browser
[ "browser", "default-browser" ]
2
4
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T12:41:55.290", "id": "22155", "postId": "20590", "score": "0", "text": "So if you happen to be running firefox, then all links would open in firefox, but if you happen to running Chromium, all links would use that, and if you're running both, it would use priorities...
{ "accepted": true, "body": "<p>Here's something that works:</p>\n\n<pre><code>#!/usr/bin/env python\n\nimport sys, commands\n\nbrowsers = [\n \"firefox\",\n \"google-chrome\",\n \"chromium-browser\",\n \"epiphany-browser\",\n]\n\ndone = False\nps = list(i.split()[10] for i in commands.getoutput(\"ps aux\").split(\"\\n\")[1:])\nfor i in browsers:\n if any(j.endswith(i) or j.endswith(i+\"-bin\") for j in ps) and not done:\n commands.getoutput(i + \" \" + (\" \".join(sys.argv[1:]\n if len(sys.argv) - 1 else \"\")))\n done = True\n\nif not done:\n commands.getoutput(browsers[0][\"cmd\"] + \" \" + \" \".join(sys.argv[1:]))\n</code></pre>\n\n<ul>\n<li><p>Just re-order the list on top of the file any way you like, add and remove browsers.\nThe command you enter will be whatever you would type in the command-line to start this browser. </p></li>\n<li><p>save this script somewhere, right click on it, go to <em>properties → permissions</em> and set <em>executable</em>. I recommend saving it in <code>/home/&lt;username&gt;/.browser</code>.</p></li>\n<li><p>Find the file (hit <kbd>Ctrl</kbd>+<kbd>H</kbd> to show hidden files), right click and select <em>Properties</em>, then go to <em>Permissions</em> and set <em>Allow executing file as program</em>.</p></li>\n<li><p>Go to <em>System → Preferences → Preferred Applications</em>, select <em>Custom</em> and type <code>/home/&lt;username&gt;/.browser</code> into the <em>Command</em> field.</p></li>\n</ul>\n\n<p>The first browser that appears in the list <em>and</em> is running will be chosen to open the web site. If none of them is running, the first one will be opened. </p>\n\n<p>I've tested this and it seems to work rather well, none the less, let me know if there are any errors in it. And it'd be cool if there was a method to do this that doesn't involve programming, this is just my peculiar solution. </p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-10T17:54:14.010", "id": "22485", "postId": "20597", "score": "0", "text": "works perfectly thanks! should be included in the ubuntu distribution ;-)", "userDisplayName": null, "userId": "7233" }, { "creationDate": "2016-05-15T02:16:26.873", "id": "1154429", "postId": "20597", "score": "0", "text": "@Stefano, How is the last step setup for Ubuntu 15+ with Unity?", "userDisplayName": null, "userId": "110181" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T13:11:28.537", "id": "20597", "lastActivityDate": "2011-01-08T14:13:40.550", "lastEditDate": "2011-01-08T14:13:40.550", "lastEditorDisplayName": null, "lastEditorUserId": "1067", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "20590", "postTypeId": "2", "score": "5" }
[ { "accepted": null, "body": "<p>What a great idea!</p>\n\n<p>I immediately set this up and it works great on my system. Adapt the following script to your needs (you'll need superuser rights to install the script!):</p>\n\n<pre><code>#!/bin/bash\n\n# looking for Firefox instances\npgrep -l '^firefox-bin$' ...
null
null
null
null
null
20591
1
null
2011-01-08T11:46:45.943
2
87
<p>I have a Ubuntu 10.10, hooked 3G internet with no problems. Only one problem after disconnect from the Internet then no longer connects ... be able to pull out of the USB, then stick and then konektitsya normal. Is there any way to do something so that it was not necessary every time distorting the modem?</p>
8540
235
2011-01-08T15:45:47.900
2011-01-08T15:45:47.900
After turning off the modem must juggle
[ "10.10", "3g" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T14:12:29.897", "id": "22161", "postId": "20591", "score": "1", "text": "While you're welcome to ask for a workaround, you should also consider [Filing a Bug](http://askubuntu.com/questions/5121/how-do-i-report-a-bug), after making sure it's not already been filed.",...
null
[ { "accepted": null, "body": "<p>I can confirm this bug. Tried it with two different modems. Every time the modem loses connection, you've got to pull it out, plug it into another USB port (which is kinda difficult with only two ports available) and then then you may reconnect.</p>\n", "commentCount": "0...
null
null
null
null
null
20598
1
null
2011-01-08T13:20:46.813
5
1158
<p>I installed Ubuntu 9.04 on my desktop, an year ago.</p> <p>Can I upgrade from Ubuntu 9.04 to Ubuntu 9.10 using the Ubuntu 9.10 Live CD?</p>
null
4776
2011-01-08T14:29:27.800
2012-07-27T08:54:02.240
How to upgrade Ubuntu using the Live CD?
[ "upgrade", "9.10", "9.04" ]
1
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>No, you cannot upgrade Ubuntu using the Live CD. <br/></p>\n\n<p>However, you can upgrade using the <a href=\"http://www.ubuntu.com/download/desktop/alternative-downloads\" rel=\"nofollow\">Ubuntu Alternate Install CD</a>. <br/></p>\n\n<p>Read this Ubuntu Community Documentat...
null
null
null
null
ram
20599
1
null
2011-01-08T13:24:34.340
5
1464
<p>The icons I set in kubuntu are not displaying correctly, have been trying to find the configuration but the weirdest thing is that they display in Desktop 2 but not in desktop 1 which is the main one, I want to display them in all desktops.</p>
8069
1067
2011-01-08T15:58:56.333
2014-12-04T03:48:39.863
Desktop Icons won't display in all virtual desktops
[ "10.10", "kubuntu" ]
2
4
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T14:07:48.903", "id": "22160", "postId": "20599", "score": "0", "text": "Please clarify what you mean by Desktop/Workstation.", "userDisplayName": null, "userId": "1067" }, { "creationDate": "2011-01-08T14:14:26.493", "id": "22162", "postId": ...
null
[ { "accepted": null, "body": "<p>Alright, this solution... well I'm not so happy this one solution will make all icons appear within all virtual desktops.</p>\n\n<p>First, <code>right-click one of the little boxes (virtual desktop switch box)</code>, and press <code>\"Pager Settings\"</code>. Go to Virtual D...
null
null
null
null
null
20600
1
20604
2011-01-08T13:31:48.263
11
16056
<p>A simple question about rsnapshot.</p> <p>In order to perform daily backups I'm going to add lines to cron in my Ubuntu.</p> <p>Then, why do I have also these lines in the rsnapshot.conf ?</p> <pre><code>######################################### # BACKUP INTERVALS # # Must be unique and in ascending order # # i.e. hourly, daily, weekly, etc. # ######################################### interval hourly 6 interval daily 7 interval weekly 4 #interval monthly 3 </code></pre> <p>If I use cron, should I disable them ? thanks</p> <p><strong>ps.</strong> I've just realized that in the crontab I still have "hourly" and "daily". Should I then uncomment only the one I use in the crontab ? And what's the point to specify hourly if it is already specified in cron ? I'm a bit confused.</p> <pre><code># crontab -e 0 */4 * * * /usr/local/bin/rsnapshot hourly 30 23 * * * /usr/local/bin/rsnapshot daily </code></pre>
5136
866
2011-01-08T14:48:28.463
2014-07-29T04:43:10.517
"Backup Intervals" in rsnapshot.conf?
[ "crontab", "rsnapshot" ]
4
1
CC BY-SA 2.5
[ { "creationDate": "2014-01-19T14:47:37.740", "id": "524279", "postId": "20600", "score": "1", "text": "Related: If your system is not on power 24/7, you probably want to use anacron, not cron. For more info, e.g. see: http://www.thegeekstuff.com/2011/05/anacron-examples", "userDisplayName": ...
{ "accepted": true, "body": "<p>Your crontab job will call the relevant <em>type</em> of rsnapshot job to run. If you run <em>rsnapshot hourly</em> you will create a directory in your output directory called \"hourly.0\". Run it again, it will create \"hourly.1\".</p>\n\n<p>So for every item you enable in your crontab, there should be a corresponding interval line in your <code>/etc/rsnapshot</code> file. If you decide not to use the hourly interval for example, then just leave the interval line in your configuration, but don't run an cron job that specifies \"hourly\".</p>\n\n<p>The confusion only arises because the default names are \"hourly\" \"daily\" and so on. These are simply labels that can be changed to suit your needs.</p>\n\n<p>For my rsnapshot, I use \"daysago\", \"weeksago\" and \"monthsago\" :</p>\n\n<p><img src=\"https://i.stack.imgur.com/5FM2F.jpg\" alt=\"alt text\"></p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-08T14:03:49.497", "id": "22158", "postId": "20604", "score": "0", "text": "ok thanks, one last question. Let's say I have **interval hourly 2** and **0 */5 * * * /usr/local/bin/rsnapshot hourly** in crontab. In this case I perform the hourly backup every 5 hours and only 2 copies are kept on the backup server. Is this correct ?", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-08T16:52:58.377", "id": "22175", "postId": "20604", "score": "0", "text": "That's right. You'll generate an hourly.0 and an hourly.1, every 5 hours. On the third iteration, hourly.1 is deleted, hourly.0 is renamed to hourly.1 and a new hourly.0 is created. And so on, constantly overwriting the oldest.", "userDisplayName": null, "userId": "861" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T13:50:19.237", "id": "20604", "lastActivityDate": "2011-01-08T15:38:55.147", "lastEditDate": "2011-01-08T15:38:55.147", "lastEditorDisplayName": null, "lastEditorUserId": "235", "ownerDisplayName": null, "ownerUserId": "861", "parentId": "20600", "postTypeId": "2", "score": "11" }
[ { "accepted": true, "body": "<p>Your crontab job will call the relevant <em>type</em> of rsnapshot job to run. If you run <em>rsnapshot hourly</em> you will create a directory in your output directory called \"hourly.0\". Run it again, it will create \"hourly.1\".</p>\n\n<p>So for every item you enable in...
null
null
null
null
null
20603
1
20608
2011-01-08T13:47:44.433
6
2989
<p>I want to use rsnapshot for remote backups of my websites.</p> <p>It is not clear this line in rsnapshot.conf:</p> <pre><code>snapshot_root /.snapshots/ </code></pre> <p>In the documentation, it says snapshots are stored in this directory, but I actually want them to be stored on a remote server and this is specified later with the line </p> <pre><code>backup local_folder remote_server </code></pre> <p>so what's snapshot_root then ?</p>
5136
235
2011-10-11T21:13:59.403
2012-01-28T05:19:52.487
What does snapshot_root do?
[ "rsnapshot" ]
2
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p><code>snapshot_root</code> is the root for the paths you specify under <code>backup</code>.</p>\n\n<p>For example:</p>\n\n<pre><code>snapshot_root /var/backups/me/\n...\nbackup /home/me/movies/ /media/\nbackup /home/me/music/ /media/\nbackup /home/me/drafts/ /documents/\n</code></pre>\n\n<p>After running <code>rsnapshot hourly</code>, for example, the snapshots would be stored under</p>\n\n<pre><code>/var/backups/me/hourly.0/media\n/var/backups/me/hourly.0/documents\n</code></pre>\n\n<p>The snapshot target must be a local filesystem (although the source can be remote).</p>\n\n<p>I think the simplest option is to put the rsnapshot service on the remote server, and let it copy from your webserver. Using ssh, it would look something like</p>\n\n<pre><code>snapshot_root /var/backups/me/\n...\nbackup me@example.com:/home/me/movies/ /media/\n</code></pre>\n\n<p>You would need to have the ssh daemon running on the \"example.com\" box, and configured so that the user (here \"me\") can ssh into \"example.com\" without being asked for a password.</p>\n\n<p>See the <a href=\"http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html\" rel=\"nofollow\">rsnapshot HOWTO</a> (section 4.3.8 Backup) for more details.</p>\n", "commentCount": "11", "comments": [ { "creationDate": "2011-01-08T14:21:50.647", "id": "22163", "postId": "20608", "score": "0", "text": "@j-g-faustus So I can for example specify **snapshot_root user@myserver.com/** and then **backup /var/www/localfolder/ /remoteFolder/** ? Are the trailing slashes correctly added ?", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-08T14:29:26.480", "id": "22164", "postId": "20608", "score": "1", "text": "Yes, that should work. The trailing slashes are correct, rsnapshot is a bit picky on that :) See also the howto: http://rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html#modifying_the_config_file", "userDisplayName": null, "userId": "2337" }, { "creationDate": "2011-01-08T15:04:43.093", "id": "22165", "postId": "20608", "score": "0", "text": "@j-g-faustus Sorry, I've just tried now and I get this ERROR: snapshot_root user@myserver.com/ - snapshot_root \\ must be a full path", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-08T15:06:40.557", "id": "22166", "postId": "20608", "score": "0", "text": "Probably because I can only mount the server first ? So should I run something like mnt servername.com ?", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-08T16:06:58.447", "id": "22171", "postId": "20608", "score": "0", "text": "Ah, sorry. The snapshot target, the place you are writing to, must be a local filesystem - only the source can be remote. Mounting might work if under some circumstances, but not in the general case, I think.", "userDisplayName": null, "userId": "2337" }, { "creationDate": "2011-01-09T08:41:31.810", "id": "22250", "postId": "20608", "score": "0", "text": "@j-g-faustus Does this mean that rsnapshot should be installed on the backup server and not on the production server !?!?", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-09T08:59:21.100", "id": "22251", "postId": "20608", "score": "0", "text": "I've just realized I don't have sudo privilegies on the backup server. Does this mean that I cannot use rsnapshot then ?", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-09T09:18:14.083", "id": "22253", "postId": "20608", "score": "0", "text": "I've also used -o allowroot option when I was mounting the backup server but when I run rsnapshot I got errors (no permissions.. etc). I guess I cannot really do it.. but please let me know if this is not true.", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-09T09:19:32.933", "id": "22254", "postId": "20608", "score": "0", "text": "@Patrick Yes, that's what it means. I would try mounting first - I know it doesn't work over a Samba network, but if you are on NFS it might be worth a try. Re: sudo: Don't you know about someone who *has* sudo privileges, so you can talk them into installing rsnapshot for you? If not, no - not as far as I know.", "userDisplayName": null, "userId": "2337" }, { "creationDate": "2011-01-09T09:23:19.237", "id": "22255", "postId": "20608", "score": "0", "text": "@j-g-faustus I've just mounted the backup server. However, I got permissions errors when I run the backup command. I get this is due to the mounted folder. I've sent an email to support, but they provide backup space and that's it.. I don't think they will give me sudo privilegies.", "userDisplayName": null, "userId": "5136" }, { "creationDate": "2011-01-09T09:37:40.367", "id": "22258", "postId": "20608", "score": "0", "text": "@Patrick You could try posting the permissions error here as a separate question. But as far as I know, rsnapshot cannot push a backup somewhere else, it can only pull from another machine and store it locally.", "userDisplayName": null, "userId": "2337" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T14:01:58.653", "id": "20608", "lastActivityDate": "2011-01-08T16:37:39.710", "lastEditDate": "2011-01-08T16:37:39.710", "lastEditorDisplayName": null, "lastEditorUserId": "2337", "ownerDisplayName": null, "ownerUserId": "2337", "parentId": "20603", "postTypeId": "2", "score": "6" }
[ { "accepted": true, "body": "<p><code>snapshot_root</code> is the root for the paths you specify under <code>backup</code>.</p>\n\n<p>For example:</p>\n\n<pre><code>snapshot_root /var/backups/me/\n...\nbackup /home/me/movies/ /media/\nbackup /home/me/music/ /media/\nbackup /home/me/drafts/ /documents/\n</...
null
null
null
null
null
20607
1
20609
2011-01-08T13:57:39.680
4
352
<p>I am about to move to a new Lenovo X201 from current X61. Current setup has separate \home, separate swap file, also separate \Data partition. Am currently running 10.04 32 bit. Am considering running 64 bit on new machine because I will now have 8 GB of RAM. And would like to also move to 10.10.</p> <p>Ideally I would like preserve as much of my current setup as possible...</p> <p>New machine has Win7 on it, but will blow that away, as I've made a clonezilla copy of it, and will use VirtualBox for when I need Windows.</p> <p>Can someone suggest a good step by step for me? I'm networked to a NAS and also have plenty of external USB storage in case I need intermediary steps.</p> <p>So do I set up new machine first with 64bit 10.10, with partition scheme I want? then rsnyc over \home from old machine (over write target home)?</p> <p>Do I need to upgrade the X61 first to 10.10?</p>
2692
null
null
2011-01-08T18:24:34.440
Moving to New Machine... also upgrade to 64bit. What steps?
[ "upgrade", "64-bit" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Yes, rsync is a good way to copy your files to the new computer. If you want the same set of packages installed, you might also want to run synaptic and File -> Generate Package Download script on the old machine, and load it into the new machine.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-08T17:35:46.327", "id": "22180", "postId": "20609", "score": "0", "text": "If I go down this route via generate package, will it matter that I'm moving from 32-bit to 64-bit?", "userDisplayName": null, "userId": "2692" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T14:13:08.163", "id": "20609", "lastActivityDate": "2011-01-08T14:13:08.163", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "20607", "postTypeId": "2", "score": "0" }
[ { "accepted": true, "body": "<p>Yes, rsync is a good way to copy your files to the new computer. If you want the same set of packages installed, you might also want to run synaptic and File -> Generate Package Download script on the old machine, and load it into the new machine.</p>\n", "commentCount":...
null
null
null
null
null
20612
1
20718
2011-01-08T14:26:19.127
4
7274
<p>Here is the Problem: I have two computers connected in the same LAN.</p> <p>I am trying to access one computer from another using Remote Desktop Viewer, I am able to see the remote desktop.</p> <p>But when i click on any thing or perform any action, I dont see the result but the action is performed on the remote desktop..But it is not refreshed on the remote desktop screen..</p> <p>For Ex:</p> <ol> <li>Opened Remote Desktop viewer</li> <li>Connected to the other computer which has yahoo home page opened</li> <li>Clicked on the close button of the web page</li> <li>Action is performed on the other computer (Yahoo page is closed).</li> <li>On Remote Desktop screen i still see the Yahoo home page</li> <li>Whatever action i perform on remote desktop screen i see the same screen(In this case yahoo home page)</li> </ol> <p>Bottom line: Whatever screen i see on the start up of Remote Desktop viewer that is not getting refreshed.</p> <p>So the thing is though i am able to perform actions on remote desktop, the screen is not refreshing..</p> <p>How do i solve this?</p> <p>I hope i made my point clear..</p> <p>NOTE: I am connecting to Ubuntu 9.04 machine from Ubuntu 10.04LTS.. I am really not sure if that makes any difference.</p>
6284
null
2018-03-05T22:38:52.640
2018-03-05T22:38:52.640
VNC client not working -- Not able to see the changes happening on the other side
[ "remote-desktop", "vnc" ]
3
0
CC BY-SA 3.0
[]
{ "accepted": true, "body": "<p>It's likely that you have set up desktop effects on the pc/server that you're trying to connect to. If this is the case, you can't use the built-in VNC server that comes with Ubuntu by default. Instead, you have to use the x11vnc package (or something similar) that supports the \"noxdamage\" option.</p>\n\n<p>See this question/answer for further details on how to set this up :\n<a href=\"https://askubuntu.com/questions/10232/currently-vnc-doesnt-work-with-compiz-will-you-fix-this-before-unity-is-releas\">VNC doesn&#39;t work with compiz</a></p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-09T10:50:55.217", "id": "22270", "postId": "20718", "score": "0", "text": "Yes, I think it is the problem..Kudos for solving the issue..", "userDisplayName": null, "userId": "6284" }, { "creationDate": "2011-01-09T10:56:01.327", "id": "22271", "postId": "20718", "score": "0", "text": "Been there myself! X11vnc is pretty easy to use. Good luck.", "userDisplayName": null, "userId": "861" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-09T10:44:29.493", "id": "20718", "lastActivityDate": "2011-01-09T10:44:29.493", "lastEditDate": "2017-04-13T12:25:03.423", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "861", "parentId": "20612", "postTypeId": "2", "score": "1" }
[ { "accepted": null, "body": "<p>I'm not a huge VNC expert, but I noticed when I set up VNC recently that it does not connect to my main desktop instance by default, but spawns a new instance. You can make it do persistent desktops apparently - I haven't tried this yet:</p>\n\n<p><a href=\"http://news.softp...
null
null
null
user737448
null
20613
1
23115
2011-01-08T14:58:50.503
3
417
<p>This may be a little complicated, but, is jack a necessity? I mean, i use renoise, and, since i dont have the need for low latencies, do i really need to use it?</p> <p>My basic setup ( or workflow ) is that i use csound to render stuff to wav, then import it as a sample in renoise. That goes with field recordings, my own samples, etc. So, i dont need ultra low latencies, and i dont need to patch "cords", but i want to use dssi plugins, and dssi-vst. What would be something of a minimum requirements of apps that should work. </p> <p>Can renoise load dssi-vst plugins by itself or do i need to use jack to patch thru or something third, i tried to read lot of articles but i got lost in the different setups... </p>
7263
null
null
2011-01-24T22:29:25.087
Renoise and dssi and jack
[ "sound", "jack" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>I wouldn't think that it does particularly <em>need</em> JACK (LMMS can work fine with just ALSA until you add MIDI input) but using audio programs without it can be a real pain in the arse. Having your audio come through the painful latencies that Pulseaudio gives it can delay your sound for as much as three seconds. And there are programs that do that because they use the regular ALSA/PA soundserver! It can be a pain to maintain and manage but once there is better integration with PA/ALSA then it will hopefully become way easier to work with.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-24T22:29:25.087", "id": "23115", "lastActivityDate": "2011-01-24T22:29:25.087", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": "user6658", "ownerUserId": null, "parentId": "20613", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>I wouldn't think that it does particularly <em>need</em> JACK (LMMS can work fine with just ALSA until you add MIDI input) but using audio programs without it can be a real pain in the arse. Having your audio come through the painful latencies that Pulseaudio gives it can del...
null
null
null
null
null
20614
1
20626
2011-01-08T15:02:24.177
7
2118
<p>In a <code>debian/control</code> file, how do I specify a dependency on a package between 2 versions of that package? </p> <p>For example: python 2.5 or higher but lower than python 2.7.</p> <pre><code>Depends: python ($VERSION_STRING) </code></pre> <p>What would <code>$VERSION_STRING</code> be?</p>
667
8036
2011-01-08T16:10:43.627
2011-01-08T16:19:47.857
How can I specify a dependency between 2 versions of a package?
[ "packaging", "dependencies" ]
2
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>The operators for version dependencies are:</p>\n\n<pre><code>&gt;&gt; Greater than, but not equal to\n&gt;= Greater than or equal to\n=\n&lt;=\n&lt;&lt;\n</code></pre>\n\n<p>(note <code>&lt;</code> and <code>&gt;</code>, meaning <code>&lt;=</code> and <code>&gt;=</code> also work, but they're depricated)</p>\n\n<p>So in order to declare your example, you'd add two dependencies:</p>\n\n<pre><code>Depends: python (&gt;= 2.5), python (&lt;&lt; 2.7)\n</code></pre>\n\n<p>For a full description of dependency declarations, see the <a href=\"http://www.debian.org/doc/debian-policy/ch-relationships.html\" rel=\"nofollow\">Debian Policy Manual, Chapter 7</a>. If you want to take a look at some uses, see <a href=\"http://landscape.canonical.com/packages/hardy/Packages\" rel=\"nofollow\">this random example</a>. </p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T16:17:15.087", "id": "20626", "lastActivityDate": "2011-01-08T16:17:15.087", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "20614", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>The operators for version dependencies are:</p>\n\n<pre><code>&gt;&gt; Greater than, but not equal to\n&gt;= Greater than or equal to\n=\n&lt;=\n&lt;&lt;\n</code></pre>\n\n<p>(note <code>&lt;</code> and <code>&gt;</code>, meaning <code>&lt;=</code> and <code>&gt;=</code> al...
null
null
null
null
null
20616
1
null
2011-01-08T15:07:04.573
6
1203
<p>I have been running UbuntuOne sync on a new PC to a new UbuntuOne account for over 14 hours. My UbuntuOne account capacity stills show 0% used and lists only folder names. All the while, my UbuntuOne preferences indicate that sync is running.</p> <p>Any ideas???</p>
null
null
null
2011-06-13T06:40:41.487
why does my UbuntuOne sync only upload folders and zero content?
[ "ubuntu-one", "sync" ]
2
0
CC BY-SA 2.5
[]
null
[ { "accepted": null, "body": "<p>Please read “<a href=\"https://askubuntu.com/questions/16592/how-can-i-tell-whether-ubuntu-one-file-sync-is-working-and-what-progress-it-is-m\">How can I tell whether Ubuntu One file sync is working, and what progress it is making?</a>”.</p>\n\n<p>Folders are the first thing ...
null
null
null
null
Mark
20620
1
null
2011-01-08T15:36:39.553
4
2193
<p>I recently started using a KVM switch, so that I can share my usb mouse and keyboard between my linux and windows notebooks, when working at my desk. My windows machine handles the switch seamlessly, whereas my ubuntu system takes 5-10 seconds to re-recognize the mouse and keyboard.</p> <p>Is there some way I can speed this up?</p>
null
23382
2011-09-27T21:37:35.260
2012-01-09T20:31:25.960
Mouse and keyboard slow to recognize with KVM switch
[ "keyboard", "usb", "mouse" ]
1
1
CC BY-SA 2.5
[ { "creationDate": "2012-02-03T01:35:40.857", "id": "116547", "postId": "20620", "score": "0", "text": "This question seems abandoned, there is not further information or activity added to it for several months. I am flagging this to be closed by a moderator. If you think this issue is still affe...
null
[ { "accepted": null, "body": "<p>Somewhat on a different track, but possibly a good solution for your problem, is <a href=\"http://synergy-foss.org/\" rel=\"nofollow\">Synergy</a>. It's a free, open-source, cross-platform piece of software (that means it can work on both of your machines and more) which allo...
null
null
2012-02-03T01:36:08.287
null
Eric Richards
20621
1
20634
2011-01-08T15:37:20.873
8
1630
<p>I'm doing the following to mount a remote server to a specific path on my server:</p> <pre><code>sshfs user@remoteserver.com:/backup/folder/ /home/myuser/server-backups/ </code></pre> <p>However when I mount the server the folder permissions change (they become 700), and when I test my rsnapshot.conf file I get the following error:</p> <pre><code>snapshot_root /home/myuser/server-backups/ - snapshot_root exists \ but is not readable </code></pre> <p>What am I doing wrong ? should I mount the remote server with another user ?</p>
5136
null
null
2013-12-24T01:14:25.427
Permissions issues with mounting remote server into a specific folder
[ "mount", "sshfs" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T20:31:38.350", "id": "22207", "postId": "20621", "score": "1", "text": "Cross-posted at [Ask Ubuntu](http://askubuntu.com/questions/20621/permissions-issues-with-mounting-remote-server-into-a-specific-folder), [Unix Stack Exchange](http://unix.stackexchange.com/ques...
{ "accepted": true, "body": "<p>You could try the <code>-o allow_root</code> and <code>-o allow_other</code> options to sshfs.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T17:05:12.723", "id": "20634", "lastActivityDate": "2011-01-08T17:05:12.723", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "2647", "parentId": "20621", "postTypeId": "2", "score": "2" }
[ { "accepted": true, "body": "<p>You could try the <code>-o allow_root</code> and <code>-o allow_other</code> options to sshfs.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T17:05:12.723", "id": "...
null
null
null
null
null
20622
1
null
2011-01-08T15:38:12.700
3
203
<p>Right, no kidding now ... A mate last night asked me if it is possible to erase the ghost of a section of his hard drive (set the unused section of the hard drive to '0'). So is it possible?</p>
8448
null
null
2011-01-08T20:20:40.663
How do you erase the ghost of a section of the HD?
[ "filesystem", "hard-drive" ]
3
2
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T15:51:02.770", "id": "22170", "postId": "20622", "score": "0", "text": "I've no idea what any of that is. :P Please try to clarify your question. See [wp:Disk Partitioning](http://en.wikipedia.org/wiki/Disk_partitioning) if you're unsure about the terminology", ...
null
[ { "accepted": null, "body": "<p>I assuming your goal is to safely erase data from disk, the \"wipe\" utility which you can get from the repository allows you to safely clear files, partitions or entire disks.\nIf by \"unused section\" you mean unused space, and you want to preserve existing partitions, then...
null
null
null
null
null
20623
1
20631
2011-01-08T15:44:16.617
3
337
<p><br> Every time after I login into Ubuntu<br> 5 folders from the same path (/usr/share/applications) are opening automatically<br> I searched in Nautilus Help and I couldn’t find anything related to my issue.</p> <p><strong>How to close multiple nautilus folders that are opening automatically after login?</strong> </p>
8096
1067
2011-01-08T15:56:36.697
2011-01-08T16:51:53.043
How to close multiple nautilus folders that are opening automatically after login?
[ "nautilus", "folder" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<ul>\n<li>Goto System <strong>→</strong> Preferences <strong>→</strong> Startup Applications</li>\n<li><p>In the options tab uncheck <strong>Automatically remember running applications when logging out</strong>. </p>\n\n<p><img src=\"https://i.stack.imgur.com/aTVgq.png\" alt=\"alt text\"></p></li>\n</ul>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-08T17:47:04.333", "id": "22184", "postId": "20631", "score": "0", "text": "Sorry but I already check that and it's not checked.. It seems it something kept in memory so I have to purge/clearcache it from somewhere else", "userDisplayName": null, "userId": "8096" }, { "creationDate": "2011-01-08T19:25:47.857", "id": "22196", "postId": "20631", "score": "1", "text": "You'll have to uncheck that *after* you close all the applications and folders you don't wnat to open on boot; then uncheck and click \"remember currently running applications\"", "userDisplayName": null, "userId": "1626" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T16:51:53.043", "id": "20631", "lastActivityDate": "2011-01-08T16:51:53.043", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "5691", "parentId": "20623", "postTypeId": "2", "score": "3" }
[ { "accepted": true, "body": "<ul>\n<li>Goto System <strong>→</strong> Preferences <strong>→</strong> Startup Applications</li>\n<li><p>In the options tab uncheck <strong>Automatically remember running applications when logging out</strong>. </p>\n\n<p><img src=\"https://i.stack.imgur.com/aTVgq.png\" ...
null
null
null
null
null
20624
1
21582
2011-01-08T15:51:25.607
3
3613
<p>Using Ubuntu 10.10 live USB. When attempting to open gparted (<code>sudo gparted</code> in a terminal), its window gets stuck for a few seconds and disappears (I noticed that it closes when it's searching for <code>/dev/sda/</code> partitions). After a while a window appears telling gparted closed unexpectedly and asking me to restart it. Choosing this option has no effect. </p> <p>Typing <code>sudo fdisk -l</code> in a terminal does show a list of the drives and partitons correctly. Any ideas?</p>
null
527764
2017-02-24T06:16:09.013
2017-02-24T06:16:09.013
Gparted not working in live CD (usb)
[ "10.10", "live-usb", "gparted", "live-cd" ]
2
4
CC BY-SA 3.0
[ { "creationDate": "2011-01-08T17:40:01.600", "id": "22182", "postId": "20624", "score": "0", "text": "Can you list the partitions from the terminal with: sudo fdisk -l ?", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-10T15:12:42.607", "id": "22448", ...
{ "accepted": true, "body": "<p>PROBLEM SOLVED. Just used gparted through fedora 14. It worked right there.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-14T20:55:56.857", "id": "21582", "lastActivityDate": "2011-01-14T20:55:56.857", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": "user4175", "ownerUserId": null, "parentId": "20624", "postTypeId": "2", "score": "0" }
[ { "accepted": null, "body": "<p>Make sure you open <code>gksu gparted</code> with <kbd>Alt</kbd>+<kbd>F2</kbd> or <code>sudo gparted</code> on a terminal.</p>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-08T16:15:04.933", "id": "22174", "postId": "2...
null
null
null
user4175
user4175
20628
1
null
2011-01-08T16:32:43.233
3
1110
<p>I was uninstalling some programs that I installed to try and get my iPod touch working with Ubuntu (I gave up on that) when ubuntu just crashed. Now after I choose ubuntu in GRUB, it gives me a screen that says "Ubuntu is running in low-graphics mode: your screen, graphics card, and input device settings could not be detected correctly. You will need to configure these yourself"</p> <p>It was working just fine before I started to uninstall those programs. I think that I might have uninstalled something necessary to the system. If I click OK on the screen, it gives me options to reconfigure, troubleshoot, exit to console, or restart X. But no matter what I choose I still can't boot into ubuntu - I get stuck looking at the splash screen which stalls forever.</p> <p>I was receiving support from one of my mate's and he was doing something with the LiveCD, and now the message doesn't pop up any more, I just get stuck at a never ending splash screen.</p> <p>Any help would be appreciated, thanks!</p>
6015
235
2011-01-09T00:06:51.317
2011-03-10T01:32:26.837
Can't Boot, video drivers or x-server problem?
[ "boot", "xorg", "grub2" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T17:38:59.633", "id": "22181", "postId": "20628", "score": "0", "text": "What graphicals card do you have ? Do you have any idea on what your mate did ?", "userDisplayName": null, "userId": "742" }, { "creationDate": "2011-01-08T17:58:43.750", "id...
null
[ { "accepted": null, "body": "<p>A work around for that sort of mess would be to switch away from the graphical console to a command line terminal (via Ctrl-Alt-F1), log in, then run:</p>\n\n<pre><code>sudo apt-get install ubuntu-desktop\n</code></pre>\n\n<p>Which should pull in all the packages the system n...
null
null
null
null
null
20630
1
20635
2011-01-08T16:42:11.017
4
143
<p>I was wondering if it's safe to upgrade Maverick Meerkat to Natty (I believe I'm fully aware of the bugginess of Natty at the moment). The only thing that's of concern is altering of other partitions during the install. </p> <p>Will it wipe any partitions out?</p>
8552
235
2011-01-08T18:02:19.307
2011-01-08T21:01:26.057
Does upgrading alter partitions?
[ "10.10", "upgrade", "11.04" ]
3
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>No, upgrading to Natty will not alter any partitioning, provided you use the correct method:</p>\n\n<pre><code>sudo do-release-upgrade -d\n</code></pre>\n\n<p>Also see <code>man do-release-upgrade</code></p>\n\n<p>I feel obligated to link to <a href=\"https://askubuntu.com/questions/14896/how-safe-it-is-to-upgrade-to-natty-at-the-moment\">How safe it is to upgrade to natty at the moment?</a> :-)</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T17:06:18.460", "id": "20635", "lastActivityDate": "2011-01-08T17:06:18.460", "lastEditDate": "2017-04-13T12:24:27.937", "lastEditorDisplayName": null, "lastEditorUserId": "-1", "ownerDisplayName": null, "ownerUserId": "1067", "parentId": "20630", "postTypeId": "2", "score": "2" }
[ { "accepted": null, "body": "<p>if i were you, i wouldn't install natty in a computer which has important data in that partitons. bear in mind that it's not finished and could screw 'em up. it shouldn't alter them, but don't rely on something that unstable.</p>\n", "commentCount": "3", "comments": [...
null
null
null
null
null
20632
1
null
2011-01-08T16:59:12.643
4
395
<p>I am running 10.10 (all current updates have been installed) and I'm unable to sync any files to U1. U1 shows my computer as being added to my account and I bought enough space to hold all the files I want backed up, but for some reason it still doesn't sync. I have marked the files to be synced and even checked the devices tab in the U1 preferences; it shows my computer as being part of my account but the connect button is inoperable and restart doesn't produce any effect when clicked. When using <code>u1sdtool</code> I sometimes get an ugly DBus error, and other times get <code>State: READY</code>.</p> <p>I have tried the line commands posted by bisi, they seem to be the same commands as those given in a similar question. I have also ran U1sdtool --status check and heres what came up</p> <pre><code> State: READY connection: Not User With Network description: ready to connect is_connected: False is_error: False is_online: False queues: WORKING_ON_BOTH </code></pre> <p>I'm not very techno savvy so step by step and/or lay mens terms are greatly appreciated, Thank you</p>
null
41
2011-01-11T11:28:16.210
2012-08-14T18:21:57.787
Files don't sync with U1
[ "10.10", "ubuntu-one" ]
3
1
CC BY-SA 2.5
[ { "creationDate": "2011-01-10T14:48:28.740", "id": "22441", "postId": "20632", "score": "0", "text": "Can you please include further details about what you have tried? [How can I tell whether Ubuntu One file sync is working, and what progress it is making?](http://askubuntu.com/questions/16592/h...
null
[ { "accepted": null, "body": "<p>If you are connected to the Internet behind a proxy, then it is not possible yet to use Ubuntu One.\nTry connecting to the web without a proxy.</p>\n", "commentCount": "3", "comments": [ { "creationDate": "2011-01-10T13:53:46.093", "id": "22434",...
null
null
null
null
wrenchman76
20637
1
null
2011-01-08T17:13:14.000
3
781
<p>I had installed <strong>rubygems 1.8</strong> and further on I had installed the rails 2.0.2 gem.</p> <p>When I tried to view the rails version installed through the command <code>rails -v</code></p> <p>It didn't work.. I am unable to figure out why I am getting an <strong>"invalid option"</strong> on executing the command <code>rails -v</code> ( Please refer the below for the same).</p> <pre><code>mohnish@mohnish-laptop:~/Downloads$ ruby -v ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] mohnish@mohnish-laptop:~/Downloads$ gem list *** LOCAL GEMS *** actionmailer (2.0.2) actionpack (2.0.2) activerecord (2.0.2) activeresource (2.0.2) activesupport (2.0.2) rails (2.0.2) rake (0.8.7) mohnish@mohnish-laptop:~/Downloads$ rails -v getopt: invalid option -- 'v' Terminating... mohnish@mohnish-laptop:~/Downloads$ </code></pre> <p>Could you please help me out on this regard..</p> <p>Please note I am currently not making use of the ruby version manager(rvm). Please let me know if I could get a solution once I install the rvm.</p> <p>Thanks for your help..</p>
8551
5691
2011-01-08T17:14:27.587
2017-02-22T07:55:25.520
Rails version not shown post installation
[ "10.04", "rails", "gems" ]
1
3
CC BY-SA 2.5
[ { "creationDate": "2011-01-08T18:01:47.683", "id": "22189", "postId": "20637", "score": "0", "text": "I find that most of my headaches go away when I use RVM. good luck with the package manager. ><", "userDisplayName": null, "userId": "37" }, { "creationDate": "2011-01-08T19:09:1...
null
[ { "accepted": null, "body": "<p>You can just install the <a href=\"http://packages.ubuntu.com/rails\" rel=\"nofollow noreferrer\">rails package</a> </p>\n\n<pre><code>sudo apt-get install rails\n</code></pre>\n\n<p>on my system:</p>\n\n<pre><code>$ ruby -v\nruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux...
null
null
null
null
null
20644
1
20660
2011-01-08T18:08:16.113
3
326
<p>I'm following <a href="https://wiki.ubuntu.com/PackagingGuide/Howtos/Debdiff" rel="nofollow">this</a> guide to create a debdiff for a package I'm patching. Everything goes fine until step number 8 and I attempt to create the debdiff after committing the changes. The package in question is Zim, pulled form Launchpad using</p> <pre><code>bzr branch lp:zim </code></pre> <p>and according to this guide I should execute the following command to create the debdiff:</p> <pre><code>debdiff zim_0.49.dsc zim_0.49ubuntu1.dsc &gt; zim_0.49ubuntu1.debdiff </code></pre> <p>however, when I actually try to execute this command, I get the following error:</p> <pre><code>debdiff: fatal error at line 314: Can't read file: zim_0.49.dsc </code></pre> <p>Upon inspection of the directory in which the files created from <code>debuild -S</code> (step 6) are deposited, I find</p> <pre><code>zim_0.49ubuntu1_source.changes zim_0.49ubuntu1.dsc zim_0.49ubuntu1.tar.gz zim_0.49ubuntu1_source.build </code></pre> <p>but no sign of <code>zim_0.49.dsc</code>. I could probably create one by debuilding the package as soon as I check out the code, before starting work, but that would add an extraneous entry in the <code>changelog</code>.</p> <p>Is there a step missing from the guide that creates <code>zim_0.49.dsc</code> or is the file itself missing from the source?</p>
null
null
2011-01-08T18:13:34.707
2011-01-08T20:16:14.537
Problems creating a debdiff
[ "development", "patch" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>First, if you are using bzr, then there is no need to muck about with debdiff. Just commit your change, then push to a personal branch on lp and propose that it be merged.</p>\n\n<p>If you really want a debdiff, then you need the previous version of the package to diff against. Fetch it with apt-get source.</p>\n", "commentCount": "0", "comments": [], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T20:16:14.537", "id": "20660", "lastActivityDate": "2011-01-08T20:16:14.537", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "8500", "parentId": "20644", "postTypeId": "2", "score": "1" }
[ { "accepted": true, "body": "<p>First, if you are using bzr, then there is no need to muck about with debdiff. Just commit your change, then push to a personal branch on lp and propose that it be merged.</p>\n\n<p>If you really want a debdiff, then you need the previous version of the package to diff again...
null
null
null
user2405
user2405
20646
1
20658
2011-01-08T18:22:53.163
6
289
<p>I have a file that is tracked using bzr, and I'd like to script the creation of a diff between it's current (current as in current, not latest commited), and latest commited version <em>that is tagged</em>.</p> <p>Does anyone know how to accomplish this? Not much of a bzr scripting or a Python expert.</p>
4918
570
2011-01-29T02:51:19.283
2011-01-29T02:51:19.283
How to create a diff of a file between it's current and the latest tagged version in bzr?
[ "python", "bazaar" ]
1
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>Something like this should do the trick:</p>\n\n<pre><code>#!/usr/bin/env python\n\nimport commands\nimport sys\nimport os\n\n# Get the revision number of the most recent tagged commit.\ntags = commands.getoutput(\"bzr tags --sort=time\")\nlatest = tags.split()[-1]\n\ntarget = sys.argv[-1]\nif not os.path.isfile(target):\n print \"Error, no such file: '\"+target+\"'\"\n sys.exit(1)\n\nprint commands.getoutput(\"bzr diff \"+target+\" -r \"+latest)\n</code></pre>\n\n<p>Usage:</p>\n\n<pre><code> python diff-from-tagged.py test\n</code></pre>\n\n<p>Output:</p>\n\n<pre><code>=== modified file 'test'\n--- test 2011-01-08 19:20:31 +0000\n+++ test 2011-01-08 20:00:12 +0000\n@@ -1,1 +1,2 @@\n dfsafd\n+The quick brown fox\n</code></pre>\n", "commentCount": "2", "comments": [ { "creationDate": "2011-01-10T17:43:53.493", "id": "22481", "postId": "20658", "score": "0", "text": "Thanks much. Here's also the Lua version I came up with (but forgot to update the question. More helps)\n\n<code>\nlocal f = assert(io.popen(\"bzr tags --sort=time | tail -1\", 'r'))\nlocal s = assert(f:read('*a'))\nf:close()\ntagname = string.match(s, \"^([^ ]+)\")\nassert(tagname)\nos.execute(string.format([[bzr diff -r tag:%s \"myfile\" > 'changes']], tagname))</code>", "userDisplayName": null, "userId": "4918" }, { "creationDate": "2011-01-29T04:54:02.843", "id": "25837", "postId": "20658", "score": "0", "text": "@Vadi -- yow. Why don't you add that to your question anyway, so you can format it with <code> tags? :)", "userDisplayName": null, "userId": "8844" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-08T20:05:41.253", "id": "20658", "lastActivityDate": "2011-01-08T20:05:41.253", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "114", "parentId": "20646", "postTypeId": "2", "score": "4" }
[ { "accepted": true, "body": "<p>Something like this should do the trick:</p>\n\n<pre><code>#!/usr/bin/env python\n\nimport commands\nimport sys\nimport os\n\n# Get the revision number of the most recent tagged commit.\ntags = commands.getoutput(\"bzr tags --sort=time\")\nlatest = tags.split()[-1]\n\ntarget ...
null
null
null
null
null
20649
1
20768
2011-01-08T19:11:08.190
7
2667
<p><strong>UPDATE</strong> (see end of question) </p> <p>The text "search and replace" utility programs I've seen, seem to only search on a line-by-line basis... </p> <p>Is there a <strong>command-line</strong> tool which can <strong>locate</strong> one block of lines (in a text file), and <strong>replace</strong> it with another block of lines.? </p> <p>For example: Does the test file file contain this <em><code>exact group</code></em> of lines: </p> <pre><code>'Twas brillig, and the slithy toves Did gyre and gimble in the wabe: All mimsy were the borogoves, And the mome raths outgrabe. 'Beware the Jabberwock, my son! The jaws that bite, the claws that catch! Beware the Jubjub bird, and shun The frumious Bandersnatch!' </code></pre> <p>I want this, so that I can replace multiple lines of text in a file and know I'm not overwriting the wrong lines. </p> <p>I would never replace "The Jabberwocky" (Lewis Carroll), but it makes a novel example :)</p> <p><strong>UPDATE</strong>:<br> ..(sub-update) My following comment about reasons <em>when</em> not use sed are <strong>only</strong> in the context of; don't push any tool too far beyond its design intent (I use sed quite often, and consider it to be invaluable.) </p> <p>I just now found an interesting web page about <strong>sed</strong> and when not to use it.<br> So, because of all the <strong>sed</strong> answers, I"ll post the link.. it is part of the <a href="http://sed.sourceforge.net/sedfaq6.html" rel="nofollow">sed FAQ on sourceforge</a> </p> <p>Also, I'm pretty sure there is some way <strong><code>diff</code></strong> can do the job of locating the block of text (once it's located, the replacement is quite straight foward; using <code>head</code> and <code>tail</code>) ... 'diff' dumps all the necessary data, but I haven't yet worked out how to filter it , ... (I'm still working on it) </p>
2670
2670
2011-01-09T20:30:29.187
2024-02-14T22:53:58.687
Is there a command-line utility app which can find a specific block of lines in a text file, and replace it?
[ "command-line", "search", "text", "software-recommendation" ]
6
0
CC BY-SA 2.5
[]
{ "accepted": true, "body": "<p>This simple python script should do the task:</p>\n\n<pre><code>\n#!/usr/bin/env python\n\n# Syntax: multiline-replace.py input.txt search.txt replacement.txt\n\nimport sys\n\ninp = open(sys.argv[1]).read()\nneedle = open(sys.argv[2]).read()\nreplacement = open(sys.argv[3]).read()\n\nsys.stdout.write(inp.replace(needle,replacement))\n</code></pre>\n\n<p>Like most other solutions, it has the disadvantage that the whole file is slurped into memory at once. For small text files, it should work well enough, however.</p>\n", "commentCount": "1", "comments": [ { "creationDate": "2011-01-09T20:04:42.073", "id": "22340", "postId": "20768", "score": "1", "text": "Well now! That's the way to go! ... I've thrown everything at it, and it stood the test.. (and why shouldn't it.. Python has a \"rep\" for good reason.;).... I'll need to look further into the \"replace\" method (or whatever Python calles them).. but.. she's a goer!... Thanks.loevborg..", "userDisplayName": null, "userId": "2670" } ], "communityOwnedDate": null, "contentLicense": "CC BY-SA 2.5", "creationDate": "2011-01-09T17:57:32.343", "id": "20768", "lastActivityDate": "2011-01-09T17:57:32.343", "lastEditDate": null, "lastEditorDisplayName": null, "lastEditorUserId": null, "ownerDisplayName": null, "ownerUserId": "627", "parentId": "20649", "postTypeId": "2", "score": "7" }
[ { "accepted": null, "body": "<p>I was sure there had to be a way to do this with sed. After some googling I came across this:</p>\n\n<p><a href=\"http://austinmatzko.com/2008/04/26/sed-multi-line-search-and-replace/\" rel=\"nofollow\">http://austinmatzko.com/2008/04/26/sed-multi-line-search-and-replace/</a...
null
null
null
null
null
20650
1
null
2011-01-08T19:21:32.913
22
3841
<p>I have a typical Gnome setup, in which i can move/switch between workspaces, by hitting <kbd>ctrl</kbd>+<kbd>alt</kbd>+<kbd>‹or›</kbd>arrow. But when i'm in workspace 1, hitting <kbd>ctrl</kbd>+<kbd>alt</kbd>+<kbd>‹</kbd> has no effect, and similarly for my maximum workspace (typically 4).</p> <p>Is there any way I can have this cycle around, so that hitting <kbd>ctrl</kbd>+<kbd>alt</kbd>+<kbd>›</kbd> in workspace 4 will bring me back around to 1?</p>
null
480481
2018-10-16T13:34:09.933
2018-10-16T13:34:09.933
Cycle around the "end" of workspaces in Gnome?
[ "gnome", "shortcut-keys", "gnome-shell", "workspaces", "workspace-switcher" ]
1
2
CC BY-SA 3.0
[ { "creationDate": "2015-03-04T15:02:12.863", "id": "824667", "postId": "20650", "score": "0", "text": "It depends on the windows manager you're using. Ubuntu -> compiz, Gnome2 -> Metacity, Gnome3 -> Gnome Shell (Mutter).", "userDisplayName": null, "userId": "336400" }, { "creatio...
null
[ { "accepted": null, "body": "<ol>\n<li><p>Install compizconfig-settings-manager</p>\n\n<pre><code>sudo apt-get install compizconfig-settings-manager\n</code></pre></li>\n<li><p>Launch Compiz Config from <em>System -> Preferences -> CompizConfig Settings Manager</em>. </p></li>\n<li><p>Navigate to <em>Deskto...
null
null
null
null
foo