I've installed a new Samsung CLX-3305W multifunction printer/scanner a couple of weeks ago on a dual boot system with W7 on one physical drive and Ubuntu 14.04 64-bit on a separate drive. The printer is connected via LAN, through a router and used as a network printer/scanner. Windows has no problems printing and scanning over the network however, Ubuntu will only print and won't see/recognise the scanner. I've been prowling relevant Linux forums for advice and a solution, but to date nothing worked. Ubuntu is updated and as far as I can tell, all relevant drivers are present together with sane-utils, libsane and libsane-extras. I also have Simple Scan and Xsane installed. I can get around this problem by scanning directly to a USB memory stick or booting into Windows every time I need to scan something, but not being able to scan directly to Ubuntu is driving me silly. Could someone please help me out?
jeudi 1 janvier 2015
Late authentication
I run Debian Wheezy with a simple window manager (Blackbox). If I remember correctly, in Ubuntu some applications like Synaptic and Update Manager ask for sudo password only when/if needed. How do I configure the system so I can launch for instance Update Manager as normal user and only provide sudo password when the system is to be updated?
The window manager is started from ~/.xinitrc with
exec ck-launch-session dbus-launch blackbox
As requested by Graeme the content of directory /usr/share/polkit-1/actions/ is
com.hp.hplip.policy
com.ubuntu.pkexec.synaptic.policy
com.ubuntu.softwareproperties.policy
org.debian.apt.policy
org.freedesktop.color.policy
org.freedesktop.consolekit.policy
org.freedesktop.policykit.policy
org.freedesktop.udisks.policy
org.opensuse.cupspkhelper.mechanism.policy
Below follows the content of the directory /etc/polkit-1/localauthority.conf.d:
$ ls /etc/polkit-1/localauthority.conf.d/
50-localauthority.conf 51-debian-sudo.conf
$ cat /etc/polkit-1/localauthority.conf.d/50-localauthority.conf
# Configuration file for the PolicyKit Local Authority.
#
# DO NOT EDIT THIS FILE, it will be overwritten on update.
#
# See the pklocalauthority(8) man page for more information
# about configuring the Local Authority.
#
[Configuration]
AdminIdentities=unix-user:0
$ cat /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf
[Configuration]
AdminIdentities=unix-group:sudo
closing parent process(terminal) doesn't close a specific child process
I'm new to Linux and so far,I have come to understand that if we open a new process through a gnome-terminal eg: gedit & "& for running it in background", then if we close the terminal, gedit exits as well. So, to avoid this ,we disown the process from the parent terminal by giving the process id of gedit.
But, I've come across one peculiarity; If we open a gnome-terminal from within a gnome-terminal(parent) with gnome-terminal & and now, if we close the parent terminal, the child terminal doesn't close even if I haven't disowned it.
Why is it? And if there is an exception, what is the reason for making it an exception and where can I find the configuration file(if accessible) where this exception has been mentioned?
I need a Shell Script to login into one Unix Machine
I'm Pretty new for Shell Scripting.I'm looking for a Script which will have the username and password credentials to login into one particular server and when i execute that script it has to login into the mentioned server in the Script and then it has to calculate the size of one File System.Could some one provide a script for this.
Thanks Saddam
How to delete temp folders created for live booting?
I have followed this document for live USB creations for opensuse13.2, http://ift.tt/1uedtQ5. Accidentally, i have used sd instead of sdx, hence it created some/tmp files in my HDD which is cannot be deleted. When i try to delete it throws some exception as those partitions are not mountable. Any idea?
This is completely eaten my booting options, There is a GRUB installed and but not getting detected, only my my previously installed opensuse is booting by default.
Method to convert simultaneous key chord / letter key combo into another key?
I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys "w", "e", "f", pressed simultaneously, to trigger another key press, say, "Control-Alt-Escape".
My ultimate goal (in case it makes a difference) is to make a vim-like XMonad configuration: that is, I would like to use the simultaneous key chord "w/e/f" to "escape" into "Normal Mode" (a XMonad.Actions.Submap (submap)).
So far, I have tried xbindkeys but have not figured out how to specify a key chord of that sort.
Thank you for any suggestions beforehand.
Is the Linux/Ubuntu supports Adobe Dreamweaver CS6?
I using Ubuntu Mate.Is that support Dreamweaver, or else suggest me an IDE equal to Dreamweaver.