I saw the intel-microcode in the ubuntu repositories and was wondering if it was worth installing on my Yorkfield-6M based system. If so, what are the benefits from this package?
Question: How do you add a custom folder to the collection of user folders that come with Ubuntu?
Info:
I just loaded my netbook with Ubuntu Desktop 10.04LTS (Desktop because it is an aspire one and the Apocalypse seems to follow when ever i try to install netbook remix onto it). It comes with standard folders like Documents, Music, Pictures, Downloads(though this one doesn't appear until you actually download something), Videos, etc etc. These are handly little folders because they have little symbols on them and are nicely located in my file browser. it is basically like the folder lay out the windows had in vista.
I do a lot of little programing on this computer so i have a folder in which i keep all these single kb code files. Obviously named "Code" that I keep in my home folder. But I would really like to it over listed next to my other user folders.
In summary, how do you add a folder to the listing on the file browser. And, if possible, how do you give it an icon? (I understand fully that I will probably have to make said Icon) those two things are what I'm seeking to do.
~n
P.s. please correct me if I'm using the wrong name. I just guessed and called them "User Folders" because they were folders the user uses. made sense. but if they have another name like "libraries" please say so. Thanks
In cfengine, I have a variable that is set to the output of a command. Let say variable myoutput is set to "hi world". How can I execute a command based on the contents of myoutput.
I would like to do something like this (sudo cfengine code):
bundle agent test
{
vars:
"myoutput" string => execresult("echo 'hi world';","noshell");
commands:
myoutput=="hi world"::
"/usr/bin/php myaction.php";
}
I have done a fresh install of Ubuntu Server version 12.04 and am trying to install a dhcp server package using the following command:
sudo apt-get install dhcp3-server
However I get this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dhcp3-server
Can someone tell me how to install this package on my server?
Thanks,
Alex.
PowerTop application provides C-state data and p-state data , but i'm not sure which CPUcore that data pertains to. And if I'd like to obtain PowerTop data fro each CPU core, how can I accoplish that ?
In theory I believe you can unlock and remove the system immutable bit with:
chflags noschg /Path/To/File
But how can you do this when you've set the bit as root? I have a file that is locked, and even running this command as root will not work as the operation is not permitted.
I tried logging in as Single-User mode to no avail.
I seem to remember that even though you are in as root you are in at level '1'. And to be able to remove the system-immutable flag you need to be logged in at level '0'. Does this have something to do with this issue?
Is there a good customizable dual-pane file manager for Mac like Total Commander / Far Manager in Windows, or like Krusader / Midnight Commander in Linux?
I used to work on Windows for quite a while and mostly used Far Manager and sometimes Total Commander, then I switched to Ubuntu Linux and used Krusader, now I switched to Mac OS (Snow Leopard) and I'm having a hard time trying to find a good file manager...
Many of the existing applications are trying to replace the Finder with "multimedia capabilities nobody cares about in file manager - IMHO" (Path Finder, ForkLift), some of them are almost good dual-pane file managers (couldn't remember examples), but none of them worked for me mostly because of one reason: I couldn't integrate my file/folder comparison utility (Araxis Merge for Mac) with them...
The way it worked for me in Windows and Linux is that I was setting the cursor on one file in the left pane, then setting the right-pane cursor on another file in right pane, then I pressed a hotkey that launched Araxis Merge with those to files/folders comparison results.
It was very easy to set up in Far Manager (Windows) and Krusader (Linux, actually in Linux I used "Meld" instead of Araxis Merge...)
The tool I'm looking for doesn't necessarily has to be free...
Thank you!
I'm looking for a good open-source alternative to active directory that can handle:
Authorization/Authentication
Group Policy
Replication and Trust Monitoring
In addition, are there any consolidated systems out there that handle these responsibilities?
Edit: Since a lot have asked for more details, I am trying to offer a service setting up an infrastructure for organizations, hardware/software setups, right now I am looking at a Linux stack, both desktops and servers, however a hybrid stack is possible, and I am investigating alternatives.
i am using RedHat Enterprise Linux 5.1. When i use add-remove software in application menu, i think, that i wrongly uninstalled something. so after reboot that menu item missing.
Also i can't use system-install-packages in terminal.
When i double click rpm package it open as archive.
And i specifically open it as software installer by open with other application, it saying error /usr/bin/system-install-packages missing.
Help me to solve this problem ...
I downloaded a php framework and has started to make a website using that. Sometimes I need to look at the source of that framework and every time I open a file I haven't opened before I get this message:
“somefile.php” is a script application which was downloaded from the Internet. Are you sure you want to open it?
That is ok and nice I suppose, but I am getting tired of it. Is there a way I can fix all the files in my web directory so that the os somehow forgets the files are from the Internet or something like that?
At this morning, my laptop (Dell Latitude e6410) gave me this error. I didn't do anything, I didn't change anything. And I got this docking station just 2 month ago. I made a little research on the internet but I couldn't find read solution for this situation. Now my docking station is not charging to my laptop. I'm using Windows 7.
What should I do in this situation ?
Your docking station power adapter is not recognized by your Dell
notebook. As a result, your power adapter may not provide sufficient
power to run the system, your battery will not charge, your system
will run slowly. Please insert a 65 watt Dell approved power adapter.
When using the GNU coreutils split command with verbose mode, how can I make the lines that appear in the STDOUT be flushed with respect to the time when the file has finally been created?
Fore example, running it like this:
~/coreutils/bin/split --verbose -d -u -l 10000000 1>out & tail -f out
creating file `x00'
creating file `x01'
creating file `x02'
[...]
I would have expected the line creating file 'x00' to have appeared in file out after the file has been completely written, but instead, it seems like nothing is written into out until the whole file has been finally processed. Is there a way to change this behavior?
My goal is this: I have a library, say it's called Series. I store my series in two different places, one for watched episodes and one for unwatched episodes.
Obviously I can simply add the root folder of each location to a series library. What I would prefer to do is have a sub-library within Series for each series, for example:
Series \ Lost
Lost (Unwatched series)
Episode 3
Episode 4
Lost (Watched series)
Episode 1
Episode 2
Is there a way to achieve this, or something approximating this (without having a full library for each series)?
P.S. I've read the other topic, but I was wondering if there was a possible workaround for this specific need. More out of hope than anything else. ;)
What are some ways for managing the installation and configuration of various software applications and settings in group of linux development and server computers? Is a set of basic scripts a good means of attack?
I was thinking about just having a ton of scripts, such as:
setup_dev_env [install|uninstall|reinstall]
setup_nfs [...]
setup_nfs_share [...]
setup_http [...]
setup_memcache_node [...]
Is there any better method?
It would be nice to be able to "upgrade" an installation script too, for example, to change common development settings.
Well, i've been using sxipper for some time now, but recently came across lastpass. I can't tell which one is more secure or has a better functionality, sxipper however seems easier to use.
In Windows Vista, when I try to move a folder to replace an existing folder, Vista asks me if I want to merge the folders or cancel. How do I get the old XP behavior where the old folder is just replaced.
This issue is especially challenging when moving many folders at once and some of them move but then some of them hit this merge/cancel problem.
Thanks!
Is there a way to fool windows desktop to think that it is running off a battery (like in a laptop) ?
I need to do this to do some testing in battery mode, but I don't have a laptop on hand to do this.
I tried to find utilities on the net that could do this but I had no luck. What do you think guys?
Hello all!
I´m a windows xp user (but not for much time...) and I usually see how my computer stop of responding me.
The process is this:
Firsly it became totally stopped or very slow for certain periods of 5 minutes. How could I do?
After that it gets stopped (Even not totally because If I click on the bar I see a blinking response in the bar botton of the program I click on.
It´s could be anything related with security (like the firewall or some virus)?
Computer university: I usually experience this, using Matlab (R2007a) with System Generator (its respective compatible version)
My personal laptop: It´s usually works well but when stopped periods became to appears I know in not much time it will became totally stopped. I usually see how Word 2007 get stopped and after a while my windows xp gets stopped. (well I can access to the the manage task pressing ctr+alt and...). The only solution I see is to kill program by program...
My petition:
Please, I need good references that help me how to think in order to avoid or to manage the problems previously described. Does anyone know usefull books or articles?
EDIT:
Laptop:
OS: XP
Home Edition
Version 2002
SP3
Hardware:
HP Mini
Intel(R)Atom(TM)
CPU N270 @1,60GHz
1.99 GB RAM
University Computer:
OS: XP
Profesional
SP3
Hardware:
AMD Athlon(tm) XP 1800+
1.54 GHz, 768 MB RAM
Hi,
Can you recommend a password manager that syncs between an iPhone and (at least one, preferably several) Windows XP computers? Being able to generate passwords would of course be a nice addition, but is not required.
Thanks.
The use case i try to illustrate is when to declare some item (eq mysqld service) with a default configuration that could be included on every node (class stripdown in the example, for basenode), and still be able to override this same item in some specific class (eg mysql::server), to be included by specific nodes (eg myserver.local)
I illustrated this use case with the example below, where i want to disable mysql service on all nodes, but activate it on a specific node. But of course, Puppet parsing fails because the Service[mysql] is included twice. And of course, class mysql::server bears no relation to be a child of class stripdown
Is there a way to override the Service["mysql"], or mark it as the main one, or whatever ?
I was thinking about the virtual items and the realize function, but it only permits apply an item multiple times, not to redefine or override.
# In stripdown.pp :
class stripdown {
service {"mysql": enable => "false", ensure => "stopped" }
}
# In mysql.pp :
class mysql::server {
service { mysqld:
enable => true,
ensure => running,
hasrestart => true,
hasstatus => true,
path => "/etc/init.d/mysql",
require => Package["mysql-server"],
}
}
# Then nodes in nodes.pp :
node basenode {
include stripdown
}
node myserver.local inherits basenode {
include mysql::server` # BOOM, fails here because of Service["mysql"] redefinition
}
Hello,
I'm using apt-get install to install various software on my PC. I have a handful of PCs that needs the same software packages installed all over them. How can I get list of software installed via apt-get install and the sequence in what the packages are installed. Okay, the sequence is not so important since the package manager resolves dependencies... I want to create a script that once run installs all needed software on the other PCs. All of these PCs are Ubuntu default installations. It is obvious that the packages list must not include all the packages that are installed trough a default installation :)
Also that list should not contain software installed via synaptic or dpkg if possible.
My personal desktop, running 32-bit Windows XP SP2 (with 4GB RAM, 2.75GB addressable, swap disabled, hiberfil.sys existing and contiguous on C:\; SP3 is not installed because SP2 has been working fine and I do not want to re-qualify with SP3 just for sheer perversity) typically gets hibernated at night. For a long time this worked great, but recently the machine has had trouble entering hibernation.
Sometimes when I press my power button (configured to hibernate), the box will start the procedure for hibernating (i.e., go to the blue "Windows XP" background logo and display a message about entering hibernation), but before displaying the usual blue-on-black hibernation progress bar it will drop back to the desktop. No error messages appear, on screen or in the system log. The only record of unsuccessful hibernation attempts in the system log, which proudly proclaims that "The Windows Image Acquisition (WIA) service entered the running state." once per failed hibernation attempt.
The problem is almost certainly resource related: if I then close one or more applications which are running, and repeat the exact same process, the machine will hibernate perfectly. There does not appear to be a reliable high-water mark for virtual or physical memory use, below which the machine is guaranteed to hibernate; it's different every time (though typically, below about 1.1–1.4 GB memory usage seems to be where hibernate succeeds most often). Memory may not even be the relevant resource; as far as I know, it could also be handles or sockets.
This behavior is relatively recent: it has only started in the last few months; before then, I could hibernate reliably no matter what the current resource use of the system. This machine claims to have hotfix Q909095 installed, but since the symptoms of my problem match KB909095 rather well, I'm suspicious if this fix is actually working as intended.
Any ideas on how to fix this or where to start debugging?
I need a service which allows me to edit a hosted text file by email.
For example: I write an email to [email protected] with subject "ADD LINE 10" and sending it the mail body is inserted into myfile which is hosted on a server of someservice.ext. Same for "DELETE LINE 12" or "SUBSTITUTE LINE 15". If I write "ECHO FILE" or something similar, the service should send me an email with the updated content of the text file.
Does it exist?
Somebody I know expressed irritation today regarding those of us who tend not to use spaces in our filenames, e.g. NamingThingsLikeThis.txt -- despite most modern operating systems supporting spaces in filenames.
Are there technical reasons that it's still common to see file names without (appropriate) spaces? If so, what are these technical reasons that spaces in filenames are avoided or discouraged, and in what circumstances are they relevant?
The most obvious reason I could think of, and why I typically avoid it, are the extra quotes required on the command line when dealing with such files. Are there any other significant technical reasons?
I'm running Ubuntu 9.04 on relatively old laptop with ATI Mobility x600 inside. On the last version of Ubuntu, when I was able to run proprietary fglrx driver, I was able to slow down graphic card by aticonfig --set-powerstate 1 and save some battery charge. Now I forced to run open source driver as ATI decided to drop support for old cards. But I can't find a way to control power states now except relying on DynamicClocks option in xorg.conf.
But I really know better when and what powerstate I want, so is there a tool that let me change power state manually or at least let me somehow change the behavior of automatic power state selection?