{"id":2291,"date":"2011-05-21T19:17:13","date_gmt":"2011-05-21T19:17:13","guid":{"rendered":"http:\/\/t.motd.kr\/articles\/2291\/how-to-start-pidgin-minimized-or-always-start-pidgin-with-its-buddy-list-invisible"},"modified":"2022-12-28T01:44:41","modified_gmt":"2022-12-27T16:44:41","slug":"how-to-start-pidgin-minimized-or-always-start-pidgin-with-its-buddy-list-invisible","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/2291\/how-to-start-pidgin-minimized-or-always-start-pidgin-with-its-buddy-list-invisible\/","title":{"rendered":"How to Start Pidgin Minimized (or always start Pidgin with its buddy list invisible)"},"content":{"rendered":"\n
Pidgin<\/a> does not have an option that allows a user decide whether the Pidgin buddy list window starts minimized or not. It just remembers the state of the window when it quits, and restores the last window state.<\/p>\n\n\n\n The last window status is stored in When the The first Not that I like this workaround. I still just can\u2019t believe there is no option about this.<\/p>\n","protected":false},"excerpt":{"rendered":" Pidgin does not have an option that allows a user decide whether the Pidgin buddy list window starts minimized or not. It just remembers the state of the window when it quits, and restores the last window state. The last window status is stored in $HOME\/.purple\/prefs.xml: When the list_visible property is set to 0, you… Continue reading $HOME\/.purple\/prefs.xml<\/code>:<\/p>\n\n\n\n
...\n<pref name='pidgin'>\n ...\n <pref name='blist'>\n ...\n <pref name='list_visible' type='bool' value='0'\/> <!-- 0: invisible, 1: visible -->\n <pref name='list_maximized' type='bool' value='0'\/> <!-- 0: normal, 1: maximized -->\n ,,,\n <\/pref>\n<\/pref>\n...<\/code><\/pre>\n\n\n\n
list_visible<\/code> property is set to
0<\/code>, you will see Pidgin minimizes its buddy list window into the system tray (or the notification area). How can we make sure it\u2019s always set to
0<\/code> when Pidgin updates it when it exits? Let\u2019s write a shell script:<\/p>\n\n\n\n
#!\/bin\/bash\nperl -pi -e \"s\/pref name='(list_visible|list_maximized)' type='bool' value='[1-9]'\/pref name='$1' type='bool' value='0'\/gi\" ~\/.purple\/prefs.xml\n\/usr\/bin\/pidgin &<\/code><\/pre>\n\n\n\n
perl<\/code> command searches the
list_visible<\/code> and
list_maximized<\/code> properties and replaces their values with
0<\/code> before Pidgin starts. Problem solved!<\/p>\n\n\n\n