General :: View The WMClass Attribute Of A Window In Xorg?
May 18, 2010
I am trying to find a workaround for incorrect grouping of windows in Docky, and I believe the problem lies with the WMClass attribute that is set for each window. However, I do not know how to view this attribute for open windows. Is there any way to do this?
View 1 Replies
ADVERTISEMENT
Aug 30, 2009
Recently installed Fedora 11 from CD on eeepc900HA. Update manager suggested 402 updates available. trying to update I get the following traceback error report:
Traceback (most recent call last):
On trying this process a second time after having selected specific packages I noticed that a prepare machine for upgrade package (not selected by me) seemed to be where the process stalled.
Trying a third time with attempt to upgrade some (random) python packages I get the same result via a system/admin/upgrade or download software .
View 3 Replies
View Related
Jan 26, 2011
Assume, I have the below LDAP entry
Code:
Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret
Do we use?
Code:
And how?
View 1 Replies
View Related
Nov 14, 2010
view WINDOW excel file without using GUI
View 1 Replies
View Related
Aug 4, 2011
I would like to open pdf files in a web browser window. I have installed mozplugger and xpdf, but it does not work , I have only blank, white screen. I installed Adobe PDF viewer, and it worked good, but I don't want to use bloated PDF viewer.
View 2 Replies
View Related
Nov 13, 2010
I have a Dell PC with Debian GNU/Linux lenny.sid that was working as a game server. After solving the problem with the login to the server the system comes to root. I tried startx command but the result was command not found. I could not find the .bin/bash_profile to edit it. I had in mind to #nano /etc/inittab
1:2345:respawn:/sbin/getty 38400 tty1
edit it to 1:2345:respawn:/bin/login -f "root" tty1 </dev/tty1 >/dev/tty1 2>&1
I did not do it since i had to edit the .bash_profile with startx command which I was not able to spot. Whereis could not find the file. I tried to apt-get install x-windows-system but apparently I have a problem with my internet cause it can not download from Debian repositories. I check with ifconfif and later ping and i had results so i might not have problem with the internet. Is it possible the server to be set up so the user can not get into the x-window system? Did they disable anything? Do I have to install xorg and if yes can anybody give me an idea how I can do it?
View 4 Replies
View Related
Mar 20, 2011
I have a couple of questions and one problem regarding my AMD64 Testing box. According to this Debian Xorg Wiki : Xorg is the default X Window server since Debian 4.0 (etch). It replaces XFree86 and is maintained in Debian by the XStrikeForce. But...it appears that I don't have Xorg as my X Window server, but rather XFREE86? I just checked my i386 Testing box, it does have /etc/X11/xorg.conf
[Code]...
The problem: I have lost my higher screen resolutions after today's apt-get dist-upgrade. I only have 800x600 and 640x480. I probably won't complain about these resolutions in twenty years or so, but for now, I'd rather get the higher resolutions back, ha.
[Code]...
View 6 Replies
View Related
Nov 23, 2010
I don't know if this is a known issue, but when I want to copy/move a file to a folder containing lots of sub-folder displayed as list, I can't do a simple drag&drop, because there is no empty space to move this file. It will always go into one of the sub-folders. So obviously I have to go up one folder or to change view from list to Icon or Compact. Is it a known issue? Is there a solution? (Using GNOME nautilus 2.30.1)
View 9 Replies
View Related
Aug 10, 2011
Currently, whenever we open a folder like "media/DATA/Work/Projects/Linux" at the top of the window it views each folder/subfolder as a button like [media] [DATA] [Work] [Projects] [Linux]. So if you click a folder named "Ubuntu" within the "Linux" folder another button [Ubuntu] will be added.I like this feature, but often i find myself needing to copy and paste that address somewhere and all I can do really is type it out manually. Is there a way to also display the address location in text like "media/DATA/Work/Projects/Linux"??
View 2 Replies
View Related
Jul 6, 2011
I have a bunch of files on a usb stick that have just the e attribute set. So I can't chattr them, rm -f fails and chmod fails, all whether as user or root. How can I get rid of the e attribute? Failing that, how can I get rid of the files?
View 3 Replies
View Related
Apr 4, 2011
create a tar file from a list? My script returns the error: AttributeError: 'list' object has no attribute 'startswith' I want to create a compressed tar file containing the directory /usr/lib and the files in the list assigned to variable b.
code:
import tarfile
tar = tarfile.open("backup.gz", "w:gz")
[code]....
View 3 Replies
View Related
May 18, 2011
Does linux kernel 2.6 support suid & guid?. I just read somewhere that "latest linux kernels does not support suid & guid as it can pose a security risk if the setuid attribute is assigned to executable programs that are not carefully designed". I need a confirmation about what I say is correct or if not please correct me.
View 6 Replies
View Related
Jan 1, 2011
While booting my Linux System (Red hat Enterprises edition 5.1) I am getting a messsage as below , the message is getting generated during file checking on first boot. Extended attribute block 18875430 has reference count 2 , should be 1. and after this system remains in the same sate.
View 1 Replies
View Related
Jul 8, 2011
I like to start Emacs as part of a login script and leave it running for the duration of my login session (which is typically weeks).
I have scripts to call emacs-client which will allow me to use a file-manager or Windows Explorer to locate files and right-click to edit them in Emacs.
I often end up with a lot of emacs windows (frames) open and I like to just be able to close them by clicking on the MS-Windows or KDE X button at the top-right.
The trouble is, if the window is the last one, this will shut down emacs which will lose all kinds of interesting history information.
As a work-around I use C-x 5 0 which won't let me close the last frame but this is often not as convenient as using the mouse
Does anyone know how to configure Emacs so that it can intercept the Window-Close button of the last frame to either request confirmation or simply disallow it?
On MS-Windows, disallowing closing of the last window may cause logoff to hang if emacs is still running but I'm not too worried about that.
View 2 Replies
View Related
May 30, 2011
I have been working in macromedia dreamviewer for editing html and php files, Just now I moved to linux system by installing xampp , my question is that I need a best html and php editor that supports both the design view and code view as like in dreamviewer.
View 7 Replies
View Related
Feb 24, 2010
After a update that has gone bad I can't use yum anymore, I have already reinstalled the latest versions of yum and python from the RedHat site but no luck.
My error:
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
self.conf
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig
self.plugins.run('init')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 145, in init_hook
Repo = RhnRepo(channel)
File "/usr/lib/yum-plugins/rhnplugin.py", line 243, in __init__
self.metadata_cookie = 'cookie'
AttributeError: can't set attribute
View 3 Replies
View Related
Jun 10, 2011
I have two touch screen monitors tha tI'm configuring for a dual-head display.That is working.For the touch screens it's a bit more complicated, each touch screen requires that I apply a specific config file for each individual TS (touch screen). Each config file is unique to it display. for that I'm using xinput to apply those configuration.My problem here is that the TSs are the same model and show up under udev and xinput under the same the same name minus the different hardware IDs whish is the only way that I can currently distiguish them.So far I've experimented with tweaking the udev rules for a particular TS with no luck (more than likely because I might be doing it wrong).I ned to be able to tell the two appart when I apply the configurations in xinput so I can write a script that will do this automatically for me.
View 1 Replies
View Related
Feb 3, 2010
In my project, there is a requirement for adding one more attribute for file properties which keeps track of previous file copies(Copy history).
So how can we accomplish this?
can we add/store this information in inode structure?
View 5 Replies
View Related
Jun 18, 2011
I found in my xorg.0.log the the xorg ATI driver is failing ALL options.
Code:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.942] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 8.942] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 8.942] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[Code].....
View 9 Replies
View Related
Oct 23, 2009
My os is fedora 11. The error message is :
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1830, in _runYumTransaction rpmDisplay=rpmDisplay)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3813, in processTransaction
pkgs = self._downloadPackages(callback)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3837, in _downloadPackages
probs = self.downloadPkgs(dlpkgs)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1372, in downloadPkgs
self.plugins.run('predownload', pkglist=pkglist)
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/presto.py", line 577, in predownload_hook
(problems, more) = downloadPkgs(conduit, pinfo, download_pkgs)
File "/usr/lib/yum-plugins/presto.py", line 419, in downloadPkgs
cb.start(text="<delta rebuild>", size=rebuild_size)
File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 129, in start self._do_start(now)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2551, in _do_start
self.updateProgress(name, 0.0, "", "")
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2593, in updateProgress
pkg = self._getPackage(name)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2534, in _getPackage
sections = name.rsplit('-', 2)
AttributeError: 'NoneType' object has no attribute 'rsplit'
View 5 Replies
View Related
Nov 30, 2009
After installing F11, I installed OpenLdap with the command "yum -y install openldap*" And added the password obtained through the command "slappasswd -s password -h {MD5}" into /etc/openldap/slapd.conf. Also, I specified the domain information within the file on "suffix" and "rootdn". I also modified the domain name in both /etc/openldap/ldap.conf and /etc/ldap.conf. I copied the Copied the /usr/share/doc/openldap-servers-2.4.15/DB_CONFIG.example to /var/lib/ldap/DB_CONFIG. Then started the server with the command /etc/rc.d/init.d/ldap start I then was able to create and delete OU's and CN's with the help of ldapadd and ldapdelete. I also created PERSON records using the base.ldif file with the content ;
dn: cn=user1, ou=domain, dc=example, dc=com
objectClass: person
cn: user1
sn: user1
Everything is OK until I try to add a person with an email address in the "mail" attribute. The error message is ;
***************************
adding new entry "cn=user1, ou=domain, dc=example, dc=com
ldap_add: Object class violation (65)
additional info: attribute 'mail' not allowed
***************************
This error message is appearing also with "uid" attribute. I have searched some forums and found some suggestions to include the line
"include /etc/openldap/schema/inetorgperson.scheme" in the file /etcopenldap/slapd.conf, which is already in.
View 1 Replies
View Related
Aug 21, 2010
Just tried to test ea support by running setfattr on a test file and received an error message to the effect that this function is not supported. Is that corrects and if so how do I turn on ea support?
View 3 Replies
View Related
Oct 21, 2010
I don't know whether this is happening because my machine is behind an HTTP proxy, or for some other reason. When I enter my Ubuntu One account name and pass into "Connect to Ubuntu One" and click Connect, I get this code error instantly:
Code: 'NoneType' object has no attribute 'makefile' If I enter nothing or invalid data into these fields, a red icon is displayed immediately, but the error above appears with valid and accurate data in the fields. If this is a proxy issue, why doesn't the application honor the system-wide proxy settings?
View 9 Replies
View Related
Nov 9, 2010
Is there a command similar to MS-DOS's 'attrib'?? to hide the file??
View 4 Replies
View Related
Sep 3, 2010
Basically, i have a clustered filesystem using GlusterFS. This is ultimately going to host a very large number of files.
It is mainly used as a storage destination for backups, and historical copies of files.
Remote servers sync using unison every few minutes. A local script will run over the whole filesystem once per hour looking for new files/folders, and files that have been updated based on their timestamp.
99% of filesystem access is browsing the directory structure, listing directory contents and checking the modification times of files. Access to the actual content of a file is minimal. Only a tiny fraction of the filesystem is actually modified from hour to hour.
GlusterFS alone is quite slow when browsing the directory structure. (ie. "ls -Rl /data") The speed of things for actually transferring file content is sufficient for my requirements.
What I need is to vastly improve performance when running operations such as "ls -Rl /data". (/data is the mount point)
I believe the best way to do this is to implement caching. The cache options within GlusterFS are simply not sufficient here.
My first thought was to re-export the GlusterFS mount with NFS, and then mount the NFS share and set the cache on the client to a very long expiry. (like 86400 = 24 hours) It is my understanding that any change made to a file using the mount point will invalidate the cache entry for that file. (it is only mounted in one place, so no changes possible at the back end.)
I did this using the kernel based NFS server, but ran into major problems with the "Stale NFS" errors which from reading is due to a problem related to FUSE that doesnt sound like its going to be fixed soon. Aside from the Stale errors, this did provide a suitable boost in performance.
I tried the beta of GlusterFS that has the integrated NFS server (so presumably, no FUSE) but I could not get this to compile properly on our servers.
Finally, I tried using the Gluster patched version of unfs3 that uses boost to talk to Gluster instead of FUSE. Now this works, but for some reason the NFS client cache doesnt seem to cache anymore.
One last thing that I was looking at is the possibility of running a simple cache layer in front of either GlusterFS or NFS. I believe Cache-FS is the tool for the job but I have been unable to get that to work - I believe it is disabled in my kernel or something. (mount command says cachefs is unknown)
I am running Ubuntu 8.04 on most servers, but have upgraded one to 10.04 to try and get around Kernel limitations. My servers are all 32 bit (I know, not recommended for GlusterFS) and its very difficult for me to change this. (its a live system)
I quite simply need to add a cache for the directory structure information, and then maybe export this with NFS so that it can be mounted on a *single* server. (the cache can be on the server where it is mounted if required, but due to the large size of the cache - it may be better to have a server dedicated for the cache)
I am running GlusterFS 3.0.5 in a replicate/distribute manner.
View 4 Replies
View Related
Nov 9, 2010
i'm having an error when running a python script that uses the python-twisted-web components... i get the impression that this program was developed and tested in a debian environment. heres the readout:
Quote:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1165, in run
self.mainLoop()
[code]......
View 6 Replies
View Related
Jan 29, 2011
I am trying to get Yumextender to work and I get a error window. The traceback is:
Code:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1314, in dispatcher
self.parse_command(args[0], args[1:])
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1242, in parse_command
self.get_packages(args[0], args[1]
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 71, in newFunc
return func(*args, **kwargs) .....
File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 42, in enable_debuginfo_repos for opt, repoexp in opts.repos:
AttributeError: Values instance has no attribute 'repos'
I messed with some repos but with yum update it checks and says 0 Updates
View 12 Replies
View Related
Sep 5, 2011
how can i access 'description' attribute stored in LDAP server from LDAP client(pam_ldap,nss_ldap).
View 2 Replies
View Related
Apr 6, 2011
I am in Ubuntu 10.04 with its standard desktop environment. Exaile was working great. Now, suddenly it refuses to work. It brings up the splash/loading image and then dies. It works fine under a different user account. I completely restarted, completely uninstalled, completely reinstalled through the Ubuntu Software Center. No luck. I then tried to run it via a terminal.
Here was the output:
wmeler@ubuntu1004:~$ exaile
INFO : Loading Exaile 0.3.1.1...
INFO : Loading settings...
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
Traceback (most recent call last):
File "/usr/lib/exaile/exaile.py", line 52, in <module> main()
File "/usr/lib/exaile/exaile.py", line 49, in main exaile = main.Exaile()
File "/usr/lib/exaile/xl/main.py", line 84, in __init__self.__init()
File "/usr/lib/exaile/xl/main.py", line 189, in __init
location=os.path.join(xdg.get_data_dirs()[0], "covers"))
File "/usr/lib/exaile/xl/cover.py", line 121, in __init__self.load()
File "/usr/lib/exaile/xl/cover.py", line 330, in load data = pickle.load(f)
EOFError Exception in thread Thread-4:Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/exaile/xl/hal.py", line 66, in connect logger.warning("Failed to connect to HAL,"
AttributeError: 'NoneType' object has no attribute 'warning'
View 2 Replies
View Related
Feb 26, 2011
I wrestling with a new slackware install and I've got a problem with exaile. It was built with sbopkg, and doesn't work. It doesn't start at all from the menu (in Xfce,) and provides the following error message when started from Terminal:
Code:
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
Traceback (most recent call last):
File "/usr/lib64/exaile/exaile.py", line 52, in <module> main()
File "/usr/lib64/exaile/exaile.py", line 49, in main exaile = main.Exaile()
File "/usr/lib64/exaile/xl/main.py", line 96, in __init__self.__init()
File "/usr/lib64/exaile/xl/main.py", line 132, in __init self.__show_splash()
File "/usr/lib64/exaile/xl/main.py", line 260, in __show_splash import xlgui
File "/usr/lib64/exaile/xlgui/__init__.py", line 53, in <module> from xlgui import devices, guiutil, icons, preferences, queue
File "/usr/lib64/exaile/xlgui/devices.py", line 34, in <module> from xlgui import collection
File "/usr/lib64/exaile/xlgui/collection.py", line 36, in <module> from xlgui.widgets import dialogs
File "/usr/lib64/exaile/xlgui/widgets/dialogs.py", line 452, in <module> class MessageBar(gtk.InfoBar):
AttributeError: 'module' object has no attribute 'InfoBar'
View 3 Replies
View Related