Fedora :: Commands On Shell - Locking The Screen
Nov 26, 2009what is the command for:
locking the screen
creating a new folder
log out
on the shell?
what is the command for:
locking the screen
creating a new folder
log out
on the shell?
I looked for this but couldn't find it.
When Gnome starts, I would like to auto-login a user account, but I and the screensaver to lock at boot. I am using the gnome-screensaver.
I'm having difficulty disabling the screen lock feature when resuming from suspend in Xubuntu 11.04 x64. The screen lock seems to be implemented in xscreensaver, so I disabled the screen saver in the Settings Manager. This did not work. In the 'Power Manager' section of Settings Manager, I unchecked "lock screen when going for suspend/hibernate' and this did not work. I found a possible workaround in a bug report that seems to describe the problem I'm having: [URL] but the solution offered there (install gconf-editor and disable screen lock from there) did not work. The bug report states that the problem was fixed in xfce4-utils 4.4.2-1ubuntu1, but from what I can tell the version of that package in 11.04 is newer than that. The only thing that seems to work is to completely uninstall xscreensaver
View 1 Replies View RelatedI would like to disable the screen locking for hibernation only, in Kubuntu 11.04.I know that there is an option in the KDE Control Center, but I believe that it disables screen locking for both hibernation and sleep.Does anyone know of a way to do this (I'd be perfectly happy with a hacky solution)?Does anyone know what scripts are run when the "sleep" or "hibernate" buttons are pressed?
View 3 Replies View RelatedMy wife just moved onto Ubuntu after dumping Vista and she loves it! Only thing is that our 10 month old son adores smashing his hands on the keyboard when attempting to talk to his grandparents over Skype. In Vista, we downloaded a small software that locked the keyboard but not the mouse or screen. This locking could be toggled via a system tray icon.
Is there something similar that is available for Linux, specifically Ubuntu 10.4? If anyone knows of a solution, do let me know.
So I've got this home file server, and I want to display certain stuff using:
top
who
a tcpdump of snort logs, scrolling in real time
I want it to display on the screen using a split terminal screen, so all of the information shows on one display, but I do not want it to be vulnerable to a local attacker. Is there any way I can have these things start up at login, but prevent that user from doing anything other than viewing this information?
I'm just installed ns 2.31 in my cumputer:fedora 12 (this is the first time working with ns2 and fedora) but I don't know commands to run an example of tcl script and show the graph in my screen.
View 9 Replies View RelatedMy problem started when I updated Ubuntu 10.10 developer release (or whatever it's called ) to Ubuntu 10.10 Final. When I switch user or lock the screen and log back in, my computer makes no sound. I know it's not muted since I can see that in the volume control. The only way I can fix it is by restarting my computer
View 6 Replies View RelatedEveryday i initiated a download on my ubuntu pc and lock the screen and leave, i notice that the internet connection gets cut within 10 to 15 mins after i leave. I am connecting to internet via reliance data card - usb modem. what are the odds of my ubuntu responsible for this ?
View 1 Replies View RelatedThe panel plugin from xfce4-mixer has a bug:s icon doesn't update as the volume is changed. This bug has already been reported.One curious thing about it is that, if you right click on the volume icon on the panel, go to 'Settings' (or 'Properties', I don't know, mine is in Portuguese) and then close the window that pops on the screen, the icon is updated.Is it possible to open and close the settings window automatically with a bash script? Like this, I could associate this script with the volume keys of my keyboard, so that the icon is updated as the the volume is changed.
View 2 Replies View RelatedIn December I finally filled up my root partition and broke Suse 11.1. I therefore resized my partitions and installed Suse 11.3 on /root. I didn't not touch my /home partition.
I notice that when I leave my machine and come back the screen has locked. I have tried to turn off the screensaver, but it hasn't worked. I have Googled, but unfortunately the screen shots don't look like what I have and the instructions to stop this do not seem to match what I am seeing on the screen.
Is there a way to do this via the command line?
Programs like matlab/octave and I'm sure many other ones allow you to start typing a command, and then hit Up to recall the last command that starts with the typed characters. Common linux shell bash doesnot do this. Is there a different shell that does? I'm not asking how to find out the last command, I'm asking if there's a shell that's a little friendlier.
View 3 Replies View Relatedi need to run a command from a shell script that requires me to answer "Yes" to 2 questions that the command asks before it kicks off. how do i do this? i thought it was something like this.. from inside the parent script:
sh test.sh << "EOF
Yes
Yes
[code]...
How can I run the following be run from a shell script, these are shell commands and mysql commands.
# mysql -uroot -ppassw
> use mysql;
> create database cacti;
> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactipw';
# mysql -u root -p -b cacti < /usr/share/cacti/cacti.sql
In below program I want to add (as part of the valid_cmds string) the pwd (print working directory), lo (logout), and cd (change directory) commands. However when I add those into original program ;
char *valid_cmds = " ls ps df pwd lo cd";
they are not working I have the cout message huh?
Original source code is below code...
I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).
How can I do this with shell commands in Linux?
My current thoughts:
ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer
(I think I should use scp, but I dont how exactly how in my case)
What are the exact commands I should use?
Ok, so I have a few web apps that need to run shell commands. Heres a great example of one:
Code:
This is a PHP script getting my system volume. Herein lies the problem... www-data doesn't have permission to do this!
I changed my apache config to use MY account as the web user, and it does in fact work the way I want it to.
Obviously, I dont want to leave apache running as me, and want it to keep using www-data.... heres my question... how can I give permission for www-data to execute certain programs?
I have a command which on the command line needs to look like this
rlam -if3 '!pvalue -H image1.jpg' > image2.jpg
Nevermind what rlam or pvalue do ... they are part of a program package I am using. The above command works on the command line, and also when written verbatim in a bash shell script.
My problem is: in the script I wish to replace image1.jpg with the content of a variable, e.g.
IM1=image1.jpg
How to I get the script to insert the value of $IM into the command when the pvalue part of it needs to be quoted?
Ares there any shell commands to display all applications installed in my linux machine,?
View 7 Replies View Relatedout of no where it seems ubuntu no longer wants to cooperate when suspending/hibernating. the screen will just turn to a black screen without shutting down. each time i have to maually power down my laptop.
View 1 Replies View RelatedI have an NVIDIA graphics card and use the proprietary Nvidia driver for Fedora (13).Usually when I connect another monitor/screen - I change the setup through the nvidia-settings GUI. However, I find this a little bit cumbersome, and would like to do it with a simple click on a button or something like that.Hence:Can I somehow change my screen configuration through a bash script.
View 3 Replies View RelatedI upgraded from fedora 6 to fc10 using a net-inst iso. Everything went great however when I rebooted gnome wouldn't start up and there were other error messages, however thats not my current question. I figured id login as root, I put my pw in and the screen briefly flashes and then back to login prompt. The flash is a message saying something about no shell. Same occurs when trying to logon to my main user account. I can boot to single user and see that all my partitions are there and the data is there. My password file has the shell at the end of the entries.
View 1 Replies View RelatedI am trying to write a script that connects to a server and executes some commands on there. Something like this:
#!/bin/sh
telnet remote_machine
cd /home/some_directory
cat a_file_in_current_directory
Unfortunately after login/password I guess the script doesn't jump past the telnet command, until I exit. What do I need to do to make the script start executing commands in the remote shell?
i was trying to figure out a way to write my own linux commands.. in fact i wanted to write a shell script to simulate an already existed linux commands like 'cd','ls' and'adduser'i just dont know the language of scriptting and even doesnt know the steps to make a script
View 3 Replies View Relatedi want to know how can i change the owner of the mysql data base with shell commands.
View 3 Replies View Relatedphp. I am developing a web-interface for an application that sometimes needs root privs. Editting /etc/sudoers is not an option since the web interface needs to be portable to other users when they install my application. Is there any workaround ?PHP Code:
php code:$command = "./script.sh /dev/$DISKNAME &";$shellOutput = shell_exec($command);
Code:
[code]...
I have a few questions regarding HTML, UNIX and Javascript. I've been tasked with creating a fairly simple webpage that takes a few inputs. Each input must correspond to an argument in a UNIX command running on a server.On a UNIX server we have a script (.ksh) that takes 3 arguments. The result of the script is a data file which is FTP'ed to an external server. Let's forget about the FTP portion for now. I would like to know where I should begin.What I know so far:
1) I will need HTML to create the webpage. Skill level is high
2) I will need Javascript to make my webpage more interactive. Skill level is high.
3) I will need to understand the UNIX environment. Skill level is high.
I upgraded from Slackware 64 13.1 to Slackware 64 13.37 a week or so ago. I am now having a perceptible delay of a few seconds when launching commands from the command line, say for example: screen -R.
My laptop is an X200 with 3GB of RAM.
It appears that I have really messed up my machine. I was trying to get matlab working on FC 11 and I ran into libc.so.6 issues, so I put an older file libc.2.3.1.so in /lib/tls/ directory and created a symbolic link libc.so.6 to see if the application would work. Unfortunately at the same time the system did some updates and the system hung, so I ended up rebooting, but now it gets stuck at boot screen (after grub) with a kernel panic - not syncing: attempted to kill init.I just need a way to get to the directror /lib/tls and delete the link and the older .so file I threw in there. How do I get this accomplished. I cannot get even to a shell from the boot screen.
View 3 Replies View RelatedI am searching for a way to run multiple commands at boot time using the gnu screen utility.
A solution could be:
But the result would be many sessions, each one with just one child. What I need is just one session with many children, one child per command.