Ubuntu :: Saving Current Programming Before Upgrading?

Jun 7, 2011

I am writing this because I want to keep all of the things that I have now on my ubuntu 10.
4 computer and do not want to upgrade until I have some way of keeping all of the things that I currently have on it.Sohow so I make this happen? Should I try to load these program settings on a flash drive?

View 1 Replies


ADVERTISEMENT

General :: Saving Current Setup When Switching User On Centos?

Jul 15, 2010

i'm using centos 5 and i want to save my setup when switching the user.when i switched user from user1 to user2 and then i logged in user1 back without shutting down, i couldn't see any working window on user1. But since it's working on the CPU, i guess it's working but i cannot just see the window(such as terminal in my case) i was using. i have been using scientific linux which have "save current setup" when logging out. but centos seems not to have that check box!i want to know whether centos can contain the setup for each user when switching user.

View 5 Replies View Related

Slackware :: Upgrading To -current And Multi-lib From 13.1?

Nov 16, 2010

I'm looking at running -current instead of 13.1, and wondering about 'upgrading' to -current, as well as running multi-lib. I found the following procedures from another post of about a year ago, but I'm not sure from what directory to run such a script:

Code:

# Upgrade to Slackware64-current
upgradepkg --install-new slackware64-current/slackware64/*.t?z
# Download compat32 stuff

[code]....

Should the procedures above work for me? and although I know that things may occasionally break here and there (and get fixed too), are there any known issues right now that would break things on my machine?

View 1 Replies View Related

Ubuntu Networking :: Evolution Mail / Send Mail Saving To Current PC But Not To The Other PC?

Apr 20, 2010

I use Evolution mail and use 2 PCs When I send mail it saves it to my current PC but not to the other PC so instead i want it to save the sent to the email server i'm using.

View 3 Replies View Related

Slackware :: Partition Cannot Be Mounted After Upgrading To -current

Aug 30, 2010

after i update to -current a few days ago. my slack partition cannot be mounted...and after that it's show 'kernel panic'.before i experience that problem, i have encounter an odd problem after i update my slack to -current, after i lock my screen and i want to unlock it, i cannot unlock it, it says 'i must kill kscreenlocker manually'. After that i reboot using root account. then i cannot enter my slackware again.kernel panic in boot screen.Kernel panic: VFS : Unable to mount root fs (8,2)

View 5 Replies View Related

Server :: Upgrading Kernel 2.6.18-128.7.1.el5xen To Current Non Xen Release

Feb 18, 2011

I currently have a server that is running on the Linux kernel 2.6.18-128.7.1.el5xen and I was wondering if it was possible to upgrade it to a new official Red Hat non-xen kernel(currently 2.6.37.1).What is unique about this kernel is that it is NOT a virtual system kernel but an older XEN kernel with proprietary material removed.If it is possible I was wondering about any repercussions that may occur as a result of said update. This would include, any issues with potential data/driver losses as well as recovery procedures that may be used if something would happen to it during the upgrade.

View 2 Replies View Related

Software :: Upgrading Fuse In Order To Use Current Version Of S3fs

Feb 24, 2011

I'm trying to install s3fs but get a configuration warning saying that the current version of s3fs requires fuse 2.8.4 or greater. when I run pkg-config I see that fuse is 2.7.x.I downloaded the source for 2.8.5, configured, make, make installed and it appears to have correctly built the 2.8.5 libraries in /usr/local/lib but after running 'modprobe fuse' and ldconfig with the correct directory settings, pkg-config still says that 2.7.x is the active version and the s3fs configuration see barks about needing 2.8.4 or higher

How do I get the newly compiled version of fuse to be the one the system uses?I want to use s3fs to rsync my sever to Amazon S3.I'm running CENTOS 5.5 i686 standard and have cPanel installed on the machine.

View 6 Replies View Related

Programming :: Saving A Certain Variable And Using It In All The Classes?

Feb 4, 2010

facing a problem in declaring variables. i have a few classes like the one below...

Code:
#ifndef _FINANCE_H
#define_FINANCE_H

[code]....

View 1 Replies View Related

Programming :: Evaluating Bash Script Without Saving ?

Sep 5, 2010

I blame myself but I am lazy person. Now I am trying to learn a bit a bash scripting. But saving any script to see how it works is so boring. You know these exercises:

Code:

Now save this in a file - say helloworld.sh (haha), chmod and execute to see

Code:

Is there a way to execute text as a script? I mean

Code:

View 6 Replies View Related

Programming :: Python ConfigParser Not Saving Comments?

Jun 16, 2011

I have a lot of scripts in Bash and am 'converting' one of them to Python just to get to know how Python works. Up to now I'm loving it, the feel, the logic, the power, ...

1. I have a template file which will be filled in by a technician, meaning it's filled with comments (#) and variable = value combinations, where the technician needs to fill in the values needed under the section referring to the configuration he's performing. 2. After installing from DVD/ISO, the software RPMs get installed and there is a default configuration file containing variable = value combinations where the values need to be changed to the values indicated in the template file mentioned in 1.

In order to do this I played around (and Googled a lot) with ConfigParser. I can load the template, get whatever value I need, load the configuration file, set the new value to the correct variable and write the file.

I checked that the template and configuration files loaded (open()) contain everything, including comments. However when I write the configuration file all comments get lost.

Here's what I have so far: Class to create a fakesection header since ConfigParser needs sections and the configuration file doesn't have those.

Code:
class FakeSectionHead(object):
def __init__(self, fd):
self.fd = fd

[Code]....

View 3 Replies View Related

Programming :: Saving Serializable Object Within It's Own Class

May 12, 2011

I found out how to save an object using Serializable in JAVA, the standard however how can I set up my MainVariableList to have a function/method saveobject so it saves the object within it's own class, the below code compiles, however when I run it reports an error on startup but works, basically what do I use for the red line, how do I tell it what object is passed to the class?

View 1 Replies View Related

Programming :: Mistake With Sed Espression Is Saving Part Of Pattern?

Jan 20, 2010

got a textfile with : as delimiters in between fields. e.g.1:2:3:4:5:6Thomas Cruise:Johnavid:Peter:Betty:JaneThe names may or may not contain white spaces.I am required to substitute any one of these names in the file with a new one inputted by user.e.g. to change John to Johnny, David to Beckham, etc. without touching any of the other names in the same line. Just one at a time.So here's the sed expression I was trying out with:

sed -i "s/<(.:.:)David>/$1Beckham/" names.txt
I also tried:
sed -i "s/<(.*)David>/<1Beckham>/" names.txt

[code]....

View 24 Replies View Related

Slackware :: Lost Wireless Keybord And Mouse Upgrading Slackware Current

Oct 24, 2010

Lost my wireless keyboard and mouse upgrading slackware current.Boot seems to be normal.I just can't login, cause have no keyboard.

View 2 Replies View Related

Slackware :: Kernel Panic After Upgrading Slackware64-current To 2.6.32.x Kernel?

Jan 20, 2010

I have one machine where I have several versions installed on different partitions. The base partition (/dev/hda1) is Slack 12.1. On a spare partition (/dev/hdc4) I had installed Slackware64-current. Last week I slackpkg upgraded and installed the 2.6.32.2 kernel, and now that partition will not boot. I know that with the new kernels the hd* designation has been removed, and have already redone that fstab (accessing it from a different boot) to reflect the sd*. Here is the slack64 section of my lilo.conf:

Code:
# Linux bootable partition config begins
image = /other/spare4/boot/vmlinuz

[code]....

View 4 Replies View Related

Slackware :: Graphics Not Loading After Upgrading To Slackware-Current

Feb 26, 2011

I've upgraded Slackware-13.1 I had installed to Slackware-Current using a local tree I had download with mirror-slackware-current.sh script, but when I rebooted I could not get the graphics to load. I think it's because I've also modified /etc/groups and add an username after audio: and video: group, but I forgot that and had to remove slackware from the machine.

View 4 Replies View Related

Programming :: Saving A PPM File - Binary Representation Of Unsigned Chars On The Harddrive

Apr 7, 2010

I am accessing a firewire camera using the libdc1394 library and saving the image as a PPM file, using the code below:

[Code].....

My question is whether the above code is portable. I presume it is, since the result is a binary PPM file which should be capable of being read across multiple computers with different architectures and different operating systems. But at the same time, all that the above code is doing is just saving the binary representation of unsigned chars on the harddrive, and there does not seem to be any reason why the binary representations of the unsigned chars will be identical across multiple computers.

View 1 Replies View Related

Programming :: Saving File Data Using Python In An Embedded System In An Safe And Fast Way?

Apr 19, 2011

I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:

Code:

def saveData(vo)
fd = shelve.open( 'fileName' , 'c')
fd[ key ] = vo
fd.close()
os.system("sync")

But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:

Code:

def saveListData( list )
fd = shelve.open('file_name', 'c')
for itemVo in list:
fd[itemVo.key] = itemVo
fd.close()
os.system("sync")

Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after

Code:

fd = shelve.open('file_name', 'c')

but before fd.close()?

View 7 Replies View Related

Programming :: Write A Script That Says Hello, [current User]?

Feb 11, 2011

I have to write a script that says Hello, [current user]. Today is [date]. The time is [time am/pm]. You have logged into a [term] terminal.My script looks like this:

DOW=`date +%A`
MOY= `date +%B`
DOM= `date +%d`

[code]....

View 1 Replies View Related

Programming :: Subtracting Years From Current Year?

Feb 24, 2011

I have a script: Code: #!/bin/bash
THEYEAR=2011
LASTYEAR=$(($THEYEAR - 1))
echo $THEYEAR
echo $LASTYEAR I get:

[Code]...

THEYEAR is correct but then I get a line space and then a -1 for LASTYEAR. I can't figure out why.

View 2 Replies View Related

Programming :: Detect Current OS In Compile Time?

Dec 8, 2010

Code:

#if defined(WIN32) || defined(WIN64)
#define WINDOWS
#endif

[code]....

what is the directive thats required to detect a linux system? i want to to be able to detect which platform im compiling on automatically.

View 5 Replies View Related

Programming :: Getting Current Time Zone Offset?

Jun 18, 2010

I'm looking for a function (prefer POSIX, but Linux specific would do if it has to) to get the current timezone offset. For my location, eastern USA, that should be -14400 when daylight time is in effect, and -18000 otherwise.

View 1 Replies View Related

Programming :: Gtk+ Detect Current Active Window C++?

Jun 28, 2010

Detect the current window that has the focus. For example at the moment am using firefox therefore teh function should say firefox is the main window.

View 2 Replies View Related

Programming :: All The Above Files Are Removed From The Current Directory?

Feb 14, 2011

When I run:make -f mymakefile clean I get:rm -f mybinary *.so.* *.dep *.o mybinary.symand all the above files are removed from the current directory.But I have a directory /src/ where I have all my source files located. The *.o file in this directory are not removed?

View 4 Replies View Related

Programming :: Pipe The Current Directory Listing Into Sort?

Oct 20, 2010

how to pipe the current directory listing into sort so that the output is the date in descending order (primary sort key). If there are multiple entries with the same date, I'd like the times sorted in ascending order. It seems simple but for some reason this isn't working:

ls -l | sort -k 6r -k 7

For some reason it doesn't seem to ever get to the second sort key when using column 6 (last modified date).

View 2 Replies View Related

Programming :: Get System Current Status To C Program From 'htop'

Jan 17, 2010

Actually I suppose to use this "htop" command to get the system utilities like current processor speed ,running programs ,memory usage(ram and swap) to my program. I planned to get it using popen(). I was success popen("top | grep Mem", "r") with top command. But are there a way to take such information using "htop". Or are there any idea of taking current CPU,MEM,Swp usage as well as Tasks and running tasks using htop or other way to C program...

View 1 Replies View Related

Programming :: List Only Hidden Files In Current Directory?

Feb 15, 2010

How to list only hidden files in current directory ?

View 2 Replies View Related

Programming :: Downwards Compatible Is JRE / Software Written In The Current JDK (1.6) Still Work?

May 13, 2010

I noticed there's a new JRE in town, the upgrade 20, I still use the 13. What will the up to 20 do for the software I write? I use openJDK (came with the Fedora I use) to write software, and the JRE to use it in the browser, I needed to see the Java console, hence the need for the Sun JRE...

So: bottomline: if I upgrade to the new JRE - use the alternatives configurator to use that in the browser, will the software written in the current JDK (1.6) still work? Or: is Java downward compatible?

PS : I dont use anything fancy, just RMI, mySQL connectivity and a bit of Swing...

View 1 Replies View Related

Programming :: Referring To The Current Terminal In A Bash Script?

Dec 22, 2010

I've got some bash scripts that I'm testing which operate on different screen sessions under different usernames. In order to check the status of them, however, I have to attach the screen sessions to my current terminal.

I run into problems, though; I only allow SSH to my machine from one username; the others shouldn't need SSH access. So, I log in as one user, and su into whichever user I need. Without performing a chmod o+rw on the terminal before I su into a different user, screen complains that it can't reattach to my terminal, because the user trying to make it attach doesn't have the permissions to do so.

Seeing as I forget to do this a lot, I wanted to make a script that I'd run on log-in to do this for me. Unfortunately, I don't know if there's a bash variable that refers to the current terminal - I can't always guarantee that I'll be logging in to /dev/pts/0, especially if my internet connection gets cut and I leave a hanging terminal...

Is there a variable for that or a way to refer to it in a script? If not, how do I work around that?

View 4 Replies View Related

OpenSUSE Network :: Firefox - "saving Image As" It Fails To Offer "saving Window"?

Feb 4, 2010

Having openSUSE 11.2, Firefox (latest release) is having some issues when comes to "saving image as", it fails to offer "saving window"? Konqueror works normal, what could be the problem with Firefox?

View 4 Replies View Related

Programming :: C++ Determine If Current User Is Member Of A Specific Group?

Jan 12, 2011

What functions are available on linux for a c++ program to determine if the current user is a member of a specific user group?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved