Skip to content

SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search
SysTutorials

  • QA

    How to make Alt-Tab switch among windows instead of applications in Gnome 3?

    ByEric Ma Mar 24, 2018Jun 26, 2018

    The default Alt-Tab in Gnome 3 switches among applications and windows are grouped by application. How to make Alt-Tab switch among windows instead of applications in Gnome 3? Check the Alternate Tab Gnome 3 extension and you will love it. Substitute Alt-Tab with a window based switcher that does not group by application. This extension…

    Read More How to make Alt-Tab switch among windows instead of applications in Gnome 3?Continue

  • QA

    How to @import a css file only for wide screens

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to @import a css file, such as for an open fonts hosted by Google, only for wide screens, such as with px of larger than 846? A piece of css that you can use: @import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,300,400,700,900) (min-width:846px) This import Open Sans fonts for only screens of at least 846 px.

    Read More How to @import a css file only for wide screensContinue

  • QA

    gthumb hangs at startup on Fedora

    ByEric Ma Mar 24, 2018Mar 24, 2018

    gthumb hangs at startup on Fedora when I plugged my iPhone on the USB. How to solve this? You need to unmount the iPhone: Open nautilus. Press F9 (may need twice) to open the side panel if it is not opened yet. Find your iPhone on the side panel and unmount it by click the…

    Read More gthumb hangs at startup on FedoraContinue

  • QA

    How to dd on Windows?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    dd is a handy tool on Linux. But is it possible to run it on Windows? I find the dd in cygwin works very well for me. It provides as almost (if not the same) functions as the dd on Linux. The disks are specified in /dev/ as on Linux. This solution means: you need…

    Read More How to dd on Windows?Continue

  • QA

    How to install Fedora 20 on a mbr/ms-dos disk?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    How to install Fedora 41 on a mbr/ms-dos disk? The nogpt and noefi trick seems do not work. This is a bug in F20 installer that still believes it is in UEFI native mode even if the noefi parameter is passed. Solution: There is an updates image for the installer which fixes this issue available…

    Read More How to install Fedora 20 on a mbr/ms-dos disk?Continue

  • QA

    How to manually set the boot entry for Windows in grub2?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to manually set the boot entry for Windows in grub2? Suppose that your Windows is installed on the first partition of the first disk (hd0,1) (yes, it’s right, that is (hd0, 1) if your distribution has not modified grub2’s default behavior) in NTFS format. You can boot your Windows in grub2 by: insmod ntfs…

    Read More How to manually set the boot entry for Windows in grub2?Continue

  • QA

    How to make Emacs run in command line by default?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to make Emacs run in command line by default? I do not want to open the X window. You have at least 2 choices. First choice: use emacs-nox and make it the default: # yum install emacs-nox # alternatives –config emacs and choose emacs-nox. Second choice: use emacs but with -nw to disable the…

    Read More How to make Emacs run in command line by default?Continue

  • QA

    How to set Internet Explorer’s Proxy in command line on Windows 7?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to set Internet Explorer’s Proxy in command line on Windows 7? You can use this tool: SetProxy. On Windows 7, it works still to set IE’s proxy. Note that the proxy setting is for IE only. If you need to configure the proxy for other services like Windows Update or other programs that use…

    Read More How to set Internet Explorer’s Proxy in command line on Windows 7?Continue

  • QA

    How to debug/check network-related driver information on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to debug/check network-related driver information on Linux? Several commands/tools that you may find usefull: Messages: dmesg grep NetworkManager /var/log/messages lshw: list hardware lshw -c network lsusb: list USB devices lsusb rfkill: enabling and disabling wireless devices rfkill unblock all rfkill event iwconfig: configure a wireless network interface iwconfig ifconfig: configure a network interface ifconfig

    Read More How to debug/check network-related driver information on Linux?Continue

  • QA

    How to quickly find out which rpm package provides a command on Fedora Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to quickly find out which rpm package provides a command on Fedora Linux? As an example, we want to find out which package provides the ping command. You can quickly find it out by rpm: $ rpm -qf `which ping` It will give iputils-20121221-2.fc19.x86_64 Alternatively, you can use yum: $ yum provides `which ping`…

    Read More How to quickly find out which rpm package provides a command on Fedora Linux?Continue

  • QA

    How to upgrade Fedora 19 to Fedora 20 through the network?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    How to upgrade Fedora 41 to Fedora 41 through the network? The tool for Fedora to upgrade the distribution is FedUp. Check this page for how to upgrade Fedora 41 to Fedora 41: http://fedoraproject.org/wiki/FedUp#How_Can_I_Upgrade_My_System_with_FedUp.3F Be sure to check the bugs in Fedora 41 before the upgrading: http://fedoraproject.org/wiki/Common_F20_bugs#Upgrade_issues Generally, it contains 3 steps: Preparation # yum…

    Read More How to upgrade Fedora 19 to Fedora 20 through the network?Continue

  • QA

    Get the number of files in a directory

    ByWeiwei Jia Mar 24, 2018Jan 7, 2020

    How to the number of files in a directory ls | wc -l works well for me. http://stackoverflow.com/questions/3702104/find-the-number-of-files-in-a-directory

    Read More Get the number of files in a directoryContinue

  • QA

    What is the meaning of ‘@’ in Makefile?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Harry asked: What is the meaning of ‘@’ in Makefile? An example is as follows. $ cat Makefile all: @echo “For correctness test of basic get and put, run: make test;” Without ‘@’, it works well. Without @: $ make echo “For correctness test of basic get and put, run: make test;” For correctness test…

    Read More What is the meaning of ‘@’ in Makefile?Continue

  • QA

    How to enable iptables on CentOS 7 / Fedora 20?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    iptables is plain old good. How to enable it after I disable firewalld? First, install the iptables-services package as root: # yum install iptables-services Then, start iptables service as root: # touch /etc/sysconfig/iptables # touch /etc/sysconfig/ip6tables # systemctl start iptables # systemctl start ip6tables # systemctl enable iptables # systemctl enable ip6tables

    Read More How to enable iptables on CentOS 7 / Fedora 20?Continue

  • QA

    How to totally disable firewall or iptables on Fedora 20

    ByEric Ma Mar 24, 2018Mar 30, 2026

    Our servers run inside our own cluster and no firewall is needed. How to totally disable firewall or iptables on Fedora 41? Fedora 41 uses FirewallD as the firewall service. To totally disable firewalld: # systemctl disable firewalld # systemctl stop firewalld Editor’s note: This article has been updated to reflect current software versions as…

    Read More How to totally disable firewall or iptables on Fedora 20Continue

  • QA

    How to resume a printing job on HP printer if the paper runs out on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to resume the printing job on HP printers if the paper runs out on Linux? A tip: “lifting the cover to access the toner and putting it down without touching anything else will clear the out of paper error and continue printing” from here.

    Read More How to resume a printing job on HP printer if the paper runs out on Linux?Continue

  • QA

    Convention of error codes on Linux and Windows

    ByEric Ma Mar 24, 2018Mar 24, 2018

    What’s the error code conventions on Linux and Windows? Linux and Windows use 0 to indicate that the operation is successful and an integer that is larger than 0 for some errors. Linux System Error Codes On Linux, the system error codes is defined in 2 headers which you can find on your own box:…

    Read More Convention of error codes on Linux and WindowsContinue

  • QA

    Multi-connection multi-part file downloading tools on Linux

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Is there any good multi-connection multi-part file downloading tools on Linux? wget is great but can only make 1 connection for 1 file. Sometimes, it is too slow on some networks. I use aria2 which supportsmMulti-connection download. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. Really speeds…

    Read More Multi-connection multi-part file downloading tools on LinuxContinue

  • QA

    How to get the directory path and file name from a absolute path in C on Linux

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to get the directory path and file name from a absolute path in C on Linux? For example, with “/foo/bar/baz.txt”, it will produce: “/foo/bar/” and “baz.txt”. You can use the APIs basename and dirname to parse the file name and directory name. A piece of C code: #include <libgen.h> #include <string.h> char* local_file =…

    Read More How to get the directory path and file name from a absolute path in C on LinuxContinue

  • QA

    Ghostscript reports “Unrecoverable error: stackunderflow in .setdistillerparams”

    ByEric Ma Mar 24, 2018Mar 24, 2018

    With the command -dPDFSETTINGS=/print for ps2pdf, I got: GPL Ghostscript 9.10: Set UseCIEColor for UseDeviceIndependentColor to work properly. Unrecoverable error: stackunderflow in .setdistillerparams make: *** [pdf-print] Error 255 How to fix it? I use this workaround: ps2pdf -dColorConversionStrategy=/LeaveColorUnchanged -dPDFSETTINGS=/printer psfile.ps from this. An alternative is to use -dPDFSETTINGS=/prepress.

    Read More Ghostscript reports “Unrecoverable error: stackunderflow in .setdistillerparams”Continue

Page navigation

Previous PagePrevious 1 … 37 38 39 40 41 … 70 Next PageNext

© 2026 SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search