Ubuntu :: Kick Off A Custom Process From Screensaver In Kubuntu
May 10, 2011
I am running Kubuntu 11.04 and I use the standard "Blank Screen" screensaver. I want to start a command every time the screensaver starts and to stop it when the screensaver stops.
My idea is to copy the "Blank Screen" screensaver and add a couple of my own lines in the source code ...
but I have some trouble finding the correct files.
View 1 Replies
ADVERTISEMENT
Jul 25, 2009
Anyone noticing intermittent problems with the screensaver not kicking in or the display not sleeping? This is in gnome under F11.I have the Power Management Preferences set to put the display to sleep after 30 minutes of inactivity and gnome screensaver is configured for 5 minutes idle time.On a regular basis, I'll leave my computer come back anda) the screensaver hasn't kicked inorb) the screensaver kicked in, but the power management features didn't kick in to put the display to sleep.It seems to be an intermittent problem and usually it goes away after I restart X, but then at some point it comes back. In the past, I've gotten in the habit of being logged in for weeks/months at a time but I find that I can't go more than a few hours without logging out and back in or else the screen won't go to sleep.
View 14 Replies
View Related
Feb 18, 2011
How do I set the screensaver in kubuntu 10.10? I've searched the web for help, and everywhere says it's under "desktop" in start | settings, but I can't see an entry for "desktop", only for "desktop settings" which seems to be something completely different (though fun). Pretty much a Linux newbie
View 1 Replies
View Related
Feb 28, 2011
I have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]
I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:
In /usr/share/X11/xkb/rules/base.lst I added this:
! layout
dotan Dotan
Of course, the !layout line was already there, I did not touch it.
In /usr/share/X11/xkb/rules/base.xml I added this:
<layoutList>
<layout>
[Code]....
However, after a reboot I do not see the new layout in KDE's configuration for these things.
Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]
View 2 Replies
View Related
Aug 30, 2010
Im trying to create a custom xsession on Ubuntu 10.04 that will launch nxclient and logout automatically when it closes.
This is what I have so far
Code:
How would I go about altering this script to logout when nxclient closes? To make this more complicated, nxclient spawns a separate process (nxssh) when it logs in and closes itself.
Is it possible for a script to listen for a child process to close and then execute some commands (in this case a logout)?
View 1 Replies
View Related
May 19, 2010
There's an OSS screensaver on windows that I love called PixelCity (links:blog post, github). it's pretty cool. and it runs fine on my Ubuntu (Karmic 9.10) with wine.Is there a way I can tell the gnome-screensaver about it so I can use it as one of my screensavers? I'm still fairly new to Gnome and the whole "screensavers as themes" thing is still confusing me.I've found my themesdir and tried to create a .desktop file for it, but obviously I've gotten something wrong as it just doesn't show when I open the screensaver prefs dialog, no error, no message, it's just not there.
Installing the xscreensaver packages added the extra screensavers I was missing, and I'm a pixelcity away from perfection..Of course the perfect solution would be if someone ported the screensaver natively to linux, which shouldn't be too hard as the source is open, it already runs on openGL and tries to confine most windows stuff to a single file. But I don't know C++ or 3D code or win/linux internals so I wouldn't know where to start..
View 6 Replies
View Related
Feb 26, 2011
I am presently using Ktorrent .
Previously, I used Transmission & Vuze
Is there a way to automatically ban/kick peers which have chocked?
May be in some other client ?
View 1 Replies
View Related
Jun 17, 2011
I have a client that needs 5 machines updated. They are all running Ubuntu 9.04. Long story short, I can only log in over VPN for the time being (as they're in another city).
That said, is there any good way to remotely update the systems without the need to remain logged in (e.g.via SSH)? I'd like to simply kick off the updates and check back in at a later time.
View 6 Replies
View Related
Aug 28, 2010
Whoever has trouble with hplip GUI mode, install not only qt4 but also python-qt4.
View 1 Replies
View Related
Oct 22, 2010
here is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:
cd
chmod 777 ../bin/panel
cd ../bin/panel
[code]....
View 2 Replies
View Related
Dec 13, 2009
How can I see which SELinux rule kicks in at a given point. Is there something like debug-mode for SELinux? The problem is that SELinux Troubleshooter does not show any errors at all when denial happens.
View 4 Replies
View Related
Jan 30, 2011
I am customizing CentOS and doing the entire procedure through ks.cfg file. Everything is been configured properly except the boot label. I would want Boot label to be customized rather than the default one. Is it possible to achieve this using kickstart?
View 2 Replies
View Related
Jan 18, 2010
I have problem while configuring kickstart installation in rhel 5.2 .
I have followed bellow listed steps.
i, Copied iso.img into my server
ii, # mount �o loop iso.img /tmp/iso # cp -a /tmp/iso/* /tmp/iso_new/ # system-config-kickstart - - generate ks.cfg ( creating kickstart configuration file) # cp /root/ks.cf /tmp/iso_new/isolinux/ ( As suggested by red hat I have copied ks.cgf file into /isolinux/ folder.
iii) mkisofs -R -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/new_1.iso /tmp/ iso_new # to create bootable disk
iv) Then started the system using this newly created iso image through HP ILO console and the system got booted successfully with boot prompt.
v) After executing the linux ks=cdrom:/ks.cfg from the boot prompt, we got a error by saying there is no CDROM deducted in your Machine and the installation got terminated .
vi) As per my understanding the ISO image is mounted as Virtual CD-ROM (/dev/scd0) in HP ILO.
Why the we are getting CD-ROM related Error ? How we can avoid this error? Is there any other set of configuration to achieve this ?
View 2 Replies
View Related
Apr 5, 2010
I have ks.cfg and file.iso burned to a DVD. Both files are at the root of the DVD. Besides that, I also created a folder and keep some drivers in the folder.
I inserted the CD and reboot the server ( which already has a red hat 5.3 that I installed before, I want to erase it using kick start ).
Howver, I just can't get into the much said "boot prompt".
Do we need to press certain hot key during certain stage of reboot?
View 5 Replies
View Related
Apr 8, 2010
I try to kick off dolphin from regular user account after executing "su -" from terminal emulator inside KDE, but got a error:
Code:
Is this something to do with xwindow authorization?
View 9 Replies
View Related
Dec 28, 2009
Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.
The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]
My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.
The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.
Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?
And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?
How does moving to dracut as the initrd tool affect any/all of the above?
View 1 Replies
View Related
Sep 15, 2010
I have two OS in my system. Windows& and Kubuntu. Both are in separate hard disks. I was using both. In between i have upgraded my system. now when i am giving priority to hard disk containing kubuntu, i can login to kubuntu, but cant get in to windows7. i have upgraded grub but not working. when i am giving priority to hard disk containig windows7 it enters and work properly. but not working in the previous.
View 1 Replies
View Related
Mar 31, 2010
XP Pro SP3
Ubuntu 9.10
Kubuntu 9.10
Tri-booting. They were installed in the order I listed above. I ran into a few bugs with Kubuntu, so I no longer want to use it. I want to use GParted on a LiveCD to format Kubuntu and expand my Ubuntu home partition to sit on top of Kubuntu's space right now. If I nuke Kubuntu, will Grub still exist with my Ubuntu/XP entries to boot?
View 4 Replies
View Related
Mar 7, 2011
I would like to apply KDE on my Kubuntu because the current one blew up. But each time I to sudo get-apt it seems to be fetching from the cloud. Is there a way I can make it to read from my local Kubuntu CD? I have both Ubuntu 10.04 LTS and Kubuntu Live CDs.
I believe the local disk read should be faster to translate than to bite the bytes across thousands of miles over the wire right?
View 1 Replies
View Related
Aug 16, 2011
I have a RedHat box that I have configured, security, audit rules, latest updates, etc. I want to be able to "image" that configuration so I can kick other boxes with that "image", that way no other configuration/updating needs to be done on the newly kicked boxes. What is the best way to accomplish this? To make things more difficult, it would be near to impossible for me to pull any software off the internet for this.
View 5 Replies
View Related
Nov 11, 2010
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies
View Related
Jan 8, 2010
one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.
View 3 Replies
View Related
Jan 21, 2011
I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
View 3 Replies
View Related
Jun 12, 2010
send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.
View 4 Replies
View Related
Sep 8, 2010
Code:
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
[code]....
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d
",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
View 3 Replies
View Related
Aug 12, 2010
as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.
So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.
View 1 Replies
View Related
May 4, 2010
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or something?
View 3 Replies
View Related
Nov 9, 2010
I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];
[code]...
View 4 Replies
View Related
Nov 9, 2010
I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?
View 1 Replies
View Related
Mar 31, 2011
Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?
View 1 Replies
View Related