![]() ![]() On the other hand gksudo will always use root directory. When sudo is used system will not change user directory which may cause some warnings. You can use su, sudo or gksudo from gksu package. ![]() Running application using root account may be dangerous. Change access rights for single printer.įind our printer in /dev (for example, lp0) and then: The simplest way is to add current user to the `lp` group and then reboot:Ģ.2. There several ways to deal with this problem. Thus only root and members of `lp` group can access the printer. WIC Reset will work only in the first case, thus creating aliases from /dev/bus/usb to /dev will not help to solve any problems and can be potentially harmful.īy default access rights for /dev/usb/lp* are defined like this: For example inkjet printer can be accesed from the /dev/usb/lp0 and /dev/bus/usb/002/004, but in the first case it’s actually a printer (line printer 0) and in the second – generic usb device. In the Linux system same devices may be presented on the different levels of the /dev directory, each of them using different drivers stack. ![]() Differences between /dev/usb and /dev/bus/usb. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |