Actually just closing and re-opening the software center helps(at least in my case). Looks like the view is not getting updated in real time. Another option is to look at /var/log/dpkg.log and...
Type: Posts; User: john newbuntu; Keyword(s):
Actually just closing and re-opening the software center helps(at least in my case). Looks like the view is not getting updated in real time. Another option is to look at /var/log/dpkg.log and...
awk/bash does a cleaner job. But if sh is what you want, one possible solution is:
echo $X | cut -c ${#X}
where X is your string. But make sure $X is not blank. I'm sure there are cleaner...
I can sugggest a slightly different way if you are prepared to use zenity and
cron. Create a script such as this one(say /home/user/.logout.bash):
#/bin/bash
(
echo "# System shutting down...
Thanks for the great article drs.
One point to note - There are some instances when cron fails to run or /var/log/syslog or some other log fills up. It is good for the user to open up these...
I did a new install of 10.10 and an upgrade on 2 separate machines. Both went just fine and are fast too. Yes there are some minor glitches with 10.10. I have been upgrading for the last 3 versions...
1. "touch .Xauthority" on the users home directory might help.
2. It exists on version 2.32.0-0ubuntu1. Don't know of a workaround.
3. update and upgrade merely retrieve the index files and...
1. I have a feeling you might be missing the DISPLAY variable in your environment. Check this: https://help.ubuntu.com/community/CronHowto#GUI%20Applications
or just add this as the first line to...
So, it looks like cron works although not with your command. I don't see anything wrong with the commands in posts 7 and 8 since it works for me. Check your email for any errors by typing 'mail'
...
Try this:
30 17 * * 1-5 /home/usr/main.sh > /home/usr/log/`date +\%Y-\%m-\%d`.log 2>&1
Needless to say, after the exercise in post #8, adjust the UUIDs in /etc/fstab and re-install grub if you are grub-booting. Or use grub rescue mode commands. Slightly lesser pain in adding that...
@dcstar, backing up a partition does back up the MBR and the post-mbr region (at least that is what the message on my screen indicates in newer versions of clonezilla):...
Try with full path "/sbin/ifconfig" and see if it works.
One way to do this would be to make the first thread wait on a condition in a loop and then make the second thread give it the go signal whenever it is ready to relinquish control. I think it is...
First of all, welcome to Ubuntu.
Try changing the boot order of drives in BIOS. Let the BIOS look at the Ubuntu drive first and then the windows drive. Here's a guide that may be of some help to...
If I am right, the .0 is a display number referring to a specific screen on your TCP connection.
Normally an X server serves multiple screens. You need to indicate where to display your new window when run from other areas like cron. So, throw in a line like:
export DISPLAY=:0.0
just before...
Just a few suggestions:
1. Change your boot flag from /dev/sda2 to /dev/sda3.
2. The /grldr located on your sda3 indicates that at some point you used grub4dos for booting or some other bootloader,...
If you are using dd, use options like conv=notrunc,noerror to keep going even if there are any hard disk errors. Also try looking at ddrescue which can handle errors slightly better, retry...
Frankly I am unsure on how the HP recovery works (whether it reformats the entire drive or just the main OS factory settings partition-wise). But I would suggest making a backup image of your...
At some point you mention that "Command file : deletes the sda1 partition and recreates it". Well, right there you are wiping out sda1. Instead you need to resize your partition properly. And...
Oops. Unfortunately, I do not know of a tool that can re-instate permissions on all files/dirs, although there may be one available. One way of looking at it is "as long as it works, it works. If...
Put this in a file called say, "A". (Check pathnames etc first)
export DISPLAY=:0.0
/usr/bin/firefox /home/<userid>/file.htmlThen type this at the command line
at now +10 minute -f A
I am assuming yours is a simple/straightforward install with part of Grub2 installed to the MBR and that you have only one disk. So you have ubuntu on sda5 and sda7. When you run this command from...
"at" works for me. Assuming "A" to be a file either of these will run the command (permissions permitting)
at -f A 7:15AM
at now +3 minute -f AMy at version is 3.1.11 and make sure that you...
It's been a while since I did java. But since you have defined a natural ordering in Book class, you just need to call Collections.sort(books) in your remoteSort() method. You don't need a sortarray...