After manually setting the display brightness on my laptop, the system re-sets the value. If the laptop is plugged in, the value is set to full brightness; if it is not plugged in, it is set to dimmer. How do I stop that behavior?
Note that I am not talking about what it does in response to the event of plugging in or unplugging my system. It changes on it's own - usually several minutes after I change the brightness value. I have observed this behavior on different systems, different distributions, and different desktop environments.
I tried to find a previous question on SU pertaining to this, but I'm surprised this has not been asked before.
I have seen some deals lately for really cheap SDHC Class 4 cards, and would like to know whether these are a feasible alternative to USB flash drives for running an OS.
I was trying to bring up my custom kernel. I did the following :
make menuconfig && make modules && make modules_install && make install
I would like to change the install PATH. How can i do that?
I tried doing
export INSTALL_PATH=<my custom path>
But then it is only creating the vmlinux.bin(it is not creating the ramdisk image!!)
But if i am not doing that, make install will automatically create the ramdisk image in the default /boot folder.
How can i change that??
Thanks,
Sen
I want to write code in Dev C++ so that when i execute in Ubuntu 8 , it clones my windows 7 from D: partition to its child partitions E:,F: ...
i have made my partitions of equal sizes and i have tested by manualy using ntfsclone ,so their will be no problem in cloning.
this is part of kiosk system and i hope you understand what i am upto
Some reference or help will be appreciated
thanks
Shotwell helps me keep my photos organized. It would be nice if there was something similar for my videos. I prefer something Gtk-based, but I'm open to ideas.
I am interested in making an in house web ui to ease some of the management tasks I face with administrating many servers; think Canonical's Landscape.
This means doing things like, applying package updates simultaneously across servers, perhaps installing a custom .deb (I use ubuntu/debian.) Reviewing server logs, executing custom scripts, viewing status information for all my servers.
I hope to be able to reuse existing command line tools instead of rewriting the exact same operations in a different language myself.
I really want to develop something that allows me to continue managing on the ssh level but offers the power of a web interface for easily applying the same infrastructure wide changes. They should not be mutually exclusive.
What are some recommended programming languages to use for doing this kind of development and tying it into a web ui? Why do you recommend the language(s) you do?
I am not an experienced programmer, but view this as an opportunity to scratch some of my own itches as well as become a better programmer. I do not care specifically if one language is harder than another, but am more interested in picking the best tools for the job from the beginning.
Feel free to recommend any existing projects except Landscape (not free,) Ebox (not entirely free, and more than I am looking for,) and webmin (I don't like it, feels clunky and does not integrate well with the "debian way" of maintaining a server, imo.)
Thanks for any ideas!
I recently purchased a netgear 150 usb wireless dongle for use with my 11.10 Xubuntu amd64 system. Using the network-manager interface, I can see local wireless networks and enter the authentication details for my local wireless lan. Unfortunately, the connection does not seem to work, I keep getting notifications that my wireless has disconnected (but none indicating that I've connected). When I examine syslog, it seems to indicate that I've successfully associated with the wireless switch and that dhcp has successfully acquired an ip address but the log shows that the dhcp process keeps sending requests, eventually dropping the connection. 'ifconfig wlan0' never shows the dhcp address logged in syslog.
I suspect that the problem lies with the usb dongle, my configuration or the wireless switch but I am not certain how to isolate the problem, can anyone provide some insight on how I should go about homing in on the cause of this problem or verifying the functionality of the individual components, thanks.
When I use netstat -tup, it only shows the processes for some. There are other ports that just have a - for PID, so how would I find out what process is listening on these ports?
I am building a web application where my users will be able to upload files. After the files are uploaded I need to send the files to two other servers, and after they will be deleted from the server where they were just uploaded to.
I am wandering is it a good I idea to keep the uploaded files in the tmp/ folder the time the uploaded files are sent to the other two servers or should I move them to another folder incase they get deleted? I am also wandering because I would like to know if I have to build a cron script to get rid of the files that have been transfered to the other servers so that I get my disk space back.
I have a USB stick with a Fedora 11 live environment on it.
It's booting fine on 3 PCs where I've tried it.
But I can't get it to boot on a Mac (Intel). When pressing the alt key (or command key, I don't remember which one) during startup I can only choose the "Macintosh HD" and the USB stick doesn't appear.
I'm trying to use Skype with Ubuntu Karmic and I just don't understand how to configure Pulseaudio properly. The previous version of Skype allowed me to talk through and hear the voice on my USB phone and the ringing sounds through my laptop speaker. I'm not able to do this with the new version (2.1.0.47).
If I run a program from the shell, and it segfaults:
$ buggy_program
Segmentation fault
It will tell me, however, is there a way to get programs to print a backtrace, perhaps by running something like this:
$ print_backtrace_if_segfault buggy_program
Segfault in main.c:35
(rest of the backtrace)
I'd also rather not use strace or ltrace for that kind of information, as they'll print either way...
I have an old P4 computer. I would like to use it as a test LAMP server and a need to find or build smallest LAMP server. I don't need anything fancy. If it can run popular CMS's like Joomla or Drupal or Wordpress that is all I need. No window manager or any other tools.
Any advice?
I've just rented a new server (CentOS 5.4) and I see it has only 3 partitions: /, /boot and the swaping partition.
I'd like to create, at least, partitions for /tmp and /var.
Would there be any problems if I try to create those new partitions through SSH??
Thanks.
I have a bash script that I use to configure a vanilla Ubuntu (10.10 Maverick Meerkat) installation to be exactly the way I want it. I make extensive use of gconftool-2 to configure the desktop, set up shortcut keys, etc.
Now, I'm trying to swap the CTRL and CAPS keys. I have found two ways of doing this:
In Gnome, go to System - Preferences
- Keyboard - Layout - Options and make the change in there. This works
well, but I don't know how to script
this; the setting doesn't seem to be
stored in the usual place as I can't
find it with gconf-editor.
Add the
line setxkbmap -option "ctrl:swapcaps" to my .bashrc file.
That works too, until I suspend the
machine & then resume it. At that
point the CTRL and CAPS behaviour
return to normal, until I cause
.bashrc to be run again by opening a
new shell. This behaviour has been
reported as a bug in RedHat.
Could someone please suggest a way of switching those keys that is both permanent, and can be scripted? I'm sure I must be missing something obvious here ...
For some reason, ifcfg-eth* under /etc/sysconfig/network-script were deleted.
Is there any tools that could detect network interfaces and re-generate these files?
Another question :
If I manually added ifcfg-eth0, is there any method to make it work without reboot?
I tried "/etc/init.d/networking restart", and it doesn't work.
I have 2 user accounts, foo and bar
I want to allow user foo to execute commands as root and any other user ie:
sudo su root -c'./run-my-script'
sudo su bar -c'./another-script'
sudo su another -c'./yet-another-script
I also want to allow user bar to execute commands as other user but only a subset and not root ie:
sudo su bar -c'./run-my-script'
but not
sudo su root -c'./run-my-script'
Is this possible ?
Here's a strange thing I haven't seen before -- a directory whose size is reported by ls as 0 instead of 4096, and I can't create any files within it.
# ls -ld lib home
drwxr-xr-x. 2 root root 0 Feb 7 03:10 home <-- it has zero size
dr-xr-xr-x. 11 root root 4096 Feb 4 09:28 lib
# touch home/foo
touch: cannot touch `home/foo': No such file or directory <-- and I can't create files in it
# rm home
rm: cannot remove `home': Is a directory <-- look, it really is a dir
So what does it mean for a directory to have size 0 instead of 4096?
Filesystem is ext4 on fedora core 14.
The output of mount is:
/dev/mapper/vg_dev-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/vda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
Output of du -s /home:
0 /home
Output of stat /home:
File: `/home'
Size: 0 Blocks: 0 IO Block: 1024 directory
Device: 15h/21d Inode: 34913 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-02-07 03:45:46.188995765 -0800
Modify: 2011-02-07 03:11:59.980995019 -0800
Change: 2011-02-06 07:58:45.874995002 -0800
For a frequent task, I need a file manager window open with about 8 tabs, each a different location. I'd like to be able to open the tabs once and then save them as a "tab set", so that in future sessions, I can simply open a file manager and restore the saved tab set, without having to open each tab manually.
I'm running Mint 16 with Thunar, but could use a different file manager if needed.
Is there a way to do this?
The load on my server is very high, even though there doesn't seem to be much disk activity and the CPU is idle. Using sar, I can see the run queue is getting full, but is there any way to see what's in the run queue?
I'm trying to set the time in an embedded system ...
There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin.
Is there something I can try or do I just give up and make UTC be my timezone?