Commit bac4ff68 authored by B Stack's avatar B Stack


parent e053cdc1
usage: xseticon [options] path/to/icon.png
-name : apply icon to the window of the name supplied
-id : apply icon to the window id supplied
Sets the window icon to the specified .png image. The image is loaded from
the file at runtime and sent to the X server; thereafter the file does not
need to exist, and can be deleted/renamed/modified without the X server or
window manager noticing.
If no window selection option is specified, the window can be interactively
selected using the cursor.
xseticon -id "$WINDOWID" path/to/icon.png
Will set the icon for an xterm.
%define debug_package %{nil}
Name: xseticon
Version: 0.1
Release: 1%{?dist}
Summary: set x application icons
Group: Applications/X11
License: GPLv2
#Source0: %%{url}/%%{name}-%%{version}+bzr14.tar.gz
Source1: README
BuildRequires: libXmu-devel
BuildRequires: gd-devel
BuildRequires: glib2-devel
#BuildArch: all
%global dirname %{name}-%{version}+bzr14
Xterm, and likely many other X11 programs, do not set themselves window icons, which window managers typically use to represent that program window in switcher lists, taskbars, and so on. This program can set the X11 window icon for any given window, to that of a given image file.
%setup -q -c %{dirname}
cd *
cp -p %{SOURCE1} .
# install to prefix provided by rpmbuild
sed -i -r -e '/^\s*PREFIX=.*/s:^\s*PREFIX=.*:PREFIX=$(DESTDIR)/usr:' Makefile
cd *
make %{?_smp_mflags}
cd *
%if 0%{?el6}%{?el7}
%doc */LICENSE
%license */LICENSE
%doc */README
* Wed Dec 26 2018 B Stack <> 0.1-1
- Initial rpm built
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment