This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install --best -y --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm &&sudo dnf install smplayer -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dbus | |
import gi | |
from gi.repository import GLib | |
from dbus.mainloop.glib import DBusGMainLoop | |
import sys | |
DBusGMainLoop(set_as_default=True) | |
loop = GLib.MainLoop() | |
if len(sys.argv)>1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check if Broadway In Supported GDK backends | |
GDK_BACKEND=help gedit | |
# run Listening | |
broadwayd -a 0.0.0.0 -p 8080 :5 | |
#run gedit | |
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gedit | |
# In browser (Firefox) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# | |
# Copyright 2019 youcef sourani <youssef.m.sourani@gmail.com> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# | |
# makebootableflash.py | |
# | |
# Copyright 2018 youcef sourani <youssef.m.sourani@gmail.com> | |
import sys | |
import os | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Require python3-psutil | |
# | |
import os | |
import psutil | |
import time | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
from PyQt5.QtGui import QColor | |
import dbus | |
def kde_colorpicker_pick(): | |
bus = dbus.SessionBus() | |
ob = bus.get_object("org.kde.KWin","/ColorPicker") | |
itf = dbus.Interface(ob,"org.kde.kwin.ColorPicker") | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -rf /usr/share/themes/{Adapta,Adapta-Eta,Adapta-Nokto,Adapta-Nokto-Eta} | |
rm -rf ~/.local/share/themes/{Adapta,Adapta-Eta,Adapta-Nokto,Adapta-Nokto-Eta} | |
rm -rf ~/.themes/{Adapta,Adapta-Eta,Adapta-Nokto,Adapta-Nokto-Eta} | |
sudo dnf install autoconf automake inkscape gdk-pixbuf2-devel glib2-devel libsass libxml2 pkgconfig sassc parallel | |
cd && git clone https://github.com/adapta-project/adapta-gtk-theme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf install ffmpeg ffmpeg-libs compat-ffmpeg28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: gvrecord | |
Version: 0.3 | |
Release: 2%{?dist} | |
Summary: Simple Tool To Record Gnome Shell Screen | |
BuildArch: noarch | |
License: GPLv3 | |
URL: https://arfedora.blogspot.com | |
Source0: https://github.com/yucefsourani/gvrecord/archive/%{version}.tar.gz | |
BuildRequires: python3-rpm-macros | |
Requires: python3 |
NewerOlder