rhythmbox

Gnome桌面tracker进程占用大量磁盘与cpu以及内存资源问题处理

跟風遠走 提交于 2020-04-30 19:58:54
场景:早上刚到公司zabbix监控报警,一个前几天刚给开发安装了gnome桌面的服务器磁盘报警,排查发现 -rw-r--r--. 1 root root 69G Apr 29 09:00 /root/.cache/tracker/meta.db-wal 这个目录占用了69G,这台服务器也没有需要数据存储的需求,查看进程发现大量tracker-*开头的进程大量占用系统资源。 解决办法: Tracker is used (by gnome) to index files to make them searchable and appear automatically in some programs (like Rhythmbox for music files, etc). More info from the Ubuntu wiki on it here https://wiki.ubuntu.com/Tracker. You can do a hard reset of the tags database and restart all the tracker processes with this command: tracker reset -r # 这会像跟踪程序守护进程kill那样杀死所有进程,但它也会删除所有进程数据库。重新启动跟踪器存储将重新创建数据库。 Use

How to continuously monitor rhythmbox for track change using python

╄→гoц情女王★ 提交于 2019-12-18 17:34:07
问题 I want to monitor the change of track in Rhythmbox using python. I want to continuously check for change of track and execute a set of functions if the track is changed. I have written a piece of code which gets hold of the Rhythmbox interfaces from the dbus and gets the current track details. But this program has to be run manually to check for any change. I am new to this and I would like to know how we can create a background process which continuously runs and checks Rhythmbox. I dont

How do I get the currently playing song in Rhythmbox using Python

谁说胖子不能爱 提交于 2019-12-09 18:40:40
问题 Im using Ubuntu 12.04. I want to access Rhythymbox using Python . This is how I've proceeded so far: Ive gone through this site https://live.gnome.org/RhythmboxPlugins/WritingGuide , but it gives details on how to write plugins , which Im not interested in right now. Ive gone through a few tutorials which tells me to do this. import dbus session_bus = dbus.SessionBus() proxy_obj = session_bus.get_object( 'org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/Player') But I am getting the following

How do I query for data in Rhythmbox

眉间皱痕 提交于 2019-12-08 05:13:20
问题 I'm using ubuntu 12.04 and I'm trying to write a python plugin to query the Rhythmbox database. The Rhythmbox version is v2.96 but this issue also occurs with v2.97 as well. When I do a python query, Ubuntu crashes with a segmentation fault. I need to confirm the following is correct and if I've found a bug specific to Ubuntu or if I've misunderstood how to correctly query. If anyone else using another distro can confirm - this would be most welcome. I've filed a bug report on bugzilla with

How do I query for data in Rhythmbox

故事扮演 提交于 2019-12-07 18:04:32
I'm using ubuntu 12.04 and I'm trying to write a python plugin to query the Rhythmbox database. The Rhythmbox version is v2.96 but this issue also occurs with v2.97 as well. When I do a python query, Ubuntu crashes with a segmentation fault. I need to confirm the following is correct and if I've found a bug specific to Ubuntu or if I've misunderstood how to correctly query. If anyone else using another distro can confirm - this would be most welcome. I've filed a bug report on bugzilla with regards to the segmentation fault. However, my question is not strictly about this - its specifically

How do I get the currently playing song in Rhythmbox using Python

孤者浪人 提交于 2019-12-04 09:57:25
Im using Ubuntu 12.04. I want to access Rhythymbox using Python . This is how I've proceeded so far: Ive gone through this site https://live.gnome.org/RhythmboxPlugins/WritingGuide , but it gives details on how to write plugins , which Im not interested in right now. Ive gone through a few tutorials which tells me to do this. import dbus session_bus = dbus.SessionBus() proxy_obj = session_bus.get_object( 'org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/Player') But I am getting the following error DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Rhythmbox was not

【转】解决ubuntu下rhythmbox播放器乱码的问题

早过忘川 提交于 2019-11-29 08:05:10
把rhythmbox在桌面或面板上建立一个图标,右键点击图标->属性->把命令一栏中的内容改成如下内容 env GST_ID3_TAG_ENCODING=GBK:UTF-8:GB2312:GB18030 rhythmbox %U 原来默认是 rhythmbox %U 启动 注销并重新登录。下次启动rhythmbox就直接点击图标启动, 清空一下媒体库,重新导入音乐文件 ,无乱码了。 记住以后都通过图标的方式启动rhythmbox。 完美解决Ubuntu 12.04下Rhythmbox Music Player乱码问题 昨天重新安装了 Ubuntu12.04发现依然存在很多问题,去官网查了一下Rhythmbox这个播放器是使用gstreamer做后端的,而且读取的是歌曲的 id3tag,所以可以看到很多歌曲信息依然是乱码显示的,原因是因为Rhythmbox默认 使用的是UTF-8编码,如果你不想转换歌曲id3tag的编码的话,最好的解决办法就是修改环境变量了. 1.打开终端输入如下信息: $ sudo gedit ~/.profile 2.在打开的文档末尾加上如下两句: export GST_ID3_TAG_ENCODING=GBK:UTF-8:GB18030 export GST_ID3V2_TAG_ENCODING=GBK:UTF-8:GB18030 3.保存修改并关闭文档