Is there a standard way to make a program start when a user logs in?
On Ubuntu, for example, you can place a .desktop file in ~/.config/autostart and the application will launch on startup.
Does this apply to other distros as well?
I am running Gnome. I would like to execute a shortcut key combination from the command line. For example, type a command that generates the key codes for Ctrl+Alt+Left.
Does anyone know of a way to do this?
Thanks!
How can I list installed packages by installation date? I installed a lot of stuff to compile a certain piece of code, and I want to get a list of the required packages, which are the ones I installed in the last few days.
I need to do that on debian/ubuntu, but answers for other distributions w...
Hello, i have to support project witch requires php5.2 and mod_rewrite. I was wondering if there exist something similar to wamp server i'm using on VM (good part of it that i just need to download a addon and use whatever packer version i want).
I'm running:
apache2 ...
I've tried various ways listed online that shows how to mount network shares, but no luck. I want to mount SMB & CIFS shares that are available on the network on my Crunchbang computer.
How should I do that?
Had to reset my password on a couple of client servers today, and despite following the rules I get the message "Your password failed to meet: minimum of 2 non-alphabetic characters" back from the AIX server (the Solaris box doesn't give error messages so just keeps prompting for new password)
...
I am new to linux and just recently messed up my first apache/tomcat configuration. After trying to delete apache and tomcat, and now trying to reinstall apache 2, I am missing the init.d/apache2 file to start/stop my server.
I am not sure if the new install actualy worked, and my apt-get purge ...
I have a screen instance running (a lot more actually, but only one that matters), and I would need to execute some code inside the screen, and get the result out to my script.
The first part is quite easy, I just screen -S session_name -X eval 'stuff "$cmd"\015'.
(I'm no screen expert, I just m...
My server executes third party software which processes user submitted files. I want to block outgoing connections from my process. How can I do it in FreeBSD?
I'm a CS undergraduate, and I'm a newbie to the Unix liked OSs. We used Fedora in our labs even though, I'm not mastered on it. I've installed Windows 7 on my laptop and I want to install this Unix based OS.
This my laptop capabilities :
Processor : Intel i3.
Memory : 4GB DDR3 RAM.
Storage : 3...
I tried to slow down my CPU with powernowd and cpufreq-selector. I hoped that with lower frequency it will be less hot and I won't hear my fan every time I will run internet radio.
I used the following commands
sudo cpufreq-selector -f 800000
and
sudo powernowd -m 0 -l 40 -u 60
but this wasn...
I'm looking for a way to automatically list all X resources that are used in an application. To give you an example, for xterm I'd expect a list similar to the following but with all the resources that are used by
xterm.
background
foreground
cursorColor
vt100.geometry
scrollBar
scrollTty...
The following script sometimes gives me things like can't remove a/b as it's not empty
ssh -T user@host <<EOF
cd somewhere
rm -rf a/b
EOF
But I log in to the server and execute rm -rf a/b then I never had the problem.
There are other processes that are generating files to a/b, i...
I often read some text with images and often happens that the text talks about an image that is on the next page and next page and previous page and I have to go back and forward and usually forget where I paused reading.
I got an idea to save the images to image clipboard which is able to conta...
I think this SO question belongs on U&L, but I've already flagged it once so I can't flag it again: http://stackoverflow.com/questions/5877806/how-to-change-partition-uuid-2-same-uuid
With Ubuntu pushing Unity, what distribution would you recommend if I just want to run Gnome 3 with the new Gnome shell?
Personally, I'm interested in distributions which have the polish and support of Ubuntu, but feel free to recommend anything that makes it easy to run Gnome shell.
I would like to use my Android smartphone as a webcam and found the app "IP webcam", which creates various outputs of the camera.
One such output is a MJPG stream, and I want to know if there is a way to get this stream to work as a webcam-source on my Arch Linux
I know there is Droidcam, but I...
I am trying to filter valid/invalid UTF-8 bytes, but I get strange results from the following regex (which is intended to handle a 3 byte form of UTF-8).
I have intended the pattern should not match the test bytes '\xE0\xA1\x63', but it does...
What am I missing?
showmatch() {
echo...
There is currently redhat and a rhel. It looks to me like people have been using them indiscriminately. Calling the Red Hat experts: are these tags synonyms? If there's a difference, please make it clear from the tag wikis, and retag mistagged questions. (The redhat tag wiki says it's about the c...
@xenoterracide yes, I'd guessed. While lsattr and chattr are different things, they're often tied together, and we should have a single tag to cover them both. I don't really care what the tag is called, but I think people should be able to type either lsattr or chattr in the tag box, because they're the natural name (like when command line users type chmod for questions about permissions)
I'm sure the answer to this question was already presented here in some where, but a quick search (here + Google) didn't find it.
I connect a screen to my laptop, and it's blank. How do I extend my desktop to this screen?
The arrow keys cycles between the windows. But sometimes it won't let me switch to window down, just left or right and other times it won't let me go up. I'm not sure if this is a feature or a bug, more likely the latter.